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

Disassembly:
push 0xffffffffffffffff
push 0x47a74a
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4947a0]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4947a0]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0xc4], 8
mov eax, dword [esp + 0xd0]
lea edx, [esp + 0x20]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
cmp eax, ebx
jl 0x409ae0
cmp dword [esp + 0x20], ebx
je 0x409ae0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xf8]
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401910
call fcn.0040eb60
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov esi, eax
mov eax, 8
mov word [esp + 0x4c], ax
mov ebp, dword [esp + 0x4c]
add esp, 0x1c
lea eax, [esp + 0x14]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov ebp, dword [esp + 0x48]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x50]
push ecx
mov ecx, dword [edx + 0x30]
mov dword [eax + 8], esi
mov dword [esp + 0x44], esi
mov dword [eax + 0xc], ebp
call ecx
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x409ad7
cmp eax, ebx
jl 0x409ad7
mov edx, dword [ecx]
lea eax, [esp + 0x1c]
push eax
push 0x4822dc
push ecx
mov ecx, dword [edx]
call ecx
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x409ad7
cmp eax, ebx
jl 0x409ad7
mov edx, dword [ecx]
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, dword [edx + 0x24]
call ecx
cmp eax, ebx
jl 0x409ad7
xor ebp, ebp
cmp dword [esp + 0x28], ebx
jle 0x409ad7
mov ecx, dword [esp + 0x1c]
mov edx, 3
mov eax, edx
mov word [esp + 0x30], ax
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x14]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x48]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x4c]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x50]
mov dword [eax + 0xc], esi
sub esp, 0x10
mov eax, esp
mov word [esp + 0x74], dx
mov esi, dword [esp + 0x74]
mov edx, dword [ecx]
mov dword [eax], esi
mov esi, dword [esp + 0x78]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x80]
push ecx
mov ecx, dword [edx + 0x2c]
mov dword [eax + 8], ebp
mov dword [eax + 0xc], esi
call ecx
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x409ac8
cmp eax, ebx
jl 0x409ac8
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0xc8], 9
mov edx, dword [ecx]
push 0x4822cc
push ecx
mov ecx, dword [edx]
call ecx
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x409ab4
cmp eax, ebx
jl 0x409ab4
lea eax, [esp + 0x24]
mov dword [esp + 0x24], ebx
mov edx, dword [ecx]
push eax
push ecx
mov ecx, dword [edx + 0xf8]
call ecx
mov ebx, dword [esp + 0x24]
lea esi, [esp + 0x9c]
call fcn.0040eac0
mov byte [esp + 0xc4], 0xa
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [esp + 0x10c]
push eax
mov edi, 0x4832d0
lea esi, [esp + 0x68]
call fcn.0040da50
add esp, 4
lea ecx, [esp + 0x144]
push ecx
push eax
lea edi, [esp + 0x88]
mov byte [esp + 0xcc], 0xb
call fcn.0040d8e0
add esp, 8
mov bl, 0xd
mov ecx, esi
mov byte [esp + 0xc4], bl
call fcn.00401df0
sub esp, 0x1c
lea edx, [esp + 0xb8]
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
call fcn.00406900
sub esp, 0x1c
mov byte [esp + 0xfc], 0xe
mov eax, edi
mov ecx, esp
mov dword [esp + 0x80], esp
push eax
call fcn.00406900
mov byte [esp + 0xfc], bl
call fcn.00411f70
add esp, 0x38
test eax, eax
je 0x409a93
sub esp, 0x1c
lea edx, [esp + 0x198]
mov ecx, esp
mov dword [esp + 0x64], esp
push edx
call fcn.00406900
sub esp, 0x1c
mov byte [esp + 0xfc], 0xf
lea eax, [esp + 0x198]
mov ecx, esp
mov dword [esp + 0x7c], esp
push eax
call fcn.00406900
sub esp, 0x1c
mov byte [esp + 0x118], 0x10
lea edx, [esp + 0x17c]
mov ecx, esp
mov dword [esp + 0xb4], esp
push edx
call fcn.00406900
sub esp, 0x1c
lea eax, [esp + 0x160]
mov ecx, esp
mov dword [esp + 0xbc], esp
push eax
mov byte [esp + 0x138], 0x11
call fcn.00406900
push ecx
mov ecx, dword [esp + 0x8c]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xc0], esp
test eax, eax
je 0x409a7f
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x140]
push ecx
mov byte [esp + 0x13c], bl
call fcn.00408a80
lea ecx, [esp + 0x80]
call fcn.00401df0
lea ecx, [esp + 0x9c]
call fcn.00401df0
mov ecx, dword [esp + 0x18]
xor ebx, ebx
lea edi, [ebx + 0xf]
mov byte [esp + 0xc4], 8
cmp ecx, ebx
je 0x409ac8
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
inc ebp
cmp ebp, dword [esp + 0x28]
jl 0x409874
mov esi, dword [esp + 0x2c]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x409ae5
mov edi, 0xf
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xc4], 7
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], ebx
cmp eax, ebx
je 0x409b1d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xc4], 6
mov eax, dword [esp + 0xd0]
cmp eax, ebx
je 0x409b38
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, 0x10
cmp dword [esp + 0xec], esi
jb 0x409b56
mov eax, dword [esp + 0xd8]
push eax
call fcn.004396bc
add esp, 4
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
cmp dword [esp + 0x108], esi
jb 0x409b84
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.004396bc
add esp, 4
mov dword [esp + 0x108], edi
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
cmp dword [esp + 0x124], esi
jb 0x409bb2
mov edx, dword [esp + 0x110]
push edx
call fcn.004396bc
add esp, 4
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
cmp dword [esp + 0x140], esi
jb 0x409be0
mov eax, dword [esp + 0x12c]
push eax
call fcn.004396bc
add esp, 4
mov dword [esp + 0x140], edi
mov dword [esp + 0x13c], ebx
mov byte [esp + 0x12c], bl
cmp dword [esp + 0x15c], esi
jb 0x409c0e
mov ecx, dword [esp + 0x148]
push ecx
call fcn.004396bc
add esp, 4
mov dword [esp + 0x15c], edi
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], bl
cmp dword [esp + 0x178], esi
jb 0x409c3c
mov edx, dword [esp + 0x164]
push edx
call fcn.004396bc
add esp, 4
mov dword [esp + 0x178], edi
mov dword [esp + 0x174], ebx
mov byte [esp + 0x164], bl
cmp dword [esp + 0x194], esi
jb 0x409c6a
mov eax, dword [esp + 0x180]
push eax
call fcn.004396bc
add esp, 4
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.0045e1a6
add esp, 0xb4
ret 0xcc