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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082fa7
mov eax, dword fs:[0]
push eax
sub esp, 0x694
mov eax, dword [0x100a7070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x688], eax
call fcn.100138c0
mov ecx, eax
test ecx, ecx
jne 0x1003082b
push 0x80004005
call fcn.100142e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, 0x10097a44
jne 0x10030840
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x10030842
call edx
add eax, 0x10
mov dword [ebp - 0x674], eax
push 0
mov dword [ebp - 4], 0
call fcn.1006b0f6
push eax
call fcn.1006b065
call fcn.1006b044
push eax
lea eax, [ebp - 0x674]
push str._05ld
push eax
call fcn.1002e260
add esp, 0x14
lea eax, [ebp - 0x554]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x104
lea eax, [ebp - 0x33c]
push 0
push eax
call fcn.1005d9b0
add esp, 0xc
lea edx, [ebp - 0x554]
mov ecx, 0x10086650
mov esi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100308c3
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100308b0
jmp 0x1003092d
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.100314e0
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.10019190
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x668]
test edx, edx
jne 0x1003095f
xor ecx, ecx
jmp 0x10030973
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10030964
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x674]
call fcn.10018fe0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x664]
mov eax, dword [ebp - 0x668]
cmp eax, ecx
je 0x1003099d
push eax
call fcn.100637f8
add esp, 4
lea eax, [ebp - 0x564]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.100138c0
mov ecx, eax
test ecx, ecx
jne 0x100309bf
push 0x80004005
call fcn.100142e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, 0x10097a44
jne 0x100309d4
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x100309d6
call edx
add eax, 0x10
mov dword [ebp - 0x67c], eax
mov byte [ebp - 4], 2
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 - 0x67c]
push str._03d_02d_02d_04d_02d_02d_02d
push eax
call fcn.10019da0
mov edi, dword [ebp - 0x67c]
lea ecx, [ebp - 0x674]
add esp, 0x24
push dword [edi - 0xc]
push edi
call fcn.10018fe0
push 0x104
lea eax, [ebp - 0x134]
push 0
push eax
call fcn.1005d9b0
add esp, 0xc
mov dword [ebp - 0x698], 0x104
lea eax, [ebp - 0x698]
push eax
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
xorps xmm0, xmm0
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x134]
movq qword [ebp - 0x1f], xmm0
movups xmmword [ebp - 0x2f], xmm0
mov dword [ebp - 0x17], 0
lea edx, [ecx + 1]
mov word [ebp - 0x13], 0
mov byte [ebp - 0x11], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030aa2
sub ecx, edx
lea edx, [ebp - 0x134]
push ecx
lea ecx, [ebp - 0x30]
call fcn.100395d0
add esp, 4
call fcn.100138c0
mov ecx, eax
test ecx, ecx
jne 0x10030ad2
push 0x80004005
call fcn.100142e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, 0x10097a44
jne 0x10030ae7
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x10030ae9
call edx
add eax, 0x10
mov dword [ebp - 0x678], eax
mov byte [ebp - 4], 3
xor esi, esi
nop dword [eax + eax]
movzx eax, byte [ebp + esi - 0x30]
push eax
lea eax, [ebp - 0x678]
push str._02x
push eax
call fcn.1002e260
inc esi
add esp, 0xc
cmp esi, 0x10
jl 0x10030b00
mov eax, dword [ebp - 0x678]
lea ecx, [ebp - 0x674]
push dword [eax - 0xc]
push eax
call fcn.10018fe0
push 0x208
lea eax, [ebp - 0x544]
push 0
push eax
call fcn.1005d9b0
add esp, 0xc
lea eax, [ebp - 0x544]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x6a0]
mov dword [ebp - 0x6a0], 0
push eax
push 0
push 0
lea eax, [ebp - 0x544]
mov dword [ebp - 0x69c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push dword [ebp - 0x6a0]
lea eax, [ebp - 0x674]
push str._010lu
push eax
call fcn.1002e260
push 0x104
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.1005d9b0
mov esi, dword [ebp - 0x674]
lea eax, [ebp - 0x5e4]
add esp, 0x18
mov dword [ebp - 0x5e8], eax
lea ecx, [ebp - 0x5e8]
push 3
push esi
call fcn.100190b0
push dword [ebp - 0x5e8]
lea eax, [ebp - 0x238]
push 0x104
push eax
call fcn.1006b311
mov eax, dword [ebp - 0x5e8]
lea ecx, [ebp - 0x5e4]
add esp, 0xc
cmp eax, ecx
je 0x10030c09
push eax
call fcn.100637f8
add esp, 4
lea ecx, [ebp - 0x238]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030c12
sub ecx, edx
lea edx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x30]
call fcn.100395d0
add esp, 4
lea ecx, [ebp - 0x678]
call fcn.10018c50
xor edi, edi
nop word [eax + eax]
movzx eax, byte [ebp + edi - 0x30]
push eax
lea eax, [ebp - 0x678]
push str._02x
push eax
call fcn.1002e260
inc edi
add esp, 0xc
cmp edi, 0x10
jl 0x10030c40
push str.cjchnwscqwsbsy
lea ecx, [ebp - 0x694]
call fcn.10018a60
mov byte [ebp - 4], 4
xor edx, edx
mov ecx, dword [ebp - 0x694]
mov eax, 0x18aed
mov edi, dword [ebp - 0x67c]
mov dword [ebp - 0x66c], eax
cmp dword [ecx - 0xc], edx
jle 0x10030cec
test edx, edx
js 0x10030df8
cmp edx, dword [ecx - 0xc]
jg 0x10030df8
movzx eax, word [ecx + edx*2]
inc edx
mov dword [ebp - 0x68c], eax
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x670], edx
cdq
idiv dword [ebp - 0x670]
mov edi, dword [ebp - 0x68c]
movzx edx, di
mov edi, dword [ebp - 0x67c]
add edx, 0x11
add edx, dword [ebp - 0x66c]
add eax, edx
mov edx, dword [ebp - 0x670]
mov dword [ebp - 0x66c], eax
cmp edx, dword [ecx - 0xc]
jl 0x10030c92
push eax
call fcn.1006b065
add esp, 4
call fcn.1006b044
cdq
mov ecx, 0x2710
idiv ecx
mov eax, dword [ebp - 0x678]
mov dword [ebp - 0x66c], edx
xor edx, edx
test edx, edx
js 0x10030df8
cmp edx, dword [eax - 0xc]
jg 0x10030df8
movzx ecx, word [eax + edx*2]
inc edx
add dword [ebp - 0x66c], ecx
cmp edx, 0x20
jl 0x10030d10
mov ecx, dword [ebp - 0x66c]
mov eax, 0x68db8bad
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x2710
sub ecx, eax
lea eax, [ebp - 0x678]
push ecx
push str._04x
push eax
call fcn.1002e260
mov ecx, dword [ebp - 0x688]
add esp, 0xc
mov eax, dword [ebp - 0x678]
mov ecx, dword [ecx]
lea edx, [eax - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x66c], edx
mov dword [ebp - 0x68c], ecx
cmp edx, ecx
je 0x10030f99
add ecx, 0xc
mov dword [ebp - 0x680], ecx
cmp dword [ecx], 0
jl 0x10030f8a
mov edi, dword [ebp - 0x68c]
mov ecx, dword [edx]
mov dword [ebp - 0x690], ecx
cmp ecx, dword [edi]
mov edi, dword [ebp - 0x67c]
jne 0x10030f8a
mov eax, dword [ecx]
mov edi, dword [eax + 0x10]
cmp eax, 0x10097a44
je 0x10030dd7
call edi
mov edx, dword [ebp - 0x66c]
mov ecx, eax
mov dword [ebp - 0x690], eax
cmp dword [edx + 0xc], 0
lea eax, [edx + 0xc]
mov edi, dword [ebp - 0x67c]
jl 0x10030e02
cmp ecx, dword [edx]
jne 0x10030e02
mov dword [ebp - 0x670], edx
lock inc dword [eax]
jmp 0x10030f1b
push 0x80070057
call fcn.100142e0
mov eax, dword [edx + 4]
mov dword [ebp - 0x684], eax
mov eax, dword [ecx]
mov esi, dword [eax]
mov dword [ebp - 0x670], esi
mov esi, dword [ebp - 0x674]
cmp eax, 0x10097a44
jne 0x10030ec9
mov eax, dword [edx + 4]
not eax
shr eax, 0x1f
test eax, eax
jne 0x10030e39
xor ecx, ecx
jmp 0x10030edf
mov eax, bind
sub eax, dword [edx + 4]
cmp eax, 1
jl 0x10030e32
mov eax, dword [edx + 4]
inc eax
lea esi, [eax + 7]
and esi, 0xfffffff8
mov dword [ebp - 0x684], esi
cmp eax, esi
mov esi, dword [ebp - 0x674]
jle 0x10030e64
xor ecx, ecx
jmp 0x10030edf
mov eax, 2
mul dword [ebp - 0x684]
test edx, edx
ja 0x10030ec5
jb 0x10030e7a
cmp eax, 0xffffffff
ja 0x10030ec5
cmp eax, 0xffffffef
ja 0x10030ec5
mov ecx, dword [ecx + 4]
add eax, 0x10
push eax
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, dword [ebp - 0x66c]
mov ecx, eax
mov dword [ebp - 0x670], ecx
test ecx, ecx
je 0x10030edf
mov eax, dword [ebp - 0x690]
mov dword [ecx], eax
mov eax, dword [ebp - 0x684]
dec eax
mov dword [ecx + 0xc], 1
mov dword [ecx + 8], eax
mov dword [ecx + 4], 0
jmp 0x10030ee5
xor ecx, ecx
jmp 0x10030ed9
push 2
push dword [ebp - 0x684]
call dword [ebp - 0x670]
mov ecx, eax
mov edx, dword [ebp - 0x66c]
mov dword [ebp - 0x670], ecx
test ecx, ecx
jne 0x10030eee
call fcn.10019b90
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
add ecx, 0x10
mov edx, dword [edx + 4]
lea eax, [edx*2 + 2]
push eax
mov eax, dword [ebp - 0x66c]
lea edx, [edx*2 + 2]
add eax, 0x10
push eax
call fcn.100141f0
add esp, 8
mov ecx, dword [ebp - 0x680]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10030f77
mov ecx, dword [ebp - 0x68c]
push ecx
mov edx, dword [ecx]
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x680], esi
mov esi, dword [ebp - 0x674]
cmp eax, 0x10097a44
jne 0x10030f6f
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x688]
mov eax, dword [ebp - 0x670]
add eax, 0x10
mov dword [ecx], eax
jmp 0x10030f99
mov ecx, edx
call dword [ebp - 0x680]
mov ecx, dword [ebp - 0x688]
mov eax, dword [ebp - 0x670]
add eax, 0x10
mov dword [ecx], eax
jmp 0x10030f99
push dword [eax - 0xc]
mov ecx, dword [ebp - 0x688]
push eax
call fcn.10019610
push dword [ebp - 0x688]
call fcn.100311e0
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov ecx, dword [ebp - 0x694]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x10030ff1
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x680], edi
mov edi, dword [ebp - 0x67c]
cmp eax, 0x10097a44
jne 0x10030fe9
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10030ff1
mov ecx, edx
call dword [ebp - 0x680]
mov ecx, dword [ebp - 0x66c]
or eax, 0xffffffff
mov byte [ebp - 4], 2
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003103b
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x680], esi
mov esi, dword [ebp - 0x674]
cmp eax, 0x10097a44
jne 0x10031033
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1003103b
mov ecx, edx
call dword [ebp - 0x680]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10031072
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, 0x10097a44
jne 0x10031070
mov eax, dword [ecx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [eax + 4]
call edi
jmp 0x10031078
call edx
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100310ac
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, 0x10097a44
jne 0x100310aa
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call edi
jmp 0x100310ac
call edx
mov eax, 1
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.1004450b
mov esp, ebp
pop ebp
ret 4