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

Disassembly:
jmp 0x80b300
sub esp, 0xb8
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc8]
lea edx, [esp + 0xc]
push esi
mov esi, dword [esp + 0xc8]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x80]
push edi
mov dword [esp + 0x78], eax
lea eax, [esp + 0x1b]
push eax
push ecx
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 4
mov dword [esp + 0x20], 0
call fcn.0040aa92
lea eax, [esp + 0x10]
mov dword [esp + 0x40], 0
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], ebx
mov dword [esp + 0x14], 0
call fcn.0040b244
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], 0
mov dword [eax + 8], 1
mov dword [eax], 1
mov dword [eax + 0xc], 0
lea eax, [esp + 0x10]
push eax
call fcn.0040265d
xor eax, eax
mov ebx, 1
mov dword [esp + 0xc], eax
lea eax, [esi + 0x30]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.004073c9
mov edi, dword [esp + 0x58]
add esp, 8
mov eax, dword [esp + 0x54]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x64], eax
cmp edi, dword [esp + 0x58]
je 0x80b6f3
mov esi, edi
push dword [esp + 0x1c]
lea eax, [esi - 0x10]
neg esi
sbb esi, esi
inc dword [esp + 0x10]
and esi, eax
lea eax, [esp + 0x98]
push esi
push eax
call fcn.00415f1e
lea ecx, [esp + 0xac]
add esp, 0xc
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x94]
cmp eax, ecx
je 0x80b45c
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x80b4ae
mov ecx, dword [esp + 0x7c]
cmp ecx, dword [esp + 0x80]
jb 0x80b48c
push 4
push 0
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x84]
call fcn.00405e1b
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
push 1
push 0x401f14
push ebx
mov dword [eax + ecx*4], esi
lea ecx, [esp + 0x34]
inc dword [esp + 0x88]
push esi
call fcn.004098ea
mov ebx, eax
mov esi, dword [edi + 4]
mov edi, esi
cmp edi, dword [esp + 0x58]
jne 0x80b417
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0x14], ebx
cmp eax, ebx
je 0x80b6ed
lea eax, [esp + 0xa8]
mov dword [esp + 0x9c], 4
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x20]
add eax, 0x30
mov dword [esp + 0xa0], 0
push eax
lea eax, [esp + 0x6c]
mov dword [esp + 0xa8], 0
push eax
call fcn.004073c9
mov edi, dword [esp + 0x70]
add esp, 8
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], edi
mov dword [esp + 0x64], eax
cmp edi, dword [esp + 0x70]
je 0x80b6ba
mov esi, edi
lea eax, [esi - 0x10]
neg esi
lea ecx, [esp + 0x34]
sbb esi, esi
and esi, eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], esi
push eax
call fcn.0040e782
test al, al
jne 0x80b6a7
push ebx
push 0x401f14
push ebx
push esi
lea ecx, [esp + 0x38]
call fcn.004071b7
mov esi, eax
lea ecx, [esp + 0x94]
mov eax, dword [esp + 0x28]
mov eax, dword [eax + esi*4]
push eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x54]
push eax
call fcn.0040608c
call fcn.0040cae0
mov ecx, dword [esp + 0x98]
test al, al
mov eax, dword [esp + 0xa0]
je 0x80b5cc
cmp ecx, dword [esp + 0x94]
je 0x80b5b4
mov eax, dword [esp + 0x9c]
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x50]
cmp eax, edx
jne 0x80b5c5
mov eax, ecx
push ecx
push eax
jmp 0x80b5e4
add eax, 4
push ecx
push eax
jmp 0x80b5e4
cmp ecx, dword [esp + 0x94]
je 0x80b5dc
mov eax, dword [esp + 0x9c]
lea eax, [ecx + eax*4]
push eax
push dword [esp + 0x54]
lea ecx, [esp + 0x68]
call fcn.0040351c
mov ecx, dword [esp + 0x7c]
cmp ecx, dword [esp + 0x80]
jb 0x80b616
push 4
push 0
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x84]
call fcn.00405e1b
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4], edx
inc dword [esp + 0x7c]
cmp esi, ebx
jbe 0x80b68c
mov edi, dword [esp + 0x2c]
nop dword [eax]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x34]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004123cd
test al, al
je 0x80b67c
mov ebx, dword [esp + 0x48]
mov ecx, dword [ebx + 0x18]
lea eax, [ebx + 0x24]
cmp ecx, eax
je 0x80b66a
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
dec dword [esp + 0x38]
inc dword [esp + 0x3c]
mov dword [ebx], 0xffffe000
mov ebx, dword [esp + 0x14]
sub edi, 4
dec esi
mov dword [esp + 0x2c], edi
cmp esi, ebx
ja 0x80b630
mov edi, dword [esp + 0x10]
push 1
push 0x401f14
push ebx
push dword [esp + 0x18]
lea ecx, [esp + 0x38]
call fcn.004098ea
mov ebx, eax
mov dword [esp + 0x14], ebx
mov esi, dword [edi + 4]
mov edi, esi
mov dword [esp + 0x10], edi
cmp edi, dword [esp + 0x70]
jne 0x80b535
mov eax, dword [esp + 0x98]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp eax, dword [esp + 0x94]
je 0x80b6d6
push eax
call esi
add esp, 4
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x20]
push dword [esp + 0x28]
call fcn.00403c10
add esp, 0xc
jmp 0x80b6f3
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp dword [esp + 0x7c], 0
mov ebx, dword [esp + 0x4c]
lea eax, [ebx + 0xc]
mov dword [ebx + 4], 0
mov dword [ebx], eax
mov dword [ebx + 8], 4
je 0x80b71d
lea eax, [esp + 0x78]
mov ecx, ebx
push eax
call fcn.00413a61
lea ecx, [esp + 0x28]
call fcn.00412cf6
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x84]
cmp ecx, eax
je 0x80b73b
push ecx
call esi
add esp, 4
mov ecx, dword [esp + 0xc0]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0xb8
ret