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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14c
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xec]
cmp eax, 0xf3c
jge 0x42d733
inc eax
mov dword [esp + 0x24], edi
mov dword [edi + 0xec], eax
cmp eax, 1
je 0x4097d0
cmp byte [edi + 0xfc], 0
mov byte [edi + 0x144], 0
jne 0x4095d6
lea ebx, [ebx]
cmp byte [edi + 0x144], 0
jne 0x4095d6
cmp byte [0x4974e3], 0
jne 0x4094da
cmp byte [0x4a8668], 0
jne 0x42d751
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x78]
push eax
call esi
test eax, eax
jne 0x409770
cmp byte [0x4974e6], 1
je 0x42d779
cmp dword [edi + 0xf8], 1
je 0x42e0c1
cmp dword [0x4a8624], 0
jne 0x42d796
cmp byte [0x4974ec], 1
je 0x42d846
cmp dword [edi + 0x460], 0
jne 0x42d860
cmp byte [0x4a863c], 0
jne 0x42d9b1
push edi
call fcn.00409400
cmp al, 1
je case.default.0x42de52
cmp byte [0x4a87b0], 0
jne 0x42dbda
mov eax, dword [edi + 0xf8]
cmp eax, 7
je 0x42dc58
cmp eax, 8
je 0x42dcc3
cmp eax, 9
je 0x42dcc3
cmp eax, 2
je 0x40971f
cmp eax, 3
je 0x40971f
cmp eax, 4
je 0x40971f
cmp eax, 5
je 0x40971f
cmp eax, 6
je 0x40971f
mov ecx, dword [ebp + 8]
mov dword [edi + 0xf4], ecx
mov eax, ecx
inc ecx
mov dword [ebp + 8], ecx
cmp eax, dword [0x4a90f8]
jg 0x42df7c
test eax, eax
jle 0x42df7c
shl eax, 4
add eax, dword [0x4a912c]
je 0x42df7c
mov esi, eax
mov ecx, dword [esi + 4]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov edx, dword [ecx]
movsx eax, word [edx + 8]
cmp eax, ebx
jne 0x4095fe
lea eax, [ebp + 8]
push eax
push esi
push edi
call fcn.0040b1f0
cmp byte [edi + 0xfc], 0
je 0x409480
mov eax, dword [edi + 0xec]
mov byte [edi + 0x144], 0
cmp eax, 1
je 0x4097fb
dec eax
mov dword [edi + 0xec], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x34
jne 0x4096a0
lea eax, [esp + 0x47]
push eax
lea ecx, [esp + 0x4c]
push ecx
push esi
push edi
lea eax, [esp + 0x24]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], ebx
call fcn.004098f0
test eax, eax
jne 0x409645
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x14]
mov eax, dword [edx + eax*4]
cmp word [eax + 8], 0x7f
jne 0x42e00f
mov esi, dword [esp + 0x54]
cmp esi, ebx
je 0x40966a
mov eax, dword [esi + 0xc]
dec dword [eax]
mov edx, dword [esi + 0xc]
cmp dword [edx], ebx
je 0x42e02a
push esi
call fcn.004110fc
add esp, 4
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x50]
cmp eax, 8
je 0x42e046
cmp eax, 0xa
je 0x42e067
cmp eax, 5
je 0x42e07e
cmp eax, 0xb
je 0x42e08c
cmp eax, 0xc
jne case.default.0x42de52
jmp 0x42e0aa
dec eax
cmp eax, 0x7e
ja case.0x4096b1.2
movzx eax, byte [eax + 0x409864]
jmp dword [eax*4 + 0x409850]
push edi
mov eax, esi
call fcn.00409210
jmp case.default.0x42de52
xor eax, eax
lea ecx, [esp + 0xb8]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc4], eax
push ecx
lea eax, [esp + 0x18]
mov edx, esi
mov ebx, edi
mov dword [esp + 0xc4], 1
call fcn.00408f10
test eax, eax
jne 0x40970e
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x14]
mov eax, dword [edx + eax*4]
cmp word [eax + 8], 0x7f
jne 0x42df8b
lea esi, [esp + 0xb8]
call fcn.00409190
jmp case.default.0x42de52
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0x2f0], 0
je 0x409755
mov esi, dword [edi + 0x2f8]
call fcn.0040c870
xor ecx, ecx
cmp edx, ecx
jl 0x409755
mov ebx, ecx
jg 0x4097dc
cmp eax, dword [edi + 0x2f0]
jae 0x4097dc
mov eax, dword [edi + 0xf8]
cmp eax, 3
jl case.default.0x42de52
jmp 0x42de46
cmp dword [esp + 0x6c], 0x12
je 0x42d763
lea ecx, [esp + 0x68]
push ecx
mov ecx, 0x4a8630
call fcn.0040d3e0
test eax, eax
jne 0x4097b7
lea edx, [esp + 0x68]
push edx
mov ebx, 0x4a8630
call fcn.0040d400
test eax, eax
jne 0x4097b7
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0
push 0
push 0
lea edx, [esp + 0x78]
push edx
call esi
test eax, eax
je 0x4094c0
jmp 0x409770
mov esi, edi
call fcn.0040fff0
jmp 0x409466
cmp dword [edi + 0xf8], 2
jne 0x42de2d
mov byte [edi + 0x144], 1
mov dword [edi + 0xf8], ebx
jmp case.default.0x42de52
mov esi, edi
call fcn.0040ff70
cmp byte [edi + 0xfc], 1
je 0x4095f3
mov ebx, edi
call fcn.00401c50
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov edx, dword [0x497518]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x148]
push eax
call esi
test eax, eax
jle 0x4095f3
jmp 0x42e0de
push 0xffffffffffffffff
push 0x9a
push edi
mov byte [0x4974e2], 0
call fcn.0045e724
mov eax, 1
jmp 0x4095f5
cmp dword [edi + 0xf8], 0
je 0x4094da
jmp 0x4094a3
mov byte [edi + 0xfc], 1
mov dword [edi + 0xf8], 1
jmp 0x4094c0
mov byte [0x4974ec], 0
mov byte [0x4974e6], 0
mov dword [edi + 0xf8], 1
jmp 0x4094cd
mov eax, dword [0x4a8628]
mov ebx, dword [eax]
call fcn.00431d6c
mov eax, dword [edi + 0x1b0]
xor esi, esi
test eax, eax
je 0x42d7d9
mov ecx, dword [edi + 0x1ac]
mov edx, dword [ecx]
cmp dword [edx], 0
je 0x42d7cd
mov edx, dword [edx]
cmp dword [edx], ebx
je 0x42d7d9
inc esi
add ecx, 4
cmp esi, dword [edi + 0x1b0]
jb 0x42d7b8
cmp esi, eax
je 0x4094e7
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0xfc]
push ecx
mov ecx, dword [edi + 0x1ac]
lea edx, [esp + 0xf4]
push edx
mov edx, dword [ecx + esi*4]
lea eax, [esp + 0x6c]
push eax
mov eax, dword [edx]
mov ecx, dword [eax + 8]
push ecx
push edi
call fcn.00464d61
mov edx, dword [edi + 0x1ac]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax]
mov ebx, dword [esp + 0x60]
add ecx, 0x18
inc ebx
push ecx
lea esi, [edi + 0x14c]
mov dword [esp + 0x64], ebx
call fcn.0040de00
push 0
push 1
push ebx
push edi
call fcn.0047d2f8
jmp case.default.0x42de52
cmp byte [0x4974e3], 0
jne 0x4094f4
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.default.0x42de52
cmp byte [0x4a954c], 0
jne 0x409501
mov ebx, dword [edi + 0x458]
mov byte [0x4a954c], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], ebx
push ecx
lea edx, [esp + 0x18]
mov dword [esp], 0
push edx
call fcn.004407bc
test al, al
je 0x42d942
mov eax, dword [ebx]
cmp byte [eax + 0x11], 0
jne 0x42d92a
mov esi, dword [eax + 0x14]
mov dword [esp + 0x18], eax
call fcn.0040c870
test edx, edx
jl 0x42d92a
jg 0x42d8d3
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x42d92a
inc dword [esp + 0x28]
mov esi, dword [ebx]
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [esi + 0x14], eax
lea edx, [esp + 0xd0]
push edx
lea eax, [esp + 0xd0]
push eax
mov eax, dword [ebx]
lea ecx, [esp + 0xe4]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x70]
push edx
push ecx
push edi
call fcn.00464d61
mov eax, dword [esp + 0x64]
mov edx, dword [ebx]
push 0
inc eax
push 1
push eax
push edi
mov dword [esp + 0x74], eax
mov byte [edx + 0x10], 1
call fcn.0047d2f8
mov eax, dword [ebx]
mov byte [eax + 0x10], 0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.004407ce
mov ebx, dword [esp + 0x14]
jmp 0x42d886
mov eax, dword [edi + 0x458]
mov dword [esp + 0x14], eax
push ecx
lea ecx, [esp + 0x18]
mov dword [esp], 0
push ecx
call fcn.004407bc
test al, al
je 0x42d99a
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
cmp byte [eax + 0x11], 0
jne 0x42d987
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.004407ce
jmp 0x42d94c
lea eax, [esp + 0x14]
push eax
lea eax, [edi + 0x458]
push eax
call fcn.00452129
jmp 0x42d942
cmp dword [esp + 0x28], 0
mov byte [0x4a954c], 0
jg case.default.0x42de52
jmp 0x409501
cmp byte [edi + 0x464], 1
je 0x40950e
cmp byte [0x4a8668], 1
je 0x40950e
lea ecx, [esp + 0x68]
push ecx
call fcn.00447dd1
lea edx, [esp + 0x68]
push edx
push 0x4a8630
call fcn.00451700
test al, al
je 0x42dbcc
lea eax, [esp + 0x6c]
push eax
call fcn.00434a5a
test al, al
jne 0x42d9d5
lea ecx, [esp + 0xf4]
push ecx
lea edx, [esp + 0xe8]
push edx
mov edx, dword [esp + 0x74]
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x98]
push ecx
push edx
push edi
call fcn.00464d61
test al, al
je 0x42d9d5
xor ebx, ebx
mov edi, 1
lea esi, [esp + 0x30]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
call fcn.00409190
mov eax, dword [esp + 0x68]
mov dword [esp + 0x38], edi
mov edi, str._GUI_CTRLID
lea esi, [esp + 0xfc]
mov dword [esp + 0x30], eax
call fcn.00401d10
lea eax, [ebx + 2]
lea ecx, [ebx + 1]
lea edx, [esp + 0x30]
call fcn.00401be0
mov ecx, esi
call fcn.00402480
lea esi, [esp + 0x30]
call fcn.00409190
mov ecx, dword [esp + 0x7c]
mov edi, str._GUI_WINHANDLE
lea esi, [esp + 0x11c]
mov dword [esp + 0x38], 7
mov dword [esp + 0x30], ecx
call fcn.00401d10
lea eax, [ebx + 2]
lea ecx, [ebx + 1]
lea edx, [esp + 0x30]
call fcn.00401be0
mov ecx, esi
call fcn.00402480
lea esi, [esp + 0x30]
call fcn.00409190
mov edx, dword [esp + 0x80]
mov edi, str._GUI_CTRLHANDLE
lea esi, [esp + 0x12c]
mov dword [esp + 0x38], 7
mov dword [esp + 0x30], edx
call fcn.00401d10
lea eax, [ebx + 2]
lea ecx, [ebx + 1]
lea edx, [esp + 0x30]
call fcn.00401be0
mov ecx, esi
call fcn.00402480
mov eax, dword [esp + 0x8c]
mov esi, dword [esp + 0x24]
push ebx
push 1
inc eax
push eax
push esi
mov byte [esi + 0x464], 1
call fcn.0047d2f8
mov byte [esi + 0x464], bl
lea esi, [esp + 0x30]
jmp 0x42dbb5
xor ebx, ebx
mov edi, 1
lea esi, [esp + 0x90]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], ebx
call fcn.00409190
mov eax, dword [esp + 0x68]
mov dword [esp + 0x98], edi
mov edi, str._TRAY_ID
lea esi, [esp + 0x10c]
mov dword [esp + 0x90], eax
call fcn.00401d10
lea eax, [ebx + 2]
lea ecx, [ebx + 1]
lea edx, [esp + 0x90]
call fcn.00401be0
mov ecx, esi
call fcn.00402480
mov ecx, dword [esp + 0xb4]
mov esi, dword [esp + 0x24]
push ebx
push 1
inc ecx
push ecx
push esi
mov byte [esi + 0x465], 1
call fcn.0047d2f8
mov byte [esi + 0x465], bl
lea esi, [esp + 0x90]
call fcn.00409190
lea ecx, [esp + 0x6c]
call fcn.00402480
mov edi, dword [esp + 0x24]
jmp case.default.0x42de52
lea ecx, [esp + 0x6c]
call fcn.00402480
jmp 0x40950e
cmp byte [edi + 0x465], 1
je 0x409529
lea ecx, [esp + 0x68]
push ecx
call fcn.00447dd1
lea edx, [esp + 0x68]
push edx
push 0x4a8710
call fcn.00453b3b
test al, al
je 0x42dc4a
lea eax, [esp + 0x6c]
push eax
call fcn.00434a5a
test al, al
jne 0x42dbf1
lea ecx, [esp + 0xe8]
push ecx
lea edx, [esp + 0xe4]
push edx
mov edx, dword [esp + 0x74]
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0xc0]
push ecx
push edx
push edi
call fcn.00464d61
test al, al
je 0x42dbf1
jmp 0x42db27
lea ecx, [esp + 0x6c]
call fcn.00402480
jmp 0x409529
mov edx, dword [edi + 0x450]
push 0xa
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x5c], eax
cmp eax, 0x102
je case.default.0x42de52
mov ecx, dword [edi + 0x450]
lea eax, [esp + 0x5c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [edi + 0x450]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x5c]
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x18], eax
add ecx, edi
lea eax, [esp + 0x18]
call fcn.0040d620
mov byte [edi + 0x144], 1
mov dword [edi + 0xf8], 0
jmp case.default.0x42de52
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0x448], 0
je 0x42dd35
mov esi, dword [edi + 0x44c]
call fcn.0040c870
xor ecx, ecx
xor ebx, ebx
cmp edx, ecx
jl 0x42dd37
jg 0x42dd01
cmp eax, dword [edi + 0x448]
jb 0x42dd37
mov eax, dword [edi + 0x454]
cmp eax, ebx
je 0x42dd1c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x454], ebx
mov edx, dword [edi]
mov ecx, dword [edx + 4]
add ecx, edi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebx
call fcn.0040d620
jmp 0x4097e9
xor ebx, ebx
mov edx, dword [edi + 0x438]
lea eax, [esp + 0x13]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
call fcn.00443c1d
add esp, 0xc
cmp dword [edi + 0xf8], 9
jne 0x42dd7c
cmp byte [esp + 0x13], 0
jne 0x42dd72
mov byte [esp + 0x13], 1
jmp 0x42dd89
mov byte [esp + 0x13], 0
jmp case.default.0x42de52
cmp byte [esp + 0x13], 1
jne case.default.0x42de52
xor ebx, ebx
mov eax, dword [edi + 0x454]
mov dword [esp + 0x58], 0xcccccccc
cmp eax, ebx
je 0x42ddbe
lea ecx, [esp + 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [edi + 0x454]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x454], ebx
cmp dword [edi + 0xf8], 8
jne 0x42ddfc
mov eax, dword [esp + 0x2c]
fild dword [esp + 0x2c]
test eax, eax
jns 0x42dde1
fadd qword [0x48cd00]
mov edx, dword [edi]
fstp qword [esp + 0x18]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x18]
push ecx
add eax, edi
push eax
call fcn.0045742b
jmp 0x42de0e
mov edx, dword [edi]
mov ecx, dword [esp + 0x58]
mov eax, dword [edx + 4]
push ebx
push ecx
add eax, edi
call fcn.00403f00
mov eax, dword [edi + 0x2f4]
push eax
mov byte [edi + 0x144], 1
mov dword [edi + 0xf8], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.default.0x42de52
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebx
call fcn.0040d620
jmp 0x4097e9
sub eax, 3
cmp eax, 3
ja case.default.0x42de52
jmp dword [eax*4 + 0x42e113]
push edi
call fcn.0046fd79
jmp 0x42de87
push edi
call fcn.0046fd79
mov esi, eax
test esi, esi
js 0x42de91
jg case.default.0x42de52
jmp 0x42decc
push 1
push edi
call fcn.0046f356
mov esi, eax
test esi, esi
jns 0x42debe
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov edx, esi
push 0
neg edx
push edx
add eax, edi
call fcn.00403ec0
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.0040d620
test esi, esi
je case.default.0x42de52
test esi, esi
jle 0x42df3a
mov eax, dword [edi + 0xf8]
cmp eax, 5
je 0x42dee4
cmp eax, 3
jne 0x42df3a
mov edx, dword [edi + 0x1d8]
mov ebx, dword [edx]
xor eax, eax
lea esi, [esp + 0xa0]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], 1
mov dword [esp + 0xac], eax
call fcn.00409190
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push 0
push esi
add edx, edi
push edx
mov dword [esp + 0xb4], 7
mov dword [esp + 0xac], ebx
call fcn.0047319b
call fcn.00409190
mov eax, dword [edi + 0x2f4]
push eax
mov byte [edi + 0x144], 1
mov dword [edi + 0xf8], 0
call fcn.00433187
add esp, 4
jmp case.default.0x42de52
push 1
push edi
call fcn.0046f356
mov esi, eax
test esi, esi
js 0x42de91
jle 0x42decc
jmp case.default.0x42de52
mov dword [edi + 0xf8], 1
jmp case.default.0x42de52
movsx ecx, word [eax + 0xa]
push ecx
push 0x72
push edi
call fcn.0045e724
jmp 0x40970e
lea ebx, [edi + 0x488]
push ebx
call fcn.004323e7
test al, al
jne 0x42dfc6
movsx edx, word [edx + 0xa]
push edx
push 0xa7
push edi
call fcn.0045e724
jmp case.default.0x42de52
push ebx
lea eax, [esp + 0x18]
push eax
push esi
push edi
call fcn.0047fa6a
test eax, eax
je case.default.0x42de52
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edx*4]
movsx ecx, word [eax + 0xa]
push ecx
push 0xaa
push edi
call fcn.0045e724
jmp case.default.0x42de52
movsx edx, word [edx + 0xa]
push edx
push 0x1388
push edi
call fcn.0045e724
jmp case.default.0x42de52
movsx ecx, word [eax + 0xa]
push ecx
push 0x72
push edi
call fcn.0045e724
lea esi, [esp + 0x48]
call fcn.00409190
jmp case.default.0x42de52
mov eax, dword [esi]
push eax
call fcn.004110fc
mov ecx, dword [esi + 0xc]
add esp, 4
push ecx
call fcn.004110fc
add esp, 4
jmp 0x40965d
mov esi, dword [esp + 0x48]
cmp esi, ebx
je case.default.0x42de52
push esi
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push esi
call fcn.004110fc
add esp, 4
jmp case.default.0x42de52
mov eax, dword [esp + 0x48]
cmp eax, ebx
je case.default.0x42de52
push eax
call fcn.004430b0
jmp case.default.0x42de52
lea eax, [esp + 0x48]
call fcn.0040e470
jmp case.default.0x42de52
mov esi, dword [esp + 0x48]
mov edx, dword [esi + 4]
push edx
call fcn.004110fc
add esp, 4
push esi
call fcn.004110fc
add esp, 4
jmp case.default.0x42de52
mov eax, dword [esp + 0x48]
cmp eax, ebx
je case.default.0x42de52
push eax
call fcn.0044b350
jmp case.default.0x42de52
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
call fcn.0040d620
jmp 0x4095d6
lea ecx, [esp + 0x13c]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x13c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x148]
push eax
call esi
test eax, eax
jg 0x42e0de
jmp 0x4095f3