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

Disassembly:
sub esp, 0x74
mov eax, dword [0x100bd040]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
mov ebx, dword [0x100c353c]
push ebp
push esi
mov esi, ecx
mov byte [esp + 0x16], dl
mov eax, dword [ebx + 0x3e28]
push edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x34], ebx
mov byte [eax + 0xa8], 1
mov ebp, dword [ebx + 0x3e28]
mov dword [esp + 0x40], ebp
cmp byte [ebp + 0xab], 0
jne 0x1005b17e
push ecx
push esi
mov ecx, ebp
call fcn.10006542
push ecx
mov dword [esp], 0xbf800000
lea ecx, [esp + 0x3c]
mov edi, eax
mov edx, esi
push 1
push 0
mov dword [esp + 0x50], edi
call fcn.100085b1
mov esi, dword [esp + 0x98]
add esp, 0xc
xorps xmm1, xmm1
movss xmm0, dword [esi + 4]
ucomiss xmm0, xmm1
movss dword [esp + 0x20], xmm0
lahf
test ah, 0x44
jp 0x1005ac0c
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x20], xmm0
movss xmm7, dword [esi]
ucomiss xmm7, xmm1
lahf
test ah, 0x44
jp 0x1005ac1f
movss xmm7, dword [esp + 0x38]
movss dword [esp + 0x30], xmm0
lea ecx, [esp + 0x2c]
movss xmm0, dword [ebp + 0xec]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [ebp + 0xf0]
addss xmm0, dword [ebp + 0x124]
movss dword [esp + 0x2c], xmm7
movss dword [esp + 0x1c], xmm0
call fcn.1000f819
mov edx, dword [esp + 0x88]
mov ecx, edx
movss xmm2, dword [esp + 0x24]
shr ecx, 1
and cl, 1
mov dword [esp + 0x2c], ecx
je 0x1005ac84
movss xmm5, dword [ebp + 0x1fc]
movss xmm1, dword [ebp + 0x204]
jmp 0x1005ac8f
movss xmm1, dword [ebp + 0x1f4]
movaps xmm5, xmm2
movss xmm0, dword [esi]
ucomiss xmm0, dword [0x100b19d4]
lahf
test ah, 0x44
jnp 0x1005aca8
test edx, 0x1000000
je 0x1005acb6
movss xmm7, dword [esp + 0x38]
subss xmm1, xmm5
maxss xmm7, xmm1
movss xmm6, dword [esp + 0x1c]
addss xmm7, xmm5
movss dword [esp + 0x74], xmm2
movaps xmm0, xmm6
movss dword [esp + 0x78], xmm6
movss dword [esp + 0x5c], xmm5
movss dword [esp + 0x60], xmm6
movss dword [esp + 0x6c], xmm7
movss dword [esp + 0x64], xmm7
addss xmm0, dword [esp + 0x20]
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x68], xmm0
test edx, 0x4000000
jne 0x1005ad7e
test cl, cl
je 0x1005ad10
xorps xmm4, xmm4
jmp 0x1005ad18
movss xmm4, dword [ebx + 0x37e4]
movss xmm3, dword [ebx + 0x37e8]
movaps xmm0, xmm4
mulss xmm0, dword [0x100b1a5c]
cvttss2si eax, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x100b1a5c]
movd xmm2, eax
cvttss2si eax, xmm0
cvtdq2ps xmm2, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm4, xmm2
subss xmm3, xmm0
subss xmm5, xmm2
subss xmm6, xmm0
addss xmm4, xmm7
addss xmm3, dword [esp + 0x1c]
movss dword [esp + 0x5c], xmm5
movss dword [esp + 0x60], xmm6
movss dword [esp + 0x64], xmm4
movss dword [esp + 0x68], xmm3
movss xmm0, dword [ebp + 0x20c]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [ebp + 0x214]
movss dword [esp + 0x24], xmm0
test cl, cl
je 0x1005adb6
mov eax, dword [ebp + 0x1fc]
mov dword [ebp + 0x20c], eax
mov eax, dword [ebp + 0x204]
mov dword [ebp + 0x214], eax
mov eax, edx
lea ecx, [esp + 0x5c]
shr eax, 3
xor esi, esi
and eax, 0xffffff01
mov edx, edi
mov dword [esp + 0x20], eax
movzx eax, al
shl eax, 2
push eax
push esi
call fcn.1000f96d
cmp byte [esp + 0x34], 0
pop ecx
pop ecx
je 0x1005adfe
movss xmm0, dword [esp + 0x1c]
movss dword [ebp + 0x20c], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [ebp + 0x214], xmm0
test al, al
je 0x1005b17e
mov eax, dword [ebx + 0x4680]
shr eax, 2
and eax, 0xffffff01
cmp byte [esp + 0x20], 0
mov dword [esp + 0x1c], eax
je 0x1005ae28
test al, al
jne 0x1005ae28
call fcn.1000d16b
cmp byte [esp + 0x2c], 0
je 0x1005ae99
cmp dword [ebp + 0x18c], esi
je 0x1005ae3e
call fcn.10049b51
jmp 0x1005ae99
cmp dword [ebx + 0x49d0], esi
je 0x1005ae99
mov eax, dword [0x100c353c]
mov ebx, dword [eax + 0x3e28]
mov ecx, ebx
mov ebp, dword [eax + 0x49d0]
lea esi, [ebx + 0x20c]
lea edi, [ebp + 0x150]
movsd dword es:[edi], dword [esi]
lea edx, [ebp + 0x130]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1004997f
movzx eax, byte [ebp + 0x1cb]
mov ecx, dword [ebp + 0x174]
push eax
push dword [ebx + 0x260]
call fcn.1003cd49
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x88]
shr ecx, 3
and ecx, 0x20000
mov edx, ecx
or edx, 0x100000
test dword [esp + 0x88], 0x8000000
cmove edx, ecx
mov esi, edx
or esi, 0x10
test dword [esp + 0x88], 0x400000
cmove esi, edx
mov ecx, esi
or ecx, 0x80
test dword [esp + 0x88], 0x800000
cmove ecx, esi
mov esi, dword [esp + 0x88]
mov edx, ecx
or edx, 0x120
test byte [esp + 0x88], 4
cmove edx, ecx
lea ecx, [esp + 0x5c]
mov eax, edx
or eax, 0x1000
and esi, 0x10
cmove eax, edx
mov edx, edi
push eax
lea eax, [esp + 0x1f]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.1004b1cf
add esp, 0xc
mov byte [esp + 0x19], al
test dword [esp + 0x88], 0x200000
je 0x1005af63
mov edx, dword [ebx + 0x47c8]
test edx, edx
je 0x1005af63
mov ecx, dword [ebx + 0x47cc]
cmp ecx, dword [ebx + 0x467c]
jne 0x1005af63
cmp edx, edi
jne 0x1005af63
mov al, 1
mov dl, al
mov byte [esp + 0x19], al
mov byte [esp + 0x17], dl
jmp 0x1005af92
mov cl, byte [esp + 0x1a]
mov byte [esp + 0x17], cl
test al, al
jne 0x1005af92
mov dh, byte [esp + 0x18]
mov dl, cl
test dh, dh
je 0x1005b046
test dword [esp + 0x88], 0x2000000
mov byte [esp + 0x17], dl
je 0x1005b046
cmp byte [ebx + 0x47e7], 0
jne 0x1005b025
cmp dword [ebx + 0x47a8], ebp
jne 0x1005b025
mov edx, dword [ebp + 0x144]
cmp dword [ebx + 0x47e0], edx
jne 0x1005b025
movss xmm1, dword [ebp + 0xfc]
lea eax, [esp + 0x4c]
movss xmm0, dword [esp + 0x5c]
mov ecx, edi
movss xmm2, dword [ebp + 0x100]
subss xmm0, xmm1
push eax
push dword [ebx + 0x467c]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x68]
subss xmm0, xmm2
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x6c]
subss xmm0, xmm1
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x70]
subss xmm0, xmm2
movss dword [esp + 0x60], xmm0
call fcn.10011783
mov al, byte [esp + 0x21]
add esp, 8
mov byte [ebx + 0x47e6], 1
mov dl, byte [esp + 0x17]
mov dh, byte [esp + 0x18]
test al, al
je 0x1005b046
mov eax, dword [0x100c353c]
or dword [eax + 0x46a4], 4
mov word [eax + 0x3e84], 0x101
test esi, esi
je 0x1005b04f
call fcn.10008974
cmp dl, byte [esp + 0x1a]
je 0x1005b05c
or dword [ebx + 0x46a4], 8
test dh, dh
jne 0x1005b064
test dl, dl
je 0x1005b0aa
cmp byte [esp + 0x1b], 0
je 0x1005b074
test dh, dh
je 0x1005b074
push 0x1a
pop ecx
jmp 0x1005b07e
xor ecx, ecx
test dh, dh
setne cl
add ecx, 0x18
movss xmm1, dword [0x100b1aa4]
call fcn.1000471a
push dword [esp + 0x68]
xorps xmm2, xmm2
xor dl, dl
push dword [esp + 0x68]
mov ecx, eax
push dword [esp + 0x68]
push dword [esp + 0x68]
call fcn.10005354
add esp, 0x10
push 0xa
mov edx, edi
lea ecx, [esp + 0x60]
call fcn.10005544
cmp byte [esp + 0x30], 0
pop ecx
je 0x1005b113
cmp dword [ebp + 0x18c], 0
je 0x1005b0cf
call fcn.10049b9a
jmp 0x1005b113
cmp dword [ebx + 0x49d0], 0
je 0x1005b113
mov eax, dword [0x100c353c]
mov ebx, dword [eax + 0x49d0]
mov edi, dword [eax + 0x3e28]
mov ecx, edi
imul esi, dword [ebx + 0x5c], 0x68
lea edx, [ebx + 0x150]
add esi, dword [ebx + 0x10]
call fcn.1004997f
movzx eax, byte [esi + 0x57]
mov ecx, dword [ebx + 0x174]
push eax
push dword [edi + 0x260]
call fcn.1003cd49
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x5c]
push eax
lea edx, [esp + 0x70]
lea ecx, [esp + 0x78]
lea eax, [esi + 0x3838]
push eax
lea eax, [esp + 0x40]
push eax
push 0
push dword [esp + 0x58]
call fcn.10004f82
mov bl, byte [esp + 0x2d]
add esp, 0x14
test bl, bl
je 0x1005b167
test dword [ebp + 8], 0x4000000
je 0x1005b167
test byte [esp + 0x88], 1
jne 0x1005b167
test byte [esi + 0x46a0], 0x20
jne 0x1005b167
call fcn.10010dd9
cmp byte [esp + 0x20], 0
je 0x1005b17a
cmp byte [esp + 0x1c], 0
jne 0x1005b17a
call fcn.1000d1bf
mov al, bl
jmp 0x1005b180
xor al, al
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10069b82
add esp, 0x74
ret