Function at 0x5d6fc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7abb70
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x82f184]
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 esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x20], esi
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0xb8], 0xf
mov dword [ebp - 0xb4], 0xda00e4
mov dword [ebp - 0xb0], 0xd400d5
mov dword [ebp - 0xac], 0xd400d7
mov dword [ebp - 0xa8], 0xcc00db
mov dword [ebp - 0xa4], 0xb200ee
mov dword [ebp - 0xa0], 0xaf00b3
mov dword [ebp - 0x9c], 0xb100ad
mov dword [ebp - 0x98], 0xc700a3
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xb4], ax
inc ecx
mov eax, dword [ebp - 0xb8]
cmp ecx, eax
jb 0x5d7080
xor ecx, ecx
mov word [ebp + eax*2 - 0xb4], cx
lea ecx, [ebp - 0x164]
mov eax, dword [edx + 0x14]
add eax, 0x84
push eax
call fcn.00404120
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0x164]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0xb8]
call fcn.00403b80
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 6
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x91], al
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.00404220
lea ecx, [ebp - 0xb8]
call fcn.00404490
cmp byte [ebp - 0x91], 0
jne 0x5d71ee
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x48]
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00404490
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5d788d
mov edx, dword [ebp - 0x18]
push ecx
call fcn.005bfb50
mov ecx, dword [ebp - 0x14]
mov eax, 0x66666667
mov edi, dword [ebp - 0x1c]
add esp, 4
sub ecx, edi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
mov eax, edi
shl ecx, 4
cmp ecx, 0x1000
jb 0x5d7883
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5d7883
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00405850
add esp, 8
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00647a00
lea ecx, [ebp - 0x60]
mov byte [ebp - 0x91], al
call fcn.00407a10
cmp byte [ebp - 0x91], 0
jne 0x5d72d2
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x5d726c
mov edx, 1
call fcn.007058e0
lea ecx, [ebp - 0x48]
call fcn.00404490
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5d788d
mov edx, dword [ebp - 0x18]
push ecx
call fcn.005bfb50
mov ecx, dword [ebp - 0x14]
mov eax, 0x66666667
mov edi, dword [ebp - 0x1c]
add esp, 4
sub ecx, edi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
mov eax, edi
shl ecx, 4
cmp ecx, 0x1000
jb 0x5d7883
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5d7883
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb4]
movaps xmm0, xmmword [0x7e39f0]
mov dword [ebp - 0xb4], 0x19
movups xmmword [ebp - 0xb0], xmm0
mov dword [ebp - 0xa0], 0xa4a996b2
mov dword [ebp - 0x9c], 0xaaa7a6a3
mov dword [ebp - 0x98], 0xd1a3
call fcn.004131e0
mov edx, eax
mov dword [ebp - 0xf4], 0
mov ecx, edx
mov dword [ebp - 0xf0], 0xf
mov byte [ebp - 0x104], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5d7356
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x104]
call fcn.00407ab0
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x20]
call fcn.00647b00
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call fcn.006478a0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0xc4]
test eax, eax
je 0x5d73bd
cmp byte [ebp - 0xc8], 0
je 0x5d73bd
push eax
call fcn.0069acc0
add esp, 4
mov dword [ebp - 0xc4], 0
lea ecx, [ebp - 0x104]
mov byte [ebp - 0xc0], 1
mov dword [ebp - 0xbc], 0
mov byte [ebp - 0xc8], 0
mov byte [ebp - 4], 0xa
call fcn.00407a10
cmp byte [ebp - 0x28], 0
mov edi, dword [ebp - 0x2c]
jne 0x5d784d
test edi, edi
je 0x5d784d
nop dword [eax]
xor eax, eax
mov dword [ebp - 0xd0], 0xded7d8d6
mov ecx, 4
mov byte [ebp - 0xcc], 0xbc
mov dword [ebp - 0xd4], ecx
mov word [ebp - 0xcb], ax
mov byte [ebp - 0xc9], al
nop dword [eax + eax]
lea ecx, [eax - 0x48]
xor byte [ebp + eax - 0xd0], cl
inc eax
mov ecx, dword [ebp - 0xd4]
cmp eax, ecx
jb 0x5d7430
mov byte [ebp + ecx - 0xd0], 0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xdc], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5d7471
sub ecx, edx
lea eax, [ebp - 0xd0]
push ecx
push eax
lea ecx, [ebp - 0xec]
call fcn.00407ab0
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x30]
call fcn.006478f0
push eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00647960
lea edx, [ebp - 0x11c]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x14c]
call fcn.00405660
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x12
call fcn.00404120
lea ecx, [ebp - 0x14c]
call fcn.00404490
lea ecx, [ebp - 0x11c]
call fcn.00407a10
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x16
call fcn.00407a10
mov eax, 5
mov dword [ebp - 0xf4], 0xced6d8ce
mov dword [ebp - 0xf8], eax
xor ecx, ecx
mov dword [ebp - 0xf0], 0xbdd9
nop dword [eax + eax]
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0xf4], al
inc ecx
mov eax, dword [ebp - 0xf8]
cmp ecx, eax
jb 0x5d7520
lea ecx, [ebp - 0xf4]
mov byte [ebp + eax - 0xf4], 0
mov dword [ebp - 0xdc], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5d7562
sub ecx, edx
lea eax, [ebp - 0xf4]
push ecx
push eax
lea ecx, [ebp - 0xec]
call fcn.00407ab0
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 0x17
push eax
lea ecx, [ebp - 0x30]
call fcn.006478f0
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x30]
call fcn.00647960
lea edx, [ebp - 0x134]
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x1cc]
call fcn.00405660
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x19
call fcn.00404120
lea ecx, [ebp - 0x1cc]
call fcn.00404490
lea ecx, [ebp - 0x134]
call fcn.00407a10
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x1d
call fcn.00407a10
xor ecx, ecx
mov dword [ebp - 0xc0], 0xcfc9d6d0
mov eax, 4
mov byte [ebp - 0xbc], 0xbc
mov dword [ebp - 0xc4], eax
mov word [ebp - 0xbb], cx
mov byte [ebp - 0xb9], cl
nop word [eax + eax]
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0xc0], al
inc ecx
mov eax, dword [ebp - 0xc4]
cmp ecx, eax
jb 0x5d7620
lea ecx, [ebp - 0xc0]
mov byte [ebp + eax - 0xc0], 0
mov dword [ebp - 0xdc], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5d7662
sub ecx, edx
lea eax, [ebp - 0xc0]
push ecx
push eax
lea ecx, [ebp - 0xec]
call fcn.00407ab0
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [ebp - 0x30]
call fcn.006478f0
push eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00647960
lea edx, [ebp - 0x11c]
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0xac]
call fcn.00405660
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x20
call fcn.00404120
lea ecx, [ebp - 0xac]
call fcn.00404490
lea ecx, [ebp - 0x11c]
call fcn.00407a10
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x24
call fcn.00407a10
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x14c]
call fcn.00404120
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0x25
push eax
lea ecx, [ebp - 0xec]
call fcn.00404120
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x26
push eax
lea ecx, [ebp - 0x134]
call fcn.00404120
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 0x29
push eax
lea ecx, [ebp - 0x1b4]
call fcn.00404120
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 0x2a
push eax
lea ecx, [ebp - 0x19c]
call fcn.00404120
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 0x2b
push eax
lea ecx, [ebp - 0x184]
call fcn.00404120
xorps xmm0, xmm0
lea ecx, [ebp - 0x134]
movlpd qword [ebp - 0x16c], xmm0
call fcn.00404490
lea ecx, [ebp - 0xec]
call fcn.00404490
lea ecx, [ebp - 0x14c]
call fcn.00404490
mov byte [ebp - 4], 0x2c
lea eax, [ebp - 0x1b4]
mov edx, dword [ebp - 0x18]
push eax
cmp dword [ebp - 0x14], edx
je 0x5d77af
call fcn.005d80c0
add esp, 4
add dword [ebp - 0x18], 0x50
jmp 0x5d77b8
push edx
lea ecx, [ebp - 0x1c]
call fcn.005d8160
lea ecx, [ebp - 0x184]
call fcn.00404490
lea ecx, [ebp - 0x19c]
call fcn.00404490
lea ecx, [ebp - 0x1b4]
call fcn.00404490
lea ecx, [ebp - 0x78]
call fcn.00404490
lea ecx, [ebp - 0x90]
call fcn.00404490
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xa
call fcn.00404490
push edi
call fcn.0069bc80
add esp, 4
cmp eax, 0x65
jne 0x5d780a
mov al, 1
jmp 0x5d7810
cmp eax, 0x64
setne al
mov byte [ebp - 0x28], al
test al, al
je 0x5d7400
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00406980
mov byte [ebp - 4], 0x2d
cmp byte [ebp - 0x30], 0
je 0x5d7839
push edi
call fcn.0069acc0
add esp, 4
mov byte [ebp - 4], 0x2e
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x5d726c
jmp 0x5d7262
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00406980
mov byte [ebp - 4], 0xe
test edi, edi
je 0x5d786f
cmp byte [ebp - 0x30], 0
je 0x5d786f
push edi
call fcn.0069acc0
add esp, 4
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x5d726c
jmp 0x5d7262
push ecx
push edi
call fcn.0076d313
add esp, 8
mov eax, esi
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.0076d59e
mov esp, ebp
pop ebp
ret 4