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

Disassembly:
sub esp, 0xa0
mov eax, dword [0x100bd040]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa4]
push ebx
push ebp
push esi
push edi
mov edi, dword [0x100c353c]
xor ebx, ebx
mov dword [esp + 0x28], eax
inc ebx
mov eax, dword [esp + 0xc0]
mov esi, edx
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x3e28]
movss dword [esp + 0x44], xmm3
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], ecx
mov byte [eax + 0xa8], bl
mov eax, dword [edi + 0x3e28]
mov dword [esp + 0x38], eax
cmp byte [eax + 0xab], 0
jne 0x1004fdcd
push ecx
push ecx
mov ecx, eax
call fcn.10006542
mov ebp, eax
call fcn.1000fe89
mov edx, dword [esp + 0x2c]
push ecx
mov dword [esp], 0xbf800000
lea ecx, [esp + 0x34]
push ebx
push 0
movss dword [esp + 0x28], xmm0
call fcn.100085b1
movss xmm3, dword [edi + 0x37d8]
xorps xmm4, xmm4
mov eax, dword [esp + 0x44]
movaps xmm1, xmm3
movss xmm2, dword [esp + 0x28]
addss xmm1, xmm3
movss xmm0, dword [esp + 0x3c]
add esp, 0xc
comiss xmm0, xmm4
mov ecx, dword [eax + 0xec]
addss xmm1, dword [esp + 0x34]
addss xmm2, dword [eax + 0xec]
addss xmm1, dword [eax + 0xf0]
mov eax, dword [eax + 0xf0]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
movss dword [esp + 0x50], xmm2
movss dword [esp + 0x54], xmm1
jbe 0x1004f990
addss xmm0, dword [edi + 0x37ec]
jmp 0x1004f993
xorps xmm0, xmm0
addss xmm1, xmm4
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xc4]
addss xmm2, xmm0
shr eax, 7
not al
mov dword [esp + 0x58], ecx
and al, bl
lea ecx, [esp + 0x3c]
movss dword [esp + 0x64], xmm1
subss xmm1, dword [esp + 0x4c]
movss dword [esp + 0x60], xmm2
subss xmm2, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
movss dword [esp + 0x40], xmm1
movaps xmm1, xmm3
movss dword [esp + 0x3c], xmm2
call fcn.1000f819
mov ecx, dword [esp + 0x1c]
mov edx, ebp
movzx eax, cl
lea ecx, [esp + 0x58]
shl eax, 0xa
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.1000f96d
pop ecx
pop ecx
test al, al
je 0x1004fdcd
cmp dword [esp + 0x20], 0
jne 0x1004fa20
mov eax, esi
shl eax, 4
mov eax, dword [eax + 0x100a2f10]
mov dword [esp + 0x20], eax
mov edx, ebp
lea ecx, [esp + 0x48]
call fcn.10006ada
cmp byte [esp + 0x1c], 0
mov cl, al
mov esi, dword [0x100c353c]
mov byte [esp + 0x1a], cl
je 0x1004fa6e
cmp dword [esi + 0x3e74], ebp
jne 0x1004fa52
cmp dword [esi + 0x5940], ebp
je 0x1004fd6a
xor al, al
test dword [edi + 0x46a4], 0x100
mov byte [esp + 0x16], al
je 0x1004fa74
mov byte [esp + 0x19], bl
mov byte [esp + 0x16], al
jmp 0x1004fa79
xor al, al
mov byte [esp + 0x16], al
mov byte [esp + 0x19], 0
test cl, cl
je 0x1004fa97
push 0
mov edx, ebp
xor ecx, ecx
call fcn.1000e102
pop ecx
test al, al
je 0x1004fa93
mov byte [esp + 0x17], bl
jmp 0x1004faa0
mov cl, byte [esp + 0x1a]
mov byte [esp + 0x17], 0
test cl, cl
je 0x1004fabe
cmp word [edi + 0x3702], 2
jne 0x1004fabe
mov edx, ebp
mov ecx, 0x281
call fcn.1000f6d7
test al, al
je 0x1004fabe
mov al, bl
jmp 0x1004fac0
xor al, al
mov dl, byte [esp + 0x19]
mov cl, byte [esp + 0x17]
mov byte [esp + 0x1b], al
test dl, dl
jne 0x1004fd0a
test cl, cl
jne 0x1004fd0a
test al, al
jne 0x1004fd0a
cmp dword [edi + 0x47b4], ebp
je 0x1004fd0a
cmp dword [edi + 0x47c0], ebp
je 0x1004fd0a
xor ah, ah
mov al, byte [esp + 0x16]
cmp byte [edi + 0x65], 0
je 0x1004fb68
cmp byte [esp + 0x1c], 0
je 0x1004fb68
test al, al
jne 0x1004fb68
cmp dword [edi + 0x3e74], ebp
jne 0x1004fb68
cmp byte [esp + 0x1a], al
je 0x1004fb68
cmp byte [edi + 0x3716], al
je 0x1004fb68
movss xmm1, dword [edi + 0x30]
xorps xmm0, xmm0
mulss xmm1, dword [0x100b1a5c]
comiss xmm0, xmm1
jbe 0x1004fb43
movss xmm1, dword [esi + 0x30]
movss xmm0, dword [esi + 0x3750]
mulss xmm1, xmm1
comiss xmm0, xmm1
jae 0x1004fb68
mov dword [edi + 0x47c0], ebp
mov al, bl
mov dword [edi + 0x47b4], ebp
mov dword [edi + 0x47c4], ebx
test ah, ah
je 0x1004fd62
test al, al
jne 0x1004fd6a
mov esi, dword [esp + 0x38]
mov ecx, ebp
mov edx, esi
call fcn.100067d4
mov edx, esi
mov ecx, ebp
call fcn.100117ca
mov ecx, esi
call fcn.1000ce86
mov dword [edi + 0x4670], 3
movzx ecx, byte [esp + 0x1a]
movss xmm1, dword [0x100b1aa4]
add ecx, 7
cmp dword [edi + 0x3e74], ebp
push 9
pop eax
cmove ecx, eax
call fcn.1000471a
push ebx
mov edx, ebp
lea ecx, [esp + 0x4c]
mov esi, eax
call fcn.10005544
movss xmm2, dword [edi + 0x37dc]
mov dl, bl
pop ecx
push dword [esp + 0x54]
mov ecx, esi
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.10005354
push dword [esp + 0xd4]
mov esi, dword [esp + 0x38]
mov ecx, ebp
push dword [esp + 0x34]
movss xmm3, dword [esp + 0x5c]
mov edx, esi
push dword [esp + 0xd4]
push dword [esp + 0xd4]
push dword [esp + 0x48]
call fcn.1004f526
add esp, 0x24
mov byte [esp + 0x18], al
test al, al
je 0x1004fc44
mov ecx, dword [0x100c353c]
or dword [ecx + 0x46a4], 4
mov byte [ecx + 0x3e85], bl
mov byte [ecx + 0x3e84], bl
push dword [esp + 0x20]
lea ecx, [esp + 0x6c]
push dword [esp + 0x2c]
push esi
push 0x40
pop edx
call fcn.1004eae2
lea ecx, [esp + 0x74]
add esp, 0xc
add ecx, eax
cmp byte [edi + 0x5a50], 0
je 0x1004fc84
mov eax, dword [0x100c353c]
mov dword [eax + 0x5a68], 0x100b13fc
mov dword [eax + 0x5a6c], 0x100b13f8
push 0
lea eax, [esp + 0x40]
mov dword [esp + 0x40], 0x3f000000
push eax
push 0
push ecx
lea eax, [esp + 0x78]
mov dword [esp + 0x50], 0x3f000000
push eax
lea edx, [esp + 0x64]
lea ecx, [esp + 0x5c]
call fcn.10004f82
movss xmm0, dword [esp + 0x44]
add esp, 0x14
comiss xmm0, dword [0x100b19d4]
jbe 0x1004fd01
movss xmm0, dword [esp + 0x50]
xor edx, edx
addss xmm0, dword [edi + 0x37ec]
mov ecx, dword [esp + 0x2c]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x4c]
addss xmm0, dword [edi + 0x37d8]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
push dword [esp + 0x34]
push ebx
call fcn.10004cde
add esp, 0xc
mov al, byte [esp + 0x18]
jmp 0x1004fdcf
mov ah, bl
test cl, cl
jne 0x1004fd14
test al, al
je 0x1004fd30
push ecx
mov edx, ebp
mov ecx, 0x281
call fcn.1000f731
mov al, byte [esp + 0x1f]
mov ah, bl
mov dl, byte [esp + 0x1d]
pop ecx
mov cl, byte [esp + 0x17]
cmp byte [esp + 0x1c], 0
je 0x1004fafe
test dl, dl
jne 0x1004fd5b
test cl, cl
je 0x1004fd4b
cmp byte [edi + 0xdd0], dl
jne 0x1004fd5b
test al, al
jne 0x1004fd5b
cmp dword [edi + 0x47c0], ebp
jne 0x1004fafe
mov al, bl
jmp 0x1004fb02
test al, al
je 0x1004fb9f
test byte [esp + 0xc4], 0x10
mov esi, dword [esp + 0xbc]
mov edi, dword [esp + 0xb8]
je 0x1004fd9b
test edi, edi
je 0x1004fd9d
test esi, esi
je 0x1004fd9d
mov ecx, dword [esp + 0x24]
mov edx, edi
push esi
call fcn.1004f1c4
pop ecx
test eax, eax
js 0x1004fd9d
xor bl, bl
xor eax, eax
lea ecx, [esp + 0x48]
test bl, bl
mov edx, ebp
cmovne eax, esi
push eax
xor eax, eax
test bl, bl
cmovne eax, edi
push eax
push dword [esp + 0x28]
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x40]
call fcn.100510ba
add esp, 0x18
jmp 0x1004fdcf
xor al, al
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10069b82
add esp, 0xa0
ret