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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x90
mov cl, byte [eax]
push ebx
push ebp
mov bl, 0x80
xor ebp, ebp
push esi
test bl, cl
jne 0x403fd2
shr bl, 1
jne 0x403fcd
mov ecx, dword [esp + 0xa8]
inc ebp
cmp ebp, ecx
mov bl, 0x80
jge 0x404212
test byte [eax + ebp], bl
je 0x403fb7
mov esi, dword [esp + 0xac]
push edi
mov ecx, 6
lea edi, [esp + 0x28]
lea eax, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004045a0
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x78]
mov esi, 1
push edx
push eax
mov dword [esp + 0x7c], esi
call fcn.00403ba0
lea ecx, [esp + 0x80]
lea edx, [esp + 0x80]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call fcn.00403ba0
mov eax, dword [esp + 0x40]
add esp, 0x1c
xor eax, esi
mov dword [esp + 0x24], eax
shr bl, 1
jne 0x404045
mov eax, dword [esp + 0xac]
inc ebp
cmp ebp, eax
mov bl, 0x80
jge 0x4040c1
mov ecx, dword [esp + 0xa8]
test byte [ecx + ebp], bl
je 0x404089
mov edx, dword [esp + 0xb0]
lea eax, [esp + 0x70]
push edx
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x60]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
call fcn.00403c40
lea ecx, [esp + 0x84]
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.00403cd0
add esp, 0x1c
jmp 0x404033
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0x58]
push eax
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x78]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00403c40
lea edx, [esp + 0x6c]
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.00403cd0
add esp, 0x1c
jmp 0x404033
lea ecx, [esp + 0x28]
lea edx, [esp + 0x70]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.00403ba0
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x64]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call fcn.00403ba0
lea ecx, [esp + 0x70]
lea edx, [esp + 0x88]
push ecx
lea eax, [esp + 0xa4]
push edx
push eax
call fcn.00403ba0
lea ecx, [esp + 0xac]
lea edx, [esp + 0x64]
push ecx
push edx
call fcn.004045f0
mov edi, dword [esp + 0xd0]
lea eax, [esp + 0x54]
lea ecx, [esp + 0x6c]
push eax
push ecx
push edi
call fcn.00403ba0
lea edx, [esp + 0x48]
lea eax, [esp + 0x78]
push edx
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.00403ba0
mov esi, dword [esp + 0xf4]
add esp, 0x44
lea edx, [esp + 0x28]
push edi
push esi
push edx
call fcn.00403b50
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x1c]
push eax
push esi
push ecx
call fcn.00403b50
lea edx, [esp + 0x40]
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0xa4]
push eax
push ecx
call fcn.00403ba0
push esi
lea edx, [esp + 0x68]
push esi
push edx
call fcn.00403ba0
lea eax, [esp + 0x70]
lea ebx, [esi + 0x18]
push eax
lea ecx, [esp + 0x74]
push ebx
push ecx
call fcn.00403b50
lea edx, [esp + 0xc4]
lea eax, [esp + 0x7c]
push edx
lea ecx, [esp + 0xc8]
push eax
push ecx
call fcn.00403b50
add esp, 0x48
lea edx, [esp + 0x88]
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.00403ba0
lea edx, [esp + 0x94]
push esi
push edx
call fcn.004045f0
lea eax, [esp + 0x9c]
lea ecx, [esp + 0x54]
push eax
lea edx, [esp + 0x70]
push ecx
push edx
call fcn.00403ba0
lea eax, [esp + 0x78]
add edi, 0x18
push eax
push ebx
push edi
call fcn.00403b50
add esp, 0x2c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov esi, dword [esp + 0xa0]
push esi
call fcn.004045a0
add esi, 0x18
push esi
call fcn.004045a0
add esp, 8
pop esi
pop ebp
pop ebx
add esp, 0x90
ret