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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x32
push 0
push 0
dec ecx
jne 0x55be6c
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x55cb9e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x55cbac]
or eax, dword [ebx + 0x50]
mov dword [ebx + 0x50], eax
mov eax, dword [0x5b586c]
mov dword [eax + 4], ebx
mov dword [eax], 0x55b8d0
mov byte [ebx + 0x3a2], 1
mov eax, dword [0x5b5dcc]
mov byte [eax], 1
call fcn.005690d8
mov byte [ebx + 0x496], 1
mov byte [ebx + 0x497], 0
mov byte [ebx + 0x498], 1
mov eax, dword [0x5b5dc4]
mov dword [eax], 0x806a
mov eax, dword [0x5b5860]
cmp byte [eax], 0
jne 0x55c025
lea edx, [ebp - 0x128]
mov eax, dword [0x5b5c94]
mov eax, dword [eax]
call fcn.0046d960
mov eax, dword [ebp - 0x128]
lea edx, [ebp - 0x124]
call fcn.0040ab88
mov eax, dword [ebp - 0x124]
mov edx, 0x55cbb8
call fcn.0047a6e0
test al, al
je 0x55c002
call fcn.004030d0
cmp eax, 2
jl 0x55bf5c
lea edx, [ebp - 0x12c]
mov eax, 1
call fcn.00403138
mov edx, dword [ebp - 0x12c]
mov eax, 0x55cbcc
call fcn.0047a6e0
test al, al
je 0x55bf5c
lea edx, [ebx + 0x354]
mov eax, 2
call fcn.00403138
jmp 0x55bf67
lea eax, [ebx + 0x354]
call fcn.00404ff4
cmp dword [ebx + 0x354], 0
jbe 0x55bfae
mov eax, dword [ebx + 0x354]
call fcn.004434c0
test al, al
je 0x55bfae
push 0
mov eax, dword [ebx + 0x354]
call fcn.004054d0
push eax
mov eax, dword [0x5b6668]
push eax
call sub.shell32.dll_ExtractIconA
mov edx, eax
mov eax, dword [0x5b5c94]
mov eax, dword [eax]
mov eax, dword [eax + 0x98]
call fcn.00432090
jmp 0x55c025
push 0
push 1
mov esi, dword [0x5b5a9c]
mov esi, dword [esi]
lea edx, [ebp - 0x130]
mov eax, 0xca
call esi
mov eax, dword [ebp - 0x130]
push eax
mov esi, dword [0x5b5a9c]
mov esi, dword [esi]
lea edx, [ebp - 0x134]
mov eax, pe_nt_image_headers32
call esi
mov edx, dword [ebp - 0x134]
mov eax, 0x55cbd8
pop ecx
call fcn.005a7884
mov eax, dword [0x5b5c94]
mov eax, dword [eax]
call fcn.0046d2fc
jmp 0x55c025
lea edx, [ebp - 0x138]
mov eax, dword [0x5b5c94]
mov eax, dword [eax]
call fcn.0046d960
mov edx, dword [ebp - 0x138]
lea eax, [ebx + 0x354]
call fcn.00405048
xor eax, eax
mov dword [ebx + 0x330], eax
xor eax, eax
mov dword [ebx + 0x334], eax
xor eax, eax
mov dword [ebx + 0x338], eax
xor eax, eax
mov dword [ebx + 0x4a8], eax
mov eax, dword [0x5b5afc]
mov eax, dword [eax]
mov dword [ebx + 0x350], eax
mov byte [ebx + 0x39a], 1
lea eax, [ebx + 0x35c]
call fcn.00404ff4
lea eax, [ebx + 0x360]
call fcn.00404ff4
lea eax, [ebx + 0x368]
call fcn.00404ff4
lea eax, [ebx + 0x364]
call fcn.00404ff4
mov byte [ebx + 0x3a4], 0
mov al, byte [0x55cbec]
mov byte [ebx + 0x3a5], al
mov byte [ebx + 0x3a6], 0
mov byte [ebx + 0x3a7], 0
lea eax, [ebx + 0x3a8]
call fcn.00404ff4
xor eax, eax
mov dword [ebx + 0x3ac], eax
mov byte [ebx + 0x3a1], 0
lea eax, [ebx + 0x3b0]
call fcn.00404ff4
mov dword [ebx + 0x3b4], 0x20000000
xor eax, eax
mov dword [ebx + 0x3b8], eax
mov byte [ebx + 0x398], 0
mov byte [ebx + 0x399], 1
mov byte [ebx + 0x39b], 1
mov byte [ebx + 0x39c], 1
mov byte [ebx + 0x39d], 1
mov byte [ebx + 0x39e], 0
mov byte [ebx + 0x39f], 0
mov byte [ebx + 0x3a0], 0
xor eax, eax
mov dword [ebx + 0x4b4], eax
xor eax, eax
mov dword [ebx + 0x4b8], eax
lea ecx, [ebp - 0x140]
xor edx, edx
xor eax, eax
call fcn.0041b8e8
mov eax, dword [ebp - 0x140]
mov dword [ebx + 0x4bc], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebx + 0x4c0], eax
mov byte [ebx + 0x325], 0
lea eax, [ebx + 0x390]
call fcn.00404ff4
mov byte [ebx + 0x397], 0
mov byte [ebx + 0x395], 0
mov byte [ebx + 0x394], 0
mov byte [ebx + 0x396], 0
lea eax, [ebx + 0x4a0]
call fcn.00404ff4
mov byte [ebx + 0x47c], 0
lea eax, [ebx + 0x36c]
call fcn.00404ff4
lea eax, [ebx + 0x370]
call fcn.00404ff4
mov byte [ebx + 0x449], 1
mov byte [ebx + 0x44a], 0
mov dword [ebx + 0x454], 0x3c
lea eax, [ebx + 0x44c]
call fcn.00404ff4
mov byte [ebx + 0x448], 0
lea eax, [ebx + 0x458]
call fcn.00404ff4
lea eax, [ebx + 0x45c]
call fcn.00404ff4
lea eax, [ebx + 0x460]
call fcn.00404ff4
lea eax, [ebx + 0x464]
call fcn.00404ff4
lea eax, [ebx + 0x468]
call fcn.00404ff4
lea eax, [ebx + 0x46c]
call fcn.00404ff4
lea eax, [ebx + 0x374]
call fcn.00404ff4
lea eax, [ebx + 0x378]
call fcn.00404ff4
lea eax, [ebx + 0x37c]
call fcn.00404ff4
lea eax, [ebx + 0x380]
call fcn.00404ff4
lea eax, [ebx + 0x384]
call fcn.00404ff4
lea eax, [ebx + 0x388]
call fcn.00404ff4
lea eax, [ebx + 0x38c]
call fcn.00404ff4
xor eax, eax
mov dword [ebx + 0x470], eax
mov byte [ebx + 0x474], 0x84
lea eax, [ebx + 0x478]
call fcn.00404ff4
mov dword [ebx + 0x34c], 1
mov byte [ebx + 0x324], 0
mov dword [ebx + 0x4a4], 0x1e
xor eax, eax
mov dword [ebx + 0x4ac], eax
xor eax, eax
mov dword [ebx + 0x4b0], eax
mov byte [ebx + 0x4c4], 0
lea eax, [ebp - 0x144]
call fcn.0047b298
mov edx, dword [ebp - 0x144]
mov eax, 0x5b4f6c
call fcn.00405048
lea eax, [ebp - 0x10d]
push eax
push 0x104
call sub.KERNEL32.DLL_GetTempPathA
lea edx, [ebp - 0x148]
lea eax, [ebp - 0x10d]
call fcn.0040b07c
mov edx, dword [ebp - 0x148]
lea eax, [ebx + 0x358]
call fcn.00405048
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x308]
call fcn.0053ebd4
xor edx, edx
mov eax, ebx
call fcn.0055305c
xor edx, edx
mov eax, dword [ebx + 0x308]
call fcn.0053eb50
xor edx, edx
call fcn.00426234
mov dword [ebx + 0x334], eax
mov eax, dword [ebx + 0x354]
call fcn.00562cd0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x55c363
cmp dword [0x5b4f48], 0
jbe 0x55c34a
mov al, 1
call fcn.005623b8
xor ecx, ecx
mov edx, 0x55cbf8
mov eax, ebx
call fcn.005598a4
test al, al
jne 0x55c363
mov dword [ebp - 4], 0x64
cmp dword [ebp - 4], 0
jne 0x55c960
cmp byte [ebx + 0x496], 0
jne 0x55c960
mov al, byte [ebx + 0x474]
test al, 2
jbe 0x55c3ab
lea edx, [ebp - 0x14c]
mov eax, 0x55cc0c
call fcn.005a5178
mov edx, dword [ebp - 0x14c]
lea eax, [ebx + 0x478]
call fcn.00405048
jmp 0x55c467
test al, 4
jbe 0x55c3c6
lea eax, [ebx + 0x478]
mov edx, dword [ebx + 0x358]
call fcn.00405048
jmp 0x55c467
test al, 1
jbe 0x55c3ef
lea edx, [ebp - 0x150]
mov eax, dword [ebx + 0x354]
call fcn.0040aa6c
mov edx, dword [ebp - 0x150]
lea eax, [ebx + 0x478]
call fcn.00405048
jmp 0x55c467
test byte [ebx + 0x474], 8
jbe 0x55c45c
cmp dword [ebx + 0x478], 0
jbe 0x55c45c
lea edx, [ebp - 0x154]
mov eax, dword [ebx + 0x478]
call fcn.0040ac08
mov edx, dword [ebp - 0x154]
lea eax, [ebx + 0x478]
call fcn.00405048
mov eax, dword [ebx + 0x478]
call fcn.0044339c
test al, al
jne 0x55c467
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x478]
call fcn.0044324c
cmp dword [ebp - 4], 0
jne 0x55c44f
mov byte [ebx + 0x398], 1
jmp 0x55c467
lea eax, [ebx + 0x478]
call fcn.00404ff4
jmp 0x55c467
lea eax, [ebx + 0x478]
call fcn.00404ff4
mov eax, dword [ebx + 0x478]
mov edx, 0x55cc20
call fcn.0040541c
je 0x55c4bf
cmp dword [ebx + 0x478], 0
je 0x55c4bf
lea edx, [ebp - 0x15c]
mov eax, dword [ebx + 0x478]
call fcn.0040aaf4
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x158]
call fcn.0040ee10
mov eax, dword [ebp - 0x158]
call fcn.004054d0
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
sub eax, 2
jb 0x55c4bf
sub eax, 3
jne 0x55c4d0
lea eax, [ebx + 0x478]
mov edx, dword [ebx + 0x358]
call fcn.00405048
cmp dword [ebx + 0x374], 0
je 0x55c4ed
mov edx, 2
mov eax, dword [ebx + 0x374]
call fcn.0056425c
test al, al
jne 0x55c510
push 0x7f00
mov eax, dword [0x5b6668]
push eax
call sub.user32.dll_LoadCursorA
mov ecx, eax
mov eax, dword [0x5b5ef4]
mov eax, dword [eax]
mov edx, 2
call fcn.0046b1b4
cmp dword [ebx + 0x378], 0
je 0x55c52d
mov edx, 1
mov eax, dword [ebx + 0x378]
call fcn.0056425c
test al, al
jne 0x55c589
mov eax, dword [0x5b5dbc]
cmp byte [eax], 0
je 0x55c566
mov eax, dword [0x5b59d4]
cmp byte [eax], 0
je 0x55c566
push 0x55cc28
mov eax, dword [0x5b6668]
push eax
call sub.user32.dll_LoadCursorA
mov ecx, eax
mov eax, dword [0x5b5ef4]
mov eax, dword [eax]
mov edx, 1
call fcn.0046b1b4
jmp 0x55c589
push 0x55cc38
mov eax, dword [0x5b6668]
push eax
call sub.user32.dll_LoadCursorA
mov ecx, eax
mov eax, dword [0x5b5ef4]
mov eax, dword [eax]
mov edx, 1
call fcn.0046b1b4
cmp dword [ebx + 0x37c], 0
je 0x55c5a6
mov edx, 3
mov eax, dword [ebx + 0x37c]
call fcn.0056425c
test al, al
jne 0x55c602
mov eax, dword [0x5b5dbc]
cmp byte [eax], 0
je 0x55c5df
mov eax, dword [0x5b59d4]
cmp byte [eax], 0
je 0x55c5df
push 0x55cc48
mov eax, dword [0x5b6668]
push eax
call sub.user32.dll_LoadCursorA
mov ecx, eax
mov eax, dword [0x5b5ef4]
mov eax, dword [eax]
mov edx, 3
call fcn.0046b1b4
jmp 0x55c602
push 0x55cc58
mov eax, dword [0x5b6668]
push eax
call sub.user32.dll_LoadCursorA
mov ecx, eax
mov eax, dword [0x5b5ef4]
mov eax, dword [eax]
mov edx, 3
call fcn.0046b1b4
cmp dword [ebx + 0x380], 0
jbe 0x55c61b
mov edx, 0xfffffff5
mov eax, dword [ebx + 0x380]
call fcn.0056425c
call fcn.005641b4
mov eax, dword [ebx + 0x4a4]
call fcn.005a7f3c
mov eax, ebx
call fcn.0055a064
mov eax, dword [ebx + 0x4c0]
push eax
mov eax, dword [ebx + 0x4bc]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.user32.dll_SetRect
push 0xffffffffffffffec
mov eax, ebx
call fcn.00453cc4
push eax
call sub.user32.dll_GetWindowLongA
push eax
cmp dword [ebx + 0x248], 0
setne al
neg al
sbb eax, eax
push eax
push 0xfffffffffffffff0
mov eax, ebx
call fcn.00453cc4
push eax
call sub.user32.dll_GetWindowLongA
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.user32.dll_AdjustWindowRectEx
lea ecx, [ebp - 0x140]
mov edx, dword [ebp - 0x111]
sub edx, dword [ebp - 0x119]
mov eax, dword [ebp - 0x115]
sub eax, dword [ebp - 0x11d]
call fcn.0041b8e8
mov eax, dword [ebp - 0x140]
mov dword [ebx + 0x4bc], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebx + 0x4c0], eax
cmp byte [0x5b4f58], 0
je 0x55c702
mov eax, dword [0x5b5860]
cmp byte [eax], 0
jne 0x55c702
mov eax, dword [0x5b4f5c]
push eax
mov eax, ebx
call fcn.00453cc4
mov edx, eax
mov eax, dword [0x5b5c94]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov cl, byte [0x5b4f50]
call fcn.0053b08c
mov byte [0x5b4f58], al
cmp dword [ebx + 0x36c], 0
jbe 0x55c733
mov eax, dword [ebx + 0x36c]
call fcn.0054a664
cmp ax, 6
je 0x55c733
mov eax, dword [0x5b5c94]
mov eax, dword [eax]
mov byte [eax + 0x5b], 0
mov eax, dword [0x5b5c94]
mov eax, dword [eax]
call fcn.0046d2fc
cmp byte [0x5b4f4c], 2
jne 0x55c7c9
mov ecx, ebx
mov dl, 1
mov eax, dword [0x53dc10]
call fcn.0053de28
mov esi, eax
mov dword [ebx + 0x4b4], esi
mov edx, dword [ebx + 0x35c]
mov eax, esi
call fcn.0053e124
mov eax, dword [ebx + 0x4b4]
mov dword [eax + 0xa4], ebx
mov dword [eax + 0xa0], 0x55d954
mov dword [eax + 0xac], ebx
mov dword [eax + 0xa8], 0x55d954
mov edx, dword [ebx + 0x4b8]
test edx, edx
je 0x55c799
mov dword [eax + 0x98], edx
mov dl, 1
mov eax, dword [ebx + 0x4b4]
call fcn.0053e1e4
cmp dword [ebx + 0x458], 0
jne 0x55c7ba
mov eax, dword [0x5b5c94]
mov eax, dword [eax]
mov byte [eax + 0x5b], 0
mov eax, dword [0x5b5b60]
cmp dword [eax], 0
je 0x55c7c9
call fcn.0056247c
mov byte [ebx + 0x3a2], 0
lea edx, [ebp - 8]
mov al, 0x42
call fcn.0055bd18
test al, al
je 0x55c7e5
mov byte [ebx + 0x39e], 1
mov eax, dword [0x5b5ad4]
mov al, byte [eax]
dec eax
sub al, 2
jae 0x55c81b
mov edx, 0x55cc70
mov eax, dword [ebx + 0x308]
call fcn.0053ec9c
mov esi, eax
mov edx, esi
mov eax, dword [ebx + 0x308]
call fcn.0053ec84
test al, al
jne 0x55c85d
mov esi, 1
jmp 0x55c85d
lea edx, [ebp - 8]
mov al, 0x4b
call fcn.0055bd18
test al, al
je 0x55c857
cmp dword [ebp - 8], 0
jbe 0x55c857
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x308]
call fcn.0053ec9c
mov esi, eax
mov edx, esi
mov eax, dword [ebx + 0x308]
call fcn.0053ec84
test al, al
jne 0x55c85d
mov esi, 1
jmp 0x55c85d
mov esi, dword [0x5b4f54]
mov edx, esi
mov eax, dword [ebx + 0x308]
call fcn.0053edf8
mov eax, ebx
call fcn.00453cc4
call fcn.00563fe8
mov eax, dword [ebx + 0x308]
call fcn.0053eb7c
mov edi, eax
dec edi
test edi, edi
jle 0x55c8bf
mov esi, 1
push 0
push 0
mov edx, esi
mov eax, dword [ebx + 0x308]
call fcn.0053eb50
xor edx, edx
call fcn.00426234
mov edx, dword [0x537114]
call fcn.0040429c
xor ecx, ecx
mov dx, 0x4c8
call fcn.00537988
inc esi
dec edi
jne 0x55c88d
mov eax, dword [ebx + 0x334]
test eax, eax
je 0x55c8d8
push 0
push 0
xor ecx, ecx
mov dx, 0x4c8
call fcn.00537988
mov eax, dword [ebx + 0x248]
call fcn.0055be24
xor eax, eax
mov dword [0x5b8570], eax
xor eax, eax
mov dword [0x5b8574], eax
mov eax, dword [ebx + 0x4b8]
call fcn.0055be24
mov eax, dword [0x5b5c94]
mov eax, dword [eax]
mov dword [eax + 0xdc], ebx
mov dword [eax + 0xd8], 0x552cb0
mov eax, dword [0x5b5c94]
mov eax, dword [eax]
mov dword [eax + 0x11c], ebx
mov dword [eax + 0x118], 0x552e28
mov eax, dword [0x5b5c94]
mov eax, dword [eax]
mov dword [eax + 0x124], ebx
mov dword [eax + 0x120], 0x55b988
mov eax, dword [0x5b5c24]
cmp dword [eax], 0
jne 0x55cb68
mov edx, 0xffff8001
mov eax, ebx
call fcn.0044cad8
jmp 0x55cb68
mov eax, dword [0x5b5860]
cmp byte [eax], 0
je 0x55c9a1
mov eax, ebx
call fcn.00469abc
mov eax, dword [0x5b5bfc]
test byte [eax], 4
jne 0x55c984
mov dl, 1
xor eax, eax
call fcn.005711c4
mov eax, dword [0x5b5bfc]
test byte [eax], 2
jne 0x55c993
call fcn.005a4000
mov eax, dword [0x5b5c94]
mov eax, dword [eax]
call fcn.0046d054
jmp 0x55c9ac
mov eax, dword [0x5b5c94]
mov eax, dword [eax]
mov byte [eax + 0x5b], 0
mov eax, dword [0x5b5b60]
cmp dword [eax], 0
je 0x55c9bb
call fcn.0056247c
cmp byte [ebx + 0x496], 0
je 0x55ca2d
cmp byte [ebx + 0x497], 0
je 0x55ca2d
push 0
push 1
mov ebx, dword [0x5b5a9c]
mov ebx, dword [ebx]
lea edx, [ebp - 0x160]
mov eax, 0xca
call ebx
mov eax, dword [ebp - 0x160]
push eax
mov ebx, dword [0x5b5a9c]
mov ebx, dword [ebx]
lea edx, [ebp - 0x164]
mov eax, 0xed
call ebx
mov eax, dword [ebp - 0x164]
push eax
lea edx, [ebp - 0x168]
mov eax, dword [0x5b5c94]
mov eax, dword [eax]
call fcn.0046ccd4
mov eax, dword [ebp - 0x168]
pop edx
pop ecx
call fcn.005a7884
jmp 0x55cb5c
cmp dword [ebp - 4], 0
je 0x55cacb
push 0
push 1
mov ebx, dword [0x5b5a9c]
mov ebx, dword [ebx]
lea edx, [ebp - 0x16c]
mov eax, 0xca
call ebx
mov eax, dword [ebp - 0x16c]
push eax
mov ebx, dword [0x5b5a9c]
mov ebx, dword [ebx]
lea edx, [ebp - 0x174]
mov eax, 0xec
call ebx
push dword [ebp - 0x174]
push 0x55cc80
push 0x55cc80
lea edx, [ebp - 0x178]
mov eax, dword [ebp - 4]
call fcn.0047a024
push dword [ebp - 0x178]
lea eax, [ebp - 0x170]
mov edx, 4
call fcn.00405390
mov eax, dword [ebp - 0x170]
push eax
lea edx, [ebp - 0x17c]
mov eax, dword [0x5b5c94]
mov eax, dword [eax]
call fcn.0046ccd4
mov eax, dword [ebp - 0x17c]
pop edx
pop ecx
call fcn.005a7884
jmp 0x55cb5c
push 0
push 1
mov ebx, dword [0x5b5a9c]
mov ebx, dword [ebx]
lea edx, [ebp - 0x180]
mov eax, 0xca
call ebx
mov eax, dword [ebp - 0x180]
push eax
mov ebx, dword [0x5b5a9c]
mov ebx, dword [ebx]
lea edx, [ebp - 0x188]
mov eax, 0xec
call ebx
push dword [ebp - 0x188]
push 0x55cc80
push 0x55cc80
lea edx, [ebp - 0x18c]
mov eax, 0x64
call fcn.0047a024
push dword [ebp - 0x18c]
lea eax, [ebp - 0x184]
mov edx, 4
call fcn.00405390
mov eax, dword [ebp - 0x184]
push eax
lea edx, [ebp - 0x190]
mov eax, dword [0x5b5c94]
mov eax, dword [eax]
call fcn.0046ccd4
mov eax, dword [ebp - 0x190]
pop edx
pop ecx
call fcn.005a7884
mov eax, dword [0x5b5c94]
mov eax, dword [eax]
call fcn.0046d2fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55cba5
lea eax, [ebp - 0x190]
mov edx, 0x14
call fcn.00405018
lea eax, [ebp - 0x138]
mov edx, 6
call fcn.00405018
lea eax, [ebp - 8]
call fcn.00404ff4
ret