Function at 0x5d7750
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ad190
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
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
mov eax, 8
mov dword [ebp - 0x38], eax
xor ecx, ecx
mov dword [ebp - 0x34], 0xe900f5
mov dword [ebp - 0x30], 0xc300c4
mov dword [ebp - 0x2c], 0xc700c6
mov dword [ebp - 0x28], 0xc300ca
mov dword [ebp - 0x24], 0xb1
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x34], ax
inc ecx
mov eax, dword [ebp - 0x38]
cmp ecx, eax
jb 0x5d77e0
xor ecx, ecx
mov word [ebp + eax*2 - 0x34], cx
lea ecx, [ebp - 0x16c]
mov eax, dword [edx + 0x14]
add eax, 0x84
push eax
call fcn.00404120
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0x16c]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 7
mov word [ebp - 0x10c], ax
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x10c]
call fcn.00403b80
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 6
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x99], al
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 3
call fcn.00404220
lea ecx, [ebp - 0x10c]
call fcn.00404490
cmp byte [ebp - 0x99], 0
jne 0x5d7942
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x50]
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 0x5d7fcd
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 0x5d7fc3
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5d7fc3
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 - 0x50]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x68]
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 - 0x68]
mov byte [ebp - 0x99], al
call fcn.00407a10
cmp byte [ebp - 0x99], 0
jne 0x5d7a26
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 0x5d79c0
mov edx, 1
call fcn.00706610
lea ecx, [ebp - 0x50]
call fcn.00404490
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5d7fcd
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 0x5d7fc3
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5d7fc3
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 - 0x104]
movaps xmm0, xmmword [0x7e5e50]
mov dword [ebp - 0x104], 0x15
movups xmmword [ebp - 0x100], xmm0
mov dword [ebp - 0xf0], 0xd9d2d1d6
mov dword [ebp - 0xec], 0xbece
call fcn.004131e0
mov edx, eax
mov dword [ebp - 0xd8], 0
mov ecx, edx
mov dword [ebp - 0xd4], 0xf
mov byte [ebp - 0xe8], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5d7aa0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xe8]
call fcn.00407ab0
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xac]
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 - 0xa8]
test eax, eax
je 0x5d7b07
cmp byte [ebp - 0xac], 0
je 0x5d7b07
push eax
call fcn.0069b9d0
add esp, 4
mov dword [ebp - 0xa8], 0
lea ecx, [ebp - 0xe8]
mov byte [ebp - 0xa4], 1
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0xac], 0
mov byte [ebp - 4], 0xa
call fcn.00407a10
cmp byte [ebp - 0x28], 0
mov edi, dword [ebp - 0x2c]
jne 0x5d7f8d
test edi, edi
je 0x5d7f8d
xor eax, eax
mov dword [ebp - 0xb4], 0xc9c6cbc7
mov ecx, 4
mov byte [ebp - 0xb0], 0xad
mov dword [ebp - 0xb8], ecx
mov word [ebp - 0xaf], ax
mov byte [ebp - 0xad], al
nop
lea ecx, [eax - 0x57]
xor byte [ebp + eax - 0xb4], cl
inc eax
mov ecx, dword [ebp - 0xb8]
cmp eax, ecx
jb 0x5d7b70
mov byte [ebp + ecx - 0xb4], 0
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xc0], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5d7bb1
sub ecx, edx
lea eax, [ebp - 0xb4]
push ecx
push eax
lea ecx, [ebp - 0xd0]
call fcn.00407ab0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x30]
call fcn.00648620
push eax
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x30]
call fcn.00648690
lea edx, [ebp - 0x124]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x154]
call fcn.00405660
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x12
call fcn.00404120
lea ecx, [ebp - 0x154]
call fcn.00404490
lea ecx, [ebp - 0x124]
call fcn.00407a10
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x16
call fcn.00407a10
mov eax, 5
mov dword [ebp - 0xd8], 0xd9c7cbdf
mov dword [ebp - 0xdc], eax
xor ecx, ecx
mov dword [ebp - 0xd4], 0xaec8
nop dword [eax + eax]
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0xd8], al
inc ecx
mov eax, dword [ebp - 0xdc]
cmp ecx, eax
jb 0x5d7c60
lea ecx, [ebp - 0xd8]
mov byte [ebp + eax - 0xd8], 0
mov dword [ebp - 0xc0], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5d7ca2
sub ecx, edx
lea eax, [ebp - 0xd8]
push ecx
push eax
lea ecx, [ebp - 0xd0]
call fcn.00407ab0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0x17
push eax
lea ecx, [ebp - 0x30]
call fcn.00648620
push eax
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00648690
lea edx, [ebp - 0x13c]
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x1d4]
call fcn.00405660
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x19
call fcn.00404120
lea ecx, [ebp - 0x1d4]
call fcn.00404490
lea ecx, [ebp - 0x13c]
call fcn.00407a10
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x1d
call fcn.00407a10
xor ecx, ecx
mov dword [ebp - 0xa8], 0xd8d8c5c1
mov eax, 8
mov dword [ebp - 0xa4], 0xc9cac5f2
mov dword [ebp - 0xac], eax
mov byte [ebp - 0xa0], 0xb1
mov word [ebp - 0x9f], cx
mov byte [ebp - 0x9d], cl
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0xa8], al
inc ecx
mov eax, dword [ebp - 0xac]
cmp ecx, eax
jb 0x5d7d60
lea ecx, [ebp - 0xa8]
mov byte [ebp + eax - 0xa8], 0
mov dword [ebp - 0xc0], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5d7da2
sub ecx, edx
lea eax, [ebp - 0xa8]
push ecx
push eax
lea ecx, [ebp - 0xd0]
call fcn.00407ab0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [ebp - 0x30]
call fcn.00648620
push eax
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x30]
call fcn.00648690
lea edx, [ebp - 0x124]
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x100]
call fcn.00405660
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x20
call fcn.00404120
lea ecx, [ebp - 0x100]
call fcn.00404490
lea ecx, [ebp - 0x124]
call fcn.00407a10
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x24
call fcn.00407a10
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x154]
call fcn.00404120
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0x25
push eax
lea ecx, [ebp - 0xd0]
call fcn.00404120
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x26
push eax
lea ecx, [ebp - 0x13c]
call fcn.00404120
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 0x29
push eax
lea ecx, [ebp - 0x1bc]
call fcn.00404120
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 0x2a
push eax
lea ecx, [ebp - 0x1a4]
call fcn.00404120
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0x2b
push eax
lea ecx, [ebp - 0x18c]
call fcn.00404120
xorps xmm0, xmm0
lea ecx, [ebp - 0x13c]
movlpd qword [ebp - 0x174], xmm0
call fcn.00404490
lea ecx, [ebp - 0xd0]
call fcn.00404490
lea ecx, [ebp - 0x154]
call fcn.00404490
mov byte [ebp - 4], 0x2c
lea eax, [ebp - 0x1bc]
mov edx, dword [ebp - 0x18]
push eax
cmp dword [ebp - 0x14], edx
je 0x5d7eef
call fcn.005d90f0
add esp, 4
add dword [ebp - 0x18], 0x50
jmp 0x5d7ef8
push edx
lea ecx, [ebp - 0x1c]
call fcn.005d9190
lea ecx, [ebp - 0x18c]
call fcn.00404490
lea ecx, [ebp - 0x1a4]
call fcn.00404490
lea ecx, [ebp - 0x1bc]
call fcn.00404490
lea ecx, [ebp - 0x80]
call fcn.00404490
lea ecx, [ebp - 0x98]
call fcn.00404490
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xa
call fcn.00404490
push edi
call fcn.0069c990
add esp, 4
cmp eax, 0x65
jne 0x5d7f4a
mov al, 1
jmp 0x5d7f50
cmp eax, 0x64
setne al
mov byte [ebp - 0x28], al
test al, al
je 0x5d7b43
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00406980
mov byte [ebp - 4], 0x2d
cmp byte [ebp - 0x30], 0
je 0x5d7f79
push edi
call fcn.0069b9d0
add esp, 4
mov byte [ebp - 4], 0x2e
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x5d79c0
jmp 0x5d79b6
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00406980
mov byte [ebp - 4], 0xe
test edi, edi
je 0x5d7faf
cmp byte [ebp - 0x30], 0
je 0x5d7faf
push edi
call fcn.0069b9d0
add esp, 4
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x5d79c0
jmp 0x5d79b6
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