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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, esp
mov dword [esi + 0x68], ebp
call 0x4385a9
pop eax
mov dword [esi + 0x6c], esp
mov dword [esi + 0x78], 0xffffffff
mov dword [esi + 0x74], 0x439be0
mov edi, dword [ebp + 0x10]
mov dword [esi + 0x38], eax
mov eax, dword fs:[0]
mov dword [esi + 0x70], eax
lea eax, [esi + 0x70]
mov dword fs:[0], eax
mov dword [esi + 0x1c], edi
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
mov dword [esi + 0x20], eax
mov dword [esi + 0x34], eax
mov edx, eax
mov eax, ecx
mov dword [esi + 0x3c], ecx
jmp 0x438606
cmp edx, eax
jne 0x43863a
mov ecx, dword [edi + 8]
mov eax, edx
sub eax, ecx
cmp eax, 0x1f
mov eax, edx
ja 0x43863a
mov dword [esi + 0x14], edx
mov dword [esi + 0x78], 0
push 0x20
push ecx
mov dword [esi + 0x18], edi
push edi
call fcn.0056b770
add esp, 0xc
mov edi, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
cmp ecx, eax
jae 0x438668
mov dword [edi + 8], eax
mov edx, eax
mov ecx, dword [esi + 0x20]
sub edx, ecx
jb 0x43896e
add ecx, dword [edi]
push edx
push 0
push ecx
call fcn.0054c590
add esp, 0xc
mov edi, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
mov ecx, dword [edi + 8]
mov ebx, ecx
mov dword [esi + 0x78], 0
sub ebx, edx
jb 0x43895d
mov eax, dword [edi]
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edx
mov dword [esi + 0x10], ebx
add eax, edx
push ebx
push eax
push dword [ebp + 0xc]
lea eax, [esi + 0x40]
push eax
call fcn.0042b290
add esp, 0x10
mov ecx, dword [esi + 0x40]
cmp ecx, 1
jne 0x4386d0
mov bl, byte [esi + 0x44]
mov edi, dword [ebp + 8]
mov edx, dword [esi + 0x14]
movzx eax, bl
mov eax, dword [eax*4 + 0x438ab4]
add eax, dword [esi + 0x38]
jmp eax
mov eax, dword [esi + 0x44]
mov edi, dword [ebp + 8]
mov edx, dword [esi + 0x14]
test eax, eax
je 0x438944
cmp eax, dword [esi + 0x10]
ja 0x438986
mov edi, dword [esi + 0x18]
add edx, eax
mov dword [esi + 0x20], edx
mov eax, dword [edi + 4]
cmp edx, eax
jne 0x438810
cmp eax, dword [esi + 0x3c]
jne 0x438810
xorps xmm0, xmm0
mov dword [esi + 0x14], edx
movaps xmmword [esi + 0x50], xmm0
movaps xmmword [esi + 0x40], xmm0
jmp 0x438734
push 0x20
lea eax, [esi + 0x40]
push eax
push dword [ebp + 0xc]
lea eax, [esi + 0x24]
push eax
call fcn.0042b290
add esp, 0x10
cmp dword [esi + 0x24], 1
jne 0x438896
movzx ecx, byte [esi + 0x28]
mov edi, dword [ebp + 8]
movzx eax, cl
mov eax, dword [eax*4 + 0x438aa4]
add eax, dword [esi + 0x38]
jmp eax
mov eax, dword [edi + 4]
jmp 0x438606
mov ecx, dword [esi + 0x28]
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x14]
test ecx, ecx
je 0x438955
cmp ecx, 0x21
jae 0x4389a6
mov ebx, dword [esi + 0x18]
mov dword [esi + 0x10], ecx
mov eax, dword [ebx + 4]
mov edi, dword [ebx + 8]
sub eax, edi
cmp eax, ecx
jae 0x4388e1
mov byte [esi + 0xf], 0
mov dword [esi + 0x78], 1
push ecx
push edi
push ebx
call fcn.0056b770
add esp, 0xc
mov ebx, dword [esi + 0x18]
mov ecx, dword [esi + 0x10]
mov edi, dword [ebx + 8]
mov eax, dword [ebx]
add eax, edi
push ecx
lea ecx, [esi + 0x40]
push ecx
push eax
call fcn.0054ad50
add esp, 0xc
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
add edi, eax
add edx, eax
mov dword [ebx + 8], edi
mov dword [esi + 0x20], edx
mov edi, ebx
mov eax, dword [ebx + 4]
jmp 0x438606
mov dword [edi], eax
lea eax, [esi + 0x1c]
mov dword [esi + 0x78], 0xffffffff
push eax
call fcn.004e1ea0
add esp, 4
mov eax, dword [esi + 0x70]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
sub edx, dword [esi + 0x34]
mov dword [edi + 4], edx
xor eax, eax
jmp 0x43891c
sub eax, dword [esi + 0x34]
mov dword [edi + 4], eax
jmp 0x43894a
push 0x5758e0
push ecx
push edx
call fcn.00570970
add esp, 0xc
jmp 0x4389c1
mov dword [esi + 0x78], 0
push 0x5758d0
push eax
push ecx
call fcn.00570970
add esp, 0xc
jmp 0x4389c1
mov dword [esi + 0x30], ecx
mov dword [esi + 0x78], 3
push 0x575910
push 0x20
push 0x5758f0
call fcn.005707b0
add esp, 0xc
jmp 0x4389c1
mov byte [esi + 0xf], 0
mov dword [esi + 0x78], 1
push 0x575920
push 0x20
push ecx
call fcn.005709d0
add esp, 0xc
ud2