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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb0
mov eax, dword [0x10089040]
xor eax, esp
mov dword [esp + 0xac], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x1008b850]
mov dword [esp + 0x18], eax
push edi
mov dword [esp + 0x20], edx
mov eax, dword [esi + 0x1b9c]
mov dword [esp + 0x24], ecx
mov byte [eax + 0x8c], 1
mov edi, dword [esi + 0x1b9c]
mov dword [esp + 0x2c], edi
cmp byte [edi + 0x8f], 0
jne 0x10048ea9
movss xmm2, dword [edi + 0x14]
xorps xmm0, xmm0
subss xmm2, dword [0x1008236c]
mov byte [edi + 0x8c], 1
mov edx, dword [esi + 0x1b9c]
cmp byte [edx + 0x8f], 0
jne 0x100485f7
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x100485a8
movss xmm1, dword [edx + 0xc]
subss xmm1, dword [edx + 0x58]
addss xmm1, xmm2
addss xmm1, xmm0
addss xmm1, dword [edx + 0x118]
addss xmm1, dword [edx + 0x114]
jmp 0x100485b8
movss xmm1, dword [esi + 0x1560]
addss xmm1, dword [edx + 0xd8]
movss xmm0, dword [edx + 0xdc]
movss dword [edx + 0xd0], xmm1
movss dword [edx + 0xd4], xmm0
xorps xmm0, xmm0
mov eax, dword [edx + 0x100]
mov ecx, dword [edx + 0x104]
mov dword [edx + 0xf8], eax
mov eax, dword [edx + 0x10c]
mov dword [edx + 0xfc], ecx
mov dword [edx + 0x108], eax
mov edx, dword [edi + 0xc4]
mov eax, dword [edi + 0xcc]
mov ecx, dword [esp + 0x24]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.100200d0
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
cmp dword [esi + 0x1bd4], edi
jne 0x10048629
mov dword [esi + 0x1bd8], edi
cmp dword [esi + 0x1c0c], edi
jne 0x10048638
mov byte [esi + 0x1c10], 1
mov ecx, dword [esp + 0x20]
movss xmm4, dword [esi + 0x1930]
mov eax, dword [ecx]
mov eax, dword [eax*4 + 0x1007dc78]
test eax, eax
je 0x10048697
movss xmm3, dword [0x10082414]
movaps xmm2, xmm4
push ecx
push 0
push eax
push ecx
mov ecx, dword [esi + 0x192c]
lea eax, [esp + 0x1c]
mov dword [esp], 0xbf800000
push eax
call fcn.10040ba0
movss xmm0, dword [esp + 0xc]
addss xmm0, dword [0x10082260]
movss xmm4, dword [esp + 0x10]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xc]
movss xmm3, dword [eax + 0xd0]
movss xmm1, dword [eax + 0xd4]
movaps xmm2, xmm3
addss xmm2, xmm0
movss dword [esp + 0x44], xmm1
movaps xmm0, xmm1
movss dword [esp + 0x34], xmm1
addss xmm0, xmm4
movss dword [esp + 0x40], xmm3
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x38], xmm2
subss xmm2, xmm3
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x3c], xmm0
subss xmm0, xmm1
movss xmm1, dword [esi + 0x1554]
movss dword [esp + 0xc], xmm2
movss dword [esp + 0x10], xmm0
call fcn.1002bfd0
lea eax, [esp + 0x40]
mov edx, edi
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.1002c160
add esp, 8
test al, al
je 0x10048ea9
mov edx, dword [0x1008b850]
cmp byte [edx + 0x1d53], 0
mov ecx, dword [edx + 0x1b9c]
je 0x1004876e
cmp byte [edx + 0x1d52], 0
jne 0x1004876e
mov eax, dword [edx + 0x1d04]
cmp eax, dword [ecx + 0x11c]
jne 0x1004875f
test eax, eax
je 0x1004875f
mov al, 1
jmp 0x10048761
xor al, al
test al, al
je 0x10048804
jmp 0x100487f5
mov eax, dword [ecx + 0x120]
test al, 1
je 0x10048802
cmp dword [edx + 0x1ba0], ecx
je 0x10048788
test al, al
jns 0x10048802
mov eax, dword [edx + 0x1bd4]
test eax, eax
je 0x100487a8
cmp eax, dword [ecx + 0x11c]
je 0x100487a8
cmp byte [edx + 0x1be1], 0
jne 0x100487a8
cmp eax, dword [ecx + 0x50]
jne 0x10048802
mov eax, dword [edx + 0x1d00]
test eax, eax
je 0x100487d6
mov eax, dword [eax + 0x31c]
test eax, eax
je 0x100487d6
cmp byte [eax + 0x8b], 0
je 0x100487d6
cmp eax, dword [ecx + 0x31c]
je 0x100487d6
test dword [eax + 8], 0xc000000
jne 0x10048802
test byte [edx + 0x1bbc], 4
jne 0x10048802
mov eax, dword [ecx + 0x11c]
cmp eax, dword [ecx + 0x50]
jne 0x100487f3
cmp byte [ecx + 0x8c], 0
jne 0x10048802
mov al, 1
cmp byte [esi + 0x3d8], 0
je 0x10048804
mov cl, 1
jmp 0x10048806
xor al, al
xor cl, cl
test al, al
je 0x10048818
cmp byte [esi + 0x3d9], 0
mov byte [esp + 0x17], 1
jne 0x1004881d
mov byte [esp + 0x17], 0
test cl, cl
je 0x1004886e
cmp dword [esi + 0x1bd4], edi
je 0x1004885a
push 0x200
lea eax, [esi + 0x100]
mov dword [esi + 0xec], 0
push 0
push eax
mov byte [esi + 0xf0], 0
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov dword [eax], 0
mov edx, dword [esp + 0x2c]
mov ecx, edi
call fcn.10022380
mov ecx, edx
call fcn.1002ba60
jmp 0x10048887
test al, al
jne 0x1004888d
cmp byte [esi + 0x3d8], al
je 0x1004888d
cmp dword [esi + 0x1bd4], edi
jne 0x1004888d
call fcn.10022450
mov edx, dword [0x1008b850]
mov eax, dword [esp + 0x20]
mov byte [esp + 0xb], 0
mov eax, dword [eax]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x1bd4], edi
jne 0x10048973
xor edi, edi
nop word [eax + eax]
cmp byte [esi + edi + 0xec], 0
je 0x10048900
cmp edi, 4
ja case.default.0x100488bf
jmp dword [edi*4 + 0x10048ec0]
mov dword [esp + 0x18], 1
jmp case.default.0x100488bf
mov dword [esp + 0x18], 2
jmp case.default.0x100488bf
mov dword [esp + 0x18], 4
jmp case.default.0x100488bf
mov dword [esp + 0x18], 5
jmp case.default.0x100488bf
mov dword [esp + 0x18], 6
mov byte [esp + 0xb], 1
call fcn.10022450
inc edi
cmp edi, 5
jl 0x100488b0
cmp byte [esp + 0xb], 0
jne 0x10048933
mov edi, 8
cmp byte [esi + edi + 0x100], 0
je 0x1004892a
mov dword [esp + 0x18], edi
mov byte [esp + 0xb], 1
call fcn.10022450
inc edi
cmp edi, 0xa5
jle 0x10048912
mov eax, dword [0x1008b850]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
js 0x10048960
call fcn.10025800
test al, al
je 0x10048960
mov eax, dword [esp + 0x20]
mov dword [eax], 0
call fcn.10022450
mov edi, dword [esp + 0x24]
jmp 0x10048d36
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov dword [ecx], eax
jmp 0x10048d36
cmp dword [esp + 0x1c], 0
je 0x10048d36
mov eax, dword [edx + 0x1ce8]
cmp dword [edx + 0x1cdc], eax
jle 0x1004899e
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x1ce4]
cmp dword [eax + ecx*4], edi
jne 0x1004899e
mov al, 1
jmp 0x100489a0
xor al, al
cmp byte [esp + 0x17], 0
je 0x100489b9
test al, al
jne 0x100489c1
xor edx, edx
mov ecx, edi
call fcn.1002d160
jmp 0x10048d36
test al, al
je 0x10048d36
movss xmm0, dword [edx + 0x1564]
lea eax, [esp + 0x60]
movss xmm1, dword [edx + 0x1520]
movaps xmm2, xmm0
addss xmm2, dword [edx + 0x1930]
or dword [edx + 0x1c20], 2
addss xmm1, xmm1
mov dword [edx + 0x1c40], 0x42c80000
mov dword [edx + 0x1c28], 1
mulss xmm2, dword [0x100822fc]
subss xmm2, xmm0
addss xmm2, xmm1
movss dword [edx + 0x1c44], xmm2
push dword [esi + 0x1ce8]
push str.Combo__02d
push 0x10
push eax
call fcn.10020090
add esp, 0x10
lea ecx, [esp + 0x60]
call fcn.10025d60
mov dword [esp + 0xc], eax
test eax, eax
je 0x10048b86
cmp byte [eax + 0x8b], 0
je 0x10048b86
mov edx, eax
lea ecx, [esp + 0x30]
call fcn.100466d0
mov ecx, dword [0x1008b850]
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + 0x1cfc]
movss xmm4, dword [ecx + 0x15c8]
movss xmm3, dword [ecx + 0x15c4]
mov eax, dword [eax]
movss xmm6, dword [eax + 8]
movss xmm5, dword [eax + 4]
movaps xmm0, xmm6
addss xmm0, dword [eax + 0x10]
movaps xmm7, xmm5
addss xmm7, dword [eax + 0xc]
movaps xmm1, xmm0
movss dword [esp + 0x24], xmm0
movaps xmm0, xmm4
subss xmm1, xmm6
addss xmm0, xmm4
comiss xmm1, xmm0
jbe 0x10048ab8
xorps xmm4, xmmword [0x10082820]
jmp 0x10048abb
xorps xmm4, xmm4
movaps xmm1, xmm7
movaps xmm0, xmm3
subss xmm1, xmm5
addss xmm0, xmm3
comiss xmm1, xmm0
jbe 0x10048ad7
xorps xmm3, xmmword [0x10082820]
jmp 0x10048ada
xorps xmm3, xmm3
movss xmm0, dword [esp + 0x40]
lea eax, [esp + 0x40]
push 1
push eax
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x18]
subss xmm5, xmm3
subss xmm6, xmm4
add eax, 0xa8
addss xmm4, dword [esp + 0x30]
addss xmm3, xmm7
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x58]
lea edx, [esp + 0x30]
push eax
lea eax, [esp + 0x40]
movss dword [esp + 0x60], xmm5
push eax
lea ecx, [esp + 0x20]
movss dword [esp + 0x68], xmm6
movss dword [esp + 0x6c], xmm3
movss dword [esp + 0x70], xmm4
movss dword [esp + 0x3c], xmm0
call fcn.1002d790
mov edx, dword [esp + 0x2c]
add esp, 0x14
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
or dword [edx + 0x1c20], 1
mov dword [edx + 0x1c30], eax
mov dword [edx + 0x1c34], ecx
mov dword [edx + 0x1c38], 0
mov dword [edx + 0x1c3c], 0
mov dword [edx + 0x1c24], 1
jmp 0x10048b90
mov edx, dword [0x1008b850]
mov dword [esp + 0x18], edx
movss xmm0, dword [esi + 0x1550]
lea eax, [esp + 0x30]
movss xmm1, dword [edx + 0x151c]
lea ecx, [edx + 0x1ca0]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edx + 0x1520]
push eax
mov dword [esp + 0x34], 1
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x3c], xmm0
call fcn.100325d0
mov ecx, dword [esp + 0x18]
xor edx, edx
movss xmm0, dword [esp + 0xc]
push 0x4000143
movss dword [ecx + 0x151c], xmm0
mov dword [ecx + 0x1520], 0
lea ecx, [esp + 0x64]
call fcn.10028cc0
add esp, 4
mov ecx, 1
call fcn.10020910
mov eax, dword [esp + 0x1c]
mov ecx, 0x1007eff8
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
cmp dword [eax], 0
lea eax, [esp + 0xc]
push eax
sete dl
push 0
call fcn.10053640
add esp, 8
test al, al
mov eax, dword [esp + 0x1c]
je 0x10048c47
mov dword [eax], 0
cmp dword [eax], 1
mov ecx, str.negro
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
sete dl
mov dword [esp + 0x14], 0
push 0
call fcn.10053640
add esp, 8
test al, al
mov eax, dword [esp + 0x1c]
je 0x10048c7f
mov dword [eax], 1
cmp dword [eax], 2
mov ecx, 0x1007f004
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
sete dl
mov dword [esp + 0x14], 0
push 0
call fcn.10053640
add esp, 8
test al, al
mov eax, dword [esp + 0x1c]
je 0x10048cb7
mov dword [eax], 2
cmp dword [eax], 3
mov ecx, str.tricked
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
sete dl
mov dword [esp + 0x14], 0
push 0
call fcn.10053640
add esp, 8
test al, al
je 0x10048cef
mov eax, dword [esp + 0x1c]
mov dword [eax], 3
mov eax, dword [0x1008b850]
mov dword [esp + 0xc], eax
mov ecx, dword [eax + 0x1b9c]
cmp dword [eax + 0x1d00], ecx
jne 0x10048d16
mov dword [eax + 0x1e00], ecx
mov dword [eax + 0x1e04], 2
test dword [ecx + 8], 0x1000000
je 0x10048d26
mov byte [eax + 0x1b46], 1
call fcn.1002b600
mov eax, dword [esp + 0xc]
mov byte [eax + 0x1b46], 0
mov eax, dword [0x1007ecd0]
push 0x3c
mov dword [esp + 0x74], eax
lea eax, [esp + 0x78]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [eax]
test eax, eax
je 0x10048d6b
cmp dword [esi + 0x1bd4], edi
je 0x10048d73
push dword [eax*4 + 0x1007dc78]
jmp 0x10048d78
cmp dword [esi + 0x1bd4], edi
jne 0x10048d88
push 0x1007ecd0
lea eax, [esp + 0x74]
push 0x40
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
mov eax, dword [esp + 0x2c]
movss xmm0, dword [0x10082268]
mov eax, dword [eax + 0x284]
mov dword [esp + 0xc], eax
cmp dword [esi + 0x1bd4], edi
jne 0x10048dc3
movss xmm3, dword [0x100890cc]
movaps xmm7, xmm0
movss xmm5, dword [0x100890d0]
movss xmm6, dword [0x100890d4]
jmp 0x10048dd9
movss xmm3, dword [0x10082218]
movss xmm7, dword [esi + 0x1518]
movaps xmm5, xmm3
movaps xmm6, xmm3
xorps xmm1, xmm1
comiss xmm1, xmm3
jbe 0x10048de6
xorps xmm2, xmm2
jmp 0x10048ded
movaps xmm2, xmm0
minss xmm2, xmm3
comiss xmm1, xmm5
movss xmm3, dword [0x100823cc]
movss xmm4, dword [0x10082224]
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si ecx, xmm2
jbe 0x10048e13
xorps xmm2, xmm2
jmp 0x10048e1a
movaps xmm2, xmm0
minss xmm2, xmm5
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm1, xmm6
jbe 0x10048e35
xorps xmm2, xmm2
jmp 0x10048e3c
movaps xmm2, xmm0
minss xmm2, xmm6
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm7
jbe 0x10048e57
xorps xmm0, xmm0
jmp 0x10048e5b
minss xmm0, xmm7
mulss xmm0, xmm3
lea eax, [esp + 0x70]
push 0
push ecx
mov dword [esp], 0
xorps xmm2, xmm2
addss xmm0, xmm4
push 0
push eax
lea eax, [esp + 0x50]
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push 0
call fcn.1003d2e0
mov al, byte [esp + 0xb]
pop edi
pop esi
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.100714c0
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xb4]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.100714c0
mov esp, ebp
pop ebp
ret