Function at 0x4383b0
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 0x4383cc
mov eax, dword [esp + 0x50]
mov dword [eax], edi
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x4383e9
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.0044cfc0
add esp, 0x18
cmp eax, 1
jne 0x4384c4
mov dword [esp + 0x4c], edi
push ebp
nop
test byte [esp + 0x30], 1
jne 0x43867c
mov eax, dword [esp + 0x40]
test eax, eax
mov ecx, dword [esp + 0x24]
jne 0x43857a
mov ebp, dword [esp + 0x3c]
mov eax, dword [ebp + 0x6c]
cmp ecx, eax
jb 0x4384c3
mov edx, dword [esp + 0x28]
jne 0x4384d8
cmp edx, dword [ebp + 0x70]
jne 0x4384d8
mov edi, dword [esp + 0x4c]
test edi, edi
mov edi, dword [esp + 0x2c]
je 0x43846a
cmp edi, dword [ebp + 0x78]
jne 0x4384dc
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4384c3
test esi, esi
je 0x4384c3
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 0x4384c2
mov esi, dword [esp + 0x54]
cmp ebx, dword [esi]
jae 0x4384c3
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 0x4384cf
mov dword [eax], ebx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 0x28
mov edi, dword [esp + 0x2c]
cmp ecx, eax
ja 0x43850f
mov ebp, dword [ebp + 0x70]
cmp edx, ebp
ja 0x43850f
cmp dword [esp + 0x4c], 0
je 0x43867c
cmp ecx, eax
jne 0x43867c
cmp edx, ebp
jne 0x43867c
mov eax, dword [esp + 0x3c]
cmp edi, dword [eax + 0x78]
jbe 0x43867c
test esi, esi
je 0x438532
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 0x43866c
mov eax, dword [esp + 0x54]
cmp ebx, dword [eax]
jae 0x43867c
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 0x438678
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x6c]
cmp ecx, eax
ja 0x43867c
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x3c]
jne 0x4385c1
cmp edx, dword [ebp + 0x70]
jne 0x4385c1
cmp dword [esp + 0x4c], 0
je 0x4385a8
cmp edi, dword [ebp + 0x78]
jne 0x4385c1
mov eax, dword [esp + 0x58]
test eax, eax
je 0x43867c
test esi, esi
jne 0x438476
jmp 0x43867c
cmp ecx, eax
jb 0x4385f4
mov ebp, dword [ebp + 0x70]
cmp edx, ebp
jb 0x4385f4
cmp dword [esp + 0x4c], 0
je 0x43867c
cmp ecx, eax
jne 0x43867c
cmp edx, ebp
jne 0x43867c
mov eax, dword [esp + 0x3c]
cmp edi, dword [eax + 0x78]
jae 0x43867c
test esi, esi
mov ebp, dword [esp + 0x20]
je 0x43862b
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x43862b
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 0x43866c
mov eax, dword [esp + 0x54]
cmp ebx, dword [eax]
jae 0x43867c
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 0x43867c
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.0044cfc0
add esp, 0x18
cmp eax, 1
je 0x438420
jmp 0x4384c3