Function at 0x4fc9e0
Capabilities:
Create process on windows
Get common file path
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574bc7
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x2ec], ecx
mov edi, dword [ebp + 8]
xor al, al
mov byte [ebp - 0x2de], al
xor ebx, ebx
push 0x208
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x2e4], ebx
push eax
mov byte [ebp - 0x2df], bl
mov byte [ebp - 0x2dd], bl
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp - 0x2b4], ebx
mov dword [ebp - 0x2b0], ebx
mov dword [ebp - 0x2b0], 7
mov dword [ebp - 0x2b4], ebx
mov word [ebp - 0x2c4], ax
mov dword [ebp - 4], eax
cmp word [ebp - 0x21c], ax
jne 0x4fca7c
xor ecx, ecx
jmp 0x4fca94
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fca85
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x2c4]
call fcn.00404d30
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x298], 7
mov dword [ebp - 0x29c], 0
mov word [ebp - 0x2ac], ax
mov byte [ebp - 4], 3
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x280], 7
mov dword [ebp - 0x284], eax
mov word [ebp - 0x294], ax
mov byte [ebp - 4], 5
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], eax
mov word [ebp - 0x234], ax
mov byte [ebp - 4], 7
cmp byte [ebp + 0x10], al
je 0x4fcb4f
call fcn.004132d0
movss xmm1, dword [0x5dd468]
comiss xmm1, xmm0
seta al
mov byte [ebp - 0x2de], al
mov eax, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test esi, esi
je 0x4fcbe3
lea ecx, [ebp - 0x2fc]
push ecx
lea ecx, [ebp - 0x304]
push ecx
lea ecx, [ebp - 0x2f4]
push ecx
push esi
call eax
test eax, eax
je 0x4fcb9e
mov ecx, dword [ebp - 0x2f4]
mov edx, dword [ebp - 0x2f0]
shrd ecx, edx, 0x14
shr edx, 0x14
call fcn.005130e0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x5dd454]
jmp 0x4fcba1
xorps xmm0, xmm0
movss xmm1, dword [0x5dd468]
comiss xmm1, xmm0
seta byte [ebp - 0x2df]
cmp word [esi], 0
jne 0x4fcbbd
xor ecx, ecx
jmp 0x4fcbd1
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fcbc2
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2ac]
call fcn.00404d30
mov eax, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test edi, edi
je 0x4fcc7c
cmp byte [ebp + 0xc], 0
je 0x4fcc7c
lea ecx, [ebp - 0x304]
push ecx
lea ecx, [ebp - 0x2fc]
push ecx
lea ecx, [ebp - 0x2f4]
push ecx
push edi
call eax
test eax, eax
je 0x4fcc37
mov ecx, dword [ebp - 0x2f4]
mov edx, dword [ebp - 0x2f0]
shrd ecx, edx, 0x14
shr edx, 0x14
call fcn.005130e0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x5dd454]
jmp 0x4fcc3a
xorps xmm0, xmm0
movss xmm1, dword [0x5dd468]
comiss xmm1, xmm0
seta byte [ebp - 0x2dd]
cmp word [edi], 0
jne 0x4fcc56
xor ecx, ecx
jmp 0x4fcc6f
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fcc60
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x294]
call fcn.00404d30
mov al, byte [ebp - 0x2de]
test al, al
je 0x4fcea7
push 0
push 0
mov edx, str.STR_DRV_UPDATE_PROMPT_CONTENT
lea ecx, [ebp - 0x264]
call fcn.0044b7f0
add esp, 8
mov ecx, eax
mov byte [ebp - 4], 8
cmp dword [ecx + 0x14], 8
jb 0x4fccaf
mov ecx, dword [ecx]
movzx eax, word [ebp - 0x21c]
push eax
push ecx
lea eax, [ebp - 0x234]
push eax
call fcn.0040d480
add esp, 0xc
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x250]
cmp eax, 8
jb 0x4fcce9
inc eax
lea ecx, [ebp - 0x264]
push eax
push dword [ebp - 0x264]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x250], 7
push eax
push eax
mov edx, 0x5d51bc
mov dword [ebp - 0x254], 0
lea ecx, [ebp - 0x24c]
mov word [ebp - 0x264], ax
call fcn.0044b7f0
mov edi, eax
mov byte [ebp - 4], 0xa
mov edx, 0x5d51f8
push 0
push 0
lea ecx, [ebp - 0x27c]
call fcn.0044b7f0
mov esi, eax
mov byte [ebp - 4], 0xb
mov edx, 0x5d5244
push 0
push 0
lea ecx, [ebp - 0x264]
call fcn.0044b7f0
add esp, 0x18
mov byte [ebp - 4], 0xc
cmp dword [edi + 0x14], 8
jb 0x4fcd5b
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x4fcd63
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x4fcd6b
mov eax, dword [eax]
cmp dword [ebp - 0x220], 8
lea edx, [ebp - 0x234]
mov ecx, dword [ebp - 0x2ec]
cmovae edx, dword [ebp - 0x234]
sub esp, 8
push edi
push esi
push eax
call fcn.004fd670
add esp, 0x14
mov esi, eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x250]
cmp ecx, 8
jb 0x4fcdb7
inc ecx
push ecx
push dword [ebp - 0x264]
lea ecx, [ebp - 0x264]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x250], 7
mov dword [ebp - 0x254], 0
mov word [ebp - 0x264], ax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x268]
cmp eax, 8
jb 0x4fcdf6
inc eax
lea ecx, [ebp - 0x27c]
push eax
push dword [ebp - 0x27c]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], 0
mov word [ebp - 0x27c], ax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x238]
cmp eax, 8
jb 0x4fce35
inc eax
lea ecx, [ebp - 0x24c]
push eax
push dword [ebp - 0x24c]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
cmp esi, 1
jne 0x4fcea1
push 2
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x2c4]
call fcn.0040cee0
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 8
jb 0x4fce77
mov eax, dword [eax]
push 1
push 0
push 0
push eax
push 0x5d5238
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24c]
call fcn.00409540
mov bl, 1
jmp 0x4fd3f1
mov al, byte [ebp - 0x2de]
cmp byte [ebp - 0x2df], 0
je 0x4fcf36
test al, al
je 0x4fcf2d
push 2
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.0040cee0
mov esi, eax
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x24c]
push 2
push eax
lea ecx, [ebp - 0x2c4]
mov dword [ebp - 0x2e4], 1
call fcn.0040cee0
mov dword [ebp - 4], 0x12
mov ebx, 3
mov dword [ebp - 0x2e4], ebx
cmp dword [esi + 0x14], 8
jb 0x4fcf0c
mov edx, dword [esi]
jmp 0x4fcf0e
mov edx, esi
cmp dword [eax + 0x14], 8
jb 0x4fcf18
mov ecx, dword [eax]
jmp 0x4fcf1a
mov ecx, eax
push dword [esi + 0x10]
push edx
mov edx, dword [eax + 0x10]
call fcn.0040d870
add esp, 8
test eax, eax
je 0x4fcf36
mov byte [ebp - 0x2e5], 1
jmp 0x4fcf3d
mov byte [ebp - 0x2e5], 0
mov dword [ebp - 4], 0x11
test bl, 2
je 0x4fcf5d
and ebx, 0xfffffffd
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x2e4], ebx
call fcn.00409540
mov dword [ebp - 4], 7
test bl, 1
je 0x4fcf7d
and ebx, 0xfffffffe
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x2e4], ebx
call fcn.00409540
cmp byte [ebp - 0x2e5], 0
je 0x4fd10b
push 1
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.0040cee0
mov esi, eax
mov byte [ebp - 4], 0x13
mov edx, str.STR_DOWNLOAD_FREESPACE_NOTENOUGH
push 0
push 0
lea ecx, [ebp - 0x24c]
call fcn.0044b7f0
add esp, 8
mov byte [ebp - 4], 0x14
cmp dword [esi + 0x14], 8
jb 0x4fcfc7
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x4fcfcf
mov eax, dword [eax]
push esi
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040d480
add esp, 0xc
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x24c]
call fcn.00409540
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x27c]
call fcn.00409540
push 0
push 0
mov edx, 0x5d5270
lea ecx, [ebp - 0x264]
call fcn.0044b7f0
mov edi, eax
mov byte [ebp - 4], 0x15
mov edx, 0x5d5328
push 0
push 0
lea ecx, [ebp - 0x27c]
call fcn.0044b7f0
mov esi, eax
mov byte [ebp - 4], 0x16
mov edx, 0x5d52ac
push 0
push 0
lea ecx, [ebp - 0x24c]
call fcn.0044b7f0
add esp, 0x18
mov byte [ebp - 4], 0x17
cmp dword [edi + 0x14], 8
jb 0x4fd055
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x4fd05d
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x4fd065
mov eax, dword [eax]
cmp dword [ebp - 0x220], 8
lea edx, [ebp - 0x234]
mov ecx, dword [ebp - 0x2ec]
cmovae edx, dword [ebp - 0x234]
sub esp, 8
push edi
push esi
push eax
call fcn.004fd670
add esp, 0x14
mov esi, eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x24c]
call fcn.00409540
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x27c]
call fcn.00409540
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x264]
call fcn.00409540
cmp esi, 1
jne 0x4fd10b
push 2
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.0040cee0
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x14], 8
jb 0x4fd0e1
mov eax, dword [eax]
push 1
push 0
push 0
push eax
push 0x5d531c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24c]
call fcn.00409540
mov bl, 1
jmp 0x4fd3f1
cmp byte [ebp - 0x2dd], 0
je 0x4fd1dd
mov al, byte [ebp - 0x2de]
test al, al
je 0x4fd175
push 2
lea eax, [ebp - 0x2dc]
push eax
lea ecx, [ebp - 0x294]
call fcn.0040cee0
mov esi, eax
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x264]
push 2
or ebx, 4
lea ecx, [ebp - 0x2c4]
push eax
mov dword [ebp - 0x2e4], ebx
call fcn.0040cee0
mov dword [ebp - 4], 0x1a
or ebx, 8
push esi
mov ecx, eax
mov dword [ebp - 0x2e4], ebx
call fcn.0040ca70
test al, al
jne 0x4fd1dd
cmp byte [ebp - 0x2df], 0
je 0x4fd1d4
push 2
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x294]
call fcn.0040cee0
mov esi, eax
mov dword [ebp - 4], 0x1b
lea eax, [ebp - 0x24c]
push 2
or ebx, 0x10
lea ecx, [ebp - 0x2ac]
push eax
mov dword [ebp - 0x2e4], ebx
call fcn.0040cee0
mov dword [ebp - 4], 0x1c
or ebx, 0x20
push esi
mov ecx, eax
mov dword [ebp - 0x2e4], ebx
call fcn.0040ca70
test al, al
jne 0x4fd1dd
mov byte [ebp - 0x2dd], 1
jmp 0x4fd1e4
mov byte [ebp - 0x2dd], 0
mov dword [ebp - 4], 0x1b
test bl, 0x20
je 0x4fd204
and ebx, 0xffffffdf
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x2e4], ebx
call fcn.00409540
mov dword [ebp - 4], 0x1a
test bl, 0x10
je 0x4fd224
and ebx, 0xffffffef
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x2e4], ebx
call fcn.00409540
mov dword [ebp - 4], 0x19
test bl, 8
je 0x4fd244
and ebx, 0xfffffff7
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x2e4], ebx
call fcn.00409540
mov dword [ebp - 4], 7
test bl, 4
je 0x4fd264
and ebx, 0xfffffffb
lea ecx, [ebp - 0x2dc]
mov dword [ebp - 0x2e4], ebx
call fcn.00409540
cmp byte [ebp - 0x2dd], 0
je 0x4fd3ef
push 1
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x294]
call fcn.0040cee0
mov esi, eax
mov byte [ebp - 4], 0x1d
mov edx, str.STR_BACKUP_FREESPACE_NOTENOUGH
push 0
push 0
lea ecx, [ebp - 0x2dc]
call fcn.0044b7f0
add esp, 8
mov byte [ebp - 4], 0x1e
cmp dword [esi + 0x14], 8
jb 0x4fd2ae
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x4fd2b6
mov eax, dword [eax]
push esi
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040d480
add esp, 0xc
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x2dc]
call fcn.00409540
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24c]
call fcn.00409540
push 0
push 0
mov edx, str.STR_DRV_UPDATE_PROMPT_IGNORE
lea ecx, [ebp - 0x27c]
call fcn.0044b7f0
mov edi, eax
mov byte [ebp - 4], 0x1f
mov edx, str.STR_DRV_UPDATE_PROMPT_OPENCLEAN
push 0
push 0
lea ecx, [ebp - 0x24c]
call fcn.0044b7f0
mov esi, eax
mov byte [ebp - 4], 0x20
mov edx, 0x5d5430
push 0
push 0
lea ecx, [ebp - 0x2dc]
call fcn.0044b7f0
add esp, 0x18
mov byte [ebp - 4], 0x21
cmp dword [edi + 0x14], 8
jb 0x4fd33c
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x4fd344
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x4fd34c
mov eax, dword [eax]
cmp dword [ebp - 0x220], 8
lea edx, [ebp - 0x234]
mov ecx, dword [ebp - 0x2ec]
cmovae edx, dword [ebp - 0x234]
sub esp, 8
push edi
push esi
push eax
call fcn.004fd670
add esp, 0x14
mov esi, eax
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x2dc]
call fcn.00409540
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x24c]
call fcn.00409540
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x27c]
call fcn.00409540
cmp esi, 1
jne 0x4fd3ef
push 2
lea eax, [ebp - 0x2dc]
push eax
lea ecx, [ebp - 0x294]
call fcn.0040cee0
mov byte [ebp - 4], 0x22
cmp dword [eax + 0x14], 8
jb 0x4fd3c8
mov eax, dword [eax]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2dc]
call fcn.00409540
mov bl, 1
jmp 0x4fd3f1
xor bl, bl
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x4fd413
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x280]
cmp eax, 8
jb 0x4fd452
inc eax
lea ecx, [ebp - 0x294]
push eax
push dword [ebp - 0x294]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x280], 7
mov dword [ebp - 0x284], 0
mov word [ebp - 0x294], ax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x298]
cmp eax, 8
jb 0x4fd491
inc eax
lea ecx, [ebp - 0x2ac]
push eax
push dword [ebp - 0x2ac]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x298], 7
mov dword [ebp - 0x29c], 0
mov word [ebp - 0x2ac], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2b0]
cmp eax, 8
jb 0x4fd4d3
inc eax
lea ecx, [ebp - 0x2c4]
push eax
push dword [ebp - 0x2c4]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x2b0], 7
mov word [ebp - 0x2c4], ax
mov al, bl
mov dword [ebp - 0x2b4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret