Function at 0x5bd190
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a9418
mov eax, dword fs:[0]
push eax
sub esp, 0x90
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 edi, ecx
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push ecx
mov ecx, edi
movq qword [ebp - 0x1c], xmm0
call dword [eax + 0xc]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x9c], eax
cmp ecx, eax
je 0x5bd3a8
lea esi, [ecx + 0x30]
lea eax, [esi - 0x30]
push eax
lea ecx, [ebp - 0x80]
call fcn.00404120
lea eax, [esi - 0x18]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x68]
call fcn.00404120
push esi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00404120
lea eax, [esi + 0x18]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x38]
call fcn.00404120
mov al, byte [esi + 0x30]
mov byte [ebp - 0x20], al
mov byte [ebp - 4], 4
test al, al
je 0x5bd2c6
call fcn.00451010
mov edx, eax
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x90], 0xd800d5
xor eax, eax
mov dword [ebp - 0x8c], 0xd700d3
mov dword [ebp - 0x88], 0xcf0092
mov dword [ebp - 0x84], 0xbf00cb
nop dword [eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x90], cx
inc eax
mov ecx, dword [ebp - 0x94]
cmp eax, ecx
jb 0x5bd280
xor eax, eax
mov word [ebp + ecx*2 - 0x90], ax
lea eax, [ebp - 0x68]
push eax
mov ecx, edx
call fcn.0063eb80
test al, al
jne 0x5bd301
call fcn.00451010
lea ecx, [ebp - 0x50]
push ecx
mov ecx, eax
call fcn.0058a560
test al, al
jne 0x5bd301
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00404490
lea ecx, [ebp - 0x50]
call fcn.00404490
lea ecx, [ebp - 0x68]
call fcn.00404490
lea ecx, [ebp - 0x80]
call fcn.00404490
add esi, 0x64
lea eax, [esi - 0x30]
cmp eax, dword [ebp - 0x9c]
jne 0x5bd1f7
jmp 0x5bd3a5
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x98]
call fcn.00404120
lea esi, [edi + 0x1c]
lea eax, [ebp - 0x98]
cmp esi, eax
je 0x5bd358
mov ecx, esi
call fcn.00404490
movups xmm0, xmmword [ebp - 0x98]
xor eax, eax
mov word [ebp - 0x98], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x88]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
lea ecx, [ebp - 0x98]
call fcn.00404490
lea ecx, [edi + 0xa0]
lea eax, [ebp - 0x50]
cmp ecx, eax
je 0x5bd381
cmp dword [ebp - 0x3c], 8
push dword [ebp - 0x40]
cmovae eax, dword [ebp - 0x50]
push eax
call fcn.004044f0
lea ecx, [ebp - 0x38]
mov byte [edi + 0xc], 1
call fcn.00404490
lea ecx, [ebp - 0x50]
call fcn.00404490
lea ecx, [ebp - 0x68]
call fcn.00404490
lea ecx, [ebp - 0x80]
call fcn.00404490
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5bd3fe
mov edx, dword [ebp - 0x18]
push ecx
call fcn.005b6c90
mov ecx, dword [ebp - 0x14]
mov eax, 0x51eb851f
mov esi, dword [ebp - 0x1c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x64
mov eax, esi
cmp ecx, 0x1000
jb 0x5bd3f4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5bd3f4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0076d313
add esp, 8
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