Function at 0x588fd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a53ba
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x120], edi
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x68]
mov esi, dword [ebp + 0xc]
push 0x58
push 0
push eax
mov dword [ebp - 0x134], ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x68]
push esi
call fcn.0042efa0
mov dword [ebp - 4], 0
mov eax, 0x10
mov dword [ebp - 0x15c], eax
xor ecx, ecx
mov dword [ebp - 0x158], 0xcb0086
mov dword [ebp - 0x154], 0xc500db
mov dword [ebp - 0x150], 0xcd0082
mov dword [ebp - 0x14c], 0xd500c7
mov dword [ebp - 0x148], 0xd900d2
mov dword [ebp - 0x144], 0xdc009e
mov dword [ebp - 0x140], 0xc500d4
mov dword [ebp - 0x13c], 0x9700df
mov dword [ebp - 0x138], 0xb9
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x158], ax
inc ecx
mov eax, dword [ebp - 0x15c]
cmp ecx, eax
jb 0x5890a0
xor ecx, ecx
mov dword [ebp - 0x160], 7
mov word [ebp + eax*2 - 0x158], cx
xor eax, eax
mov dword [ebp - 0x164], ecx
lea ecx, [ebp - 0x158]
mov word [ebp - 0x174], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5890e5
sub ecx, edx
lea eax, [ebp - 0x158]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x174]
call fcn.004044f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x174]
cmp dword [ebp - 0x160], 8
lea ecx, [ebp - 0x48]
push dword [ebp - 0x164]
cmovae eax, dword [ebp - 0x174]
push eax
call fcn.004044f0
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0
call fcn.00404490
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x68]
call fcn.0042c320
push 0
push 0
push 0x20
push 0xffffffffffffffff
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 2
mov ecx, dword [edi]
push eax
call fcn.00430bd0
push 0x70
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 3
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0xa
mov dword [ebp - 0x114], 0xdeced9fc
add esp, 0xc
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x110], 0xd5c8ef80
xor ecx, ecx
mov dword [ebp - 0x10c], 0xb3c6df
lea eax, [ecx - 0x57]
xor byte [ebp + ecx - 0x114], al
inc ecx
mov eax, dword [ebp - 0x118]
cmp ecx, eax
jb 0x5891a5
mov byte [ebp + eax - 0x114], 0
lea ecx, [ebp - 0x208]
lea eax, [ebp - 0x114]
mov dword [ebp - 0x11c], eax
mov eax, dword [edi + 4]
add eax, 0x58
push eax
call fcn.00404120
lea eax, [ebp - 0x208]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.00405710
add esp, 8
push eax
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x298]
call fcn.00469a80
lea ecx, [ebp - 0x238]
call fcn.00407a10
lea ecx, [ebp - 0x208]
call fcn.00404490
mov byte [ebp - 4], 6
mov eax, 0xc
movaps xmm0, xmmword [0x7e5300]
xor ecx, ecx
mov dword [ebp - 0x170], eax
movups xmmword [ebp - 0x16c], xmm0
nop word [eax + eax]
lea eax, [ecx - 0x57]
xor byte [ebp + ecx - 0x16c], al
inc ecx
mov eax, dword [ebp - 0x170]
cmp ecx, eax
jb 0x589250
movaps xmm0, xmmword [0x7e5d70]
xor ecx, ecx
mov byte [ebp + eax - 0x16c], 0
lea eax, [ebp - 0x16c]
movups xmmword [ebp - 0x1ec], xmm0
mov dword [ebp - 0x134], eax
movaps xmm0, xmmword [0x7e59e0]
movups xmmword [ebp - 0x1dc], xmm0
mov dword [ebp - 0x1f0], 0x33
movaps xmm0, xmmword [0x7e5a30]
movups xmmword [ebp - 0x1cc], xmm0
mov dword [ebp - 0x1bc], 0xdcb5b5aa
nop dword [eax]
lea eax, [ecx - 0x57]
xor byte [ebp + ecx - 0x1ec], al
inc ecx
mov eax, dword [ebp - 0x1f0]
cmp ecx, eax
jb 0x5892c0
mov byte [ebp + eax - 0x1ec], 0
lea ecx, [ebp - 0x268]
lea eax, [ebp - 0x1ec]
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00435db0
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x220]
call fcn.00406bb0
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x298]
push eax
push ecx
lea ecx, [ebp - 0x130]
call fcn.00434550
mov edi, eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x268]
push eax
push ecx
lea ecx, [ebp - 0x128]
call fcn.00434550
mov esi, eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00405710
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0xb
push ecx
push edi
push esi
mov edx, eax
lea ecx, [ebp - 0x108]
call fcn.00574590
add esp, 0x14
lea ecx, [ebp - 0x14c]
call fcn.00407a10
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x128]
mov esi, dword [ebp - 0x128]
push dword [esi + 4]
call fcn.00435730
mov eax, dword [ebp - 0x128]
push 0x40
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x128]
mov dword [eax], esi
mov eax, dword [ebp - 0x128]
mov dword [eax + 8], esi
push dword [ebp - 0x128]
mov dword [ebp - 0x124], 0
call fcn.0076e8f3
add esp, 8
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x130]
mov esi, dword [ebp - 0x130]
push dword [esi + 4]
call fcn.00435730
mov eax, dword [ebp - 0x130]
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x130]
push 0x40
mov dword [eax], esi
mov eax, dword [ebp - 0x130]
mov dword [eax + 8], esi
push dword [ebp - 0x130]
mov dword [ebp - 0x12c], 0
call fcn.0076e8f3
add esp, 8
lea ecx, [ebp - 0x220]
call fcn.00407a10
push fcn.00430150
push 1
push 0x30
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 0x13
push eax
call fcn.0076e7c5
push fcn.00430150
push 1
push 0x30
lea eax, [ebp - 0x298]
mov byte [ebp - 4], 0x14
push eax
call fcn.0076e7c5
cmp dword [ebp - 0xb8], 0
je 0x589585
mov dword [ebp - 0x1a0], 0x13
xor ecx, ecx
mov dword [ebp - 0x19c], 0xc600ca
mov dword [ebp - 0x198], 0xd900c4
mov dword [ebp - 0x194], 0xf100c9
mov dword [ebp - 0x190], 0xc600ce
mov dword [ebp - 0x18c], 0xd100ee
mov dword [ebp - 0x188], 0xd100db
mov dword [ebp - 0x184], 0xdd00d6
mov dword [ebp - 0x180], 0xd000e8
mov dword [ebp - 0x17c], 0xc900d8
mov dword [ebp - 0x178], 0xbc00d3
nop dword [eax]
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x19c], ax
inc ecx
mov eax, dword [ebp - 0x1a0]
cmp ecx, eax
jb 0x5894f0
xor ecx, ecx
mov dword [ebp - 0x1a4], 7
mov word [ebp + eax*2 - 0x19c], cx
xor eax, eax
mov dword [ebp - 0x1a8], ecx
lea ecx, [ebp - 0x19c]
mov word [ebp - 0x1b8], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x589535
sub ecx, edx
lea eax, [ebp - 0x19c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1b8]
call fcn.004044f0
lea eax, [ebp - 0x1b8]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebx + 4]
mov dword [ebx], 1
call fcn.00404120
lea ecx, [ebp - 0x1b8]
mov byte [ebx + 0x1c], 0
mov byte [ebx + 0x34], 0
call fcn.00404490
jmp 0x5895d2
mov ecx, dword [ebp - 0x120]
lea eax, [ebp - 0x104]
mov ecx, dword [ecx + 8]
cmp ecx, eax
je 0x5895b2
cmp dword [ebp - 0xf0], 0x10
push dword [ebp - 0xf4]
cmovae eax, dword [ebp - 0x104]
push eax
call fcn.00407ab0
mov dword [ebx], 0
xor eax, eax
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 7
mov word [ebx + 4], ax
mov byte [ebx + 0x1c], al
mov byte [ebx + 0x34], al
lea ecx, [ebp - 0x108]
call fcn.00434000
lea ecx, [ebp - 0x80]
call fcn.00407a10
lea ecx, [ebp - 0x98]
call fcn.00404490
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
push eax
push dword [eax]
lea eax, [ebp - 0x120]
push eax
call fcn.0042d190
push 0x40
push dword [ebp - 0x18]
call fcn.0076e8f3
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.00404490
lea ecx, [ebp - 0x48]
call fcn.00404490
lea ecx, [ebp - 0x60]
call fcn.00404490
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret 8