Function at 0x5db6e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1e6480
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x4e0
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0x20], 1
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
push 0x64000
mov dword [ebp - 0x20], 1
call fcn.00676410
xorps xmm0, xmm0
mov dword [ebp - 0x24], eax
movups xmmword [ebp - 0x3c], xmm0
add esp, 4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
push esi
push 0
push 0x1fffff
mov dword [ebp - 4], 1
call fcn.0082a78d
add cl, byte [ebx - 0x3f8a7610]
test esi, esi
jne 0x5db7e2
push dword [ebp - 0x24]
call fcn.00676441
mov ecx, dword [ebp - 0x28]
add esp, 4
cmp ecx, 0x10
jb 0x5db7cd
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5db7c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5dbcbe
push ecx
push edx
call fcn.00676402
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x208
lea eax, [ebp - 0x2e8]
push 0
push eax
call fcn.006783e0
add esp, 0xc
lea eax, [ebp - 0x4f0]
push eax
push dword [ebp - 0x24]
sub esp, 8
push 0
push 0
mov ecx, esi
call fcn.005db4b0
add esp, 0x18
mov ecx, eax
add ecx, 0x208
mov dword [ebp - 0x44], ecx
mov ecx, edx
adc ecx, 0
mov dword [ebp - 0x48], ecx
test edx, edx
jne 0x5db83d
test eax, eax
je 0x5dbc81
test edx, edx
jne 0x5db83d
cmp eax, 0xffff
jbe 0x5db853
push 0
push 0x208
lea ecx, [ebp - 0x2e8]
push ecx
push eax
push esi
push eax
call fcn.007a3eaf
lea ecx, [ebp - 0x2e8]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5db860
sub ecx, edx
lea eax, [ebp - 0x2e8]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.005ff020
cmp dword [ebp - 0x2c], 0x12c
jbe 0x5dbc53
xorps xmm0, xmm0
push 0x50
movups xmmword [ebp - 0x60], xmm0
call fcn.00676181
movups xmm0, xmmword [0x1ffc68]
mov esi, eax
mov dword [ebp - 0x50], 0x41
add esp, 4
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x4c], 0x4f
movups xmmword [esi], xmm0
movups xmm0, xmmword [0x1ffc78]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [0x1ffc88]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [0x1ffc98]
movups xmmword [esi + 0x30], xmm0
mov al, byte [0x1ffca8]
mov byte [esi + 0x40], al
mov byte [esi + 0x41], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
cmp dword [ebp - 0x28], 0x10
mov edx, dword [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x3c]
setae byte [ebp - 0x11]
push 0x41
push esi
push ecx
call fcn.00604820
mov ecx, eax
add esp, 0xc
lea eax, [ebp - 0x3c]
cmp ecx, 0xffffffff
je 0x5db94d
cmp dword [ebp - 0x2c], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0xac], xmm0
cmovb ecx, dword [ebp - 0x2c]
cmp byte [ebp - 0x11], 0
push ecx
cmovne eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0xac]
push eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
call fcn.0059cc10
or dword [ebp - 0x20], 6
jmp 0x5db95d
push eax
lea ecx, [ebp - 0xac]
call fcn.005ff430
or dword [ebp - 0x20], 2
push 0x50
push esi
call fcn.00676402
add esp, 8
cmp dword [ebp - 0x9c], 0
je 0x5dbc16
sub esp, 0x18
xorps xmm0, xmm0
mov esi, esp
mov dword [ebp - 0xb4], esp
push 1
movups xmmword [esi], xmm0
push 0x1ff830
push esi
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], 0xf
call fcn.00677e60
add esp, 0xc
mov byte [esi + 1], 0
mov byte [ebp - 4], 4
xor ecx, ecx
movaps xmm0, xmmword [0x204590]
movups xmmword [ebp - 0x92], xmm0
mov dword [ebp - 0x72], 0x7763677d
movaps xmm0, xmmword [0x2045f0]
movups xmmword [ebp - 0x82], xmm0
mov dword [ebp - 0x6e], 0x5f700466
mov dword [ebp - 0x6a], 0x1409707e
mov word [ebp - 0x66], 0x100
mov al, cl
add al, 0xf
xor byte [ebp + ecx - 0x92], al
inc ecx
cmp ecx, 0x2c
jb 0x5db9e5
sub esp, 0x18
mov byte [ebp - 0x65], 0
mov edx, esp
mov dword [ebp - 0xb8], esp
xorps xmm0, xmm0
lea ecx, [ebp - 0x92]
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5dba22
sub ecx, esi
lea eax, [ebp - 0x92]
push ecx
push eax
mov ecx, edx
call fcn.0059cc10
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x3c]
mov ecx, esp
push eax
call fcn.005ff430
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.005dafd0
add esp, 0x48
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xe0]
call fcn.0059c940
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x5dbaa4
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5dba9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5dbcbe
push ecx
push edx
call fcn.00676402
add esp, 8
sub esp, 0x28
mov dword [ebp - 0x50], 0
mov eax, esp
mov dword [ebp - 0x4c], 0xf
lea edx, [ebp - 0xe0]
mov byte [ebp - 0x60], 0
lea ecx, [ebp - 0xc8]
push 0
push 1
mov dword [eax + 0x24], 0
call fcn.00603780
add esp, 0x30
mov byte [ebp - 4], 9
xor ecx, ecx
mov dword [ebp - 0x16], 0x626366
mov byte [ebp - 0x12], 1
nop dword [eax + eax]
mov al, cl
add al, 0xf
xor byte [ebp + ecx - 0x16], al
inc ecx
cmp ecx, 3
jb 0x5dbaf0
lea eax, [ebp - 0x16]
mov byte [ebp - 0x12], 0
push eax
lea ecx, [ebp - 0xc8]
call fcn.00603440
cmp byte [eax], 3
jne 0x5dbbcd
mov dword [ebp - 0x1b], 0x626366
xor eax, eax
mov byte [ebp - 0x17], 1
lea ecx, [eax + 0xf]
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 3
jb 0x5dbb27
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x17], 0
push eax
lea ecx, [ebp - 0xc8]
call fcn.00603440
lea ecx, [ebp - 0x60]
push ecx
mov ecx, eax
call fcn.00603580
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x5dbb5d
mov eax, dword [eax]
push 5
push 0x1ffd34
mov ecx, eax
call fcn.0060eff0
mov ecx, dword [ebp - 0x4c]
add esp, 8
mov byte [ebp - 0x11], al
cmp ecx, 0x10
jb 0x5dbba8
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5dbb9b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5dbcbe
push ecx
push edx
call fcn.00676402
mov al, byte [ebp - 0x11]
add esp, 8
test al, al
je 0x5dbbcd
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x3c]
push ecx
cmp eax, dword [edi + 8]
je 0x5dbbc5
mov ecx, eax
call fcn.005ff430
add dword [edi + 4], 0x18
jmp 0x5dbbcd
push eax
mov ecx, edi
call fcn.0060bfc0
lea ecx, [ebp - 0xc8]
call fcn.005fcee0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xcc]
cmp ecx, 0x10
jb 0x5dbc16
mov edx, dword [ebp - 0xe0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5dbc0c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5dbcbe
push ecx
push edx
call fcn.00676402
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x98]
cmp ecx, 0x10
jb 0x5dbc50
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5dbc46
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5dbcbe
push ecx
push edx
call fcn.00676402
add esp, 8
mov esi, dword [ebp - 0x40]
push 0x208
lea eax, [ebp - 0x2e8]
push 0
push eax
call fcn.006783e0
add esp, 0xc
lea eax, [ebp - 0x4f0]
push eax
push dword [ebp - 0x24]
sub esp, 8
push dword [ebp - 0x48]
push dword [ebp - 0x44]
jmp 0x5db809
push dword [ebp - 0x24]
call fcn.00676441
mov ecx, dword [ebp - 0x28]
add esp, 4
cmp ecx, 0x10
jb 0x5db7cd
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5db7c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5db7c3
call fcn.0067b6a0
int3