Function at 0x464230
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513989
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x584f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
movsd xmm0, qword [ebp + 0x2c]
mov esi, dword [ebp + 0x18]
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x6c]
push eax
movsd qword [ebp - 0x98], xmm0
movsd xmm0, qword [ebp + 0x34]
push 0x5c
push 0xd
movsd qword [ebp - 0x90], xmm0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp + 0x24]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x3c]
push esi
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x55], 1
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
push 0x1f
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
push dword [eax]
lea eax, [ebp - 0x50]
push 0x20
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
lea ecx, [ebp - 0x88]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], vtable.CFont.0
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 1
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [ebp - 0x7c]
call sub.mfc140u.dll_CGdiObject::Attach
mov ecx, dword [ebp - 0x70]
lea edx, [ebp - 0x7c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
push dword [ebp - 0x9c]
mov esi, eax
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp - 0x70]
push dword [ebp - 0x80]
push edi
call fcn.00464800
mov edx, dword [edi]
add esp, 0x14
mov ecx, edi
mov dword [ebp - 0x88], eax
push esi
call dword [edx + 0x30]
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x7c], vtable.CFont.0
call fcn.0045e2b0
xorps xmm1, xmm1
mov edi, dword [ebp - 0x9c]
xorps xmm0, xmm0
xorps xmm2, xmm2
movsd qword [ebp - 0xa4], xmm1
xor esi, esi
movsd qword [ebp - 0x84], xmm0
movsd qword [ebp - 0x7c], xmm1
mov ecx, dword [edi + 0x10]
movsd qword [ebp - 0x74], xmm2
test ecx, ecx
jle 0x464444
push esi
mov ecx, edi
call fcn.004deec0
movsd xmm1, qword [ebp - 0xa4]
movsd xmm0, qword [eax]
comisd xmm1, xmm0
jbe 0x4643d3
movaps xmm1, xmm0
movsd xmm2, qword [eax + 8]
movsd xmm0, qword [ebp - 0x84]
comisd xmm0, xmm2
jbe 0x4643e9
movaps xmm0, xmm2
push esi
mov ecx, edi
movsd qword [ebp - 0xa4], xmm1
movsd qword [ebp - 0x84], xmm0
call fcn.004deec0
movsd xmm1, qword [ebp - 0x7c]
movsd xmm0, qword [eax]
comisd xmm0, xmm1
jbe 0x464413
movaps xmm1, xmm0
movsd xmm0, qword [eax + 8]
movsd xmm2, qword [ebp - 0x74]
comisd xmm0, xmm2
jbe 0x464426
movaps xmm2, xmm0
mov ecx, dword [edi + 0x10]
inc esi
movsd qword [ebp - 0x7c], xmm1
movsd qword [ebp - 0x74], xmm2
cmp esi, ecx
jl 0x4643b6
movsd xmm0, qword [ebp - 0x84]
movsd xmm3, qword [0x534ce0]
addsd xmm0, xmm2
movsd xmm2, qword [0x534cc8]
xor esi, esi
mov dword [ebp - 0x70], esi
mulsd xmm0, qword [0x534c90]
movsd qword [ebp - 0x84], xmm0
test ecx, ecx
jle 0x464523
movsd xmm0, qword [ebp - 0x90]
mulsd xmm0, xmm2
divsd xmm0, xmm3
movsd qword [ebp - 0x90], xmm0
nop dword [eax]
push esi
mov ecx, edi
call fcn.004deec0
sub esp, 8
mov ecx, edi
movsd xmm0, qword [eax]
movsd qword [ebp - 0xc4], xmm0
movsd xmm0, qword [ebp - 0x84]
movsd qword [ebp - 0xbc], xmm0
movsd xmm0, qword [ebp - 0x90]
movsd qword [esp], xmm0
push esi
call fcn.004deec0
push eax
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xc4]
call fcn.004fa7f0
push dword [ebp - 0x70]
mov ecx, edi
mov esi, eax
call fcn.004deec0
movsd xmm0, qword [esi]
movsd qword [eax], xmm0
movsd xmm0, qword [esi + 8]
mov esi, dword [ebp - 0x70]
inc esi
movsd qword [eax + 8], xmm0
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x70], esi
cmp esi, ecx
jl 0x464490
movsd xmm0, qword [ebp - 0x84]
movsd xmm2, qword [0x534cc8]
movsd xmm3, qword [0x534ce0]
movsd xmm1, qword [ebp - 0x7c]
xor eax, eax
movsd qword [ebp - 0xac], xmm0
mov dword [ebp - 0x70], eax
addsd xmm1, qword [ebp - 0xa4]
mulsd xmm1, qword [0x534c90]
movsd qword [ebp - 0xb4], xmm1
test ecx, ecx
jle 0x4645c7
movsd xmm0, qword [ebp - 0x98]
mulsd xmm0, xmm2
divsd xmm0, xmm3
movsd qword [ebp - 0x98], xmm0
nop dword [eax]
sub esp, 8
mov ecx, edi
movsd qword [esp], xmm0
push eax
call fcn.004deec0
push eax
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xb4]
call fcn.004fa7f0
push dword [ebp - 0x70]
mov ecx, edi
mov esi, eax
call fcn.004deec0
movsd xmm0, qword [esi]
movsd qword [eax], xmm0
movsd xmm0, qword [esi + 8]
movsd qword [eax + 8], xmm0
mov eax, dword [ebp - 0x70]
mov ecx, dword [edi + 0x10]
inc eax
movsd xmm0, qword [ebp - 0x98]
mov dword [ebp - 0x70], eax
cmp eax, ecx
jl 0x464570
xor esi, esi
test ecx, ecx
jle 0x464629
nop dword [eax]
push esi
mov ecx, edi
call fcn.004deec0
push esi
mov ecx, edi
movsd xmm0, qword [eax]
movsd qword [ebp - 0x98], xmm0
call fcn.004deec0
push esi
mov ecx, edi
movsd xmm0, qword [eax + 8]
xorps xmm0, xmmword [0x534d40]
movsd qword [ebp - 0x90], xmm0
call fcn.004deec0
movsd xmm0, qword [ebp - 0x98]
inc esi
movsd qword [eax], xmm0
movsd xmm0, qword [ebp - 0x90]
movsd qword [eax + 8], xmm0
mov ecx, dword [edi + 0x10]
cmp esi, ecx
jl 0x4645d0
mov eax, dword [ebp + 0xc]
xor esi, esi
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
subsd xmm0, qword [ebp - 0xb4]
movsd qword [ebp - 0x98], xmm0
movsd xmm0, qword [ebp - 0xac]
xorps xmm0, xmmword [0x534d40]
subsd xmm1, xmm0
movsd qword [ebp - 0x90], xmm1
test ecx, ecx
jle 0x4646b8
push esi
mov ecx, edi
call fcn.004deec0
movsd xmm0, qword [ebp - 0x98]
mov ecx, edi
push esi
addsd xmm0, qword [eax]
movsd qword [ebp - 0x7c], xmm0
movsd xmm0, qword [ebp - 0x90]
addsd xmm0, qword [eax + 8]
movsd qword [ebp - 0x84], xmm0
call fcn.004deec0
movsd xmm0, qword [ebp - 0x7c]
inc esi
movsd qword [eax], xmm0
movsd xmm0, qword [ebp - 0x84]
movsd qword [eax + 8], xmm0
cmp esi, dword [edi + 0x10]
jl 0x464666
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00506d06
mov esp, ebp
pop ebp
ret