Function at 0x485ca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79d911
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1788
call fcn.0078f690
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x1798], edi
mov dword [ebp - 0x1744], edi
mov dword [ebp - 0x1744], edi
xorps xmm0, xmm0
movq qword [ebp - 0x12a0], xmm0
mov dword [ebp - 0x1298], 0
mov dword [ebp - 0x12a0], 0
mov dword [ebp - 0x129c], 0
mov dword [ebp - 0x1298], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x173c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0
mov dword [ebp - 0x1790], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x1794], eax
call dword [sym.imp.imagehlp.dll_SymGetOptions]
or eax, 6
push eax
call dword [sym.imp.imagehlp.dll_SymSetOptions]
push 1
push 0
push dword [ebp - 0x173c]
call dword [sym.imp.imagehlp.dll_SymInitialize]
test eax, eax
jne 0x485d91
mov ecx, dword [ebp - 0x12a0]
mov eax, edi
mov dword [edi], ecx
mov ecx, dword [ebp - 0x129c]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x1298]
mov dword [edi + 8], ecx
jmp 0x4866e5
push 0x108
lea eax, [ebp - 0x1434]
mov byte [ebp - 4], 1
mov ecx, 0xb3
lea edi, [ebp - 0x1700]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x1648]
add esp, 0xc
mov dword [ebp - 0x1434], eax
mov eax, dword [ebp - 0x164c]
mov dword [ebp - 0x1414], eax
mov eax, dword [ebp - 0x163c]
mov dword [ebp - 0x1428], 3
mov dword [ebp - 0x1430], 0
mov dword [ebp - 0x1408], 3
mov dword [ebp - 0x1410], 0
mov dword [ebp - 0x13f8], 3
mov dword [ebp - 0x1404], eax
mov dword [ebp - 0x1400], 0
call fcn.00424580
test eax, eax
sete byte [ebp - 0x171e]
xor edi, edi
mov esi, dword [ebp - 0x173c]
mov dword [ebp - 0x175c], edi
cmp edi, 0x64
jae 0x4866bc
push 0
push dword [sym.imp.imagehlp.dll_SymGetModuleBase64]
lea eax, [ebp - 0x1700]
push dword [sym.imp.imagehlp.dll_SymFunctionTableAccess64]
push 0
push eax
lea eax, [ebp - 0x1434]
push eax
push dword [ebp - 0x1790]
push esi
push 0x14c
call dword [sym.imp.imagehlp.dll_StackWalk64]
test eax, eax
je 0x4866bc
mov eax, 0x10
mov byte [ebp - 0x171d], 1
mov dword [ebp - 0x178c], eax
xor ecx, ecx
mov dword [ebp - 0x1788], 0xcc00e3
mov dword [ebp - 0x1784], 0xd000d4
mov dword [ebp - 0x1780], 0xd200d2
mov dword [ebp - 0x177c], 0xd100c9
mov dword [ebp - 0x1778], 0xac00e0
mov dword [ebp - 0x1774], 0xa700ad
mov dword [ebp - 0x1770], 0xa900b1
mov dword [ebp - 0x176c], 0x9a00a3
mov dword [ebp - 0x1768], 0xc8
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1788], ax
inc ecx
mov eax, dword [ebp - 0x178c]
cmp ecx, eax
jb 0x485ef0
xor ecx, ecx
mov word [ebp + eax*2 - 0x1788], cx
lea eax, [ebp - 0x1788]
mov edi, dword [ebp - 0x1434]
mov dword [ebp - 0x1754], eax
mov eax, dword [ebp - 0x1430]
push eax
push edi
push esi
mov dword [ebp - 0x1758], edi
mov dword [ebp - 0x1750], eax
call dword [sym.imp.imagehlp.dll_SymGetModuleBase64]
mov esi, eax
mov ecx, esi
or ecx, edx
je 0x485f70
push 0x104
lea eax, [ebp - 0x29c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
lea ecx, [ebp - 0x29c]
cmove ecx, dword [ebp - 0x1754]
mov dword [ebp - 0x1754], ecx
movzx eax, byte [ebp - 0x171d]
xor ecx, ecx
cmp esi, dword [ebp - 0x1794]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1764], xmm0
cmovne eax, ecx
mov dword [ebp - 0x1740], ecx
test al, al
je 0x486047
push 0x1c
lea eax, [ebp - 0x171c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov eax, dword [ebp - 0x1718]
mov ecx, edi
cdq
sub ecx, eax
mov dword [ebp - 0x1748], ecx
mov ecx, dword [ebp - 0x1750]
sbb ecx, edx
xor esi, esi
mov dword [ebp - 0x174c], ecx
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov dword [ebp - 0x1740], esi
movzx edx, word [ecx + 0x14]
movzx eax, word [ecx + 6]
add edx, ecx
xor ecx, ecx
mov dword [ebp - 0x1744], eax
cmp cx, ax
jae 0x486047
add edx, 0x28
mov ecx, dword [edx]
cmp ecx, dword [edx - 8]
mov edi, dword [edx - 4]
cmovbe ecx, dword [edx - 8]
xor eax, eax
add ecx, edi
adc eax, eax
cmp dword [ebp - 0x174c], 0
jb 0x486030
ja 0x486016
cmp dword [ebp - 0x1748], edi
jb 0x486030
cmp dword [ebp - 0x174c], eax
jb 0x4862e6
ja 0x486030
cmp dword [ebp - 0x1748], ecx
jbe 0x4862e6
inc esi
add edx, 0x28
cmp si, word [ebp - 0x1744]
jb 0x485ff1
mov dword [ebp - 0x1740], 0
mov edx, dword [ebp - 0x1764]
mov edi, dword [ebp - 0x1760]
mov eax, 6
mov dword [ebp - 0x1730], 0x89009d
mov dword [ebp - 0x1734], eax
xor ecx, ecx
mov dword [ebp - 0x172c], 0xd70082
mov dword [ebp - 0x1728], 0xc500d0
mov dword [ebp - 0x1724], 0xbe
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1730], ax
inc ecx
mov eax, dword [ebp - 0x1734]
cmp ecx, eax
jb 0x486090
xor ecx, ecx
push edi
mov word [ebp + eax*2 - 0x1730], cx
lea eax, [ebp - 0x1730]
push edx
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00486b90
add esp, 0x10
mov dword [ebp - 0x12a8], 0
xor eax, eax
mov dword [ebp - 0x12a4], 7
lea ecx, [ebp - 0x12b8]
mov word [ebp - 0x12b8], ax
push eax
push 0x7cd378
call fcn.004044f0
xor ecx, ecx
mov byte [ebp - 4], 2
xorps xmm0, xmm0
movlpd qword [ebp - 0x12c0], xmm0
cmp byte [ebp - 0x171e], cl
je 0x486306
movaps xmm0, xmmword [0x7e38e0]
mov dword [ebp - 0x1738], 0x13
movups xmmword [ebp - 0x1734], xmm0
mov dword [ebp - 0x1724], 0xcbfeffba
nop dword [eax + eax]
lea eax, [ecx - 0x48]
xor byte [ebp + ecx - 0x1734], al
inc ecx
mov eax, dword [ebp - 0x1738]
cmp ecx, eax
jb 0x486140
mov byte [ebp + eax - 0x1734], 0
xor ecx, ecx
mov dword [ebp - 0x171c], 0xb
mov dword [ebp - 0x1718], 0xdb00fc
mov dword [ebp - 0x1714], 0xd300dd
mov dword [ebp - 0x1710], 0xd100d9
mov dword [ebp - 0x170c], 0x9100ce
mov dword [ebp - 0x1708], 0xad00a4
mov dword [ebp - 0x1704], 0xc300ae
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1718], ax
inc ecx
mov eax, dword [ebp - 0x171c]
cmp ecx, eax
jb 0x4861b0
xor ecx, ecx
mov word [ebp + eax*2 - 0x1718], cx
lea eax, [ebp - 0x1718]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea ecx, [ebp - 0x1734]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x486437
lea ecx, [ebp - 0x125c]
mov dword [ebp - 0x125c], 0x20
push ecx
lea ecx, [ebp - 0x12c0]
mov dword [ebp - 0x1244], 0x7d0
push ecx
push dword [ebp - 0x1750]
push dword [ebp - 0x1758]
push dword [ebp - 0x173c]
call eax
test eax, eax
je 0x486437
lea ecx, [ebp - 0x1240]
mov dword [ebp - 0x1728], 0
mov dword [ebp - 0x1724], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x1738], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x486258
sub ecx, edx
lea eax, [ebp - 0x1240]
push ecx
push eax
lea ecx, [ebp - 0x1738]
call fcn.00407ab0
lea eax, [ebp - 0x1738]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x1718]
push eax
call fcn.004057b0
mov esi, eax
add esp, 8
lea eax, [ebp - 0x12b8]
cmp eax, esi
je 0x4862cb
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x12b8], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movq qword [ebp - 0x12a8], xmm0
mov word [esi], ax
lea ecx, [ebp - 0x1718]
call fcn.00404490
lea ecx, [ebp - 0x1738]
call fcn.00407a10
jmp 0x486437
mov edx, dword [ebp - 0x1748]
sub edx, edi
movzx esi, si
mov edi, dword [ebp - 0x174c]
sbb edi, 0
inc esi
mov dword [ebp - 0x1740], esi
jmp 0x486053
movaps xmm0, xmmword [0x7e3270]
mov eax, 0xc
mov dword [ebp - 0x1734], eax
movups xmmword [ebp - 0x1730], xmm0
nop
lea eax, [ecx - 0x48]
xor byte [ebp + ecx - 0x1730], al
inc ecx
mov eax, dword [ebp - 0x1734]
cmp ecx, eax
jb 0x486320
mov byte [ebp + eax - 0x1730], 0
xor ecx, ecx
mov dword [ebp - 0x171c], 0xb
mov dword [ebp - 0x1718], 0xdb00fc
mov dword [ebp - 0x1714], 0xd300dd
mov dword [ebp - 0x1710], 0xd100d9
mov dword [ebp - 0x170c], 0x9100ce
mov dword [ebp - 0x1708], 0xad00a4
mov dword [ebp - 0x1704], 0xc300ae
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1718], ax
inc ecx
mov eax, dword [ebp - 0x171c]
cmp ecx, eax
jb 0x486390
xor ecx, ecx
mov word [ebp + eax*2 - 0x1718], cx
lea eax, [ebp - 0x1718]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea ecx, [ebp - 0x1730]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x486437
lea ecx, [ebp - 0x1294]
mov dword [ebp - 0x1294], 0x58
push ecx
lea ecx, [ebp - 0x12c0]
mov dword [ebp - 0x1244], 0x7d0
push ecx
push dword [ebp - 0x1750]
push dword [ebp - 0x1758]
push dword [ebp - 0x173c]
call eax
test eax, eax
je 0x486437
lea ecx, [ebp - 0x1240]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486415
sub ecx, edx
lea eax, [ebp - 0x1240]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x12b8]
call fcn.004044f0
xor eax, eax
mov dword [ebp - 0x1310], 0
mov dword [ebp - 0x130c], 7
mov word [ebp - 0x1320], ax
mov dword [ebp - 0x12f8], eax
mov dword [ebp - 0x12f4], 7
mov word [ebp - 0x1308], ax
mov dword [ebp - 0x12e0], eax
mov dword [ebp - 0x12dc], 7
mov word [ebp - 0x12f0], ax
mov dword [ebp - 0x12c8], eax
mov dword [ebp - 0x12c4], 7
mov word [ebp - 0x12d8], ax
mov esi, dword [ebp - 0x1754]
mov ecx, esi
mov eax, dword [ebp - 0x1740]
mov edi, dword [ebp - 0x175c]
mov byte [ebp - 4], 4
mov dword [ebp - 0x1328], eax
lea edx, [ecx + 2]
mov eax, dword [ebp - 0x12c0]
mov dword [ebp - 0x132c], edi
mov dword [ebp - 0x1324], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4864d0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x1320]
call fcn.004044f0
mov ecx, esi
mov dword [ebp - 0x1728], 0
xor eax, eax
mov dword [ebp - 0x1724], 7
mov word [ebp - 0x1738], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486510
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x1738]
call fcn.004044f0
lea edx, [ebp - 0x1738]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1718]
call fcn.0041de00
mov esi, eax
lea eax, [ebp - 0x1308]
cmp eax, esi
je 0x48657e
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x1308], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movq qword [ebp - 0x12f8], xmm0
mov word [esi], ax
lea ecx, [ebp - 0x1718]
call fcn.00404490
lea ecx, [ebp - 0x1738]
mov byte [ebp - 4], 4
call fcn.00404490
lea ecx, [ebp - 0x94]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4865a1
sub ecx, edx
lea eax, [ebp - 0x94]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x12f0]
call fcn.004044f0
cmp dword [ebp - 0x12a4], 8
lea eax, [ebp - 0x12b8]
push dword [ebp - 0x12a8]
cmovae eax, dword [ebp - 0x12b8]
lea ecx, [ebp - 0x12d8]
push eax
call fcn.004044f0
mov esi, dword [ebp - 0x129c]
cmp dword [ebp - 0x1298], esi
je 0x486668
mov eax, dword [ebp - 0x132c]
lea ecx, [esi + 0xc]
mov dword [esi], eax
mov eax, dword [ebp - 0x1328]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x1324]
mov dword [esi + 8], eax
lea eax, [ebp - 0x1320]
push eax
mov dword [ebp - 0x1744], esi
call fcn.00404120
lea eax, [ebp - 0x1308]
mov byte [ebp - 4], 6
lea ecx, [esi + 0x24]
push eax
call fcn.00404120
lea eax, [ebp - 0x12f0]
mov byte [ebp - 4], 7
lea ecx, [esi + 0x3c]
push eax
call fcn.00404120
lea eax, [ebp - 0x12d8]
mov byte [ebp - 4], 8
lea ecx, [esi + 0x54]
push eax
call fcn.00404120
add dword [ebp - 0x129c], 0x6c
jmp 0x48667b
lea eax, [ebp - 0x132c]
push eax
push esi
lea ecx, [ebp - 0x12a0]
call fcn.00486bc0
lea ecx, [ebp - 0x12d8]
call fcn.00404490
lea ecx, [ebp - 0x12f0]
call fcn.00404490
lea ecx, [ebp - 0x1308]
call fcn.00404490
lea ecx, [ebp - 0x1320]
call fcn.00404490
lea ecx, [ebp - 0x12b8]
mov byte [ebp - 4], 1
call fcn.00404490
inc edi
jmp 0x485e28
push esi
call dword [sym.imp.imagehlp.dll_SymCleanup]
mov ecx, dword [ebp - 0x1798]
mov eax, dword [ebp - 0x12a0]
mov dword [ecx], eax
mov eax, dword [ebp - 0x129c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x1298]
mov dword [ecx + 8], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret