Function at 0x444ad0
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f54c
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4b5200]
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, ecx
mov dword [ebp - 0x28], edi
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0x1a
push 0x13c
movlpd qword [ebp - 0x18], xmm0
call fcn.0046b90c
add esp, 4
mov dword [ebp - 0x20], eax
push 0x401730
push 0x401500
push 0x1a
lea ebx, [eax + 4]
mov dword [ebp - 4], 0
push 0xc
push ebx
mov dword [eax], 0x1a
mov dword [ebp - 0x30], ebx
call fcn.0046b941
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0x1a
push ecx
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.00420d30
xorps xmm0, xmm0
mov dword [ebp - 0x50], eax
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 2
push 0x20a
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
call fcn.0046b90c
add esp, 4
mov esi, eax
xor eax, eax
mov dword [ebp - 0x48], esi
push esi
push eax
push eax
push 0x24
mov word [esi + 0x208], ax
push eax
mov word [esi], ax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
sete byte [ebp - 0x40]
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x50], ebx
jle 0x445307
mov ecx, dword [ebp - 0x30]
lea eax, [ebx + ebx*2]
cmp dword [ecx + eax*4], 0
lea esi, [ecx + eax*4]
jne 0x444be8
push 2
call fcn.0046b90c
add esp, 4
mov dword [esi], eax
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 4], ecx
push dword [esi]
mov byte [esi + 8], 1
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x444c02
cmp eax, 2
jne 0x4452f7
cmp dword [esi], 0
jne 0x444c1b
push 2
call fcn.0046b90c
add esp, 4
mov dword [esi], eax
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 4], ecx
mov ecx, dword [esi]
mov byte [esi + 8], 1
call fcn.00420330
cmp eax, dword [ebp + 8]
jne 0x4452f7
mov ecx, dword [ebp - 0x30]
lea eax, [ebx + ebx*2]
cmp dword [ecx + eax*4], 0
lea esi, [ecx + eax*4]
jne 0x444c52
push 2
call fcn.0046b90c
add esp, 4
mov dword [esi], eax
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 4], ecx
mov byte [esi + 8], 1
xor ebx, ebx
mov esi, dword [esi]
mov eax, dword [edi + 0x988]
mov dword [ebp - 0x20], eax
mov dword [edi + 0x988], 0
mov dword [ebp - 0x4c], 0x4a7718
mov byte [edi + 0x990], 0
mov dword [edi + 0x98c], 0
nop word [eax + eax]
inc ebx
cmp word [ebx*2 + 0x4a772c], 0
jne 0x444c90
test esi, esi
je 0x444cb1
xor eax, eax
cmp word [esi], ax
je 0x444caf
inc eax
cmp word [esi + eax*2], 0
jne 0x444ca7
add ebx, eax
xor eax, eax
inc eax
cmp word [eax*2 + 0x4a7718], 0
jne 0x444cb3
add ebx, eax
xor ecx, ecx
mov edx, 2
lea eax, [ebx + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b90c
mov ecx, dword [edi + 0x988]
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, eax
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x444d11
movzx ecx, word [ecx]
test cx, cx
je 0x444d11
mov edi, dword [ebp - 0x24]
sub edi, eax
nop dword [eax]
mov word [edx], cx
add edx, 2
movzx eax, word [edi + edx]
mov ecx, eax
test ax, ax
jne 0x444d00
mov edi, 0x4a772c
mov ecx, 0x43
sub edi, edx
nop dword [eax]
mov word [edx], cx
add edx, 2
movzx eax, word [edi + edx]
mov ecx, eax
test ax, ax
jne 0x444d20
test esi, esi
je 0x444d51
movzx eax, word [esi]
mov ecx, eax
test ax, ax
je 0x444d51
nop
mov word [edx], ax
lea esi, [esi + 2]
movzx eax, word [esi]
add edx, 2
test ax, ax
jne 0x444d40
mov edi, dword [ebp - 0x4c]
mov eax, 0x20
nop dword [eax]
mov word [edx], ax
lea edi, [edi + 2]
movzx eax, word [edi]
lea edx, [edx + 2]
test ax, ax
jne 0x444d60
mov edi, dword [ebp - 0x28]
xor eax, eax
mov word [edx], ax
mov eax, dword [edi + 0x988]
test eax, eax
je 0x444d8c
push eax
call fcn.0046b303
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x988], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x98c], ebx
mov byte [edi + 0x990], 1
test eax, eax
je 0x444db2
push eax
call fcn.0046b303
add esp, 4
cmp dword [edi + 0x988], 0
jne 0x444dd6
push 2
call fcn.0046b90c
add esp, 4
mov dword [edi + 0x988], eax
xor ecx, ecx
mov word [eax], cx
mov dword [edi + 0x98c], ecx
push dword [edi + 0x988]
lea ecx, [edi + 0x688]
mov byte [edi + 0x990], 1
push 0xffffffffffffffff
call fcn.0041d570
push 1
mov ecx, edi
call fcn.004409d0
test eax, eax
jne 0x444df0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_SleepEx]
cmp dword [edi + 0x9a0], 0
xorps xmm0, xmm0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], 0
lea eax, [eax + eax*2]
lea ebx, [ecx + eax*4]
jne 0x444e44
push 2
call fcn.0046b90c
add esp, 4
mov dword [edi + 0x9a0], eax
xor ecx, ecx
mov word [eax], cx
mov dword [edi + 0x9a4], ecx
mov esi, dword [edi + 0x9a0]
mov byte [edi + 0x9a8], 1
cmp dword [ebx], 0
mov dword [ebp - 0x24], esi
jne 0x444e6d
push 2
call fcn.0046b90c
add esp, 4
mov dword [ebx], eax
xor ecx, ecx
mov word [eax], cx
mov dword [ebx + 4], ecx
xor eax, eax
mov byte [ebx + 8], 1
mov ebx, dword [ebx]
mov dword [ebp - 0x20], 0x4a7748
test esi, esi
je 0x444e8d
cmp word [esi], ax
je 0x444e8d
inc eax
cmp word [esi + eax*2], 0
jne 0x444e85
xor ecx, ecx
nop
lea ecx, [ecx + 1]
cmp word [ecx*2 + str.cmd.exe__c_chkdsk.exe], 0
jne 0x444e90
lea esi, [ecx + eax]
test ebx, ebx
je 0x444eba
xor eax, eax
cmp word [ebx], ax
je 0x444eb8
nop dword [eax]
inc eax
cmp word [ebx + eax*2], 0
jne 0x444eb0
add esi, eax
xor eax, eax
nop dword [eax]
inc eax
cmp word [eax*2 + 0x4a7748], 0
jne 0x444ec0
add esi, eax
xor ecx, ecx
mov edx, 2
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b90c
mov edx, dword [ebp - 0x24]
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, eax
test edx, edx
je 0x444f16
movzx edx, word [edx]
mov eax, edx
test dx, dx
je 0x444f16
mov edi, dword [ebp - 0x24]
sub edi, ecx
mov word [ecx], dx
add ecx, 2
movzx eax, word [edi + ecx]
mov edx, eax
test ax, ax
jne 0x444f05
mov edi, str.cmd.exe__c_chkdsk.exe
mov edx, 0x5c
sub edi, ecx
mov word [ecx], dx
add ecx, 2
movzx eax, word [edi + ecx]
mov edx, eax
test ax, ax
jne 0x444f22
test ebx, ebx
je 0x444f52
movzx eax, word [ebx]
mov edx, eax
test ax, ax
je 0x444f52
mov word [ecx], ax
lea ebx, [ebx + 2]
movzx eax, word [ebx]
add ecx, 2
test ax, ax
jne 0x444f41
mov edi, dword [ebp - 0x20]
mov eax, 0x20
nop word [eax + eax]
mov word [ecx], ax
lea edi, [edi + 2]
movzx eax, word [edi]
add ecx, 2
test ax, ax
jne 0x444f60
mov ebx, dword [ebp - 0x1c]
xor eax, eax
mov edi, dword [ebp - 0x28]
mov word [ecx], ax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x34], 1
test byte [ebp + 0xc], 1
mov byte [ebp - 4], 3
je 0x445042
mov byte [ebp - 0x34], al
test esi, esi
jne 0x444fab
cmp word [ebx], si
je 0x444fa8
inc esi
cmp word [ebx + esi*2], 0
jne 0x444fa0
mov dword [ebp - 0x38], esi
xor eax, eax
nop dword [eax]
inc eax
cmp word [eax*2 + 0x4a7780], 0
jne 0x444fb0
add eax, esi
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov edx, 2
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b90c
mov ebx, eax
add esp, 4
mov eax, dword [ebp - 0x1c]
mov edx, ebx
movzx ecx, word [eax]
mov esi, ecx
test cx, cx
je 0x445001
mov esi, eax
sub esi, ebx
mov word [edx], cx
add edx, 2
movzx eax, word [esi + edx]
mov ecx, eax
test ax, ax
jne 0x444ff0
mov esi, 0x4a7780
mov ecx, 0x20
sub esi, edx
nop dword [eax]
mov word [edx], cx
lea edx, [edx + 2]
movzx eax, word [edx + esi]
mov ecx, eax
test ax, ax
jne 0x445010
xor eax, eax
mov word [edx], ax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0046b303
mov eax, dword [ebp - 0x20]
add esp, 4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 1
mov esi, dword [ebp - 0x48]
test esi, esi
jne 0x445060
push 2
call fcn.0046b90c
mov esi, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], eax
mov word [esi], ax
mov byte [ebp - 0x40], 1
test ebx, ebx
jne 0x445082
push 2
call fcn.0046b90c
mov ebx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], eax
mov word [ebx], ax
push ecx
push 5
mov edx, esi
mov byte [ebp - 0x34], 1
mov ecx, ebx
call fcn.0040b4f0
mov dword [ebp - 0x20], eax
cmp eax, 5
jae 0x4450a2
cmp eax, 4
sete bl
jmp 0x4450d3
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x445100
cmp esi, 0xffffffff
je 0x445100
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
push esi
sete bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x445100
push 0
mov ecx, edi
call fcn.004409d0
cmp byte [edi + 0xb2], 0
jne 0x445396
cmp byte [edi + 0xb0], 0
jne 0x445396
mov eax, dword [ebp - 0x20]
jmp 0x445095
push 1
mov ecx, edi
call fcn.004409d0
test eax, eax
jne 0x445100
push eax
push eax
call dword [sym.imp.KERNEL32.dll_SleepEx]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
lea eax, [eax + eax*2]
cmp dword [ecx + eax*4], 0
lea esi, [ecx + eax*4]
jne 0x44513b
push 2
call fcn.0046b90c
add esp, 4
mov dword [esi], eax
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 4], ecx
mov byte [esi + 8], 1
xor ecx, ecx
mov esi, dword [esi]
mov eax, dword [edi + 0x988]
mov dword [ebp - 0x54], eax
mov dword [edi + 0x988], 0
mov dword [ebp - 0x20], 0x4a7788
mov byte [edi + 0x990], 0
mov dword [edi + 0x98c], 0
nop
inc ecx
cmp word [ecx*2 + 0x4a7798], 0
jne 0x445170
test esi, esi
je 0x445191
xor eax, eax
cmp word [esi], ax
je 0x44518f
inc eax
cmp word [esi + eax*2], 0
jne 0x445187
add ecx, eax
xor eax, eax
inc eax
cmp word [eax*2 + 0x4a7788], 0
jne 0x445193
add ecx, eax
mov edx, 2
mov dword [ebp - 0x4c], ecx
lea eax, [ecx + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b90c
mov ebx, dword [edi + 0x988]
add esp, 4
mov dword [ebp - 0x24], eax
mov edx, eax
test ebx, ebx
je 0x4451f1
movzx ecx, word [ebx]
test cx, cx
je 0x4451f1
sub ebx, eax
nop dword [eax]
mov word [edx], cx
add edx, 2
movzx eax, word [edx + ebx]
mov ecx, eax
test ax, ax
jne 0x4451e0
mov ebx, 0x4a7798
mov ecx, 0x53
sub ebx, edx
nop dword [eax]
mov word [edx], cx
add edx, 2
movzx eax, word [ebx + edx]
mov ecx, eax
test ax, ax
jne 0x445200
test esi, esi
je 0x445231
movzx eax, word [esi]
mov ecx, eax
test ax, ax
je 0x445231
nop
mov word [edx], ax
lea esi, [esi + 2]
movzx eax, word [esi]
add edx, 2
test ax, ax
jne 0x445220
mov edi, dword [ebp - 0x20]
mov eax, 0x20
nop dword [eax]
mov word [edx], ax
lea edi, [edi + 2]
movzx eax, word [edi]
lea edx, [edx + 2]
test ax, ax
jne 0x445240
mov edi, dword [ebp - 0x28]
xor eax, eax
mov word [edx], ax
mov eax, dword [edi + 0x988]
test eax, eax
je 0x44526c
push eax
call fcn.0046b303
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x988], eax
mov eax, dword [ebp - 0x4c]
mov dword [edi + 0x98c], eax
mov eax, dword [ebp - 0x54]
mov byte [edi + 0x990], 1
test eax, eax
je 0x445295
push eax
call fcn.0046b303
add esp, 4
cmp dword [edi + 0x988], 0
jne 0x4452b9
push 2
call fcn.0046b90c
add esp, 4
mov dword [edi + 0x988], eax
xor ecx, ecx
mov word [eax], cx
mov dword [edi + 0x98c], ecx
sub esp, 8
mov byte [edi + 0x990], 1
mov ecx, edi
push 0x8c
push 0x190
push 0
push 0
push 4
push dword [edi + 0x988]
call fcn.00441c90
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4452f4
push eax
call fcn.0046b303
add esp, 4
mov ebx, dword [ebp - 0x2c]
inc ebx
mov dword [ebp - 0x2c], ebx
cmp ebx, dword [ebp - 0x50]
jl 0x444bc5
mov esi, dword [ebp - 0x48]
lea ecx, [edi + 0x688]
call fcn.0041d4d0
push 1
mov ecx, edi
call fcn.004409d0
test eax, eax
jne 0x445312
push eax
push eax
call dword [sym.imp.KERNEL32.dll_SleepEx]
mov edi, 1
test esi, esi
je 0x445339
push esi
call fcn.0046b303
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x445376
push 0x401730
lea esi, [eax - 4]
mov dword [ebp - 4], 5
push dword [esi]
push 0xc
push eax
call fcn.0046b598
mov ecx, dword [esi]
lea ecx, [ecx + ecx*2]
lea ecx, [ecx*4 + 4]
push ecx
push esi
call fcn.0046b308
add esp, 8
mov eax, edi
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.0046b2f5
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4453a6
push eax
call fcn.0046b303
add esp, 4
mov esi, dword [ebp - 0x48]
or edi, 0xffffffff
jmp 0x44532c