Function at 0x5d7ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ad300
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
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 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], 0xc900f5
mov dword [ebp - 0xb0], 0xc300c4
mov dword [ebp - 0xac], 0xc700c6
mov dword [ebp - 0xa8], 0xc300ca
mov dword [ebp - 0xa4], 0xc1009f
mov dword [ebp - 0xa0], 0xd800c2
mov dword [ebp - 0x9c], 0xc200dc
mov dword [ebp - 0x98], 0xb800d2
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xb4], ax
inc ecx
mov eax, dword [ebp - 0xb8]
cmp ecx, eax
jb 0x5d80b0
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 0x5d821e
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 0x5d88bd
mov edx, dword [ebp - 0x18]
push ecx
call fcn.005c0b50
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 0x5d88b3
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5d88b3
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.00648730
lea ecx, [ebp - 0x60]
mov byte [ebp - 0x91], al
call fcn.00407a10
cmp byte [ebp - 0x91], 0
jne 0x5d8302
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 0x5d829c
mov edx, 1
call fcn.00706610
lea ecx, [ebp - 0x48]
call fcn.00404490
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5d88bd
mov edx, dword [ebp - 0x18]
push ecx
call fcn.005c0b50
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 0x5d88b3
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5d88b3
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 [0x7e5e60]
mov dword [ebp - 0xb4], 0x19
movups xmmword [ebp - 0xb0], xmm0
mov dword [ebp - 0xa0], 0xd3d8e5c3
mov dword [ebp - 0x9c], 0xa5d6d5d2
mov dword [ebp - 0x98], 0xc2b2
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 0x5d8386
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.00648830
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call fcn.006485d0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0xc4]
test eax, eax
je 0x5d83ed
cmp byte [ebp - 0xc8], 0
je 0x5d83ed
push eax
call fcn.0069b9d0
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 0x5d887d
test edi, edi
je 0x5d887d
nop dword [eax]
xor eax, eax
mov dword [ebp - 0xd0], 0xc9c6cbc7
mov ecx, 4
mov byte [ebp - 0xcc], 0xad
mov dword [ebp - 0xd4], ecx
mov word [ebp - 0xcb], ax
mov byte [ebp - 0xc9], al
nop dword [eax + eax]
lea ecx, [eax - 0x57]
xor byte [ebp + eax - 0xd0], cl
inc eax
mov ecx, dword [ebp - 0xd4]
cmp eax, ecx
jb 0x5d8460
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 0x5d84a1
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.00648620
push eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00648690
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], 0xd9c7cbdf
mov dword [ebp - 0xf8], eax
xor ecx, ecx
mov dword [ebp - 0xf0], 0xaec8
nop dword [eax + eax]
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0xf4], al
inc ecx
mov eax, dword [ebp - 0xf8]
cmp ecx, eax
jb 0x5d8550
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 0x5d8592
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.00648620
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x30]
call fcn.00648690
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], 0xd8d8c5c1
mov eax, 4
mov byte [ebp - 0xbc], 0xad
mov dword [ebp - 0xc4], eax
mov word [ebp - 0xbb], cx
mov byte [ebp - 0xb9], cl
nop word [eax + eax]
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0xc0], al
inc ecx
mov eax, dword [ebp - 0xc4]
cmp ecx, eax
jb 0x5d8650
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 0x5d8692
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.00648620
push eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00648690
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 0x5d87df
call fcn.005d90f0
add esp, 4
add dword [ebp - 0x18], 0x50
jmp 0x5d87e8
push edx
lea ecx, [ebp - 0x1c]
call fcn.005d9190
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.0069c990
add esp, 4
cmp eax, 0x65
jne 0x5d883a
mov al, 1
jmp 0x5d8840
cmp eax, 0x64
setne al
mov byte [ebp - 0x28], al
test al, al
je 0x5d8430
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00406980
mov byte [ebp - 4], 0x2d
cmp byte [ebp - 0x30], 0
je 0x5d8869
push edi
call fcn.0069b9d0
add esp, 4
mov byte [ebp - 4], 0x2e
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x5d829c
jmp 0x5d8292
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00406980
mov byte [ebp - 4], 0xe
test edi, edi
je 0x5d889f
cmp byte [ebp - 0x30], 0
je 0x5d889f
push edi
call fcn.0069b9d0
add esp, 4
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x5d829c
jmp 0x5d8292
push ecx
push edi
call fcn.0076e8f3
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.0076eb7e
mov esp, ebp
pop ebp
ret 4