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

Disassembly:
sub esp, 0x70
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x1c], esi
mov esi, 1
mov dword [esp + 0x14], ebx
mov byte [esp + 0x6c], 0
cmp dword [edi], 1
jbe 0x438ce6
mov ecx, dword [edi]
cmp esi, ecx
jae 0x438d00
mov edx, dword [edi + 4]
mov eax, dword [edx + esi*8]
mov edx, dword [edx + esi*8 + 4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov ecx, dword fs:[0x2c]
mov ebx, dword [ecx]
cmp dword [ebx + 0xb8], 0
je 0x438a4d
mov ebx, dword [ecx]
push edx
push eax
push dword [ebx + 0xbc]
push dword [ebx + 0xb8]
call fcn.004635f0
test al, al
jne 0x438ce6
mov edx, dword [esp + 0x74]
movzx ecx, byte [edx]
bt ecx, 3
jae 0x438a81
cmp dword [esp + 0x24], 0
je 0x438ce6
mov ebx, dword [esp + 0x28]
movzx eax, byte [ebx]
mov ebx, dword fs:[0x2c]
mov edx, dword [ebx]
cmp eax, dword [edx + 0xb0]
jne 0x438ce6
bt ecx, 1
jae 0x438bf6
mov ecx, dword [esp + 0x24]
cmp ecx, 2
jbe 0x438bf6
test ecx, ecx
jne 0x438abe
xor edx, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], edx
mov dword [esp + 4], 0x339
mov dword [esp], 0x4cdfc0
call fcn.00462c8c
mov edx, dword [esp + 0x28]
movzx edx, byte [edx]
mov eax, dword fs:[0x2c]
mov ebx, dword [eax]
mov eax, dword [ebx + 0xb0]
cmp edx, eax
jne 0x438bf6
mov edx, 1
cmp ecx, edx
ja 0x438b08
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x33a
mov dword [esp], 0x4cdfc0
call fcn.00462c8c
mov ebx, dword [esp + 0x28]
movzx ebx, byte [ebx + 1]
cmp ebx, eax
je 0x438bf6
mov dword [esp + 0x2c], 0
mov edx, dword [esp + 0x24]
mov ecx, 1
mov dword [esp + 0x30], 0
cmp edx, ecx
jb 0x438d24
mov edx, dword [esp + 0x24]
dec edx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x5c], edx
inc ecx
lea edx, [esp + 0x70]
mov dword [esp + 0x60], ecx
mov ecx, 0x438d90
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00466614
mov ecx, dword [edi]
cmp ecx, esi
jb 0x438d48
mov dword [esp + 0x34], esi
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x3c], ecx
lea ecx, [esi + 1]
mov dword [esp + 0x40], edx
mov ebx, dword [edi]
cmp ebx, ecx
jb 0x438d6c
mov edx, ebx
lea ecx, [esi + 1]
sub edx, ecx
mov dword [esp + 0x44], edx
mov edx, dword [edi + 4]
lea ecx, [edx + esi*8 + 8]
mov dword [esp + 0x48], ecx
lea edx, [esp + 0x34]
mov dword [esp + 8], edx
mov dword [esp + 4], 3
mov dword [esp], 0x4ceb90
call fcn.0046601c
mov dword [edi], eax
mov dword [edi + 4], edx
cmp esi, dword [edi]
jb 0x438a02
jmp 0x438ce6
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x8c]
push dword [esp + 0x8c]
lea ecx, [esp + 0x5c]
push ecx
mov edx, dword [esp + 0x88]
movsx eax, byte [edx]
call fcn.004661d8
xor al, 1
je 0x438c37
inc esi
jmp 0x438be9
mov byte [esp + 0x6c], 1
lea ecx, [esi + 1]
mov ebx, dword [edi]
cmp ebx, ecx
jae 0x438c69
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x35a
mov dword [esp], 0x4cdfc0
call fcn.00462c8c
mov eax, ebx
mov edx, dword [edi + 4]
sub eax, ecx
lea ecx, [edx + esi*8 + 8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, dword [edi]
cmp ecx, esi
jae 0x438c96
push ecx
mov ecx, 0x4cdfc0
push esi
push 0
push 0x35a
push ecx
call fcn.00462c8c
mov eax, esi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x4ceb90
call fcn.00465ef4
mov dword [edi], eax
mov dword [edi + 4], edx
cmp dword [esp + 0x4c], 0
je 0x438cdd
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
push dword [esp + 0x68]
push dword [esp + 0x68]
call fcn.00439138
mov byte [ebp], al
jmp 0x438be9
mov byte [ebp], 1
jmp 0x438be9
mov al, byte [esp + 0x6c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
add esp, 0x70
ret 0x14
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x331
mov dword [esp], 0x4cdfc0
call fcn.00462c8c
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x33d
mov dword [esp], 0x4cdfc0
call fcn.00462c8c
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x34a
mov dword [esp], 0x4cdfc0
call fcn.00462c8c
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x34a
mov dword [esp], 0x4cdfc0
call fcn.00462c8c
sub esp, 0x48
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x1c], edi
mov edi, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
mov ebx, dword [ecx]
mov esi, dword [edx]
mov eax, ebx
call fcn.0046619c
xor al, 1
je 0x438e48
cmp ebx, 0x3d
jne 0x438dc2
inc esi
lea edx, [esi + 1]
mov ebx, dword [edi - 0x4c]
cmp ebx, edx
jb 0x438ec0
mov dword [esp + 0x40], ebx
mov ecx, dword [esp + 0x40]
lea edx, [esi + 1]
sub ecx, edx
mov dword [esp + 0x28], ecx
mov ecx, dword [edi - 0x48]
lea edx, [esi + ecx + 1]
mov dword [esp + 0x2c], edx
lea ecx, [edi - 0x44]
mov dword [esp + 8], 1
mov dword [esp + 4], ecx
mov dword [esp], 0x4ceb90
call fcn.00465444
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x30]
lea ecx, [ebx + ecx*8]
mov dword [ecx - 4], edx
mov eax, dword [esp + 0x28]
mov dword [ecx - 8], eax
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add esp, 0x48
mov eax, 1
ret 8
mov dword [esp + 0x44], ebx
mov esi, dword fs:[0x2c]
mov ecx, dword [esi]
push dword [ecx + 0xb0]
mov eax, ebx
call fcn.004355dc
lea ebx, [edi - 0x44]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
mov dword [esp], 0x4ceb90
call fcn.00465444
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x38], eax
mov esi, dword [esp + 0x38]
lea ebx, [ecx + esi*8]
mov dword [ebx - 4], edx
mov eax, dword [esp + 0x20]
mov dword [ebx - 8], eax
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add esp, 0x48
xor eax, eax
ret 8
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], 0x345
mov dword [esp], 0x4cdfc0
call fcn.00462c8c