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

Disassembly:
sub esp, 0x7c
push ebp
push esi
push edi
mov edi, dword [esp + 0x8c]
xor esi, esi
mov ebp, ecx
cmp edi, esi
jne 0x403b60
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x7c
ret 4
cmp dword [ebp + 0x3c], esi
je 0x403b70
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x7c
ret 4
push edi
mov ecx, ebp
call fcn.00401390
test al, al
je 0x403b8a
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x7c
ret 4
mov al, byte [ebp + 0x158]
test al, al
je 0x403b9f
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x7c
ret 4
push ebx
mov ebx, dword [ebp + 0x150]
mov eax, ebx
mov dword [esp + 0x1c], esi
cmp eax, 0xe
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
jge 0x403c67
lea edx, [ebp + eax*4 + 8]
lea ecx, [esp + eax*4 + 0x1c]
mov dword [esp + 0x18], edx
mov edx, 0xe
sub edx, eax
mov dword [esp + 0x14], ecx
shl edx, 2
mov ecx, edx
lea edi, [esp + eax*4 + 0x54]
lea esi, [ebp + eax*4 + 0x40]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x90]
xor esi, esi
mov ecx, ebp
mov dword [esp + 0x14], esi
call fcn.004038e0
push edi
mov ecx, ebp
mov dword [esp + 0x14], eax
call fcn.004011b0
test al, al
je 0x403cdd
push edi
mov ecx, ebp
call fcn.00401a80
push esi
mov ecx, ebp
call fcn.004010c0
mov ecx, ebp
call fcn.004038e0
cmp dword [esp + 0x10], eax
jg 0x403cab
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 2
cmp ebx, 0xe
mov dword [ebp + 0x150], ebx
jge 0x403cd0
mov ecx, 0xe
lea esi, [esp + ebx*4 + 0x1c]
lea edi, [ebp + ebx*4 + 8]
sub ecx, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x90]
xor esi, esi
mov eax, dword [ebp + 0x150]
mov dword [ebp + eax*4 + 0x11c], esi
push edi
mov ecx, ebp
call fcn.00401150
test al, al
je 0x403d42
push edi
mov ecx, ebp
call fcn.004019c0
mov ecx, ebp
call fcn.00403680
push esi
mov ecx, ebp
mov dword [ebp + eax*4 + 8], esi
call fcn.004010c0
mov ecx, ebp
call fcn.004038e0
cmp dword [esp + 0x10], eax
jge 0x403d1d
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 3
cmp ebx, 0xe
mov dword [ebp + 0x150], ebx
jge 0x403d42
mov ecx, 0xe
lea esi, [esp + ebx*4 + 0x1c]
lea edi, [ebp + ebx*4 + 8]
sub ecx, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x90]
xor esi, esi
push edi
mov ecx, ebp
call fcn.00401210
test al, al
je 0x403dd3
mov edi, dword [ebp + 0x150]
cmp edi, 0xd
mov dword [esp + 0x18], edi
jge 0x403dd3
mov ecx, dword [esp + 0x90]
push ecx
push edi
mov ecx, ebp
call fcn.00401e10
test al, al
je 0x403dc9
mov ecx, ebp
call fcn.00403680
push esi
mov ecx, ebp
mov dword [ebp + eax*4 + 8], esi
call fcn.004010c0
mov ecx, ebp
call fcn.004038e0
cmp dword [esp + 0x10], eax
jge 0x403da7
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 4
mov dword [ebp + 0x20c], edi
cmp ebx, 0xe
mov dword [ebp + 0x150], ebx
jge 0x403dc9
mov ecx, 0xe
lea esi, [esp + ebx*4 + 0x1c]
lea edi, [ebp + ebx*4 + 8]
sub ecx, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x18]
xor esi, esi
inc edi
cmp edi, 0xd
mov dword [esp + 0x18], edi
jl 0x403d61
mov eax, dword [ebp + 0x150]
pop ebx
cmp eax, 0xe
jge 0x403df2
lea ebp, [ebp + eax*4 + 0x40]
mov ecx, 0xe
lea esi, [esp + eax*4 + 0x50]
sub ecx, eax
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
add esp, 0x7c
ret 4