Function at 0x40c4a0
Capabilities:
Create thread

Disassembly:
sub esp, 0x16c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x184]
mov esi, ecx
cmp edi, 0x10
ja 0x40c777
je 0x40c761
lea eax, [edi - 1]
cmp eax, 6
ja case.default.0x40d50e
jmp dword [eax*4 + 0x40d868]
mov edi, dword [esp + 0x180]
push edi
call dword [sym.imp.USER32.dll_GetMenu]
push 0x720
mov dword [esi + 0x54], eax
call fcn.004be967
add esp, 4
test eax, eax
je 0x40c508
mov ecx, dword [esi + 0x200]
push edi
push ecx
mov ecx, eax
call fcn.0045d7e0
jmp 0x40c50a
xor eax, eax
mov dword [esi + 0x208], eax
mov edx, dword [0x4eb460]
mov dword [eax + 0x7c], edx
mov eax, dword [esi + 0x208]
mov ecx, dword [0x4eb44c]
mov dword [eax + 0x68], ecx
mov edx, dword [esi + 0x208]
mov eax, dword [0x4eb450]
mov dword [edx + 0x6c], eax
mov eax, dword [0x4eb7bc]
test eax, eax
je 0x40c55d
fld qword [0x4eb7c0]
mov ecx, dword [esi + 0x208]
pop edi
pop esi
pop ebp
fstp qword [ecx + 0x70]
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
fld qword [0x4cc7b8]
mov ecx, dword [esi + 0x208]
pop edi
pop esi
pop ebp
fstp qword [ecx + 0x70]
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov edx, dword [esi + 0xc]
mov edi, dword [sym.imp.ole32.dll_RevokeDragDrop]
push edx
call edi
mov eax, dword [esi + 0x24]
push eax
call edi
mov ecx, dword [esi + 0x10]
push ecx
call edi
mov ebx, dword [esp + 0x180]
push ebx
call edi
mov eax, dword [0x4eb3e0]
cmp eax, 2
jne 0x40c5be
mov edx, dword [str.SoftwareACD_SystemsACDSee32]
push ebx
push str.BrowserWndPos
push edx
call fcn.00449620
add esp, 0xc
jmp 0x40c5ef
cmp eax, 1
jne 0x40c5ef
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esp + 0x1c]
mov dword [0x4eb3d8], ecx
sub edx, eax
mov dword [0x4eb3dc], edx
mov eax, dword [esi + 0x40c]
test eax, eax
je 0x40c600
mov ecx, esi
call fcn.00417060
mov ecx, dword [esi + 0x208]
test ecx, ecx
je 0x40c610
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x208], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
cmp dword [esp + 0x188], 1
je 0x40c643
mov ecx, esi
call fcn.00419340
push 0
mov ecx, esi
call fcn.0041b810
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov esi, dword [esi + 0x3c]
test esi, esi
je 0x40c660
push esi
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov ebx, dword [esp + 0x188]
test bx, bx
jne 0x40c695
mov eax, dword [esi + 0x40c]
test eax, eax
je 0x40c716
mov ecx, esi
call fcn.00417060
jmp 0x40c716
xor ecx, ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ecx
push ecx
push edx
push 0x4cc76c
mov dword [esp + 0x20], ecx
call fcn.0044a190
add esp, 0xc
lea edi, [esi + 0x414]
lea eax, [esp + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
je 0x40c6dd
mov ecx, esi
call fcn.00416f00
mov ecx, dword [esi + 0xc]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [edi], edx
mov dword [edi + 4], eax
mov eax, dword [esi + 0x4d0]
test eax, eax
je 0x40c716
mov dword [esi + 0x4d0], 0
mov dword [esi + 0x428], 1
mov ecx, dword [0x4eb470]
push ecx
mov ecx, esi
call fcn.0041ec00
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x40c752
test bx, bx
jne 0x40c743
mov edx, dword [esi + 0xc4]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov eax, dword [esi + 0xc4]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
cmp edi, 0x11f
ja 0x40d160
je 0x40cf50
cmp edi, 0x53
ja 0x40cbb4
je 0x40cb8b
lea eax, [edi - 0x15]
cmp eax, 0x39
ja case.default.0x40d50e
xor ecx, ecx
mov cl, byte [eax + 0x40d8a0]
jmp dword [ecx*4 + 0x40d884]
mov edx, dword [esp + 0x18c]
mov eax, dword [esp + 0x188]
push edx
push eax
mov ecx, esi
call fcn.0040d9d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret 0x10
mov ecx, dword [esp + 0x18c]
mov edx, dword [esp + 0x188]
mov eax, dword [esp + 0x180]
push ecx
push edx
push edi
push eax
call fcn.00449590
mov eax, dword [0x4eb884]
add esp, 0x10
test eax, eax
je 0x40c82d
mov ecx, dword [0x4eb3d0]
sub ecx, 4
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff6
add ecx, 0xf
push ecx
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [esi + 0xc]
push eax
push 0
push 0x1001
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov eax, dword [esp + 0x188]
test eax, eax
jne 0x40c8c5
mov edi, dword [esp + 0x18c]
mov ebp, dword [esp + 0x180]
push ebp
mov ebx, dword [edi + 0x14]
call dword [sym.imp.USER32.dll_GetDC]
push 0x11
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebx + 4]
push eax
push edx
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
push 0x31
call fcn.00449ad0
mov ecx, dword [esp + 0x10]
push 0x31
lea edx, [eax + ecx + 2]
mov dword [edi + 0xc], edx
call fcn.00449ad0
add eax, 2
push esi
push ebp
mov dword [edi + 0x10], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x16c
ret 0x10
cmp eax, 0x6d
jne 0x40c8e2
mov eax, dword [0x4eb364]
mov ecx, dword [0x4eb360]
lea edx, [ecx + eax*2]
mov eax, dword [esp + 0x18c]
mov dword [eax + 0x10], edx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x16c
ret 0x10
mov eax, dword [esp + 0x188]
test eax, eax
jne 0x40ca31
mov edi, dword [esp + 0x18c]
mov eax, dword [edi + 0xc]
cmp eax, 1
je 0x40c91b
cmp eax, 2
jne 0x40cb0f
mov ebp, dword [edi + 0x2c]
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [edi + 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov al, byte [edi + 0x10]
mov dword [esp + 0x20], 0x201
test al, 1
je 0x40c985
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push 0xe
call ebx
mov edx, dword [edi + 0x18]
push eax
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xd
call ebx
push eax
mov eax, dword [edi + 0x18]
push eax
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xd
lea ebx, [edi + 0x1c]
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov ecx, dword [edi + 0x18]
push eax
push ebx
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov dword [esp + 0x20], 0x205
jmp 0x40c9c0
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push 4
call ebx
mov edx, dword [edi + 0x18]
push eax
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
push 7
call ebx
push eax
mov eax, dword [edi + 0x18]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
push 4
lea ebx, [edi + 0x1c]
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov ecx, dword [edi + 0x18]
push eax
push ebx
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 0xc]
inc eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esi + 0x64]
mov dword [esp + 0x18], eax
push eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x18], ecx
push ecx
mov ecx, dword [ebp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
push 0x31
call fcn.00449ad0
mov ecx, dword [esp + 0x10]
push 0x20
lea edx, [ecx + eax + 2]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edx
mov ecx, dword [ebp + 4]
mov edx, dword [edi + 0x18]
push eax
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x16c
ret 0x10
cmp eax, 0x6d
jne 0x40ca52
mov eax, dword [esp + 0x18c]
mov ecx, esi
push eax
call fcn.00420bc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret 0x10
cmp eax, 0x64
jne 0x40cb0f
mov edx, dword [esi + 0x200]
lea ecx, [esp + 0x24]
push 0x1e
push ecx
push 0x6f
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
mov edi, dword [esp + 0x18c]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [edi + 0x1c]
mov edx, eax
mov ecx, dword [edx]
mov dword [esp + 0x18], ecx
mov eax, dword [edx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 8]
sub eax, 0x10
mov dword [esp + 0x20], eax
sub eax, ecx
imul eax, dword [esi + 0xd8]
mov edx, dword [edx + 0xc]
mov ecx, eax
mov eax, 0x51eb851f
mov dword [esp + 0x24], edx
imul ecx
sar edx, 5
mov eax, edx
lea ecx, [esp + 0x18]
shr eax, 0x1f
add edx, eax
push ecx
mov esi, edx
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.COMCTL32.dll_DrawStatusTextA]
inc ecx
lea edx, [esp + 0x24]
mov dword [esp + 0x10], ecx
mov ecx, dword [edi + 0x18]
push 0x100
lea eax, [esp + 0x14]
push edx
push eax
push ecx
call ebx
mov edx, dword [esp + 0x10]
add edx, esi
test esi, esi
mov dword [esp + 0x18], edx
je 0x40cb0f
mov edx, dword [edi + 0x18]
lea eax, [esp + 0x24]
push 0x200
lea ecx, [esp + 0x14]
push eax
push ecx
push edx
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x16c
ret 0x10
mov eax, dword [esp + 0x188]
test eax, eax
je 0x40cb5b
mov edi, dword [esp + 0x180]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40cb54
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov eax, dword [esp + 0x18c]
mov ecx, 0x64
pop edi
pop esi
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov ecx, dword [esp + 0x180]
push 0
push 0xb
push str.ACDSee32.hlp
push ecx
call dword [sym.imp.USER32.dll_WinHelpA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x16c
ret 0x10
lea eax, [edi - 0x7b]
cmp eax, 0x9c
ja case.default.0x40d50e
xor edx, edx
mov dl, byte [eax + 0x40d8f4]
jmp dword [edx*4 + 0x40d8dc]
mov eax, dword [esp + 0x18c]
mov ecx, dword [esp + 0x188]
push eax
push ecx
mov ecx, esi
call fcn.0040eca0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret 0x10
call fcn.004495d0
cmp dword [esi + 0x4c4], eax
je 0x40cc42
call fcn.004495d0
mov edx, dword [esi + 0x208]
mov dword [esi + 0x4c4], eax
mov eax, dword [edx + 0x30]
test eax, eax
je 0x40cc23
push 1
mov ecx, esi
call fcn.00412600
mov eax, dword [0x4eb3d0]
cmp eax, 4
je 0x40cc32
cmp eax, 5
jne 0x40cc42
push 1
mov ecx, esi
call fcn.0041ca90
mov ecx, esi
call fcn.004204e0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov eax, dword [esp + 0x18c]
mov ecx, eax
shr eax, 0x10
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x18c]
push ecx
push eax
mov ecx, esi
call fcn.0041a230
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov ecx, dword [esi + 0x54]
push ecx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
xor ebx, ebx
mov dword [esp + 0x20], eax
test eax, eax
jle case.default.0x40d50e
mov ebp, dword [sym.imp.USER32.dll_EnableMenuItem]
mov edx, dword [esp + 0x188]
push ebx
push edx
call dword [sym.imp.USER32.dll_GetMenuItemID]
cmp eax, 0x4f3e
jne 0x40ccef
push 0xf
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x40ccda
mov eax, dword [esi + 0x990]
test eax, eax
jne 0x40ccda
mov eax, dword [esi + 0x98c]
test eax, eax
je 0x40ccda
mov eax, 1
jmp 0x40ccdc
xor eax, eax
mov edx, dword [esi + 0x54]
xor ecx, ecx
test eax, eax
sete cl
push ecx
push 0x4f3e
push edx
call ebp
mov eax, dword [esp + 0x20]
inc ebx
cmp ebx, eax
jl 0x40cc9d
mov edx, dword [esp + 0x18c]
mov eax, dword [esp + 0x188]
mov ecx, dword [esp + 0x180]
push edx
push eax
push edi
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret 0x10
mov edi, dword [esp + 0x188]
mov eax, dword [esp + 0x180]
push edi
push eax
call dword [sym.imp.USER32.dll_KillTimer]
lea eax, [edi - 1]
cmp eax, 6
ja case.0x40cd46.6
jmp dword [eax*4 + 0x40d994]
push 0
mov ecx, esi
call fcn.00412600
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov ecx, dword [esi + 0x10]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 9
push 0x110a
push ecx
call edi
test eax, eax
je case.0x40cd46.6
mov edx, dword [esi + 0x10]
push eax
push edx
call fcn.00404c10
add esp, 8
test eax, eax
je case.0x40cd46.6
mov edx, dword [eax + 4]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je case.0x40cd46.6
mov al, byte [esp + 0x50]
test al, al
je case.0x40cd46.6
lea ebx, [esi + 0x20c]
lea eax, [esp + 0x50]
push ebx
push eax
call fcn.004cab10
add esp, 8
test eax, eax
je case.0x40cd46.6
push 0
push 0
lea ecx, [esp + 0x58]
push 0
push ecx
mov ecx, esi
call fcn.004174b0
test eax, eax
jne case.0x40cd46.6
mov eax, dword [0x4eb434]
test eax, eax
je case.0x40cd46.6
mov edx, dword [esi + 0x10]
push 0
push 0
push 0xb
push edx
call edi
push ebx
mov ecx, esi
call fcn.0041cd60
mov ebx, eax
test ebx, ebx
je 0x40ce4e
mov eax, dword [esi + 0x10]
push ebx
push 0
push 0x1114
push eax
call edi
mov ecx, dword [esi + 0x10]
push ebx
push 9
push 0x110b
push ecx
call edi
mov edx, dword [esi + 0x10]
push 0
push 1
push 0xb
push edx
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov eax, dword [esi + 0x10]
push 0
push 1
push 0xb
push eax
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov eax, dword [esi + 0x428]
test eax, eax
jle case.0x40cd46.6
mov ecx, dword [0x4eb470]
push ecx
mov ecx, esi
call fcn.0041ec00
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov eax, dword [esi + 0x42c]
test eax, eax
jle case.0x40cd46.6
mov ecx, esi
call fcn.0041db00
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov eax, dword [0x4eb434]
test eax, eax
je 0x40cecc
push 1
push 0
mov ecx, esi
call fcn.0041ce90
mov eax, dword [esi + 0x498]
xor ebx, ebx
test eax, eax
jle case.0x40cd46.6
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
cmp ebx, eax
jge 0x40cef1
test ebx, ebx
jl 0x40cef1
mov edx, dword [esi + 0x494]
mov edi, dword [edx + ebx*4]
jmp 0x40cef3
xor edi, edi
cmp dword [edi + 8], 3
jne 0x40cf20
mov eax, dword [edi + 0x6c]
push eax
call fcn.004be975
mov dword [edi + 0x6c], 0
mov edi, dword [edi + 0x5c]
add esp, 4
test edi, edi
jl 0x40cf20
mov ecx, dword [esi + 0xc]
push edi
push edi
push 0x1015
push ecx
call ebp
mov eax, dword [esi + 0x498]
inc ebx
cmp ebx, eax
jl 0x40cee2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov ecx, esi
call fcn.004142d0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov eax, dword [esp + 0x188]
mov ecx, eax
shr ecx, 0x10
cmp ax, 0x7530
jbe 0x40cf6d
cmp ax, 0x7593
jae 0x40cf6d
mov eax, 0x7530
test cl, 0x10
jne 0x40d13e
test ch, 0x20
jne 0x40d13e
test ch, 8
je 0x40cfac
mov edx, dword [esi + 0x1c]
push 0x4eb858
push 0xff
push 0x401
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
cmp ax, 0x7594
jb 0x40d0c2
cmp ax, 0x75f7
ja 0x40d0c2
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
and eax, 0xffff
sub eax, 0x7594
cmp eax, 0xffffffff
jne 0x40cfe4
mov eax, dword [esi + 0x24]
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call edi
mov edx, dword [esi + 0x24]
lea ecx, [esp + 0x24]
push ecx
push 0
push 0x1005
push edx
mov dword [esp + 0x34], 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
call edi
test eax, eax
je 0x40d0a4
mov ebx, dword [esp + 0x44]
test ebx, ebx
je 0x40d0a4
lea eax, [esp + 0x50]
push 0x12c
push eax
mov eax, dword [ebx + 0xc]
mov edx, dword [esi + 0x200]
xor ecx, ecx
cmp eax, 1
setne cl
add ecx, 0xb9
push ecx
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [esp + 0x50]
push 0x4e073c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + eax + 0x50]
mov eax, dword [ebx + 8]
push edx
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x50]
push ecx
push 0xff
push 0x401
push edx
call edi
mov eax, dword [esi + 0x1c]
push 0
push 1
push 0x409
push eax
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x409
push ecx
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
lea edx, [esp + 0x50]
push 0x12c
and eax, 0xffff
push edx
push eax
mov eax, dword [esi + 0x200]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x40d11c
mov edx, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x50]
push ecx
push 0xff
push 0x401
push edx
call edi
mov eax, dword [esi + 0x1c]
push 0
push 1
push 0x409
push eax
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x409
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov edx, dword [esi + 0x1c]
push 0
push 0
push 0x409
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
cmp edi, 0x311
ja 0x40d4ff
je 0x40d416
cmp edi, 0x201
ja 0x40d34a
je 0x40d320
cmp edi, 0x120
je 0x40d231
cmp edi, 0x200
jne case.default.0x40d50e
mov eax, dword [esp + 0x18c]
mov ecx, eax
shr eax, 0x10
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x184]
push ecx
push eax
call dword [sym.imp.USER32.dll_ChildWindowFromPoint]
push 0xfffffffffffffff4
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, 0x66
jl 0x40d20e
cmp eax, 0x68
jle 0x40d1f2
cmp eax, 0x69
jne 0x40d20e
mov ecx, dword [esi + 0xb0]
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov edx, dword [esi + 0xac]
push edx
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov ebx, dword [esp + 0x18c]
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov edi, eax
mov eax, dword [esp + 0x188]
and eax, 0xffff
mov dword [esp + 0x20], edi
push eax
or ebp, 0xffffffff
call fcn.004bedf3
add esp, 4
xor esi, esi
test edi, edi
mov dword [esp + 0x10], eax
jle case.0x40cd46.6
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0x2c
push ecx
push 1
push esi
push ebx
mov dword [esp + 0x38], 0x31
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
cmp ebp, 0xffffffff
jne 0x40d2b4
test byte [esp + 0x30], 0x80
je 0x40d2a5
mov ebp, esi
mov ecx, dword [esp + 0x20]
lea eax, [ecx - 1]
cmp esi, eax
jne 0x40d2e8
mov ebp, eax
jmp 0x40d2e8
mov eax, dword [esp + 0x2c]
test ah, 1
je 0x40d2dc
mov eax, dword [esp + 0x44]
test eax, eax
je 0x40d2dc
mov edx, dword [eax + 4]
movsx eax, byte [edx]
push eax
call fcn.004bedf3
mov ecx, dword [esp + 0x14]
add esp, 4
cmp ecx, eax
je 0x40d307
cmp esi, ebp
je case.0x40cd46.6
mov ecx, dword [esp + 0x20]
lea eax, [esi + 1]
cdq
idiv ecx
mov esi, edx
cmp esi, ecx
jl 0x40d26b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov eax, esi
pop edi
and eax, 0xffff
pop esi
pop ebp
or eax, 0x30000
pop ebx
add esp, 0x16c
ret 0x10
mov eax, dword [esp + 0x18c]
mov ecx, eax
shr ecx, 0x10
movsx edx, cx
movsx eax, ax
push edx
push eax
mov ecx, esi
call fcn.00414390
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
cmp edi, 0x219
je 0x40d363
cmp edi, 0x30f
je 0x40d43b
jmp case.default.0x40d50e
mov eax, dword [esp + 0x188]
cmp eax, 0x8000
je 0x40d37c
cmp eax, 0x8004
jne 0x40d404
mov ecx, dword [esp + 0x18c]
test ecx, ecx
je 0x40d3ed
cmp dword [ecx + 4], 2
jne 0x40d3ed
cmp eax, 0x8000
jne 0x40d3bd
mov ecx, dword [esp + 0x180]
push 0
push 0xbb8
push 4
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x16c
ret 0x10
cmp eax, 0x8004
jne 0x40d404
mov edx, dword [esp + 0x180]
push 0
push 0x1f4
push 4
push edx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x16c
ret 0x10
mov eax, dword [esp + 0x180]
push 0
push 0xbb8
push 4
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x16c
ret 0x10
mov eax, dword [esp + 0x188]
mov ecx, dword [esp + 0x180]
cmp eax, ecx
je case.0x40cd46.6
mov ecx, dword [esi + 0x208]
cmp eax, dword [ecx + 0x50]
je case.0x40cd46.6
cmp dword [esi + 0x4c4], 8
je 0x40d453
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov eax, dword [0x4eb3d0]
mov ebx, dword [esi + 0x6c]
cmp eax, 4
je 0x40d48a
cmp eax, 5
je 0x40d48a
mov edx, dword [esi + 0x208]
mov edi, dword [edx + 0x30]
test edi, edi
je 0x40d48a
push 0xffffffffffffffff
mov ecx, edi
call fcn.0045af40
test eax, eax
je 0x40d48a
push 0xffffffffffffffff
mov ecx, edi
call fcn.0045af40
mov ebx, eax
xor ebp, ebp
test ebx, ebx
je 0x40d4f0
mov eax, dword [esp + 0x180]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push ebp
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push edi
call dword [sym.imp.GDI32.dll_RealizePalette]
mov ecx, dword [esp + 0x180]
push edi
push ecx
mov ebp, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esi + 0x208]
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
mov eax, dword [edx + 0x50]
push eax
call edi
mov eax, dword [0x4eb3d0]
cmp eax, 4
je 0x40d4e6
cmp eax, 5
jne 0x40d4f0
mov ecx, dword [esi + 0xc]
push 1
push 0
push ecx
call edi
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret 0x10
lea eax, [edi - 0x40a]
cmp eax, 4
ja case.default.0x40d50e
jmp dword [eax*4 + 0x40d9b0]
mov edx, dword [esi + 0x428]
inc edx
mov eax, edx
mov dword [esi + 0x428], edx
test eax, eax
jle 0x40d56c
mov edi, dword [esp + 0x180]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40d562
push 3
push edi
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x1f4
push 3
push edi
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov dword [esi + 0x4d0], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0x50]
push edx
push 0
push 0
push 0x147
push eax
call edi
mov ecx, dword [esi + 0x20]
push eax
push 0x148
push ecx
call edi
push 0
push 0
lea edx, [esp + 0x58]
push 1
push edx
mov ecx, esi
call fcn.004174b0
test eax, eax
je 0x40d5d0
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [esi + 0x20]
push 0xffffffffffffffff
push 0
push 0x142
push edx
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov ecx, dword [esi + 0x42c]
inc ecx
mov dword [esi + 0x42c], ecx
mov esi, ecx
test esi, esi
jle 0x40d628
mov esi, dword [esp + 0x180]
push 7
push esi
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x64
push 7
push esi
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov ebp, dword [esp + 0x180]
mov edi, dword [sym.imp.USER32.dll_UpdateWindow]
push ebp
call edi
mov eax, dword [0x4eb434]
test eax, eax
je 0x40d6e0
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xb
push eax
call edi
push 1
push 0
mov ecx, esi
call fcn.0041ce90
mov eax, dword [0x4eb434]
test eax, eax
je 0x40d6ce
mov ecx, dword [esi + 0x10]
push 0
push 0
push 0xb
push ecx
call edi
lea edx, [esi + 0x20c]
mov ecx, esi
push edx
call fcn.0041cd60
mov ebx, eax
test ebx, ebx
je 0x40d6c2
mov eax, dword [esi + 0x10]
push ebx
push 0
push 0x1114
push eax
call edi
mov ecx, dword [esi + 0x10]
push ebx
push 9
push 0x110b
push ecx
call edi
mov edx, dword [esi + 0x10]
push 0
push 1
push 0xb
push edx
jmp 0x40d6cc
mov eax, dword [esi + 0x10]
push 0
push 1
push 0xb
push eax
call edi
mov ecx, dword [esi + 0x10]
push 0
push 1
push 0xb
push ecx
call edi
mov edi, dword [sym.imp.USER32.dll_UpdateWindow]
push ebp
call edi
mov ecx, esi
call fcn.0041db00
push ebp
call edi
push esi
call fcn.00427080
add esp, 4
mov dword [esi + 0x204], eax
test eax, eax
je 0x40d740
mov edx, dword [esi + 0xc]
mov edi, dword [sym.imp.ole32.dll_RegisterDragDrop]
push eax
push edx
call edi
test eax, eax
jne 0x40d740
mov eax, dword [esi + 0x204]
mov ecx, dword [esi + 0x10]
push eax
push ecx
call edi
test eax, eax
jne 0x40d740
mov edx, dword [esi + 0x204]
mov eax, dword [esi + 0x24]
push edx
push eax
call edi
test eax, eax
jne 0x40d740
mov ecx, dword [esi + 0x204]
mov edx, dword [esi + 8]
push ecx
push edx
call edi
mov eax, dword [str.DC210_32.dll]
push eax
call fcn.00407380
mov edx, dword [esi + 0x54]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x99c], eax
test eax, eax
sete cl
push ecx
push 0x4f71
push edx
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x40d7c4
mov eax, dword [esi + 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0xc0]
push 0xbb8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40d7a3
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov edx, dword [esi + 0xc0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc0], 0
mov eax, dword [esi + 0xc0]
test eax, eax
jne 0x40d7f8
mov eax, dword [esi + 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [esp + 0x10]
mov dword [esi + 0x42c], 0
push ecx
push 0
push esi
push 0x40a3a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc0], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10
mov eax, dword [esi + 0x40c]
test eax, eax
je 0x40d818
mov ecx, esi
call fcn.00417060
mov eax, dword [esp + 0x188]
test eax, eax
jl 0x40d82b
push eax
mov ecx, esi
call fcn.0041c930
mov eax, dword [esp + 0x18c]
test eax, eax
je 0x40d83f
push 3
mov ecx, esi
call fcn.0041b210
mov ecx, esi
call fcn.00418f50
push 0
mov ecx, esi
mov dword [esi + 0xd8], 0
call fcn.0041b810
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret 0x10