Function at 0x48c810
Capabilities:
Encode data using xor
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b916
mov eax, dword fs:[0]
push eax
sub esp, 0xe10
mov eax, dword [0x564690]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0xe0c], edi
mov dword [ebp - 0xe1c], 0
mov dword [ebp - 4], 0
call fcn.0048ede0
test al, al
jne 0x48c871
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov dword [ebp - 0xe18], 0
mov dword [ebp - 0xe14], 0
mov dword [ebp - 0xe10], 0
mov byte [ebp - 4], 2
call fcn.0048edb0
test al, al
jne 0x48c923
xor eax, eax
mov dword [ebp - 0xe04], eax
lea esi, [ebp - 0xe00]
mov edi, edi
xor ebx, ebx
mov dword [ebp - 0xe08], esi
jmp 0x48c8c0
mov esi, dword [0x565ae0]
lea ecx, [eax + 1]
mov eax, esi
cdq
idiv ecx
mov eax, esi
sub eax, dword [ebp - 0xe04]
lea edi, [ebx + 1]
mov ecx, edx
imul ecx, eax
mov eax, esi
cdq
idiv edi
mov esi, dword [ebp - 0xe08]
add ecx, eax
sub ecx, ebx
push ecx
push 0x516624
call fcn.004e65a9
mov eax, dword [ebp - 0xe04]
mov ebx, edi
add esi, 4
add esp, 8
mov dword [ebp - 0xe08], esi
cmp ebx, 0x1f
jl 0x48c8c0
inc eax
mov dword [ebp - 0xe04], eax
cmp eax, 0x17
jl 0x48c8b0
mov edi, dword [ebp - 0xe0c]
mov esi, dword [ebp + 0xc]
mov ecx, 0x51661c
mov eax, esi
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48c956
test dx, dx
je 0x48c952
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48c956
add eax, 4
add ecx, 4
test dx, dx
jne 0x48c930
xor eax, eax
jmp 0x48c95b
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x48c9c0
add esi, 0xfffffff0
or ebx, 0xffffffff
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 0
lea ecx, [esi + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x48c998
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0x10]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x48c9b9
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
jmp 0x48cbaa
xor edi, edi
call fcn.0048ef10
test al, al
jne 0x48ca60
mov edx, dword [0x565ae0]
xor ebx, ebx
mov ecx, ebx
and ecx, 1
dec ecx
not ecx
and ecx, edx
mov eax, ebx
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edx
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edx
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edx
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
inc ebx
add edx, eax
cmp ebx, 0x100
jl 0x48c9d7
mov dword [0x565ae0], edx
lea ebx, [ebx]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x48ca95
test edi, edi
js 0x48ca95
cmp edi, dword [esi - 0xc]
jg 0x48ca95
push eax
lea eax, [esi + edi*2]
push eax
call fcn.004e5d72
mov esi, dword [ebp + 0xc]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x48ca95
sub ebx, esi
sar ebx, 1
mov dword [ebp - 0xe08], ebx
cmp ebx, 0xffffffff
jne 0x48ca9e
mov ebx, dword [esi - 0xc]
mov dword [ebp - 0xe08], ebx
mov eax, ebx
sub eax, edi
push eax
push edi
lea eax, [ebp - 0xe04]
push eax
lea ecx, [ebp + 0xc]
call fcn.004076d0
mov byte [ebp - 4], 3
call fcn.0048ed50
test al, al
jne 0x48cae0
mov ebx, dword [0x565ae0]
xor ecx, ecx
mov edi, ebx
lea ebx, [ebx]
inc ecx
dec edi
cmp ecx, 0xb3
jb 0x48cad0
mov ebx, dword [ebp - 0xe08]
lea eax, [ebp - 0xe04]
push eax
lea ecx, [ebp - 0xe18]
call fcn.0040c5e0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0xe04]
add edx, 0xfffffff0
cmp ebx, dword [eax - 0xc]
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
jge 0x48cb31
lea edi, [ebx + 1]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jle 0x48cb21
mov esi, dword [ebp + 0xc]
jmp 0x48ca60
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
jmp 0x48ca60
or ebx, 0xffffffff
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48cb47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0xe0c]
mov eax, dword [ebp - 0xe18]
mov edx, dword [ebp + 0xc]
mov dword [esi], eax
mov eax, dword [ebp - 0xe14]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xe10]
add edx, 0xfffffff0
mov dword [esi + 8], eax
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48cb87
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x48cba8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e50b4
mov esp, ebp
pop ebp
ret