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

Disassembly:
sub esp, 0x510
mov dword [esp + 0x40], ecx
lea ecx, [esp]
call fcn.00439c40
push 8
lea ecx, [esp + 4]
call fcn.00438750
test eax, eax
je 0x438fd7
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [0x4a3b58]
add ecx, eax
mov dword [ecx], edx
mov eax, dword [0x4a3b5c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xc]
add eax, 8
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x51c]
push ebx
push ebp
push esi
test eax, eax
push edi
je 0x4399db
mov esi, dword [esp + 0x524]
mov ebp, dword [esp + 0x528]
lea ecx, [esp + 0x58]
lea edx, [esp + 0xd0]
push ecx
push edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], 0
mov dword [esp + 0x7c], 6
mov dword [esp + 0x74], ebp
call fcn.00435a90
lea eax, [esp + 0xd8]
push 1
push eax
call fcn.00453cf0
mov al, byte [esp + 0x1a8]
add esp, 0x10
test al, al
je 0x439071
lea ecx, [esp + 0xd0]
push ecx
call fcn.00453ce0
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
je 0x439c1c
push eax
call fcn.00416560
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x510
ret 0xc
mov eax, dword [esp + 0xe8]
lea edi, [eax + eax*4]
mov eax, dword [esp + 0xec]
shl edi, 2
lea ebx, [eax + eax*4]
mov dword [esp + 0x34], edi
shl ebx, 2
cmp edi, 0xe100
mov dword [esp + 0x38], ebx
jle 0x4390a4
mov edi, 0xe100
mov dword [esp + 0x34], edi
cmp ebx, 0xe100
jle 0x4390b5
mov ebx, 0xe100
mov dword [esp + 0x38], ebx
lea edx, [esp + 0xd0]
push edx
call fcn.00453ce0
xor eax, eax
add esp, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], eax
cmp ebx, eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x10], 8
mov eax, ebx
jge 0x4390eb
neg eax
push eax
push 0
lea ecx, [esp + 0x18]
call fcn.0043a1d0
push eax
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
call fcn.0043a1d0
mov ecx, dword [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0043a1d0
push eax
lea ecx, [esp + 0x14]
call fcn.0043a1a0
mov edi, eax
inc edi
cmp edi, 0xf
jge 0x43912c
mov edi, 0xf
push 5
push edi
lea ecx, [esp + 0x18]
call fcn.0043a2a0
mov edx, dword [esp + 0x3c]
push edi
push edx
lea ecx, [esp + 0x18]
call fcn.0043a2a0
mov eax, dword [esp + 0x40]
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.0043a2a0
mov ecx, dword [esp + 0x44]
push edi
push ecx
lea ecx, [esp + 0x18]
call fcn.0043a2a0
mov edx, dword [esp + 0x48]
push edi
push edx
lea ecx, [esp + 0x18]
call fcn.0043a2a0
lea ecx, [esp + 0x10]
call fcn.0043a1f0
push 2
lea ecx, [esp + 0x14]
call fcn.00438750
test eax, eax
je 0x4391b2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
inc eax
mov dword [esp + 0x1c], eax
mov byte [eax + edx], 0xc
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
push 2
lea ecx, [esp + 0x14]
call fcn.00438750
test eax, eax
je 0x4391e7
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 1
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
inc eax
mov dword [esp + 0x1c], eax
mov byte [eax + edx], 0
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0x15
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 1
call fcn.004387f0
push 0
lea ecx, [esp + 0x14]
call fcn.004388a0
push 2
lea ecx, [esp + 0x14]
call fcn.00438750
test eax, eax
je 0x43924a
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [ecx + edx], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc eax
mov dword [esp + 0x1c], eax
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
push 2
lea ecx, [esp + 0x14]
call fcn.00438750
test eax, eax
je 0x43927f
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov byte [edx + eax], 0xff
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc eax
mov dword [esp + 0x1c], eax
mov byte [eax + ecx], 0xd9
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
push 2
lea ecx, [esp + 0x14]
call fcn.00438750
test eax, eax
je 0x4392b4
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov byte [edx + eax], 0xff
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc eax
mov dword [esp + 0x1c], eax
mov byte [eax + ecx], 0xd8
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
push ebp
lea ecx, [esp + 0x14]
call fcn.00438750
test eax, eax
je 0x4392e5
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, ebp
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
add eax, ebp
jmp 0x4392e9
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov esi, eax
mov edx, ecx
neg edx
sbb edx, edx
and edx, 4
add edx, 2
sub eax, edx
mov edx, dword [esp + 0x28]
sub eax, edx
mov dword [esp + 0x1c], edx
test ecx, ecx
mov edi, eax
je 0x43932c
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x10]
shl eax, 6
or al, 0x3f
push eax
call fcn.004387f0
push edi
lea ecx, [esp + 0x14]
call fcn.004388a0
jmp fcn.0043933f
mov ecx, dword [esp + 0x24]
shl ecx, 6
or ecx, edi
push ecx
lea ecx, [esp + 0x14]
call fcn.004387f0
lea ecx, [esp + 0x78]
call fcn.00491ec0
mov ebp, dword [esp + 0x528]
add byte [eax], al