Function at 0x10048640
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
push esi
mov esi, dword [0x1028db88]
xor eax, eax
push edi
xor edi, edi
mov dword [ebp - 4], eax
mov ecx, dword [esi + 0x3e64]
test ecx, ecx
je 0x1004867c
test dword [ecx + 0xc], 0x200
cmove edi, ecx
lea ecx, [esi + 0x3e50]
vmovss xmm2, dword [esi + 0x37e4]
vmovss xmm5, dword [esi + 0x37e8]
vmovss dword [ebp - 0xc], xmm2
vmovss dword [ebp - 0x1c], xmm2
vmovss dword [ebp - 0x10], xmm5
vmovss dword [ebp - 0x18], xmm5
cmp byte [esi + 0x4a], al
jne 0x100486ae
lea ecx, [ebp - 0x1c]
mov edx, dword [esi + 0x3e10]
vmovss xmm3, dword [ecx]
vmovss xmm6, dword [ecx + 4]
sub edx, 1
vmovss dword [ebp - 0x14], xmm3
vmovss dword [ebp - 0x18], xmm6
mov dword [ebp - 8], edx
js 0x1004889b
test edx, edx
js 0x100486df
cmp edx, dword [esi + 0x3e10]
jl 0x1004870e
push 0x732
push str.C:Users_adminDesktopGamer_Moments222FedorawareFedoraware_TF2includeImGuiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
vmovss xmm2, dword [ebp - 0xc]
vmovss xmm5, dword [ebp - 0x10]
vmovss xmm3, dword [ebp - 0x14]
vmovss xmm6, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
add esp, 0xc
mov eax, dword [esi + 0x3e18]
mov ecx, dword [eax + edx*4]
cmp byte [ecx + 0xaa], 0
je 0x1004887c
cmp byte [ecx + 0xb1], 0
jne 0x1004887c
mov eax, dword [ecx + 0xc]
test eax, 0x200
jne 0x1004887c
vmovdqu xmm0, xmmword [ecx + 0x1c0]
vmovdqu xmmword [ebp - 0x30], xmm0
vmovss xmm0, dword [ebp - 0x30]
test eax, 0x1000042
je 0x10048771
vaddss xmm3, xmm2, dword [ebp - 0x28]
vsubss xmm1, xmm0, xmm2
vmovss xmm0, dword [ebp - 0x2c]
vsubss xmm4, xmm0, xmm5
vaddss xmm5, xmm5, dword [ebp - 0x24]
jmp 0x10048788
vaddss xmm5, xmm6, dword [ebp - 0x24]
vsubss xmm1, xmm0, xmm3
vmovss xmm0, dword [ebp - 0x2c]
vaddss xmm3, xmm3, dword [ebp - 0x28]
vsubss xmm4, xmm0, xmm6
vmovss xmm2, dword [esi + 0xdb8]
vcomiss xmm2, xmm1
jb 0x1004887c
vmovss xmm0, dword [esi + 0xdbc]
vcomiss xmm0, xmm4
jb 0x1004887c
vcomiss xmm3, xmm2
jbe 0x1004887c
vcomiss xmm5, xmm0
jbe 0x1004887c
movzx eax, word [ecx + 0x230]
test ax, ax
je 0x1004883b
movsx eax, word [ecx + 0x234]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vaddss xmm1, xmm0, dword [ecx + 0x14]
vcomiss xmm2, xmm1
movsx eax, word [ecx + 0x236]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vaddss xmm3, xmm0, dword [ecx + 0x18]
movzx eax, word [ecx + 0x230]
vxorps xmm0, xmm0, xmm0
cwde
vcvtsi2ss xmm0, xmm0, eax
movsx eax, word [ecx + 0x232]
vaddss xmm4, xmm0, xmm1
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vaddss xmm5, xmm0, xmm3
jb 0x1004883b
vmovss xmm0, dword [esi + 0xdbc]
vcomiss xmm0, xmm3
jb 0x1004883b
vcomiss xmm4, xmm2
jbe 0x1004883b
vcomiss xmm5, xmm0
ja 0x1004887c
test edi, edi
mov eax, ecx
cmovne eax, edi
mov edi, eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10048874
cmp dword [esi + 0x3e64], eax
je 0x1004886a
mov edx, dword [esi + 0x3e64]
mov eax, dword [ecx + 0x300]
cmp eax, dword [edx + 0x300]
mov edx, dword [ebp - 8]
je 0x10048871
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x10048874
mov eax, dword [ebp - 4]
test edi, edi
je 0x1004887c
test eax, eax
jne 0x1004889b
sub edx, 1
mov dword [ebp - 8], edx
js 0x10048898
vmovss xmm2, dword [ebp - 0xc]
vmovss xmm5, dword [ebp - 0x10]
vmovss xmm3, dword [ebp - 0x14]
jmp 0x100486d3
mov eax, dword [ebp - 4]
mov dword [esi + 0x3e5c], edi
pop edi
mov dword [esi + 0x3e60], eax
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret