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

Disassembly:
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [esp + 0x58]
test edi, edi
mov dword [esp + 0x10], 0
jne 0x438e4c
mov eax, dword [esp + 0x50]
mov dword [eax], edi
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x438e69
xor ecx, ecx
mov edx, esi
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
xor ebx, ebx
push ebx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x3c]
push ebx
push ecx
push edx
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
call fcn.0044d760
add esp, 0x18
cmp eax, 1
jne 0x438f44
mov dword [esp + 0x4c], edi
push ebp
nop
test byte [esp + 0x30], 1
jne 0x4390fc
mov eax, dword [esp + 0x40]
test eax, eax
mov ecx, dword [esp + 0x24]
jne 0x438ffa
mov ebp, dword [esp + 0x3c]
mov eax, dword [ebp + 0x6c]
cmp ecx, eax
jb 0x438f43
mov edx, dword [esp + 0x28]
jne 0x438f58
cmp edx, dword [ebp + 0x70]
jne 0x438f58
mov edi, dword [esp + 0x4c]
test edi, edi
mov edi, dword [esp + 0x2c]
je 0x438eea
cmp edi, dword [ebp + 0x78]
jne 0x438f5c
mov eax, dword [esp + 0x58]
test eax, eax
je 0x438f43
test esi, esi
je 0x438f43
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esi], ebp
mov dword [esi + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x438f42
mov esi, dword [esp + 0x54]
cmp ebx, dword [esi]
jae 0x438f43
lea esi, [ebx + ebx*2]
lea eax, [eax + esi*8]
mov esi, dword [esp + 0x20]
mov dword [eax], ebp
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], ecx
inc ebx
pop ebp
mov eax, dword [esp + 0x50]
cmp dword [eax], 0
jne 0x438f4f
mov dword [eax], ebx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 0x28
mov edi, dword [esp + 0x2c]
cmp ecx, eax
ja 0x438f8f
mov ebp, dword [ebp + 0x70]
cmp edx, ebp
ja 0x438f8f
cmp dword [esp + 0x4c], 0
je 0x4390fc
cmp ecx, eax
jne 0x4390fc
cmp edx, ebp
jne 0x4390fc
mov eax, dword [esp + 0x3c]
cmp edi, dword [eax + 0x78]
jbe 0x4390fc
test esi, esi
je 0x438fb2
mov ebp, dword [esp + 0x1c]
mov eax, esi
mov dword [eax], ebp
mov ebp, dword [esp + 0x20]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], ebp
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4390ec
mov eax, dword [esp + 0x54]
cmp ebx, dword [eax]
jae 0x4390fc
mov ebp, dword [esp + 0x50]
mov eax, ebp
inc ebx
add ebp, 0x18
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x1c]
mov dword [eax], ebp
mov ebp, dword [esp + 0x20]
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], ecx
jmp 0x4390f8
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x6c]
cmp ecx, eax
ja 0x4390fc
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x3c]
jne 0x439041
cmp edx, dword [ebp + 0x70]
jne 0x439041
cmp dword [esp + 0x4c], 0
je 0x439028
cmp edi, dword [ebp + 0x78]
jne 0x439041
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4390fc
test esi, esi
jne 0x438ef6
jmp 0x4390fc
cmp ecx, eax
jb 0x439074
mov ebp, dword [ebp + 0x70]
cmp edx, ebp
jb 0x439074
cmp dword [esp + 0x4c], 0
je 0x4390fc
cmp ecx, eax
jne 0x4390fc
cmp edx, ebp
jne 0x4390fc
mov eax, dword [esp + 0x3c]
cmp edi, dword [eax + 0x78]
jae 0x4390fc
test esi, esi
mov ebp, dword [esp + 0x20]
je 0x4390ab
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4390ab
mov ebx, dword [esp + 0x1c]
mov eax, esi
mov dword [eax], ebx
mov ebx, dword [esp + 0x30]
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4390ec
mov eax, dword [esp + 0x54]
cmp ebx, dword [eax]
jae 0x4390fc
mov eax, dword [esp + 0x50]
inc ebx
mov dword [esp + 0x10], ebx
mov ebx, eax
add ebx, 0x18
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], ecx
jmp 0x4390fc
mov eax, dword [esp + 0x50]
inc ebx
add eax, 0x18
mov dword [esp + 0x50], eax
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
push 0
inc eax
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x40]
push eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x54]
push eax
push ecx
push edx
call fcn.0044d760
add esp, 0x18
cmp eax, 1
je 0x438ea0
jmp 0x438f43