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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1a0
mov ebx, ecx
lea eax, [esp + 0x8c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0x80
lea eax, [esp + 0x120]
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0x80
mov word [esp + 0x24], 0x105
mov edi, dword [esp + 0x1b8]
mov esi, dword [esp + 0x1bc]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
lea ebp, [esp + 0x14]
push 0
push ebp
call fcn.0041bcbe
add esp, 8
test al, al
je 0x408c73
mov word [esp + 0x24], 0x105
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
mov word [esp + 0x6c], 0
sub esp, 0x18
mov dword [esp + 4], ebp
lea eax, [esp + 0x18]
mov dword [esp], eax
mov word [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call fcn.0041bbf2
add esp, 0x18
test byte [esp + 8], 1
jne 0x408ccd
call fcn.0041bdea
mov eax, dword [esp]
jmp 0x408d12
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], edi
lea eax, [esp + 0x114]
push eax
call fcn.0041bc8e
add esp, 4
mov edi, dword [esp + 0x114]
mov esi, dword [esp + 0x118]
mov dword [esp + 0x84], 0
cmp dword [esp + 0x88], esi
jae 0x408d1e
lea ecx, [esp + 0x80]
push 1
push esi
lea eax, [esp + 0x94]
push eax
call fcn.0041bc16
mov eax, dword [esp + 0x84]
jmp 0x408d24
mov eax, dword [esp]
test eax, eax
je 0x408d12
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
sub esp, 0xc
movsd xmm0, qword [esp + 0x38]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x54]
mov dword [esp], eax
call fcn.0041bc28
add esp, 0xc
or byte [ebx + 4], 1
mov eax, dword [esp + 0x48]
lea esi, [esp + 0x120]
jmp 0x40923b
lea esi, [esp + 0x120]
jmp 0x409230
xor eax, eax
test esi, esi
je 0x408d3d
add eax, dword [esp + 0x80]
push esi
push edi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x84]
add eax, esi
mov dword [esp + 0x84], eax
mov word [esp + 0x24], 0x105
mov edi, dword [esp + 0x40]
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov word [esp + 0x10], 0x101
mov word [esp + 0x3c], 0x101
mov word [esp + 0x58], 0x101
lea eax, [esp + 0x48]
lea ecx, [esp + 0x2c]
mov esi, esp
lea edx, [esp + 0x80]
push eax
push ecx
push esi
push ebp
push edx
call fcn.0041bcca
add esp, 0x14
mov word [esp + 0x24], 0x105
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
push 0
push ebp
call fcn.0041bca6
add esp, 8
test eax, eax
je 0x409093
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x1b4]
mov eax, dword [eax + 0x6c]
movsd xmm0, qword [eax + 0x10]
movsd qword [esp + 0x10c], xmm0
sub esp, 0xc
movsd qword [esp], xmm0
mov dword [esp + 8], 0
call fcn.0041bcb2
add esp, 0xc
mov ebx, edx
mov dword [esp + 0x84], 0
xor ecx, ecx
cmp dword [esp + 0x88], edx
lea esi, [esp + 0x120]
jae 0x408e3c
mov esi, eax
lea ecx, [esp + 0x80]
push 1
push ebx
lea eax, [esp + 0x94]
push eax
call fcn.0041bc16
mov eax, esi
lea esi, [esp + 0x120]
mov ecx, dword [esp + 0x84]
test ebx, ebx
je 0x408e59
add ecx, dword [esp + 0x80]
push ebx
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x84]
add ecx, ebx
mov dword [esp + 0x84], ecx
mov word [esp + 0x24], 0x105
mov dword [esp + 0x14], edi
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x18], ebx
mov word [esp + 0x10], 0x101
mov word [esp + 0x3c], 0x101
mov word [esp + 0x58], 0x101
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x30]
push eax
lea edi, [esp + 8]
push edi
push ebp
lea eax, [esp + 0x90]
push eax
call fcn.0041bcca
add esp, 0x14
mov word [esp + 0x24], 0x105
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
push 0
push ebp
call fcn.0041bca6
add esp, 8
test eax, eax
je 0x409103
mov eax, dword [esp + 0x1b4]
mov ecx, dword [eax + 0x6c]
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
cmp eax, edi
je 0x409026
nop word cs:[eax + eax]
movzx ebx, byte [eax]
lea esi, [eax + 1]
test bl, 1
je 0x408f30
mov ebp, dword [eax + 8]
mov ebx, dword [eax + 4]
mov dword [esp + 0x84], 0
cmp dword [esp + 0x88], ebx
jb 0x408f48
xor eax, eax
test ebx, ebx
jne 0x408f66
jmp 0x408f7f
shr ebx, 1
mov ebp, esi
mov dword [esp + 0x84], 0
cmp dword [esp + 0x88], ebx
jae 0x408f25
lea ecx, [esp + 0x80]
push 1
push ebx
lea eax, [esp + 0x94]
push eax
call fcn.0041bc16
mov eax, dword [esp + 0x84]
add eax, dword [esp + 0x80]
push ebx
push ebp
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x84]
add eax, ebx
mov dword [esp + 0x84], eax
mov word [esp + 0x24], 0x105
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x18], ebx
mov word [esp + 0x10], 0x101
mov word [esp + 0x3c], 0x101
mov word [esp + 0x58], 0x101
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 8]
push eax
lea ebp, [esp + 0x20]
push ebp
lea eax, [esp + 0x90]
push eax
call fcn.0041bcca
add esp, 0x14
mov word [esp + 0x24], 0x105
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
push 0
push ebp
call fcn.0041bca6
add esp, 8
test eax, eax
je 0x4091b6
add esi, 0xb
mov eax, esi
cmp esi, edi
jne 0x408f00
mov eax, dword [esp + 0x1b4]
mov ecx, dword [eax + 0x6c]
lea esi, [esp + 0x120]
cmp byte [ecx + 0xc], 0
je 0x409295
mov edi, dword [esp + 0x40]
mov dword [esp + 0x14], str.error_:_file_not_found_:
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
mov word [esp + 0x24], 0x503
call fcn.0041bc58
mov edi, eax
mov ebx, edx
push 0x1c
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov ebp, eax
mov dword [esp + 4], ebx
mov dword [esp], edi
sub esp, 0xc
movsd xmm0, qword [esp + 0xc]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x20]
mov dword [esp], eax
mov ecx, ebp
call fcn.0041bbd4
mov ebx, dword [esp + 0x28]
or byte [ebx + 4], 1
mov dword [ebx], ebp
jmp 0x409257
mov word [esp + 0x24], 0x105
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov word [esp + 0x68], 0
sub esp, 0x18
mov dword [esp + 4], ebp
mov dword [esp], esi
mov word [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call fcn.0041bbf2
add esp, 0x18
test byte [esp + 8], 1
lea esi, [esp + 0x120]
jne 0x409174
call fcn.0041bdea
mov eax, dword [esp]
jmp 0x409230
mov word [esp + 0x24], 0x105
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov word [esp + 0x64], 0
sub esp, 0x18
mov dword [esp + 4], ebp
mov dword [esp], edi
mov word [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call fcn.0041bbf2
add esp, 0x18
test byte [esp + 8], 1
jne 0x409221
call fcn.0041bdea
mov eax, dword [esp]
mov ebx, dword [esp + 0x28]
jmp 0x409230
mov eax, dword [esp]
test eax, eax
je 0x409230
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
sub esp, 0xc
movsd xmm0, qword [esp + 0x38]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x54]
mov dword [esp], eax
call fcn.0041bc28
add esp, 0xc
or byte [ebx + 4], 1
mov eax, dword [esp + 0x48]
jmp 0x40923b
mov word [esp + 0x24], 0x105
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov word [esp + 0x60], 0
sub esp, 0x18
mov dword [esp + 4], ebp
lea eax, [esp + 0x18]
mov dword [esp], eax
mov word [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call fcn.0041bbf2
add esp, 0x18
test byte [esp + 8], 1
lea esi, [esp + 0x120]
je 0x409163
mov eax, dword [esp]
test eax, eax
mov ebx, dword [esp + 0x28]
jne 0x40917f
and byte [ebx + 4], 0xfe
mov dword [esp], 0
mov dword [ebx], eax
test byte [esp + 8], 1
jne 0x409257
mov ecx, dword [esp]
mov dword [esp], 0
test ecx, ecx
je 0x409257
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x114]
cmp eax, esi
je 0x40926b
push eax
call sub.msvcrt.dll_free
add esp, 4
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x8c]
cmp eax, ecx
je 0x409286
push eax
call sub.msvcrt.dll_free
add esp, 4
mov eax, ebx
add esp, 0x1a0
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
lea eax, [esp + 0x1b8]
mov dword [esp + 0x78], str.INCLUDE
mov dword [esp + 0x7c], 7
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], edi
sub esp, 0x18
movsd xmm0, qword [esp + 0x88]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x90]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 0x14], 0x3b
call fcn.0041bcd6
add esp, 0x18
cmp byte [esp + 0xc], 0
je 0x409034
mov word [esp + 0x24], 0x104
mov eax, esp
mov dword [esp + 0x14], eax
mov word [esp + 0x5c], 0
sub esp, 0x18
mov dword [esp + 4], ebp
lea edi, [esp + 0x44]
mov dword [esp], edi
mov word [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call fcn.0041bbf2
add esp, 0x18
push edi
mov ebx, dword [esp + 0x2c]
push ebx
call fcn.0040da20
add esp, 8
test byte [esp + 0x34], 1
jne 0x40936f
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
test ecx, ecx
je 0x40936f
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [esp + 0xc], 0
je 0x409257
test byte [esp], 1
je 0x409257
push dword [esp + 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x409257