Function at 0x48e3d0
Capabilities:
Get common file path
Get disk information
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a234b
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x62b3be], 0
je 0x48e7e1
xor eax, eax
mov byte [0x62b3be], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x250]
push eax
push 0
push 0x4000
push 0x5c034c
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x48e6ea
push dword [ebp - 0x250]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x250]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e472
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x24c]
call fcn.00409db0
push dword [ebp - 0x250]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ax, word [0x5b8bbc]
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x238], 8
movups xmm0, xmmword [0x5b8bac]
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x24c]
cmovae eax, dword [ebp - 0x24c]
push 9
push ecx
push eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.0042228c
add esp, 0xc
test eax, eax
je 0x48e790
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
push 2
cmovae eax, dword [ebp - 0x24c]
push 0x5b8bc0
push eax
call fcn.0042228c
mov edx, dword [ebp - 0x238]
add esp, 0xc
mov ecx, dword [ebp - 0x24c]
test eax, eax
jne 0x48e52e
cmp dword [ebp - 0x23c], 3
jbe 0x48e52e
cmp edx, 8
lea eax, [ebp - 0x24c]
cmovae eax, ecx
cmp word [eax + 4], 0x3f
jne 0x48e79c
cmp edx, 8
lea eax, [ebp - 0x24c]
push 8
cmovae eax, ecx
push 0x5b8bc8
push eax
call fcn.0042228c
add esp, 0xc
test eax, eax
je 0x48e790
mov esi, dword [ebp - 0x238]
lea edx, [ebp - 0x24c]
mov edi, dword [ebp - 0x24c]
cmp esi, 8
mov eax, dword [ebp - 0x23c]
cmovae edx, edi
test eax, eax
je 0x48e584
mov ecx, edx
cmp word [ecx], 0x3a
je 0x48e5a9
add ecx, 2
sub eax, 1
jne 0x48e576
mov dword [ebp - 4], 2
cmp esi, 8
jb 0x48e7e1
lea eax, [esi + 1]
push eax
push edi
lea ecx, [ebp - 0x24c]
call fcn.0040a5e0
jmp 0x48e7e1
sub ecx, edx
sar ecx, 1
je 0x48e584
cmp ecx, 0xffffffff
je 0x48e584
cmp ecx, 1
jbe 0x48e5d6
cmp esi, 8
lea eax, [ebp - 0x24c]
cmovae eax, edi
cmp word [eax + ecx*2 - 4], 0x5c
je 0x48e5d6
mov dword [ebp - 4], 3
jmp 0x48e58b
cmp esi, 8
lea eax, [ebp - 0x24c]
cmovae eax, edi
add ecx, ecx
mov dword [ebp - 0x254], ecx
movzx eax, word [ecx + eax - 2]
cmp eax, 0x61
jb 0x48e5f9
cmp eax, 0x7a
jbe 0x48e606
add eax, 0xffffffbf
cmp ax, 0x19
ja 0x48e784
push 0x208
lea eax, [ebp - 0x234]
xorps xmm0, xmm0
push 0
push eax
movlpd qword [ebp - 0x18], xmm0
call fcn.0056aed0
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x24c]
add esp, 0xc
cmp esi, 8
cmovae eax, edi
add ecx, 0xfffffffe
add eax, ecx
je 0x48e74d
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x234]
push 0x104
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 2
jb 0x48e744
cmp eax, 0x104
je 0x48e744
mov dword [ebp - 0x26c], 0x5b8bdc
xor esi, esi
mov dword [ebp - 0x268], 0x5b8bf8
mov dword [ebp - 0x264], 0x5b8c2c
mov dword [ebp - 0x260], 0x5b8c60
mov dword [ebp - 0x25c], 0x5b8c80
mov dword [ebp - 0x258], 0x5b8cb8
nop
mov edx, dword [ebp + esi*4 - 0x26c]
mov eax, edx
lea edi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48e6c0
sub eax, edi
sar eax, 1
push eax
push edx
lea eax, [ebp - 0x234]
push eax
call fcn.0042228c
add esp, 0xc
test eax, eax
je 0x48e73b
inc esi
cmp esi, 6
jb 0x48e6b0
mov edx, dword [ebp - 0x238]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x48e7e1
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 7
cmp edx, 0x1000
jb 0x48e7d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48e801
jmp 0x48e7d7
mov byte [0x631be0], 1
jmp 0x48e6ea
mov dword [ebp - 4], 6
jmp 0x48e764
call fcn.00413006
mov dword [eax], 0x16
call fcn.0056e2cb
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x238]
cmp eax, 8
jb 0x48e7e1
inc eax
lea ecx, [ebp - 0x24c]
push eax
push dword [ebp - 0x24c]
call fcn.0040a5e0
jmp 0x48e7e1
mov dword [ebp - 4], 4
jmp 0x48e58b
mov edx, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x24c]
mov byte [0x631be0], 1
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x48e7e1
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 1
cmp edx, 0x1000
jb 0x48e7d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48e806
push edx
push ecx
call fcn.0040a1a2
add esp, 8
mov al, byte [0x631be0]
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 int.004016cd
mov esp, ebp
pop ebp
ret
call fcn.0056e2db
call fcn.0056e2db
int3