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

Disassembly:
sub esp, 0x38
xor eax, eax
push ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov eax, dword [ebp]
mov dword [esp + 4], eax
mov eax, dword [eax]
mov cl, byte [eax + 0x1e]
test cl, cl
mov dword [esp + 0x44], eax
jne 0x438f34
mov eax, dword [esp + 0x48]
push ebx
push esi
mov esi, dword [ebp + 4]
push edi
mov edi, dword [ebp + 0x1c]
lea eax, [eax + eax*4]
shl eax, 3
mov ebx, dword [edi + eax]
add edi, eax
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 8]
push eax
push esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], ebx
call fcn.004170e0
mov dword [esp + 0x48], eax
movzx eax, byte [ebx]
add esp, 8
cmp eax, 0x48
mov dword [esp + 0x44], edx
mov dword [esp + 0x18], eax
jne 0x438a8b
test byte [ebx + 3], 8
je 0x438a7f
mov eax, dword [ebx + 0x10]
push esi
call fcn.00410700
add esp, 4
jmp 0x438aa4
mov ecx, dword [ebx + 0x10]
push ecx
push esi
call fcn.00417170
jmp 0x438aa1
cmp eax, 0x49
jne 0x438a97
xor eax, eax
mov dword [edi + 0x1c], eax
jmp 0x438aa7
mov edx, dword [ebx + 0xc]
push edx
push esi
call fcn.004170e0
add esp, 8
mov dword [edi + 0x1c], edx
push ebx
push esi
mov dword [edi + 0x18], eax
call fcn.004170e0
mov dword [esp + 0x38], eax
mov al, byte [ebx + 2]
add esp, 8
test al, 1
mov dword [esp + 0x34], edx
je 0x438af2
movsx esi, word [ebx + 0x20]
mov edx, dword [esp + 0x24]
call fcn.004106c0
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
or esi, eax
or ecx, edx
add eax, 0xffffffff
adc edx, 0xffffffff
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov dword [edi + 0x20], eax
or eax, 0xffffffff
mov dword [edi + 8], eax
mov dword [edi + 4], eax
xor edx, edx
mov eax, esi
mov dword [edi + 0x24], ecx
mov word [edi + 0x10], dx
call fcn.00410770
test eax, eax
je 0x438c3c
mov ecx, dword [esp + 0x40]
mov eax, dword [edi + 0x18]
and eax, ecx
mov ecx, dword [edi + 0x1c]
and ecx, dword [esp + 0x44]
or eax, ecx
jne 0x438c3c
mov eax, dword [ebx + 8]
cmp byte [eax], 0x98
mov edx, dword [ebx + 0xc]
jne 0x438b5d
mov ecx, dword [eax + 0x18]
mov dword [edi + 8], ecx
movsx eax, word [eax + 0x1c]
mov dword [edi + 0xc], eax
mov eax, esi
call fcn.00410790
mov word [edi + 0x10], ax
test edx, edx
je 0x438d12
cmp byte [edx], 0x98
jne 0x438d12
mov eax, dword [edi + 8]
test eax, eax
jl 0x438be0
mov ecx, dword [esp + 0x50]
push 0
push ebx
push ecx
call fcn.00420310
mov esi, eax
mov eax, dword [esp + 0x5c]
mov cl, byte [eax + 0x1e]
add esp, 0xc
test cl, cl
je 0x438ba4
push esi
push eax
call fcn.004158d0
add esp, 8
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x38
ret
push 3
push esi
push ebp
call fcn.00416fc0
add esp, 0xc
test eax, eax
je 0x438f31
mov ecx, dword [esp + 0x54]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x1c]
lea ebx, [eax + edx*8]
mov dword [ebx + 4], ecx
mov edi, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x14]
mov al, byte [edi + ecx + 0x12]
add edi, ecx
or al, 8
mov byte [edi + 0x13], 1
mov byte [edi + 0x12], al
jmp 0x438be4
mov esi, ebx
mov ebx, edi
mov edx, dword [esp + 0x10]
push edx
call fcn.00432990
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x18]
mov dword [ebx + 8], ecx
movsx edx, word [eax + 0x1c]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
or eax, ecx
mov ecx, dword [esp + 0x48]
mov dword [ebx + 0xc], edx
or ecx, dword [esp + 0x40]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], ecx
movzx eax, byte [esi]
add esp, 4
call fcn.00410790
mov word [ebx + 0x10], ax
mov ebx, dword [esp + 0x1c]
jmp 0x438d12
mov al, byte [ebx]
cmp al, 0x47
jne 0x438cf2
cmp byte [ebp + 0x10], 0x45
jne 0x438cf2
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], edx
xor ebx, ebx
lea ecx, [ecx]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebx + edx]
mov esi, dword [esp + 0x50]
push 0
push eax
push esi
call fcn.00420310
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 8]
push 0
push edx
push esi
mov edi, eax
call fcn.00420310
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x34]
movzx eax, byte [eax + 0x4ad708]
push ecx
xor edx, edx
call fcn.0041a0a0
push 3
push eax
push ebp
call fcn.00416fc0
mov edx, dword [esp + 0x78]
mov esi, eax
push esi
push ebp
push edx
call fcn.004389f0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x4c]
lea edi, [eax + ecx]
mov ecx, dword [esp + 0x8c]
lea edx, [esi + esi*4]
mov dword [eax + edx*8 + 4], ecx
mov edx, dword [esp + 0x50]
add esp, 0x38
inc edx
add ebx, 0x14
cmp ebx, 0x28
mov dword [esp + 0x18], edx
jl 0x438c60
mov ebx, dword [esp + 0x1c]
mov byte [edi + 0x13], 2
jmp 0x438d12
cmp al, 0x44
jne 0x438d12
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
push edx
push ebp
push eax
call fcn.00422a40
mov edi, dword [ebp + 0x1c]
mov eax, dword [esp + 0x20]
add esp, 0xc
add edi, eax
cmp byte [ebp + 0x10], 0x45
jne 0x438e4c
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
push ecx
mov eax, ebx
call fcn.004387a0
add esp, 0x10
test eax, eax
je 0x438e4c
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + 0xc]
mov esi, dword [esp + 0x28]
mov ecx, dword [eax + 0x14]
mov edi, dword [esp + 0x50]
push 0
push esi
push edi
mov dword [esp + 0x28], ecx
call fcn.00420310
mov cl, byte [edi + 0x1e]
add esp, 0xc
test cl, cl
mov dword [esp + 0x30], eax
jne 0x438d9d
mov ecx, dword [eax + 4]
call fcn.00408380
mov edx, dword [esp + 0x2c]
test edx, edx
lea ecx, [eax + ecx - 1]
mov al, byte [ecx]
je 0x438d99
cmp al, 0x40
jne 0x438d90
mov dword [esp + 0x20], 0
movzx edx, al
mov al, byte [edx + 0x4ac8c8]
inc al
mov byte [ecx], al
mov eax, dword [esp + 0x1c]
push 0
push eax
push edi
call fcn.00420310
mov ecx, dword [esp + 0x1c]
push eax
push ecx
xor edx, edx
mov edi, esi
mov eax, 0x50
call fcn.0041a0a0
push 3
push eax
push ebp
call fcn.00416fc0
mov edx, dword [esp + 0x6c]
mov esi, eax
push esi
push ebp
push edx
call fcn.004389f0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x7c]
push 0
push eax
push ecx
call fcn.00420310
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x68]
push eax
push edx
xor edx, edx
mov eax, 0x4f
call fcn.0041a0a0
add esp, 0x40
push 3
push eax
push ebp
call fcn.00416fc0
push eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x5c]
push ebp
push eax
call fcn.004389f0
mov edi, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
add esp, 0x18
add edi, ecx
test eax, eax
je 0x438e4c
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x54]
lea edx, [esi + esi*4]
mov dword [eax + edx*8 + 4], ecx
mov eax, dword [esp + 0x30]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x1c]
mov dword [eax + edx*8 + 4], ecx
mov byte [edi + 0x13], 2
mov esi, ebx
call fcn.004107c0
test eax, eax
je 0x438f19
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0xc]
mov ebx, dword [eax]
mov edx, dword [esp + 0x24]
mov esi, dword [eax + 0x14]
push ebx
push edx
call fcn.004170e0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
push esi
push eax
mov dword [esp + 0x54], edx
call fcn.004170e0
and eax, dword [esp + 0x50]
and edx, dword [esp + 0x54]
add esp, 0x10
or eax, edx
jne 0x438f19
mov ecx, dword [esp + 0x50]
push 0
push ebx
push ecx
call fcn.00420310
mov edx, dword [esp + 0x1c]
push 0
push edx
mov edi, eax
xor edx, edx
mov eax, 0x32
call fcn.0041a0a0
push 3
push eax
push ebp
call fcn.00416fc0
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esp + 0x60]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ecx
mov edx, dword [esi + 0x18]
mov dword [eax + 8], edx
movsx ecx, word [esi + 0x1c]
mov edx, dword [esp + 0x74]
mov dword [eax + 0xc], ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov word [eax + 0x10], 0x40
mov edi, dword [ebp + 0x1c]
mov cl, byte [edi + edx + 0x12]
add edi, edx
add esp, 0x20
or cl, 8
mov byte [edi + 0x12], cl
mov ecx, dword [edi + 0x20]
mov byte [edi + 0x13], 1
mov dword [eax + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [eax + 0x24], edx
mov eax, dword [esp + 0x38]
mov ecx, dword [edi + 0x18]
or ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x18], ecx
mov ecx, dword [esp + 0x3c]
or eax, ecx
mov dword [edi + 0x1c], eax
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x38
ret