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

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, dword [esp + 0x78]
push edi
mov edi, dword [0x10423820]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
mov eax, dword [edi + 0x1bdc]
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x1bdc]
cmp byte [eax + 0x8f], 0
je 0x10138801
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x14
mov ebx, dword [esp + 0x78]
test ebx, ebx
jne 0x10138814
mov eax, edx
shl eax, 4
mov ebx, dword [eax + 0x101eb368]
mov ebp, dword [esp + 0x6c]
lea ecx, [esp + 0x28]
push ebx
push ebp
push edx
mov edx, 0x40
call fcn.101360f0
xor al, al
mov byte [esp + 0x78], al
mov eax, esi
or esi, 1
test eax, 0x20002
cmovne esi, eax
or esi, 0x200010
cmp dword [esp + 0x70], 0
je 0x10138b4d
mov eax, dword [0x10423820]
movss xmm0, dword [eax + 0x159c]
addss xmm0, xmm0
addss xmm0, dword [eax + 0x1978]
movss dword [esp + 0x14], xmm0
call fcn.10123f60
mov eax, dword [0x10423820]
xor edx, edx
mov eax, dword [eax + 0x1bdc]
add eax, 0xc0
mov dword [esp + 0x7c], eax
mov ecx, dword [eax]
mov eax, dword [eax + 8]
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x1c]
call fcn.101183b0
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [esp + 0x1c], eax
cmp ecx, eax
jne 0x101388d8
inc ecx
test eax, eax
je 0x101388c2
cdq
sub eax, edx
mov edx, dword [esp + 0x7c]
sar eax, 1
add eax, dword [esp + 0x1c]
jmp 0x101388c7
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100b1e40
mov edx, dword [esp + 0x7c]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov ebp, dword [esp + 0x20]
mov dword [eax + ecx*4], ebp
mov ecx, dword [0x10423820]
inc dword [edx]
mov edx, dword [ecx + 0x1cc4]
mov eax, dword [ecx + 0x1bdc]
mov dword [esp + 0x7c], edx
test dl, 1
je 0x1013890b
movss xmm0, dword [ecx + 0x1cc8]
jmp 0x10138913
movss xmm0, dword [eax + 0x1b8]
movss xmm2, dword [0x101ecba0]
xorps xmm1, xmm1
comiss xmm1, xmm0
mov ebp, dword [esp + 0x6c]
jbe 0x1013895c
cmp dword [eax + 0x198], 0
movss xmm1, dword [eax + 0x250]
jne 0x10138941
cmp dword [ecx + 0x1f1c], 0
je 0x10138949
movss xmm1, dword [eax + 0x220]
subss xmm1, dword [eax + 0xcc]
addss xmm1, xmm0
movaps xmm0, xmm2
maxss xmm0, xmm1
movss xmm1, dword [esp + 0x14]
xor edx, edx
addss xmm1, dword [edi + 0x15b0]
mov eax, dword [esp + 0x7c]
or eax, 1
mov dword [esp + 0x20], 0
mov dword [ecx + 0x1cc4], eax
cvttss2si eax, xmm0
mov dword [esp + 0x24], 0
push 0
push 0
push esi
addss xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0x2c]
cvtdq2ps xmm0, xmm0
push eax
push 0x40
lea eax, [esp + 0x3c]
push eax
subss xmm0, xmm1
maxss xmm2, xmm0
movss dword [ecx + 0x1cc8], xmm2
mov ecx, 0x1019546e
call fcn.1013a790
test al, al
je 0x101389e0
mov edx, dword [edi + 0x1fcc]
lea ecx, [esp + 0x28]
push ebx
push ebp
push dword [esp + 0x18]
call fcn.101368d0
mov byte [esp + 0x78], al
movss xmm0, dword [edi + 0x1598]
and esi, 0x4000
mov ecx, dword [edi + 0x159c]
or esi, 0x2400
movss xmm1, dword [edi + 0x15b0]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [edi + 0x159c]
movss dword [esp + 0x6c], xmm0
xorps xmm0, xmm0
mov dword [edi + 0x1598], ecx
call fcn.10123be0
movss xmm0, dword [esp + 0x14]
lea edx, [esp + 0x20]
push 1
push esi
mov ecx, 0x101b04ac
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x2c], xmm0
call fcn.10132a50
mov ebx, dword [esp + 0x74]
test al, al
je 0x10138a78
cmp byte [edi + 0x140], 0
je 0x10138a5e
mov eax, ebx
test ebx, ebx
jne 0x10138a62
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x10]
mov edx, 0x2d
push eax
push ebp
push ebp
call fcn.10136200
mov byte [esp + 0x78], 1
movss xmm1, dword [edi + 0x15b0]
xorps xmm0, xmm0
call fcn.10123be0
movss xmm0, dword [esp + 0x14]
lea edx, [esp + 0x20]
push 1
push esi
mov ecx, 0x101eb050
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x2c], xmm0
call fcn.10132a50
test al, al
je 0x10138ad5
cmp byte [edi + 0x140], 0
je 0x10138abc
test ebx, ebx
jne 0x10138ac0
mov ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0x10]
mov edx, 0x2b
push ebx
push ebp
push ebp
call fcn.10136200
mov bl, 1
jmp 0x10138ad9
mov bl, byte [esp + 0x78]
mov ebp, dword [esp + 0x18]
mov esi, ebp
cmp ebp, 0xffffffff
jae 0x10138b19
mov cl, byte [esi]
test cl, cl
je 0x10138afa
cmp cl, 0x23
jne 0x10138af4
cmp byte [esi + 1], cl
je 0x10138afa
inc esi
cmp esi, 0xffffffff
jb 0x10138ae4
cmp ebp, esi
je 0x10138b19
movss xmm1, dword [edi + 0x15b0]
xorps xmm0, xmm0
call fcn.10123be0
push 0
mov edx, esi
mov ecx, ebp
call fcn.10131c10
movss xmm0, dword [esp + 0x7c]
mov eax, dword [0x10423820]
movss dword [edi + 0x1598], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [edi + 0x159c], xmm0
mov eax, dword [eax + 0x1bdc]
dec dword [eax + 0xc0]
call fcn.10124090
jmp 0x10138b94
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push 0
push 0
push esi
push eax
push 0x40
lea eax, [esp + 0x3c]
mov dword [esp + 0x34], 0
push eax
xor edx, edx
mov dword [esp + 0x3c], 0
call fcn.1013a790
test al, al
je 0x10138bbf
mov edx, dword [edi + 0x1fcc]
lea ecx, [esp + 0x28]
push ebx
push ebp
push dword [esp + 0x18]
call fcn.101368d0
mov bl, al
test bl, bl
je 0x10138bc3
mov eax, dword [0x10423820]
mov word [eax + 0x1c20], 0x101
mov eax, dword [eax + 0x1bdc]
or dword [eax + 0x11c], 4
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x14
mov bl, byte [esp + 0x78]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x58
ret 0x14