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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x43f13d
mov eax, dword [esp + 0x60]
mov dword [esp + 4], 0xc018
xor edi, edi
xor ebx, ebx
mov dword [esp], eax
call fcn.004136f0
mov dword [esp + 0x38], 0
mov esi, eax
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x6c]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], edi
mov dword [esp + 4], ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0043e870
mov ebx, eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00413720
mov eax, dword [esp + 0x60]
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.00413720
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.0043ed00
mov eax, dword [esp + 0x60]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00413720
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.0043eea0
mov edx, dword [esp + 0x74]
mov dword [edx], eax
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x68]
lea ebx, [eax*4]
mov eax, dword [esp + 0x60]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004136f0
mov edi, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004136f0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], 0xc018
mov dword [esp], eax
call fcn.004136f0
lea edx, [edi + ebx]
mov dword [esp + 0x3c], eax
mov eax, edi
nop
mov dword [eax], 1
add eax, 4
cmp edx, eax
jne 0x43f190
mov ebp, dword [esp + 0x64]
mov ebx, dword [esp + 0x70]
xor edx, edx
mov eax, ebp
mov ebp, edx
nop
lea esi, [esi]
mov esi, eax
mov edi, ebx
mov ecx, 0x224
rep movsd dword es:[edi], dword [esi]
mov dword [esp], eax
mov dword [esp + 0x34], eax
add ebx, 0x890
call fcn.004091a0
mov eax, dword [esp + 0x78]
fstp qword [ebx - 8]
mov dword [eax + ebp*4], ebp
mov eax, dword [esp + 0x34]
add ebp, 1
add eax, 0x890
cmp dword [esp + 0x68], ebp
jne 0x43f1b0
mov eax, dword [esp + 0x78]
xor esi, esi
xor edi, edi
mov dword [esp + 0x34], ebp
mov ebx, eax
mov esi, esi
lea edi, [edi]
mov ebp, dword [esp + 0x34]
mov eax, 0x40
sub ebp, esi
cmp ebp, 0x40
cmova ebp, eax
test ebp, ebp
je 0x43f23a
mov edx, dword [esp + 0x30]
mov eax, edi
lea ecx, [ebp + esi]
sub eax, esi
lea edx, [edx + eax*4]
mov eax, esi
lea esi, [esi]
lea edi, [edi]
mov dword [edx + eax*4], eax
add eax, 1
cmp eax, ecx
jne 0x43f230
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], ebx
add esi, 0x40
mov dword [esp + 0x20], 0x800
mov dword [esp + 0x18], ebp
add ebx, 0x100
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
lea eax, [eax + edi*4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0043e870
add edi, eax
cmp dword [esp + 0x34], esi
ja 0x43f200
mov ebx, edi
mov eax, edi
shr ebx, 1
shl eax, 6
imul ebx, edi
cmp ebx, eax
cmova ebx, eax
lea edx, [ebx + 1]
cmp edx, 0x800
jbe 0x43f2fe
mov eax, 0x800
add eax, eax
cmp eax, edx
jb 0x43f2b3
lea eax, [eax + eax*2]
shl eax, 3
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.004136f0
mov ebp, dword [esp + 0x3c]
mov esi, eax
mov dword [esp + 8], 0xc000
mov dword [esp], esi
mov dword [esp + 4], ebp
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x60]
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.00413720
jmp 0x43f06d
mov esi, dword [esp + 0x3c]
jmp 0x43f06d