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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa4
push ebx
mov ebx, dword [0x100b7db4]
push esi
mov esi, ecx
mov dword [esp + 0x24], edx
push edi
cmp byte [esi + 0x6f], 0
je 0x1004b8aa
movups xmm0, xmmword [ebx + 0x1ba0]
movaps xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [ebx + 0x1bb0]
movaps xmmword [esp + 0x60], xmm0
call fcn.1004a3a0
movaps xmm0, xmmword [esp + 0x70]
mov edx, dword [esp + 0x28]
movups xmmword [ebx + 0x1ba0], xmm0
movaps xmm0, xmmword [esp + 0x60]
movups xmmword [ebx + 0x1bb0], xmm0
mov eax, dword [ebx + 0x124c]
mov dword [esp + 0x24], eax
cmp byte [eax + 0xb3], 0
je 0x1004b8c6
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, esi
call fcn.1004b140
mov ecx, eax
add esp, 4
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x1004b8f2
mov edx, dword [esi]
xor eax, eax
test edx, edx
jle 0x1004b8f2
mov edi, dword [esi + 8]
cmp dword [edi], ecx
je 0x1004b8f4
inc eax
add edi, 0x2c
cmp eax, edx
jl 0x1004b8e6
xor edi, edi
mov byte [esp + 0x1a], 0
lea ecx, [esi + 8]
test edi, edi
jne 0x1004ba20
mov edx, dword [esi]
or eax, 0xffffffff
xorps xmm0, xmm0
mov word [esp + 0xa6], ax
mov word [esp + 0xa4], ax
mov eax, dword [esi + 4]
mov dword [esp + 0x98], edi
mov edi, ecx
movlpd qword [esp + 0x80], xmm0
movlpd qword [esp + 0x90], xmm0
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x9c], 0xbf800000
mov dword [esp + 0xa0], 0xffffffff
cmp edx, eax
jne 0x1004b9d4
lea ecx, [edx + 1]
test eax, eax
je 0x1004b97d
cdq
sub eax, edx
mov edx, dword [esi + 4]
sar eax, 1
add eax, edx
jmp 0x1004b985
mov edx, dword [esi + 4]
mov eax, 8
cmp eax, ecx
lea edi, [esi + 8]
cmovg ecx, eax
mov dword [esp + 0x40], ecx
cmp ecx, edx
jle 0x1004b9d4
imul eax, ecx, 0x2c
push eax
call fcn.100589d3
mov edx, dword [esi + 8]
lea edi, [esi + 8]
add esp, 4
mov dword [esp + 0x38], eax
test edx, edx
je 0x1004b9cb
imul ecx, dword [esi], 0x2c
push ecx
push edx
push eax
call fcn.100568a0
add esp, 0xc
push dword [edi]
call fcn.1005864b
mov eax, dword [esp + 0x3c]
add esp, 4
mov dword [edi], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 4], eax
imul eax, dword [esi], 0x2c
movups xmm0, xmmword [esp + 0x80]
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x1a], 1
add eax, dword [edi]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x90]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0xa0]
movq qword [eax + 0x20], xmm0
mov dword [eax + 0x28], 0
inc dword [esi]
imul ecx, dword [esi], 0x2c
mov edi, dword [edi]
add ecx, 0xffffffd4
add edi, ecx
mov dword [edi], edx
mov byte [esi + 0x71], 1
mov ecx, edi
mov eax, 0x2e8ba2e9
sub ecx, dword [esi + 8]
imul ecx
push 0
sar edx, 3
lea ecx, [esp + 0x64]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x2c]
mov word [esi + 0x74], ax
call fcn.1004bfd0
add esp, 4
mov dword [edi + 0x1c], 0xbf800000
test byte [ebx + 0x1ba0], 1
je 0x1004ba6b
movss xmm1, dword [ebx + 0x1bb0]
movss dword [edi + 0x1c], xmm1
jmp 0x1004ba71
movss xmm1, dword [esp + 0x60]
cmp byte [esp + 0x1a], 0
movss xmm0, dword [0x100a6fc8]
je 0x1004ba89
maxss xmm0, xmm1
movss dword [edi + 0x14], xmm0
movss dword [edi + 0x18], xmm1
movzx ecx, word [esi + 0x72]
lea eax, [ecx + 1]
mov word [esi + 0x72], ax
mov word [edi + 0x24], cx
mov eax, dword [esi + 0x24]
mov ecx, dword [ebx + 0x11c8]
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov eax, dword [edi + 8]
mov dword [edi + 8], ecx
inc eax
mov dword [edi + 4], 0x100000
mov ecx, dword [esi + 0x8c]
mov dword [esp + 0x34], eax
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0x28]
mov edx, ecx
lea eax, [edx + 1]
mov dword [esp + 0x38], eax
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x1004baf0
sub edx, dword [esp + 0x38]
lea eax, [ecx + 1]
add eax, edx
push eax
push ecx
lea ecx, [esi + 0x8c]
call fcn.1001a710
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x34], eax
jge 0x1004bb34
test byte [esi + 0xc], 2
je 0x1004bb34
cmp dword [esi + 0x18], 0
jne 0x1004bb34
cmp dword [esp + 0x30], eax
jge 0x1004bb2f
cmp dword [esi + 0x14], 0
jne 0x1004bb34
mov eax, dword [edi]
mov dword [esi + 0x18], eax
mov ecx, dword [esp + 0x1c]
lea eax, [esi + 0x14]
cmp dword [esi + 0x1c], ecx
sete byte [esp + 0x2c]
jne 0x1004bb4b
mov byte [esi + 0x70], 1
jmp 0x1004bb7b
cmp dword [esi + 0x14], 0
jne 0x1004bb7b
mov ecx, dword [esp + 0x30]
lea eax, [esi + 0x14]
cmp ecx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
jge 0x1004bb7b
cmp dword [esi], 1
lea eax, [esi + 0x14]
jne 0x1004bb7b
test byte [esi + 0xc], 2
lea eax, [esi + 0x14]
jne 0x1004bb7b
mov byte [esp + 0x2c], 1
lea eax, [esi + 0x14]
mov edx, dword [esp + 0x3c]
cmp dword [esp + 0x34], edx
jge 0x1004bbb7
cmp dword [esp + 0x30], edx
jge 0x1004bb92
cmp byte [esp + 0x1a], 0
je 0x1004bbb7
xorps xmm0, xmm0
mov edx, ecx
push 8
push 0
lea ecx, [esp + 0x78]
movups xmmword [esp + 0x78], xmm0
call fcn.100276a0
mov al, byte [esp + 0x34]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [eax], ecx
jne 0x1004bbc4
mov eax, dword [ebx + 0x11c8]
mov dword [edi + 0xc], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [edi + 4]
movss xmm4, dword [edi + 0x14]
and eax, 0xc0
movss xmm1, dword [edi + 0x10]
movss xmm0, dword [ecx + 0xf8]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [ecx + 0xfc]
movss dword [esp + 0x38], xmm0
mov dword [esp + 0x58], eax
jne 0x1004bc0c
subss xmm1, dword [esi + 0x48]
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, dword [esi + 0x28]
mov eax, 4
xorps xmm0, xmm0
movss xmm3, dword [eax + esi + 0x28]
movaps xmm2, xmm1
addss xmm3, xmm0
movss dword [ecx + 0xf8], xmm1
addss xmm2, xmm4
movss dword [ecx + 0xfc], xmm3
cmp dword [esp + 0x58], 0
movss xmm4, dword [esp + 0x64]
addss xmm4, xmm3
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x50], xmm2
movss dword [esp + 0x54], xmm4
jne 0x1004bcd1
movss xmm5, dword [esi + 0x58]
comiss xmm5, xmm1
ja 0x1004bc73
comiss xmm2, dword [esi + 0x5c]
jbe 0x1004bcd1
subss xmm3, dword [0x100a6fc8]
movss xmm0, dword [esi + 0x5c]
maxss xmm1, xmm5
push 1
lea edx, [esp + 0x64]
mov byte [esp + 0x1e], 1
lea ecx, [esp + 0x5c]
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x68], xmm4
movss dword [esp + 0x5c], xmm1
movss dword [esp + 0x60], xmm3
call fcn.1001e880
movss xmm4, dword [esp + 0x58]
add esp, 4
movss xmm2, dword [esp + 0x50]
movss xmm3, dword [esp + 0x4c]
movss xmm1, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
jmp 0x1004bcd6
mov byte [esp + 0x1a], 0
movss xmm0, dword [ecx + 0x110]
subss xmm2, xmm1
movss xmm1, dword [ebx + 0xba8]
subss xmm4, xmm3
movss dword [esp + 0x58], xmm0
movss xmm0, dword [ecx + 0x114]
lea ecx, [esp + 0x70]
movss dword [esp + 0x60], xmm0
movss dword [esp + 0x70], xmm2
movss dword [esp + 0x74], xmm4
call fcn.10027950
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x48]
movss xmm0, dword [esp + 0x58]
mov edx, dword [esp + 0x1c]
push 0
movss dword [eax + 0x110], xmm0
movss xmm0, dword [esp + 0x64]
push 0
movss dword [eax + 0x114], xmm0
call fcn.100276a0
add esp, 8
test al, al
jne 0x1004bd85
cmp byte [esp + 0x1a], al
je 0x1004bd5a
call fcn.1001e900
mov eax, dword [esp + 0x24]
movss xmm0, dword [esp + 0x30]
movss dword [eax + 0xf8], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [eax + 0xfc], xmm0
mov al, byte [esp + 0x2c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x1ee8], 0
mov ecx, 0x1010
mov edx, dword [esp + 0x1c]
mov eax, 0x1210
cmove eax, ecx
lea ecx, [esp + 0x48]
push eax
lea eax, [esp + 0x1f]
push eax
lea eax, [esp + 0x2a]
push eax
call fcn.1003fd00
add esp, 0xc
test al, al
je 0x1004bdbd
mov eax, dword [edi]
mov dword [esi + 0x18], eax
cmp byte [esp + 0x1b], 0
je 0x1004be39
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x3c]
jl 0x1004be39
movss xmm1, dword [0x100a7124]
call fcn.10026320
test al, al
je 0x1004be39
cmp byte [ebx + 0x1ee8], 0
jne 0x1004be39
test byte [esi + 0xc], 1
je 0x1004be39
movss xmm1, dword [ebx + 0xb0]
xorps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x1004be0d
movss xmm0, dword [esp + 0x48]
comiss xmm0, dword [ebx + 0xbc]
ja 0x1004be21
comiss xmm1, xmm2
jbe 0x1004be39
movss xmm0, dword [ebx + 0xbc]
comiss xmm0, dword [esp + 0x50]
jbe 0x1004be39
push dword [ebx + 0xc0]
mov edx, edi
mov ecx, esi
push dword [ebx + 0xbc]
call fcn.1004b1b0
add esp, 8
cmp byte [esp + 0x1b], 0
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x270]
mov dword [esp + 0x34], eax
jne 0x1004be83
cmp byte [esp + 0x22], 0
jne 0x1004be83
cmp byte [esp + 0x2c], 0
je 0x1004be6f
mov eax, dword [esp + 0x40]
movzx eax, al
xor eax, 1
lea ecx, [eax*2 + 0x23]
jmp 0x1004be88
cmp byte [esp + 0x40], 0
mov ecx, 0x24
mov edx, 0x21
cmovne ecx, edx
jmp 0x1004be88
mov ecx, 0x22
movss xmm1, dword [0x100a6fc8]
call fcn.1001a8b0
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x48]
push eax
push 0x100000
call fcn.1004c0d0
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x50]
push 0
call fcn.1001b930
add esp, 0xc
mov ecx, 0x20
call fcn.1001cd90
test al, al
je 0x1004bee4
mov ecx, 1
call fcn.100262c0
test al, al
jne 0x1004bedf
call fcn.10026300
test al, al
je 0x1004bee4
mov eax, dword [edi]
mov dword [esi + 0x18], eax
movss xmm0, dword [esi + 0x7c]
lea eax, [esp + 0x23]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x48]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esi + 0x80]
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
push dword [esp + 0x64]
push eax
lea eax, [esp + 0x53]
push eax
push dword [esp + 0x3c]
mov eax, dword [esi + 0xc]
push 0
push dword [esp + 0x34]
and eax, 8
push dword [esp + 0x44]
or eax, 0x200000
shr eax, 1
push eax
call fcn.1004c3a0
add esp, 0x24
cmp byte [esp + 0x1a], 0
je 0x1004bf47
call fcn.1001e900
cmp byte [esp + 0x23], 0
mov eax, dword [esp + 0x24]
movss xmm0, dword [esp + 0x30]
movss dword [eax + 0xf8], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [eax + 0xfc], xmm0
je 0x1004bfbf
mov eax, dword [esp + 0x1c]
cmp dword [ebx + 0x1288], eax
jne 0x1004bfbf
cmp byte [esp + 0x1b], 0
jne 0x1004bfbf
test byte [esi + 0xc], 0x20
jne 0x1004bfbf
test byte [edi + 4], 0x10
jne 0x1004bfbf
mov eax, dword [esp + 0x28]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x1004bfae
mov dl, byte [ecx]
test dl, dl
je 0x1004bfae
cmp dl, 0x23
jne 0x1004bfa8
cmp byte [ecx + 1], dl
je 0x1004bfae
inc ecx
cmp ecx, 0xffffffff
jb 0x1004bf98
push eax
sub ecx, eax
push ecx
push str._.s
call fcn.10028860
add esp, 0xc
mov al, byte [esp + 0x2c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret