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

Disassembly:
push 0xffffffffffffffff
push 0x48dfd9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0
call fcn.0042f2a0
mov ebx, eax
call fcn.0042f870
mov edi, dword [esp + 0x7c]
mov ecx, dword [edi]
sub ecx, eax
mov eax, dword [edi + 4]
push 0
push 0xf4240
sbb eax, edx
push eax
push ecx
call fcn.0046ee60
push 0
push 0x3e8
push edx
push eax
call fcn.0046ef60
test edx, edx
jl 0x438c69
jg 0x438c77
test eax, eax
jae 0x438c77
neg eax
adc edx, 0
neg edx
neg eax
adc edx, 0
neg edx
mov ecx, eax
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [esp + 0x30]
push ebx
push eax
call fcn.004347e0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x28]
mov dword [esp + 0x28], ecx
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x34], edx
call fcn.00438920
add esp, 0x18
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x14]
call fcn.0042ec30
mov eax, dword [esp + 0x7c]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0042db70
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.0040c2b0
movzx ecx, word [esp + 0x2a]
lea edx, [esp + 0x28]
push edx
add esi, 0x2c
push esi
mov dword [esp + 0x94], ecx
call fcn.00438140
lea ecx, [esp + 0x94]
push ecx
push eax
call fcn.00438210
lea edx, [esp + 0x3c]
push edx
push eax
call fcn.00438140
mov ebp, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
add esp, 0x28
push 0
push 0xf4240
push ebp
push ebx
call fcn.0046ef60
cdq
mov ecx, 0x3c
idiv ecx
push 0
push 0x3938700
push ebp
push ebx
mov dword [esp + 0x28], edx
call fcn.0046ef60
push 0
push 0x3c
push edx
push eax
call fcn.0046eea0
push 0
push 0xd693a400
push ebp
push ebx
mov dword [esp + 0x20], eax
call fcn.0046ef60
lea edx, [esp + 0x7c]
push edx
push esi
mov dword [esp + 0x84], eax
call fcn.004387d0
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.004387d0
lea edx, [esp + 0x28]
push edx
push eax
call fcn.004387d0
add esp, 0x18
push 0
push 0x3e8
push ebp
push ebx
call fcn.0046ef60
push 0
push 0x3e8
push edx
push eax
call fcn.0046eea0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push esi
mov dword [esp + 0x34], edx
call fcn.004382e0
call fcn.0042f870
mov ecx, dword [edi]
sub ecx, eax
mov eax, dword [edi + 4]
sbb eax, edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
fild qword [esp + 0x30]
lea ecx, [esp + 0x30]
push ecx
fdiv qword [0x494dc0]
push esi
fstp qword [esp + 0x38]
call fcn.00438700
mov edx, dword [edi + 8]
sub esp, 0xc
mov eax, esp
lea ecx, [esp + 0x98]
mov dword [esp + 0x34], esp
push ecx
push eax
mov dword [esp + 0xa0], edx
call fcn.0042bb00
add esp, 8
mov dword [esp + 0x8c], 1
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x90], 0
call fcn.00435060
mov dword [esp + 0x90], 2
push eax
push esi
call fcn.004383b0
add esp, 0x28
mov byte [esp + 0x70], 0
mov ebx, 8
cmp dword [esp + 0x48], ebx
jb 0x438e58
mov eax, dword [esp + 0x34]
push eax
call fcn.0046d9dc
add esp, 4
mov eax, dword [edi + 0xc]
push eax
xor ecx, ecx
mov ebp, 7
push esi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], cx
call fcn.004383b0
mov edx, dword [edi + 0x48]
lea eax, [esp + 0x84]
push eax
push esi
mov dword [esp + 0x8c], edx
call fcn.004387d0
add edi, 0x10
push edi
push esi
call fcn.004383b0
mov edi, dword [esp + 0x98]
mov edx, dword [edi]
mov edx, dword [edx + 8]
add esp, 0x18
lea eax, [esp + 0x4c]
push eax
mov ecx, edi
call edx
mov dword [esp + 0x70], 3
push eax
push esi
call fcn.004383b0
add esp, 8
mov byte [esp + 0x70], 0
cmp dword [esp + 0x64], ebx
jb 0x438ede
mov eax, dword [esp + 0x50]
push eax
call fcn.0046d9dc
add esp, 4
xor eax, eax
xor ecx, ecx
push eax
mov word [esp + 0x54], cx
xor edx, edx
push 0x4935f8
lea ecx, [esp + 0x38]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], eax
mov word [esp + 0x3c], dx
call fcn.00410830
mov dword [esp + 0x70], 4
mov ebp, dword [esp + 0x20]
lea ecx, [ebp + 0xf0]
call fcn.00403450
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebx
jae 0x438f32
lea eax, [esp + 0x34]
mov edx, dword [ebp + 0x130]
lea ecx, [ebp + 0xf0]
push edx
mov edx, dword [esp + 0x48]
push edx
push eax
call fcn.00408820
mov byte [esp + 0x70], 0
cmp dword [esp + 0x48], ebx
jb 0x438f62
mov eax, dword [esp + 0x34]
push eax
call fcn.0046d9dc
add esp, 4
xor ecx, ecx
lea ebx, [ebp + 0xec]
push esi
push ebx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], cx
call fcn.004358c0
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
add esp, 8
add ebp, 0x16c
push ebp
mov ecx, edi
call eax
mov esi, dword [esp + 0x78]
push esi
mov ecx, ebx
call fcn.00417b00
mov dword [esp + 0x70], 0
mov ecx, dword [esp + 0x68]
pop edi
mov dword [esp + 0x20], 1
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret 0xc