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

Disassembly:
push 0xffffffffffffffff
push 0x4d7a6d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x69c
push ebx
push ebp
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [0x507fec]
mov edx, dword [eax + 0xc]
push esi
push edi
mov ecx, 0x507fec
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
push ebx
mov dword [esp + 0x6b8], ebx
call fcn.004a3432
push eax
call fcn.004a1d62
call fcn.004a1d6f
push eax
push 0x4efac8
lea edi, [esp + 0x20]
call fcn.004041b0
add esp, 0x10
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x103
lea ecx, [esp + 0x399]
push ebx
push ecx
mov byte [esp + 0x3a0], bl
call fcn.004a4620
add esp, 0xc
lea eax, [esp + 0x14]
mov ecx, 0x4dca44
call fcn.00419d80
test eax, eax
jne 0x491a25
movzx edx, byte [esp + 0x23]
movzx eax, byte [esp + 0x22]
movzx ecx, byte [esp + 0x21]
push edx
movzx edx, byte [esp + 0x24]
push eax
movzx eax, byte [esp + 0x27]
push ecx
movzx ecx, byte [esp + 0x2a]
push edx
movzx edx, byte [esp + 0x2d]
push eax
movzx eax, byte [esp + 0x30]
push ecx
movzx ecx, word [esp + 0x32]
push edx
movzx edx, word [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
lea ecx, [esp + 0x3c0]
push str._08lX_04X_04x_02X_02X_02X_02X_02X_02X_02X_02X
push ecx
call fcn.004a02f6
add esp, 0x34
lea edx, [esp + 0x84]
mov dword [esp + 0x80], edx
call dword [section..data]
push eax
lea eax, [esp + 0x398]
push eax
lea eax, [esp + 0x88]
call fcn.00403980
mov byte [esp + 0x6b4], 1
mov edx, dword [esp + 0x80]
cmp edx, ebx
jne 0x491a65
xor eax, eax
jmp 0x491a7f
mov eax, edx
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x491a70
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
push ecx
call fcn.004038e0
mov byte [esp + 0x6b4], bl
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x84]
cmp eax, edx
je 0x491aad
push eax
call fcn.0049f15f
add esp, 4
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [0x507fec]
mov eax, dword [edx + 0xc]
mov ecx, 0x507fec
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x6b4], 2
movzx ecx, word [esp + 0x3a]
movzx edx, word [esp + 0x44]
movzx eax, word [esp + 0x40]
push ecx
movzx ecx, word [esp + 0x3c]
push edx
movzx edx, word [esp + 0x46]
push eax
movzx eax, word [esp + 0x4e]
push ecx
movzx ecx, word [esp + 0x56]
push edx
push eax
push ecx
push str._03d_02d_02d_04d_02d_02d_02d
lea edi, [esp + 0x48]
call fcn.00404190
mov ebp, dword [esp + 0x48]
mov eax, dword [ebp - 0xc]
add esp, 0x20
push eax
push ebp
lea edx, [esp + 0x18]
push edx
call fcn.004038e0
push 0x103
lea eax, [esp + 0x189]
push ebx
push eax
mov byte [esp + 0x190], bl
call fcn.004a4620
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x188]
push edx
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [esp + 0x184]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x491b67
sub eax, edx
lea ecx, [esp + 0x184]
lea esi, [esp + 0x48]
call fcn.00413b00
mov byte [esp + 0x6b4], 3
cmp dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x4c]
jae 0x491b99
lea eax, [esp + 0x4c]
push ebx
lea ecx, [esp + 0x88]
push eax
lea eax, [esp + 0x88]
mov dword [esp + 0x88], ecx
call fcn.00403980
mov byte [esp + 0x6b4], 4
mov edx, dword [esp + 0x80]
cmp edx, ebx
jne 0x491bcc
xor eax, eax
jmp 0x491be0
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x491bd1
sub eax, esi
sar eax, 1
push eax
push edx
lea edx, [esp + 0x18]
push edx
call fcn.004038e0
mov byte [esp + 0x6b4], 3
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x84]
cmp eax, ecx
je 0x491c0f
push eax
call fcn.0049f15f
add esp, 4
push 0x206
lea edx, [esp + 0x4a2]
push ebx
push edx
mov word [esp + 0x4a8], bx
call fcn.004a4620
add esp, 0xc
push 0x104
lea eax, [esp + 0x4a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0x2c]
push ecx
push ebx
push ebx
lea edx, [esp + 0x4a8]
push edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [esp + 0x2c]
push eax
push str._010lu
lea edi, [esp + 0x18]
call fcn.004041b0
push 0x103
lea ecx, [esp + 0x299]
push ebx
push ecx
mov byte [esp + 0x2a0], bl
call fcn.004a4620
lea edx, [esp + 0x98]
add esp, 0x14
mov dword [esp + 0x80], edx
call dword [section..data]
mov edi, dword [esp + 0x10]
push eax
push edi
lea eax, [esp + 0x88]
call fcn.00403a30
mov eax, dword [esp + 0x80]
push eax
lea ecx, [esp + 0x290]
push 0x104
push ecx
call fcn.004a431e
mov eax, dword [esp + 0x8c]
lea edx, [esp + 0x90]
add esp, 0xc
cmp eax, edx
je 0x491ceb
push eax
call fcn.0049f15f
add esp, 4
lea eax, [esp + 0x28c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x491cf5
sub eax, edx
lea ecx, [esp + 0x28c]
lea esi, [esp + 0x64]
call fcn.00413b00
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x6c0], 5
call fcn.00407310
mov esi, 0x10
mov byte [esp + 0x6b4], 3
cmp dword [esp + 0x7c], esi
jb 0x491d45
mov eax, dword [esp + 0x68]
push eax
call fcn.0049f15f
add esp, 4
cmp dword [esp + 0x60], esi
mov esi, dword [esp + 0x4c]
jae 0x491d53
lea esi, [esp + 0x4c]
lea ecx, [esp + 0x84]
mov dword [esp + 0x80], ecx
call dword [section..data]
push eax
push esi
lea eax, [esp + 0x88]
call fcn.00403980
mov esi, dword [esp + 0x6bc]
mov byte [esp + 0x6b4], 6
mov ecx, dword [esp + 0x80]
push esi
call fcn.004034e0
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x84]
cmp eax, edx
je 0x491dac
push eax
call fcn.0049f15f
add esp, 4
cmp dword [esp + 0x60], 0x10
jb 0x491dc0
mov eax, dword [esp + 0x4c]
push eax
call fcn.0049f15f
add esp, 4
lea eax, [ebp - 0x10]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov byte [esp + 0x6b4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x491df3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x6b4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x491e1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x6ac]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6a8
ret 4