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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa0
mov dword [esp + 0x74], ecx
mov eax, dword [0x101d84bc]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x50]
cmp dword [ecx + 0x1d28], 0
jne 0x1015705b
jmp 0x10157304
mov edx, dword [0x101d96d0]
cmp dword [edx], 0
je 0x10157070
mov dword [esp + 0x14], 1
jmp 0x10157078
mov dword [esp + 0x14], 0
movzx eax, byte [esp + 0x14]
test eax, eax
je 0x101570b4
mov ecx, dword [0x101d96d0]
mov edx, dword [ecx]
mov dword [esp + 0x18], edx
mov eax, 4
imul ecx, eax, 0x9b
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ecx + eax]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x18]
call dword [esp + 0x54]
movzx edx, al
test edx, edx
jne 0x101570b9
jmp 0x10157304
lea ecx, [esp + 0x78]
call fcn.1003f990
call fcn.100417c0
add eax, 0x1c
mov ecx, dword [eax]
mov dword [esp + 0x94], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x98], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x9c], eax
mov ecx, dword [0x101d84bc]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x58]
add edx, 0x1d10
mov eax, dword [edx]
mov dword [esp + 0x38], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x3c], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x44], ecx
mov eax, dword [edx + 0x10]
mov dword [esp + 0x48], eax
mov cl, byte [edx + 0x14]
mov byte [esp + 0x4c], cl
movss xmm0, dword [0x101ca378]
movss dword [esp + 0x20], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x28], xmm0
call fcn.100417c0
add eax, 0x28
mov ecx, eax
call fcn.100531a0
fstp dword [esp + 0x5c]
movss xmm0, dword [esp + 0x5c]
mulss xmm0, dword [0x101ca47c]
movss dword [esp + 0xc], xmm0
xor edx, edx
mov byte [esp + 7], dl
mov al, byte [esp + 7]
mov byte [esp + 8], al
movss xmm0, dword [esp + 0xc]
comiss xmm0, dword [esp + 0x20]
jbe 0x10157187
mov dword [esp + 0x1c], 1
jmp 0x1015718f
mov dword [esp + 0x1c], 0
movzx ecx, byte [esp + 0x1c]
test ecx, ecx
je 0x101571a2
lea edx, [esp + 0x20]
mov dword [esp + 0x10], edx
jmp 0x101571dc
movss xmm0, dword [esp + 0x28]
comiss xmm0, dword [esp + 0xc]
jbe 0x101571b9
mov dword [esp + 0x24], 1
jmp 0x101571c1
mov dword [esp + 0x24], 0
movzx eax, byte [esp + 0x24]
test eax, eax
je 0x101571d4
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], ecx
jmp 0x101571dc
lea edx, [esp + 0xc]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
movss xmm0, dword [eax]
movss dword [esp + 0x64], xmm0
mov ecx, 3
shl ecx, 2
lea edx, [esp + ecx + 0x38]
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x2c]
movss xmm0, dword [eax]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x60]
mulss xmm0, dword [esp + 0x64]
mov ecx, dword [esp + 0x2c]
movss dword [ecx], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x34], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x30], xmm0
push 1
lea edx, [esp + 0x34]
lea ecx, [esp + 0x98]
call fcn.10078820
movzx edx, al
test edx, edx
je 0x101572ef
mov eax, dword [0x101d84bc]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x1d28]
mov dword [esp + 0x6c], edx
sub esp, 0x18
mov eax, esp
mov ecx, dword [esp + 0x50]
mov dword [eax], ecx
mov edx, dword [esp + 0x54]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x5c]
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x10], ecx
mov dl, byte [esp + 0x64]
mov byte [eax + 0x14], dl
call fcn.10078030
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x6c]
push ecx
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
movss xmm0, dword [esp + 0x8c]
movss xmm1, dword [esp + 0x90]
call fcn.10156430
mov edx, dword [esp + 0x78]
mov dword [esp + 0x7c], edx
mov eax, dword [esp + 0x7c]
push eax
call fcn.1016b6ae
add esp, 4
mov esp, ebp
pop ebp
ret