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

Disassembly:
push 0xffffffffffffffff
push 0x479e9a
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4947a0]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4947a0]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0xe0], 4
push ebx
lea eax, [esp + 0xf4]
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401910
call fcn.0040eb60
mov esi, eax
mov ecx, 8
add esp, 0x1c
mov dword [esp + 0x30], esi
mov word [esp + 0x3c], cx
mov dword [esp + 0x28], ebx
mov byte [esp + 0xc0], 5
mov eax, dword [esp + 0xcc]
mov edx, dword [eax]
mov edx, dword [edx + 0x174]
lea ecx, [esp + 0x28]
push ecx
push eax
call edx
cmp eax, ebx
jl 0x408e60
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x408e60
mov dword [esp + 0x20], ebx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0xc4], 6
mov ecx, dword [eax]
push 0x4822dc
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jl 0x408e48
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
je 0x408e4c
mov dword [esp + 0x24], ebx
mov byte [esp + 0xc0], 7
mov ebp, dword [esp + 0x3c]
mov edx, dword [ecx]
lea eax, [esp + 0x24]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov ebp, dword [esp + 0x54]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x5c]
push ecx
mov ecx, dword [edx + 0x30]
mov dword [eax + 8], esi
mov dword [eax + 0xc], ebp
call ecx
cmp eax, ebx
jl 0x408e30
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x408e34
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0xc4], 8
mov edx, dword [eax]
mov edx, dword [edx]
push 0x4822dc
push eax
call edx
cmp eax, ebx
jl 0x408e18
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x408e1c
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
cmp eax, ebx
jl 0x408e18
xor ebp, ebp
cmp dword [esp + 0x2c], ebx
jle 0x408e18
lea ebx, [ebx]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xc0], 9
mov ecx, 3
mov edx, ecx
lea eax, [esp + 0x1c]
push eax
sub esp, 0x10
mov eax, esp
mov word [esp + 0x50], dx
mov esi, dword [esp + 0x50]
mov dword [eax], esi
mov esi, dword [esp + 0x54]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x58]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x5c]
mov dword [eax + 0xc], esi
mov word [esp + 0x60], cx
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x74]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x7c]
push ecx
mov ecx, dword [edx + 0x2c]
mov dword [eax + 8], ebp
mov dword [eax + 0xc], esi
call ecx
cmp eax, ebx
jl 0x408df1
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x408df5
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0xc4], 0xa
mov edx, dword [eax]
mov edx, dword [edx]
push 0x4822cc
push eax
call edx
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x408ddd
cmp eax, ebx
jl 0x408ddd
mov eax, dword [ecx]
mov eax, dword [eax + 0xf8]
lea edx, [esp + 0x34]
push edx
push ecx
call eax
mov ebx, dword [esp + 0x34]
lea esi, [esp + 0x98]
call fcn.0040eac0
mov byte [esp + 0xc0], 0xb
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea edx, [esp + 0xec]
push edx
mov edi, 0x4832d0
lea esi, [esp + 0x64]
call fcn.0040da50
add esp, 4
lea ecx, [esp + 0x108]
push ecx
push eax
lea edi, [esp + 0x84]
mov byte [esp + 0xc8], 0xc
call fcn.0040d8e0
add esp, 8
mov bl, 0xe
mov ecx, esi
mov byte [esp + 0xc0], bl
call fcn.00401df0
sub esp, 0x1c
lea edx, [esp + 0xb4]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.00406900
sub esp, 0x1c
mov eax, edi
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
mov byte [esp + 0xfc], 0xf
call fcn.00406900
mov byte [esp + 0xf8], bl
call fcn.00411f70
add esp, 0x38
test eax, eax
je 0x408dbd
sub esp, 0x1c
lea edx, [esp + 0x140]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call fcn.00406900
push ecx
mov ecx, dword [esp + 0x34]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x58], esp
test eax, eax
je 0x408db0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.004083a0
lea ecx, [esp + 0x7c]
call fcn.00401df0
lea ecx, [esp + 0x98]
call fcn.00401df0
mov ecx, dword [esp + 0x14]
mov edi, 0xf
xor ebx, ebx
mov byte [esp + 0xc0], 9
cmp ecx, ebx
je 0x408df1
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xc0], 8
cmp eax, ebx
je 0x408e09
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
inc ebp
cmp ebp, dword [esp + 0x2c]
jl 0x408c10
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov byte [esp + 0xc0], 7
cmp eax, ebx
je 0x408e30
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
mov byte [esp + 0xc0], 6
cmp eax, ebx
je 0x408e48
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x20]
mov byte [esp + 0xc0], 5
cmp ecx, ebx
je 0x408e60
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0xc0], 4
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x408e7f
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0xc0], 3
mov eax, dword [esp + 0xcc]
cmp eax, ebx
je 0x408e9a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, 0x10
cmp dword [esp + 0xe8], esi
jb 0x408eb8
mov eax, dword [esp + 0xd4]
push eax
call fcn.004396bc
add esp, 4
mov dword [esp + 0xe8], edi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
cmp dword [esp + 0x104], esi
jb 0x408ee6
mov ecx, dword [esp + 0xf0]
push ecx
call fcn.004396bc
add esp, 4
mov dword [esp + 0x104], edi
mov dword [esp + 0x100], ebx
mov byte [esp + 0xf0], bl
cmp dword [esp + 0x120], esi
jb 0x408f14
mov edx, dword [esp + 0x10c]
push edx
call fcn.004396bc
add esp, 4
mov dword [esp + 0x120], edi
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], bl
cmp dword [esp + 0x13c], esi
jb 0x408f42
mov eax, dword [esp + 0x128]
push eax
call fcn.004396bc
add esp, 4
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0045e1a6
add esp, 0xb0
ret 0x78