Function at 0x5bf3c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7aaf10
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x294], edx
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x290], edi
mov dword [ebp - 0x284], 0xb
mov dword [ebp - 0x280], 0xd900f5
mov dword [ebp - 0x27c], 0xcd00ce
mov dword [ebp - 0x278], 0xcd00df
mov dword [ebp - 0x274], 0x9e00c7
mov dword [ebp - 0x270], 0xdc00d8
mov dword [ebp - 0x26c], 0xb400da
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x280], ax
inc ecx
mov eax, dword [ebp - 0x284]
cmp ecx, eax
jb 0x5bf450
xor ecx, ecx
mov word [ebp + eax*2 - 0x280], cx
lea ecx, [ebp - 0xcc]
mov eax, dword [edx + 0xb8]
add eax, 0x84
push eax
call fcn.00404120
mov dword [ebp - 0x24c], 1
lea eax, [ebp - 0x280]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0xcc]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 7
mov word [ebp - 0x28c], ax
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x198]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28c]
call fcn.00403b80
lea eax, [ebp - 0x28c]
mov byte [ebp - 4], 5
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x24d], al
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 2
call fcn.00404220
lea ecx, [ebp - 0x28c]
call fcn.00404490
cmp byte [ebp - 0x24d], 0
je 0x5c007f
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x168]
call fcn.00404120
xor eax, eax
mov byte [ebp - 4], 6
push eax
push 0x7cf388
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 7
mov word [ebp - 0x180], ax
call fcn.004044f0
push edi
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 7
call fcn.00404120
xor eax, eax
mov byte [ebp - 4], 8
push eax
push 0x7cf388
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 7
mov word [ebp - 0x138], ax
call fcn.004044f0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2d0]
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0
xor eax, eax
movq qword [ebp - 0x120], xmm0
push 0x7d77a0
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 7
mov word [ebp - 0x2d0], ax
call fcn.004044f0
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 0xa
push eax
mov edx, edi
lea ecx, [ebp - 0x120]
call fcn.00575f30
add esp, 4
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 0xc
call fcn.00404490
mov ecx, dword [ebp - 0x11c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x120]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x5bf6b1
lea eax, [ebp - 0x150]
cmp eax, esi
je 0x5bf68c
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x5bf679
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x150]
call fcn.004044f0
mov esi, dword [ebp - 0x120]
add esi, 0x18
lea eax, [ebp - 0x138]
cmp eax, esi
je 0x5bf6b1
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x5bf6a4
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x138]
call fcn.004044f0
mov eax, 6
mov dword [ebp - 0x260], 0xcb00d0
mov dword [ebp - 0x264], eax
xor ecx, ecx
mov dword [ebp - 0x25c], 0xc800c5
mov dword [ebp - 0x258], 0xd600c8
mov dword [ebp - 0x254], 0xaf
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x260], ax
inc ecx
mov eax, dword [ebp - 0x264]
cmp ecx, eax
jb 0x5bf6f0
xor ecx, ecx
mov word [ebp + eax*2 - 0x260], cx
lea ecx, [ebp - 0x260]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5bf720
sub ecx, edx
lea eax, [ebp - 0x138]
mov edx, dword [ebp - 0x128]
sar ecx, 1
cmp dword [ebp - 0x124], 8
cmovae eax, dword [ebp - 0x138]
cmp edx, ecx
jne 0x5bfba2
push edx
lea ecx, [ebp - 0x260]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x5bfba2
mov esi, 1
nop
push 0xa
push 0x32
lea eax, [ebp - 0x74]
mov edi, esi
push eax
inc esi
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow_s]
add esp, 0x10
mov dword [ebp - 0x29c], 0
xor eax, eax
mov dword [ebp - 0x298], 7
lea ecx, [ebp - 0x74]
mov word [ebp - 0x2ac], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5bf7b0
sub ecx, edx
lea eax, [ebp - 0x74]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2ac]
call fcn.004044f0
mov byte [ebp - 4], 0xd
mov eax, 0xe
mov dword [ebp - 0x28c], eax
xor ecx, ecx
mov dword [ebp - 0x288], 0xcf00fa
mov dword [ebp - 0x284], 0xde00ca
mov dword [ebp - 0x280], 0xc600ce
mov dword [ebp - 0x27c], 0xf5008f
mov dword [ebp - 0x278], 0xd500df
mov dword [ebp - 0x274], 0xda00da
mov dword [ebp - 0x270], 0x9600d0
mov dword [ebp - 0x26c], 0xb7
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x288], ax
inc ecx
mov eax, dword [ebp - 0x28c]
cmp ecx, eax
jb 0x5bf830
xor ecx, ecx
mov word [ebp + eax*2 - 0x288], cx
lea ecx, [ebp - 0x288]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5bf860
sub ecx, edx
lea eax, [ebp - 0x288]
sar ecx, 1
push ecx
push eax
push 0
lea ecx, [ebp - 0x2ac]
call fcn.00413a90
or dword [ebp - 0x24c], 6
xor ecx, ecx
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xfc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xec], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0xf
call fcn.00404490
mov ecx, 8
mov dword [ebp - 0x264], 0xe400fc
mov dword [ebp - 0x268], ecx
xor eax, eax
mov dword [ebp - 0x260], 0xfd00e2
mov dword [ebp - 0x25c], 0xeb00f8
mov dword [ebp - 0x258], 0xf400e6
mov dword [ebp - 0x254], 0xb1
nop word [eax + eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x264], cx
inc eax
mov ecx, dword [ebp - 0x268]
cmp eax, ecx
jb 0x5bf920
xor eax, eax
mov word [ebp + ecx*2 - 0x264], ax
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x270], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5bf963
sub ecx, edx
lea eax, [ebp - 0x264]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x280]
call fcn.004044f0
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x168]
call fcn.00648a20
lea ecx, [ebp - 0x280]
call fcn.00404490
mov edx, dword [ebp - 0x104]
lea ecx, [ebp - 0x114]
test edx, edx
je 0x5bfa29
cmp dword [ebp - 0x13c], 8
lea eax, [ebp - 0x150]
cmovae eax, dword [ebp - 0x150]
cmp dword [ebp - 0x100], 8
cmovae ecx, dword [ebp - 0x114]
cmp edx, dword [ebp - 0x140]
jne 0x5bf9fd
push edx
push eax
push ecx
call fcn.004090d0
add esp, 0xc
test eax, eax
je 0x5bfa23
lea ecx, [ebp - 0x114]
call fcn.00404490
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0xc
call fcn.00404490
cmp edi, 0x64
jl 0x5bf770
inc esi
jmp 0x5bfa3d
lea ecx, [ebp - 0x114]
call fcn.00404490
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0xc
call fcn.00404490
mov edx, esi
lea ecx, [ebp - 0x280]
call fcn.00575dd0
mov esi, eax
mov byte [ebp - 4], 0x11
mov edx, 0xe
mov dword [ebp - 0x2b8], edx
xor ecx, ecx
mov dword [ebp - 0x2b4], 0xcf00fa
mov dword [ebp - 0x2b0], 0xde00ca
mov dword [ebp - 0x2ac], 0xc600ce
mov dword [ebp - 0x2a8], 0xf5008f
mov dword [ebp - 0x2a4], 0xd500df
mov dword [ebp - 0x2a0], 0xda00da
mov dword [ebp - 0x29c], 0x9600d0
mov dword [ebp - 0x298], 0xb7
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x2b4], ax
inc ecx
mov edx, dword [ebp - 0x2b8]
cmp ecx, edx
jb 0x5bfab0
xor eax, eax
mov word [ebp + edx*2 - 0x2b4], ax
lea eax, [ebp - 0x2b4]
push esi
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.00413810
add esp, 0xc
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0x13
call fcn.00404490
push 3
xor eax, eax
mov dword [ebp - 0xec], 0
push 0x7da86c
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0xe8], 7
mov word [ebp - 0xfc], ax
call fcn.004044f0
cmp dword [ebp - 0x154], 8
lea esi, [ebp - 0x168]
lea edx, [ebp - 0x180]
cmovae esi, dword [ebp - 0x168]
lea ecx, [ebp - 0xfc]
cmp dword [ebp - 0x16c], 8
lea eax, [ebp - 0xcc]
push esi
cmovae edx, dword [ebp - 0x180]
cmp dword [ebp - 0xe8], 8
push edx
cmovae ecx, dword [ebp - 0xfc]
cmp dword [ebp - 0xb8], 8
push ecx
cmovae eax, dword [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0xfc]
call fcn.00404490
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0xc
call fcn.00404490
mov edi, dword [ebp - 0x290]
mov eax, 0xe
mov dword [ebp - 0xd4], 0xcf00ed
mov dword [ebp - 0xd8], eax
xor ecx, ecx
mov dword [ebp - 0xd0], 0xcd00cd
mov dword [ebp - 0xcc], 0xc200d8
mov dword [ebp - 0xc8], 0x9000db
mov dword [ebp - 0xc4], 0xd700e2
mov dword [ebp - 0xc0], 0xc600d2
mov dword [ebp - 0xbc], 0xde00d6
mov dword [ebp - 0xb8], 0xb7
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xd4], ax
inc ecx
mov eax, dword [ebp - 0xd8]
cmp ecx, eax
jb 0x5bfc00
xor ecx, ecx
mov word [ebp + eax*2 - 0xd4], cx
xor eax, eax
mov dword [ebp - 0x104], ecx
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x100], 7
lea edx, [ecx + 2]
mov word [ebp - 0x114], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5bfc45
sub ecx, edx
lea eax, [ebp - 0xd4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x114]
call fcn.004044f0
mov byte [ebp - 4], 0x14
xor ecx, ecx
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x260], 0xda00e6
mov dword [ebp - 0x25c], 0xc500df
mov dword [ebp - 0x258], 0xc000c2
mov dword [ebp - 0x254], 0xb000dc
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x260], ax
inc ecx
mov eax, dword [ebp - 0x264]
cmp ecx, eax
jb 0x5bfca0
xor ecx, ecx
mov word [ebp + eax*2 - 0x260], cx
xor eax, eax
mov dword [ebp - 0xec], ecx
lea ecx, [ebp - 0x260]
mov dword [ebp - 0xe8], 7
lea edx, [ecx + 2]
mov word [ebp - 0xfc], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5bfce5
sub ecx, edx
lea eax, [ebp - 0x260]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xfc]
call fcn.004044f0
cmp dword [ebp - 0x154], 8
lea esi, [ebp - 0x168]
lea edx, [ebp - 0x150]
cmovae esi, dword [ebp - 0x168]
lea ecx, [ebp - 0x114]
cmp dword [ebp - 0x13c], 8
lea eax, [ebp - 0xfc]
push esi
cmovae edx, dword [ebp - 0x150]
cmp dword [ebp - 0x100], 8
push edx
cmovae ecx, dword [ebp - 0x114]
cmp dword [ebp - 0xe8], 8
push ecx
cmovae eax, dword [ebp - 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0xfc]
call fcn.00404490
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0xc
call fcn.00404490
push 0xb0
lea eax, [ebp - 0x248]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x248], 0x7d6f90
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x238], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x15
or dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x248]
push eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 0x16
mov eax, dword [ebp - 0x248]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x248], 0x7c81a4
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x24c], eax
lea ecx, [ebp - 0x230]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0x230], 0x7c8164
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x294]
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0x17
mov eax, dword [eax + 0xb8]
add eax, 0xc
push eax
call fcn.00404120
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x280]
cmp dword [ebp - 0x26c], 8
push dword [ebp - 0x270]
cmovae eax, dword [ebp - 0x280]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.00404c80
add esp, 0xc
mov esi, eax
mov edx, 0x14
mov dword [ebp - 0xe0], 0xd90089
mov dword [ebp - 0xe4], edx
xor ecx, ecx
mov dword [ebp - 0xdc], 0xd800ce
mov dword [ebp - 0xd8], 0xdd008d
mov dword [ebp - 0xd4], 0xd100ca
mov dword [ebp - 0xd0], 0xd100c3
mov dword [ebp - 0xcc], 0x9400db
mov dword [ebp - 0xc8], 0xcf00c6
mov dword [ebp - 0xc4], 0xcc00c4
mov dword [ebp - 0xc0], 0xd700dc
mov dword [ebp - 0xbc], 0x9c0081
mov dword [ebp - 0xb8], 0xbd
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xe0], ax
inc ecx
mov edx, dword [ebp - 0xe4]
cmp ecx, edx
jb 0x5bff00
xor eax, eax
mov word [ebp + edx*2 - 0xe0], ax
lea eax, [ebp - 0xe0]
push eax
push esi
call fcn.00404740
mov ecx, dword [edi + 0x10]
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x5bff3e
mov edi, dword [edi]
push ecx
push edi
push eax
call fcn.00404c80
add esp, 0xc
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x280]
call fcn.00404490
call fcn.004345f0
mov dword [ebp - 0x290], eax
lea eax, [ebp - 0x384]
push eax
call fcn.005c00b0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0x294], edi
test edx, edx
je 0x5bff93
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5bff82
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0xb4]
push eax
call fcn.005ba780
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0x24c], eax
test edx, edx
je 0x5bffdd
mov edi, eax
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x5bffc0
mov edi, dword [ebp - 0x294]
mov eax, dword [ebp - 0x24c]
xor ecx, ecx
mov word [eax + edx*2], cx
lea ecx, [ebp - 0x248]
push ecx
mov ecx, dword [ebp - 0x290]
push edi
push 0x21a
push eax
push 1
call fcn.00469f50
mov eax, dword [ebp - 0x248]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x248], 0x7c81a4
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x24c], eax
lea ecx, [ebp - 0x230]
call fcn.004073e0
lea ecx, [ebp - 0x228]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x1e0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x120]
call fcn.00404220
lea ecx, [ebp - 0x138]
call fcn.00404490
lea ecx, [ebp - 0x150]
call fcn.00404490
lea ecx, [ebp - 0x180]
call fcn.00404490
lea ecx, [ebp - 0x168]
call fcn.00404490
lea ecx, [ebp - 0x198]
call fcn.00404490
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.0076eb7e
mov esp, ebp
pop ebp
ret 4