Function at 0x45c9d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
mov eax, dword [0x4a1014]
xor eax, esp
mov dword [esp + 0x124], eax
mov dword [esp + 0x10], edx
mov eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x24], esi
push edi
mov edi, dword [0x4a35d4]
mov dword [esp + 0x20], edi
cmp edx, 0x85
jne 0x45cb3e
test edi, edi
je 0x45cb3e
cmp byte [edi + 0x45c], 0
je 0x45cb3e
push eax
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
je 0x45cb36
push dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x1c]
push 0x85
push esi
call dword [sym.imp.MMFS2.dll_Ordinal_1070]
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov dword [esp + 0x40], eax
test eax, eax
je 0x45cb1c
lea eax, [esp + 0xc0]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
movaps xmm0, xmmword [esp + 0xc0]
lea eax, [esp + 0x30]
push 2
push eax
push 0
push esi
movaps xmmword [esp + 0x40], xmm0
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [esp + 0x60]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x64]
neg eax
push eax
mov eax, dword [esp + 0x64]
neg eax
push eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
dec ecx
push dword [edi + 0x440]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x6c], eax
lea eax, [ecx + 1]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x70], eax
movaps xmm0, xmmword [esp + 0x64]
movaps xmmword [esp + 0xd4], xmm0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, dword [esp + 0x40]
mov esi, eax
push esi
lea eax, [esp + 0xd4]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
cmp dword [0x4a3698], 0
je case.0x45cb9d.275
cmp edx, 0x111
ja 0x45cb89
je case.0x45cb9d.513
add edx, 0xffffffdf
cmp edx, 0x86
ja case.0x45cb9d.275
movzx eax, byte [edx + 0x45e2c4]
jmp dword [eax*4 + 0x45e2b8]
mov eax, 4
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8
lea eax, [edx - 0x112]
cmp eax, 0xf5
ja case.0x45cb9d.275
movzx eax, byte [eax + 0x45e358]
jmp dword [eax*4 + 0x45e34c]
cmp esi, 0xf120
jne case.0x45cb9d.513
push ecx
push esi
push edx
jmp 0x45e298
mov edx, dword [0x4a35dc]
test edx, edx
je 0x45ccc2
cmp dword [0x4a35e8], 0
je 0x45cc5e
push dword [0x4a35b4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x45cc5e
test edi, edi
je 0x45cbef
cmp dword [edi + 0x1a8], eax
jne 0x45cc5e
mov ecx, dword [esp + 0x18]
lea eax, [ecx - 0x200]
cmp eax, 8
ja case.0x45cc05.515
movzx eax, byte [eax + 0x45e458]
jmp dword [eax*4 + 0x45e450]
mov ecx, dword [esp + 0x10]
movsx eax, cx
mov dword [esp + 0x40], eax
mov eax, ecx
shr eax, 0x10
cwde
push 1
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
push eax
push dword [0x4a35b4]
push dword [0x4a35b0]
call dword [sym.imp.USER32.dll_MapWindowPoints]
movzx ecx, word [esp + 0x44]
movzx eax, word [esp + 0x40]
shl ecx, 0x10
or ecx, eax
push ecx
mov ecx, dword [0x4a35b4]
jmp 0x45cc66
push dword [esp + 0x10]
mov edx, ecx
mov ecx, dword [esp + 0x18]
jmp 0x45cc6a
push dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push esi
call fcn.004583b0
add esp, 8
test al, 4
jne case.0x45cb9d.513
test al, 0x10
je 0x45cc97
mov eax, dword [esp + 0x18]
cmp eax, 1
je case.0x45cb9d.513
push dword [esp + 0x10]
push esi
push eax
jmp 0x45e298
test al, 0x40
je 0x45ccbc
mov eax, dword [0x4a35dc]
mov eax, dword [eax + 0x4b4]
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8
mov edx, dword [0x4a35dc]
cmp dword [0x4a376c], 0
mov ecx, dword [esp + 0x18]
je 0x45cd6c
cmp ecx, 2
jne 0x45cd05
test edi, edi
je 0x45cd05
cmp dword [edi + 0x1dc], 0
je 0x45cd05
push 0xb
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x1dc], 0
mov edx, dword [0x4a35dc]
test edx, edx
je 0x45cd4d
mov eax, 0xfffffffe
mov word [edx + 0x30], ax
mov eax, dword [0x4a35dc]
mov dword [eax + 0x38], 1
mov eax, dword [0x4a35dc]
mov dword [eax + 4], 0
mov eax, dword [0x4a35dc]
mov dword [eax], 0
mov eax, dword [0x4a35dc]
mov dword [eax + 0x10], 0
mov eax, dword [0x4a35dc]
mov dword [eax + 0xc], 0
push dword [esp + 0x10]
mov dword [0x4a35b0], 0
push esi
mov dword [0x4a35a8], 0
push ecx
jmp 0x45e298
cmp ecx, 0x100
ja 0x45d5ba
je 0x45d5a5
lea eax, [ecx - 1]
cmp eax, 0x7d
ja case.default.0x45df4f
movzx eax, byte [eax + 0x45e498]
jmp dword [eax*4 + 0x45e464]
mov ecx, dword [esp + 0x14]
call fcn.004585c0
jmp case.default.0x45df4f
test edi, edi
je case.default.0x45df4f
test esi, esi
jne 0x45cdeb
cmp byte [edi + 0x45c], 0
je case.default.0x45df4f
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
je case.default.0x45df4f
push 0x401
push 0
push 0
push dword [0x4a35b0]
call dword [sym.imp.USER32.dll_RedrawWindow]
jmp case.default.0x45df4f
cmp dword [0x4a35e8], 0
je 0x45cdb2
mov eax, dword [0x4a35ac]
test eax, eax
je 0x45cdb2
push 0
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_50]
push 0
push 0
push 0x30f
push dword [0x4a35b0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x4a35dc]
test eax, eax
je 0x45ce2b
or byte [eax + 0x1a7], 4
push 0x405
jmp 0x45cdd6
call fcn.004574b0
push dword [0x4a35b0]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x45ce2b
lea eax, [esp + 0x40]
push eax
push dword [0x4a35b0]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x48]
mov eax, ecx
mov esi, dword [esp + 0x40]
sub eax, esi
mov edx, dword [0x4a373c]
cmp eax, edx
jle 0x45ce75
lea ecx, [esi + edx]
mov dword [esp + 0x48], ecx
cmp ecx, edx
jle 0x45ce81
sub edx, ecx
add esi, edx
mov dword [esp + 0x40], esi
mov edx, dword [esp + 0x4c]
mov eax, edx
sub eax, dword [esp + 0x44]
cmp eax, dword [0x4a3738]
mov edi, dword [esp + 0x44]
mov eax, dword [0x4a3738]
jle 0x45cea3
lea edx, [edi + eax]
mov dword [esp + 0x4c], edx
cmp edx, eax
jle 0x45ceaf
sub eax, edx
add edi, eax
mov dword [esp + 0x44], edi
push 4
sub edx, edi
sub ecx, esi
push edx
push ecx
push edi
push esi
push 0
push dword [0x4a35b0]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x405
jmp 0x45cdd6
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xe8]
push eax
push esi
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [esp + 0xe8]
push eax
push esi
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x45d1ae
push eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
jne 0x45cf44
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ax, word [0x4a35be]
cmp ax, 3
jne 0x45cf75
mov ecx, dword [0x4a35b8]
test ecx, ecx
je 0x45cf75
push 1
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectPalette]
push esi
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_RealizePalette]
mov ax, word [0x4a35be]
mov ecx, dword [0x4a35d8]
test ecx, ecx
je 0x45d077
test byte [ecx + 0xc], 2
jne 0x45d077
mov ecx, dword [edi + 0x70]
cmp ax, 3
jne 0x45cf9c
or ecx, 0x2000000
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x27], al
cmp dword [0x4a35b4], eax
je 0x45d03f
cmp dword [edi + 0x1a8], eax
jne 0x45d03f
push eax
push eax
push eax
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov edi, eax
push edi
push esi
mov dword [esp + 0x28], edi
call dword [sym.imp.GDI32.dll_GetClipRgn]
test eax, eax
jg 0x45cfee
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x40]
push eax
push dword [0x4a35b4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 0x40]
push eax
push dword [0x4a35b0]
call esi
lea eax, [esp + 0x48]
push eax
push dword [0x4a35b0]
call esi
push dword [esp + 0x4c]
mov esi, dword [esp + 0x2c]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push esi
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
mov byte [esp + 0x27], 1
push dword [esp + 0x1c]
lea eax, [esp + 0x54]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
cmp byte [esp + 0x27], 0
je 0x45d06d
mov edi, dword [esp + 0x20]
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
test edi, edi
je 0x45d06d
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x45d1ae
push 1
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectPalette]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8
mov esi, dword [esp + 0x10]
cmp dword [esi], 1
jne case.0x45cb9d.513
test edi, edi
je 0x45d1ae
call fcn.0045be90
cmp dword [esi + 0x14], 0
mov dword [esp + 0x40], eax
mov dword [esi + 0xc], 0x40
mov dword [esi + 0x10], 6
je 0x45d1ae
mov ecx, dword [0x4a35d4]
cmp dword [ecx + 0xb8], 0
je 0x45d1ae
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov edx, eax
mov dword [esp + 0x20], edx
test edx, edx
je 0x45d1ae
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], 0
test eax, eax
je 0x45d12a
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x28], eax
add eax, 2
mov ecx, eax
mov dword [esp + 0x2c], eax
lea eax, [ecx + 2]
mov dword [esp + 0x40], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d141
sub ecx, dword [esp + 0x40]
push 0
push 0
sar ecx, 1
push ecx
push dword [esp + 0x38]
push edx
call dword [sym.imp.USER32.dll_GetTabbedTextExtentW]
movzx ecx, ax
mov edx, 0x10
shr eax, 0x10
cwde
add eax, 8
mov dword [esi + 0xc], ecx
cmp eax, edx
cmovl eax, edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x10], eax
xor eax, eax
cmp word [edx], ax
mov edx, 0x27
cmove eax, edx
add eax, ecx
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
test eax, eax
je 0x45d1a6
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x10]
cmp dword [eax], 1
jne case.0x45cb9d.513
test edi, edi
je case.0x45cb9d.513
push eax
call fcn.0045bfe0
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x10]
cmp ax, 1
jne 0x45e28f
call fcn.0045b110
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esp + 0x10]
mov eax, dword [0x4a373c]
mov ecx, dword [0x4a3738]
mov dword [edx + 8], eax
mov dword [edx + 0x20], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0xc], ecx
mov dword [edx + 0x24], ecx
mov dword [edx + 0x14], 0
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8
test byte [edi + 0x14], 3
jne 0x45d3a8
cmp byte [0x4a37f1], 0
jne 0x45d3a8
cmp esi, 2
jne 0x45d34f
push 0xfffffffffffffff0
push dword [0x4a35b0]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0xc40000
je 0x45d3a8
push 0xfffffffffffffff0
push dword [0x4a35b0]
mov byte [0x4a37f1], 1
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3bffff
push eax
push 0xfffffffffffffff0
push dword [0x4a35b0]
call dword [sym.imp.USER32.dll_SetWindowLongW]
xorps xmm0, xmm0
mov dword [esp + 0x70], 0x2c
lea eax, [esp + 0x70]
movlpd qword [esp + 0x74], xmm0
push eax
push dword [0x4a35b0]
movlpd qword [esp + 0x84], xmm0
movlpd qword [esp + 0x8c], xmm0
movlpd qword [esp + 0x94], xmm0
movlpd qword [esp + 0x9c], xmm0
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov esi, dword [sym.imp.USER32.dll_SetWindowPlacement]
lea eax, [esp + 0x70]
push eax
push dword [0x4a35b0]
mov dword [esp + 0x80], 9
call esi
lea eax, [esp + 0x70]
mov dword [esp + 0x78], 3
push eax
push dword [0x4a35b0]
call esi
mov esi, dword [esp + 0x28]
jmp 0x45d3a1
test esi, esi
jne 0x45d3a8
push 0xfffffffffffffff0
push dword [0x4a35b0]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0xc40000
jne 0x45d3a8
test byte [edi + 0x16], 0x40
mov eax, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [0x4a35b0]
mov byte [0x4a37f1], 1
jne 0x45d38b
call eax
or eax, 0xc40000
jmp 0x45d392
call eax
or eax, 0xc00000
push eax
push 0xfffffffffffffff0
push dword [0x4a35b0]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov byte [0x4a37f1], 0
mov al, byte [edi + 0x14]
and al, 0x14
cmp al, 0x14
jne 0x45d4e5
cmp byte [0x4a37f0], 0
jne 0x45d4e5
cmp esi, 2
jne 0x45d3f0
cmp dword [0x4a22b8], 0xffffffff
jne 0x45d4e5
push dword [0x4a35b0]
call dword [sym.imp.USER32.dll_GetMenu]
neg eax
sbb eax, eax
neg eax
mov dword [0x4a22b8], eax
jmp 0x45d4e5
test esi, esi
jne 0x45d4e5
mov eax, dword [0x4a22b8]
cmp eax, 0xffffffff
je 0x45d4e5
mov byte [0x4a37f0], 1
test eax, eax
je 0x45d476
push dword [0x4a35b0]
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
jne 0x45d46d
lea eax, [esp + 0x40]
push eax
push dword [0x4a35b0]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0xf
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
sub ecx, eax
push 4
push ecx
mov ecx, dword [esp + 0x50]
cdq
sub ecx, esi
sub eax, edx
push ecx
sar eax, 1
add eax, dword [esp + 0x50]
push eax
push esi
push 0
push dword [0x4a35b0]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x45d4d4
cmp dword [0x4a22b8], 0
jne 0x45d4d4
push dword [0x4a35b0]
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
je 0x45d4d4
lea eax, [esp + 0x40]
push eax
push dword [0x4a35b0]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0xf
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [esp + 0x44]
mov ecx, eax
mov esi, dword [esp + 0x40]
sub ecx, edi
add ecx, dword [esp + 0x4c]
push 4
push ecx
mov ecx, dword [esp + 0x50]
cdq
sub ecx, esi
sub eax, edx
push ecx
sar eax, 1
sub edi, eax
push edi
push esi
push 0
push dword [0x4a35b0]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [esp + 0x20]
mov dword [0x4a22b8], 0xffffffff
mov byte [0x4a37f0], 0
mov esi, dword [edi + 0x1fc]
mov eax, 0x4000
mov dword [esp + 0x1c], esi
mov dword [edi + 0x1fc], 1
test word [edi + 0x16], ax
je 0x45d50b
call fcn.00458c20
jmp 0x45d52d
cmp dword [0x4a35b4], 0
je 0x45d52d
mov eax, dword [0x4a35b0]
test eax, eax
je 0x45d528
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x45d52d
call fcn.00457d40
test esi, esi
jne 0x45d57d
cmp dword [edi + 0x1dc], esi
je 0x45d57d
cmp dword [edi + 0x1e4], 3
jne 0x45d57d
cmp word [edi + 0x16], si
jge 0x45d57d
mov eax, dword [0x4a35dc]
test eax, eax
je 0x45d563
cmp dword [eax + 0x178], esi
je 0x45d563
call fcn.00426140
mov esi, 1
push ecx
xor edx, edx
mov ecx, edi
call fcn.00404f20
add esp, 4
test esi, esi
je 0x45d579
call fcn.00426040
mov esi, dword [esp + 0x1c]
xor eax, eax
test esi, esi
setne al
mov dword [edi + 0x1fc], eax
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8
test edx, edx
je 0x45d5d4
push ecx
mov edx, esi
call fcn.00434b20
mov ecx, dword [esp + 0x1c]
add esp, 4
jmp 0x45d5d4
cmp ecx, 0x111
ja 0x45dd99
je 0x45d639
cmp ecx, 0x104
jne case.default.0x45df4f
test edi, edi
je case.default.0x45df4f
mov edi, dword [edi + 0xb4]
test edi, edi
je case.default.0x45df4f
cmp ecx, 0x104
je 0x45d604
mov eax, dword [esp + 0x10]
shr eax, 0x10
test eax, 0x2000
jne 0x45d604
xor edx, edx
jmp 0x45d609
mov edx, 1
mov ecx, dword [0x4a35b0]
push edi
push esi
call fcn.0045a240
add esp, 8
test eax, eax
je case.default.0x45df4f
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x10]
test edx, edx
je 0x45e28f
test eax, eax
jne 0x45e28f
mov eax, dword [edi + 0x1e4]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
cmp eax, 2
je 0x45d663
cmp eax, 4
jne 0x45d677
mov eax, dword [0x4a35d8]
mov edx, 1
cmp dword [eax + 0x70], ecx
cmovne ecx, edx
mov dword [esp + 0x1c], ecx
push dword [0x4a35a8]
call dword [sym.imp.MMFS2.dll_Ordinal_19]
mov ecx, eax
xor eax, eax
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x45d6a6
lea eax, [esp + 0x40]
push eax
push 0
push 0x229
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x40], eax
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [0x4a35f0], ecx
jle 0x45d736
mov edi, dword [esp + 0x40]
nop dword [eax]
mov eax, dword [0x4a35f8]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x40], eax
cmp dword [eax + 0x1a8], 0
je 0x45d725
mov edx, dword [eax + 0x1d0]
test edx, edx
je 0x45d725
test edi, edi
je 0x45d70d
cmp edi, edx
je 0x45d70d
test dword [eax + 0x1b0], 0x2000000
jne 0x45d70d
push dword [eax + 0x1d4]
call dword [sym.imp.MMFS2.dll_Ordinal_16]
mov ecx, 0x800
test cx, ax
jne 0x45d721
mov eax, dword [esp + 0x40]
push 0
push esi
push 0x111
push dword [eax + 0x1d0]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, dword [0x4a35f0]
jl 0x45d6c0
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x45d755
push ecx
mov edx, esi
call fcn.004349d0
add esp, 4
test eax, eax
jne case.0x45cb9d.513
mov ecx, dword [esp + 0x1c]
movzx esi, si
lea eax, [esi - 0x3f0]
cmp eax, 0x19
ja case.default.0x45df4f
jmp dword [eax*4 + 0x45e518]
test ecx, ecx
jne case.default.0x45df4f
push ecx
call fcn.00434a60
add esp, 4
test eax, eax
jne case.0x45cb9d.513
mov ecx, 0xfffffffe
mov eax, dword [0x4a35dc]
mov word [eax + 0x30], cx
mov eax, dword [0x4a35dc]
mov dword [eax + 0x38], 1
jmp case.default.0x45df4f
test ecx, ecx
jne case.default.0x45df4f
mov ecx, 4
jmp 0x45d78c
test ecx, ecx
jne case.0x45cb9d.513
cmp dword [0x4a35e8], ecx
je 0x45d7d2
test byte [0x4a35bc], 0x10
jne case.default.0x45df4f
mov eax, dword [edi + 0x1e4]
cmp eax, 2
je case.default.0x45df4f
cmp eax, 4
je case.default.0x45df4f
cmp dword [edi + 0xd4], 0
je case.0x45cb9d.513
call fcn.00426040
mov esi, dword [0x4a35b0]
or eax, 0xffffffff
push 2
push 0xb
mov dword [esp + 0x48], eax
call fcn.004673e4
mov edi, eax
mov edx, esi
push edi
push 0x45a6c0
mov ecx, 0x72
mov dword [esp + 0x28], edi
call fcn.0045a440
add esp, 0x10
cmp eax, 1
jne 0x45d889
mov ecx, dword [esp + 0x18]
mov edi, dword [0x4a35d4]
cmp word [ecx], 0
je 0x45d885
cmp dword [edi + 0xd4], 0
je 0x45d885
xor esi, esi
cmp dword [edi + 0x74], esi
jle 0x45d885
cmp esi, dword [edi + 0x1f0]
je 0x45d879
mov eax, dword [edi + 0xd4]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x45d879
push ecx
push eax
call fcn.00468538
add esp, 8
test eax, eax
je 0x45d881
mov ecx, dword [esp + 0x18]
inc esi
cmp esi, dword [edi + 0x74]
jl 0x45d852
jmp 0x45d885
mov dword [esp + 0x40], esi
mov edi, dword [esp + 0x18]
push edi
call fcn.004673fa
mov ecx, dword [esp + 0x44]
add esp, 4
cmp ecx, 0xffffffff
je 0x45d8b7
mov eax, dword [0x4a35dc]
mov edx, 3
or ecx, 0x8000
mov word [eax + 0x30], dx
mov eax, dword [0x4a35dc]
mov dword [eax + 0x38], ecx
call fcn.00426140
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8
cmp dword [0x4a35e8], 0
je 0x45d8ea
test byte [0x4a35bc], 0x10
jne case.default.0x45df4f
mov eax, dword [edi + 0x1e4]
cmp eax, 2
je case.default.0x45df4f
cmp eax, 4
je case.default.0x45df4f
call fcn.00426040
mov edx, dword [0x4a35b0]
mov ecx, 0x6f
push 0
push 0x45a680
call fcn.0045a440
add esp, 8
call fcn.00426140
mov ecx, dword [0x4a35dc]
test ecx, ecx
je case.0x45cb9d.513
mov eax, dword [ecx + 0xd0]
mov dword [ecx + 0x410], eax
mov ecx, 0xfff8fffd
call fcn.00435e00
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8
cmp dword [0x4a35e8], 0
je 0x45d978
test byte [0x4a35bc], 0x10
jne case.default.0x45df4f
mov eax, dword [edi + 0x1e4]
cmp eax, 2
je case.default.0x45df4f
cmp eax, 4
je case.default.0x45df4f
call fcn.00426040
mov esi, dword [edi + 0x254]
lea eax, [esp + 0x70]
mov edx, dword [0x4a35b0]
mov ecx, 0x70
push eax
push 0x45ac50
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x78], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [esp + 0x88], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [esp + 0x98], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [esp + 0xa8], xmm0
movq xmm0, qword [esi + 0x40]
movq qword [esp + 0xb8], xmm0
call fcn.0045a440
add esp, 8
cmp eax, 1
jne 0x45dadb
movups xmm0, xmmword [esp + 0x70]
movups xmmword [esi], xmm0
movups xmm0, xmmword [esp + 0x80]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [esp + 0x90]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [esp + 0xa0]
movups xmmword [esi + 0x30], xmm0
movq xmm0, qword [esp + 0xb0]
movq qword [esi + 0x40], xmm0
call fcn.00426140
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8
call fcn.00426040
mov eax, 0x3fd
cmp si, ax
mov eax, dword [0x4a35e0]
jne 0x45da7d
xor eax, 0x4000
mov dword [0x4a35e0], eax
test eax, 0x4000
jne 0x45daa3
push 0
push 2
jmp 0x45da92
xor eax, 0x8000
mov dword [0x4a35e0], eax
test eax, 0x8000
jne 0x45daa3
push 0
push 1
push dword [0x4a35a4]
call dword [sym.imp.MMFS2.dll_Ordinal_191]
mov eax, dword [0x4a35e0]
mov ecx, dword [edi + 0xb0]
test ecx, ecx
je 0x45dadb
mov esi, dword [sym.imp.USER32.dll_CheckMenuItem]
shr eax, 0xc
and eax, 8
push eax
push 0x3fc
push ecx
call esi
mov eax, dword [0x4a35e0]
shr eax, 0xb
and eax, 8
push eax
push 0x3fd
push dword [edi + 0xb0]
call esi
call fcn.00426140
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8
mov eax, 0x1000
test word [edi + 0x14], ax
je case.default.0x45df4f
cmp dword [0x4a35e8], 0
jne 0x45db1c
xor ecx, ecx
call fcn.00459360
jmp case.default.0x45df4f
call fcn.00459a90
jmp case.default.0x45df4f
mov eax, pe_nt_image_headers32
test word [edi + 0x14], ax
je case.0x45cb9d.513
push dword [0x4a35b0]
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
jne 0x45db67
call fcn.00459f40
call fcn.00457d40
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8
call fcn.0045a180
call fcn.00457d40
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 0xa4], 0
je case.0x45cb9d.513
call fcn.00426040
mov edx, dword [0x4a35b0]
mov ecx, 0x6f
push 0
push 0x45af80
call fcn.0045a440
add esp, 8
call fcn.00426140
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8
push dword [0x4a35a8]
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_19]
call eax
test eax, eax
je case.default.0x45df4f
push 0
push 0
push 0x227
push eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
jmp case.default.0x45df4f
push dword [0x4a35a8]
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_19]
call eax
test eax, eax
je case.default.0x45df4f
push 0
push 1
push 0x226
push eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
jmp case.default.0x45df4f
push dword [0x4a35a8]
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_19]
call eax
test eax, eax
je case.default.0x45df4f
push 0
push 0
push 0x226
push eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
jmp case.default.0x45df4f
push dword [0x4a35a8]
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_19]
call eax
test eax, eax
je case.default.0x45df4f
push 0
push 0
push 0x228
push eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
jmp case.default.0x45df4f
push dword [0x4a35a8]
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_19]
call eax
test eax, eax
je case.default.0x45df4f
push 0
push 0
push 0x224
push eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
jmp case.default.0x45df4f
push dword [0x4a35a8]
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_19]
call eax
test eax, eax
je case.default.0x45df4f
push 1
push 0
push 0x224
push eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
jmp case.default.0x45df4f
push dword [0x4a35a8]
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_19]
call eax
test eax, eax
je case.default.0x45df4f
lea ecx, [esp + 0x40]
push ecx
push 0
push 0x229
push eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
test eax, eax
je case.default.0x45df4f
push 0
push 0xf060
push 0x112
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.default.0x45df4f
push dword [0x4a35a8]
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_19]
call eax
jmp case.default.0x45df4f
cmp dword [0x4a35e8], 0
je 0x45dd45
test byte [0x4a35bc], 0x10
jne case.default.0x45df4f
mov eax, dword [edi + 0x1e4]
cmp eax, 2
je case.default.0x45df4f
cmp eax, 4
je case.default.0x45df4f
call fcn.00426040
mov edx, dword [0x4a35b0]
mov ecx, 0x6e
push 0
push 0x45a500
call fcn.0045a440
add esp, 8
call fcn.00426140
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8
cmp ecx, 0x231
ja 0x45e197
je 0x45e180
add ecx, 0xfffffeee
cmp ecx, 0xf8
ja case.default.0x45df4f
movzx eax, byte [ecx + 0x45e5a8]
jmp dword [eax*4 + 0x45e580]
cmp dword [0x4a35e8], 0
je case.default.0x45df4f
push dword [0x4a35b4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne case.default.0x45df4f
cmp dword [0x4a35dc], eax
je case.default.0x45df4f
mov ecx, dword [esp + 0x10]
movsx eax, cx
mov dword [esp + 0x40], eax
shr ecx, 0x10
movsx eax, cx
push 1
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
push eax
push dword [0x4a35b4]
push dword [0x4a35b0]
call dword [sym.imp.USER32.dll_MapWindowPoints]
movzx ecx, word [esp + 0x44]
movzx eax, word [esp + 0x40]
mov esi, dword [esp + 0x18]
shl ecx, 0x10
or ecx, eax
mov dword [esp + 0x10], ecx
push ecx
mov ecx, esi
call fcn.00408f70
add esp, 4
test eax, eax
jne case.default.0x45df4f
sub esp, 8
mov edx, esi
call fcn.00434d40
jmp 0x45e288
test edx, edx
je 0x45de6c
push ecx
call fcn.00434d20
add esp, 4
call fcn.0045b110
test eax, eax
je case.default.0x45df4f
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8
test edx, edx
je case.default.0x45df4f
push ecx
mov edx, esi
call fcn.00434ad0
add esp, 4
jmp case.default.0x45df4f
cmp esi, 0xb
jne case.default.0x45df4f
test edi, edi
je case.default.0x45df4f
mov eax, dword [edi + 0x1fc]
mov dword [esp + 0x40], eax
mov dword [edi + 0x1fc], 1
test eax, eax
jne 0x45df28
cmp dword [edi + 0x1e4], 3
jne 0x45df28
cmp word [edi + 0x16], ax
jge 0x45df28
mov eax, dword [0x4a35dc]
xor esi, esi
test eax, eax
je 0x45defe
cmp dword [eax + 0x178], esi
je 0x45defe
call fcn.00426140
mov esi, 1
push ecx
xor edx, edx
mov dword [edi + 0x1fc], 1
mov ecx, edi
call fcn.00404f20
add esp, 4
mov dword [edi + 0x1fc], 0
test esi, esi
je 0x45df28
call fcn.00426040
xor eax, eax
cmp dword [esp + 0x40], eax
setne al
mov dword [edi + 0x1fc], eax
jmp case.default.0x45df4f
movzx eax, si
cmp eax, 8
ja case.default.0x45df4f
movzx eax, byte [eax + 0x45e6ac]
jmp dword [eax*4 + 0x45e6a4]
call fcn.0044cbf0
jmp case.default.0x45df4f
test edi, edi
je case.0x45ddc4.279
mov eax, dword [0x4a35e0]
shr eax, 0xc
and eax, 8
push eax
push 0x3fc
push esi
mov esi, dword [sym.imp.USER32.dll_CheckMenuItem]
call esi
mov eax, dword [0x4a35e0]
shr eax, 0xb
and eax, 8
push eax
push 0x3fd
push dword [esp + 0x30]
call esi
mov esi, dword [sym.imp.USER32.dll_EnableMenuItem]
xor eax, eax
cmp dword [edi + 0xd4], eax
sete al
push eax
push 0x3f3
push dword [esp + 0x30]
call esi
xor eax, eax
cmp dword [edi + 0xa4], eax
sete al
push eax
push 0x3ff
push dword [esp + 0x30]
call esi
call fcn.0044cbf0
jmp case.default.0x45df4f
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x45e28f
mov eax, esi
shr eax, 0x10
cmp eax, 0xffff
jne case.default.0x45df4f
call fcn.0044ccf0
jmp case.default.0x45df4f
test edi, edi
je case.default.0x45df4f
mov eax, dword [0x4a35b4]
test eax, eax
mov ecx, dword [0x4a35b0]
cmove eax, ecx
and esi, 0xfff0
mov dword [esp + 0x40], eax
cmp esi, 0xf060
ja 0x45e149
je 0x45e111
sub esi, 0xf020
je 0x45e0f8
sub esi, 0x10
jne case.default.0x45df4f
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x45e060
mov eax, 0x2000
test word [edi + 0x16], ax
jne 0x45e060
call fcn.00426140
test byte [edi + 0x16], 0x80
jne case.default.0x45df4f
test byte [edi + 0x14], 0x10
jne case.default.0x45df4f
mov esi, dword [esp + 0x40]
push esi
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne case.default.0x45df4f
lea eax, [esp + 0x50]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x4a373c]
sub eax, dword [esp + 0x58]
mov edi, dword [0x4a3738]
sub edi, dword [esp + 0x5c]
cdq
sub eax, edx
sar eax, 1
push 4
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, edi
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x20]
push 4
push dword [esp + 0x60]
sar esi, 1
mov cl, byte [eax + 0x14]
mov eax, edi
push dword [esp + 0x60]
cdq
sub eax, edx
sar eax, 1
and cl, 1
cmovne eax, esi
push eax
push dword [esp + 0x2c]
push 0
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp case.default.0x45df4f
mov eax, 0x2000
test word [edi + 0x16], ax
jne case.default.0x45df4f
call fcn.00426040
jmp case.default.0x45df4f
cmp byte [0x4a3599], 0
jne case.0x45cb9d.513
push 0
push 0x3f0
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8
cmp esi, 0xf120
jne case.default.0x45df4f
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je case.default.0x45df4f
mov eax, 0x2000
test word [edi + 0x16], ax
jne case.default.0x45df4f
call fcn.00426140
jmp case.default.0x45df4f
cmp dword [0x4a355c], 0
jne case.default.0x45df4f
call fcn.0044cbf0
jmp case.default.0x45df4f
cmp ecx, 0x30f
ja 0x45e234
je 0x45e1f7
sub ecx, 0x232
je 0x45e1e0
sub ecx, 1
je 0x45e1c8
sub ecx, 0xad
jne case.default.0x45df4f
call fcn.00457530
jmp case.default.0x45df4f
test edx, edx
je case.default.0x45df4f
push ecx
mov edx, esi
call fcn.00434bd0
add esp, 4
jmp case.default.0x45df4f
cmp dword [0x4a355c], 0
jne case.default.0x45df4f
call fcn.0044ccf0
jmp case.default.0x45df4f
mov esi, dword [esp + 0x14]
mov edx, 0x30f
push 0
push 0
mov ecx, esi
call fcn.00458350
add esp, 8
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8
cmp ecx, 0x311
je 0x45e275
cmp ecx, 0x3b9
jne case.default.0x45df4f
test edx, edx
je case.0x45cb9d.513
cmp esi, 4
je case.0x45cb9d.513
push 0xffffffffffffffff
push 2
push dword [0x4a35a4]
call dword [sym.imp.MMFS2.dll_Ordinal_191]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8
push dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, 0x311
push esi
call fcn.00458350
add esp, 8
mov eax, dword [esp + 0x10]
push eax
push dword [esp + 0x2c]
push dword [esp + 0x20]
push dword [esp + 0x20]
call dword [sym.imp.MMFS2.dll_Ordinal_1070]
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
xor ecx, esp
call fcn.00463907
mov esp, ebp
pop ebp
ret 8