Function at 0x4b5650
Capabilities:
Get common file path
Get disk size
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4ec3
mov eax, dword fs:[0]
push eax
sub esp, 0x680
mov eax, dword [0x52de80]
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 ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x674], ebx
mov dword [ebp - 0x68c], ebx
mov dword [ebp - 0x688], 0
call fcn.00420e4a
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x4b56ba
push 0x80004005
call fcn.0042045c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x66c], eax
push 0
mov dword [ebp - 4], 1
call fcn.004bfca3
push eax
call fcn.004c6ca1
call fcn.004c6c80
push eax
lea eax, [ebp - 0x66c]
push str._05ld
push eax
call fcn.0043b0b8
add esp, 0x14
lea eax, [ebp - 0x554]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x103
lea eax, [ebp - 0x33b]
mov byte [ebp - 0x33c], 0
push 0
push eax
call fcn.004bf4f0
add esp, 0xc
lea edx, [ebp - 0x554]
mov ecx, 0x5018cc
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4b5743
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4b5730
jmp 0x4b57ad
movzx eax, byte [ebp - 0x545]
push eax
movzx eax, byte [ebp - 0x546]
push eax
movzx eax, byte [ebp - 0x547]
push eax
movzx eax, byte [ebp - 0x548]
push eax
movzx eax, byte [ebp - 0x549]
push eax
movzx eax, byte [ebp - 0x54a]
push eax
movzx eax, byte [ebp - 0x54b]
push eax
movzx eax, byte [ebp - 0x54c]
push eax
movzx eax, word [ebp - 0x54e]
push eax
movzx eax, word [ebp - 0x550]
push eax
push dword [ebp - 0x554]
lea eax, [ebp - 0x33c]
push str._08lX_04X_04x_02X_02X_02X_02X_02X_02X_02X_02X
push eax
call fcn.004c052b
add esp, 0x34
lea eax, [ebp - 0x664]
mov dword [ebp - 0x668], eax
lea ecx, [ebp - 0x668]
push 3
lea eax, [ebp - 0x33c]
push eax
call fcn.0042a8aa
mov edx, dword [ebp - 0x668]
mov byte [ebp - 4], 2
test edx, edx
jne 0x4b57df
xor ecx, ecx
jmp 0x4b57f3
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b57e4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x66c]
call fcn.0043ae55
mov eax, dword [ebp - 0x668]
lea ecx, [ebp - 0x664]
mov byte [ebp - 4], 1
cmp eax, ecx
je 0x4b581d
push eax
call fcn.004bbf10
add esp, 4
lea eax, [ebp - 0x564]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.00420e4a
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x4b5846
push 0x80004005
call fcn.0042045c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x670], eax
movzx eax, word [ebp - 0x562]
push eax
movzx eax, word [ebp - 0x558]
push eax
movzx eax, word [ebp - 0x55c]
push eax
movzx eax, word [ebp - 0x564]
push eax
movzx eax, word [ebp - 0x55e]
push eax
movzx eax, word [ebp - 0x55a]
push eax
movzx eax, word [ebp - 0x556]
push eax
lea eax, [ebp - 0x670]
mov byte [ebp - 4], 3
push str._03d_02d_02d_04d_02d_02d_02d
push eax
call fcn.0042443a
mov edi, dword [ebp - 0x670]
lea ecx, [ebp - 0x66c]
add esp, 0x24
push dword [edi - 0xc]
push edi
call fcn.0043ae55
push 0x103
lea eax, [ebp - 0x237]
mov byte [ebp - 0x238], 0
push 0
push eax
call fcn.004bf4f0
add esp, 0xc
mov dword [ebp - 0x684], 0x104
lea eax, [ebp - 0x684]
push eax
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
xor eax, eax
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
lea edx, [ecx + 1]
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b5920
sub ecx, edx
lea eax, [ebp - 0x238]
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0041fb78
add esp, 0xc
call fcn.00420e4a
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x4b5959
push 0x80004005
call fcn.0042045c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov dword [ebp - 0x688], 1
xor esi, esi
nop
movzx eax, byte [ebp + esi - 0x30]
push eax
push 0x4f7cf4
push ebx
call fcn.0043b0b8
inc esi
add esp, 0xc
cmp esi, 0x10
jl 0x4b5970
mov eax, dword [ebx]
lea ecx, [ebp - 0x66c]
push dword [eax - 0xc]
push eax
call fcn.0043ae55
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x544], ax
lea eax, [ebp - 0x542]
push eax
call fcn.004bf4f0
add esp, 0xc
lea eax, [ebp - 0x544]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x67c]
mov dword [ebp - 0x67c], 0
push eax
push 0
push 0
lea eax, [ebp - 0x544]
mov dword [ebp - 0x678], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push dword [ebp - 0x67c]
lea eax, [ebp - 0x66c]
push str._010lu
push eax
call fcn.0043b0b8
push 0x103
lea eax, [ebp - 0x133]
mov byte [ebp - 0x134], 0
push 0
push eax
call fcn.004bf4f0
mov esi, dword [ebp - 0x66c]
lea eax, [ebp - 0x5e4]
add esp, 0x18
mov dword [ebp - 0x5e8], eax
lea ecx, [ebp - 0x5e8]
push 3
push esi
call fcn.0042404e
push dword [ebp - 0x5e8]
lea eax, [ebp - 0x134]
push 0x104
push eax
call fcn.004c6d3d
mov eax, dword [ebp - 0x5e8]
lea ecx, [ebp - 0x5e4]
add esp, 0xc
cmp eax, ecx
je 0x4b5a7e
push eax
call fcn.004bbf10
add esp, 4
lea ecx, [ebp - 0x134]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b5a87
sub ecx, edx
lea eax, [ebp - 0x134]
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0041fb78
mov eax, dword [ebx]
add esp, 0xc
cmp dword [eax - 0xc], 0
lea edx, [eax - 0x10]
mov ecx, dword [edx]
mov dword [ebp - 0x680], ecx
je 0x4b5b04
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x4b5ae0
cmp dword [eax - 8], 0
jge 0x4b5ad0
push 0x80070057
call fcn.0042045c
mov dword [eax - 0xc], 0
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax], cx
jmp 0x4b5b04
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4b5af4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x680]
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov esi, dword [ebp - 0x674]
xor ebx, ebx
lea esp, [esp]
movzx eax, byte [ebp + ebx - 0x30]
push eax
push 0x4f7cf4
push esi
call fcn.0043b0b8
inc ebx
add esp, 0xc
cmp ebx, 0x10
jl 0x4b5b10
add edi, 0xfffffff0
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov ecx, ebx
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
mov esi, dword [ebp - 0x66c]
test ecx, ecx
jg 0x4b5b50
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4b5b6b
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x674]
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.004bc45f
mov esp, ebp
pop ebp
ret