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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x32
push 0
push 0
dec ecx
jne 0x55d9fc
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x55e756
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x55e764]
or eax, dword [ebx + 0x50]
mov dword [ebx + 0x50], eax
mov eax, dword [fcn.005a68bc]
mov dword [eax + 4], ebx
mov dword [eax], 0x55d418
mov byte [ebx + 0x3a4], 1
mov eax, dword [0x5b1d8c]
mov byte [eax], 1
call fcn.0056af8c
mov byte [ebx + 0x49e], 1
mov byte [ebx + 0x49f], 0
mov byte [ebx + 0x4a0], 1
mov eax, dword [0x5b1d84]
mov dword [eax], 0x806a
mov eax, dword [0x5b1814]
cmp byte [eax], 0
jne 0x55dba7
lea edx, [ebp - 0x128]
mov eax, dword [0x5b1c4c]
mov eax, dword [eax]
call fcn.0046e2f8
mov eax, dword [ebp - 0x128]
lea edx, [ebp - 0x124]
call fcn.0040aa50
mov eax, dword [ebp - 0x124]
mov edx, 0x55e770
call fcn.0047a0f8
test al, al
je 0x55db84
call fcn.004030d0
cmp eax, 2
jl 0x55daec
lea edx, [ebp - 0x12c]
mov eax, 1
call fcn.00403138
mov edx, dword [ebp - 0x12c]
mov eax, 0x55e784
call fcn.0047a0f8
test al, al
je 0x55daec
lea edx, [ebx + 0x354]
mov eax, 2
call fcn.00403138
jmp 0x55daf7
lea eax, [ebx + 0x354]
call fcn.00404ff4
cmp dword [ebx + 0x354], 0
jbe 0x55db30
mov eax, dword [ebx + 0x354]
call fcn.00443a20
test al, al
je 0x55db30
mov eax, dword [ebx + 0x354]
call fcn.004433e8
mov edx, eax
mov eax, dword [0x5b1c4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x98]
call fcn.00431504
jmp 0x55dba7
push 0
push 1
mov esi, dword [0x5b1a54]
mov esi, dword [esi]
lea edx, [ebp - 0x130]
mov eax, 0xca
call esi
mov eax, dword [ebp - 0x130]
push eax
mov esi, dword [0x5b1a54]
mov esi, dword [esi]
lea edx, [ebp - 0x134]
mov eax, pe_nt_image_headers32
call esi
mov edx, dword [ebp - 0x134]
mov eax, 0x55e790
pop ecx
call fcn.005a3274
mov eax, dword [0x5b1c4c]
mov eax, dword [eax]
call fcn.0046dc94
jmp 0x55dba7
lea edx, [ebp - 0x138]
mov eax, dword [0x5b1c4c]
mov eax, dword [eax]
call fcn.0046e2f8
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 + 0x4b0], eax
mov eax, dword [0x5b1ab4]
mov eax, dword [eax]
mov dword [ebx + 0x350], eax
mov byte [ebx + 0x39c], 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 + 0x3a6], 0
mov al, byte [0x55e7a4]
mov byte [ebx + 0x3a7], al
mov byte [ebx + 0x3a8], 0
mov byte [ebx + 0x3a9], 0
lea eax, [ebx + 0x3ac]
call fcn.00404ff4
xor eax, eax
mov dword [ebx + 0x3b0], eax
mov byte [ebx + 0x3a3], 0
lea eax, [ebx + 0x3b4]
call fcn.00404ff4
mov dword [ebx + 0x3b8], 0x20000000
xor eax, eax
mov dword [ebx + 0x3bc], eax
mov byte [ebx + 0x39a], 0
mov byte [ebx + 0x39b], 1
mov byte [ebx + 0x39d], 1
mov byte [ebx + 0x39e], 1
mov byte [ebx + 0x39f], 1
mov byte [ebx + 0x3a0], 0
mov byte [ebx + 0x3a1], 0
mov byte [ebx + 0x3a2], 0
mov byte [ebx + 0x398], 0
mov byte [ebx + 0x399], 0
xor eax, eax
mov dword [ebx + 0x4bc], eax
xor eax, eax
mov dword [ebx + 0x4c0], eax
lea ecx, [ebp - 0x140]
xor edx, edx
xor eax, eax
call fcn.0041a6c0
mov eax, dword [ebp - 0x140]
mov dword [ebx + 0x4c4], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebx + 0x4c8], 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 + 0x4a8]
call fcn.00404ff4
mov byte [ebx + 0x484], 0
lea eax, [ebx + 0x36c]
call fcn.00404ff4
lea eax, [ebx + 0x370]
call fcn.00404ff4
mov byte [ebx + 0x44d], 1
mov byte [ebx + 0x44e], 0
mov dword [ebx + 0x458], 0x3c
lea eax, [ebx + 0x450]
call fcn.00404ff4
mov byte [ebx + 0x44c], 0
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 + 0x474]
call fcn.00404ff4
lea eax, [ebx + 0x470]
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 + 0x478], eax
mov byte [ebx + 0x47c], 0x84
lea eax, [ebx + 0x480]
call fcn.00404ff4
mov dword [ebx + 0x34c], 1
mov byte [ebx + 0x324], 0
mov dword [ebx + 0x4ac], 0x1e
xor eax, eax
mov dword [ebx + 0x4b4], eax
xor eax, eax
mov dword [ebx + 0x4b8], eax
mov byte [ebx + 0x4cc], 0
lea eax, [ebp - 0x144]
call fcn.0047aeb8
mov edx, dword [ebp - 0x144]
mov eax, 0x5b0fb0
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.0040af44
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.0053f740
xor edx, edx
mov eax, ebx
call fcn.005547f8
xor edx, edx
mov eax, dword [ebx + 0x308]
call fcn.0053f6bc
xor edx, edx
call fcn.0042500c
mov esi, eax
mov dword [ebx + 0x334], esi
mov byte [esi + 0x250], 1
mov eax, dword [ebx + 0x354]
call fcn.00564a1c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x55df1b
cmp dword [0x5b0f88], 0
jbe 0x55df02
test byte [0x5b0f8c], 2
setne cl
test byte [0x5b0f8c], 1
setne dl
mov al, 1
call fcn.00563fac
xor ecx, ecx
mov edx, 0x55e7b0
mov eax, ebx
call fcn.0055b3d0
test al, al
jne 0x55df1b
mov dword [ebp - 4], 0x64
cmp dword [ebp - 4], 0
jne 0x55e518
cmp byte [ebx + 0x49e], 0
jne 0x55e518
mov al, byte [ebx + 0x47c]
test al, 2
jbe 0x55df63
lea edx, [ebp - 0x14c]
mov eax, 0x55e7c4
call fcn.005a0a0c
mov edx, dword [ebp - 0x14c]
lea eax, [ebx + 0x480]
call fcn.00405048
jmp 0x55e01f
test al, 4
jbe 0x55df7e
lea eax, [ebx + 0x480]
mov edx, dword [ebx + 0x358]
call fcn.00405048
jmp 0x55e01f
test al, 1
jbe 0x55dfa7
lea edx, [ebp - 0x150]
mov eax, dword [ebx + 0x354]
call fcn.0040a934
mov edx, dword [ebp - 0x150]
lea eax, [ebx + 0x480]
call fcn.00405048
jmp 0x55e01f
test byte [ebx + 0x47c], 8
jbe 0x55e014
cmp dword [ebx + 0x480], 0
jbe 0x55e014
lea edx, [ebp - 0x154]
mov eax, dword [ebx + 0x480]
call fcn.0040aad0
mov edx, dword [ebp - 0x154]
lea eax, [ebx + 0x480]
call fcn.00405048
mov eax, dword [ebx + 0x480]
call fcn.004438fc
test al, al
jne 0x55e01f
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x480]
call fcn.004437ac
cmp dword [ebp - 4], 0
jne 0x55e007
mov byte [ebx + 0x39a], 1
jmp 0x55e01f
lea eax, [ebx + 0x480]
call fcn.00404ff4
jmp 0x55e01f
lea eax, [ebx + 0x480]
call fcn.00404ff4
mov eax, dword [ebx + 0x480]
mov edx, 0x55e7d8
call fcn.0040541c
je 0x55e077
cmp dword [ebx + 0x480], 0
je 0x55e077
lea edx, [ebp - 0x15c]
mov eax, dword [ebx + 0x480]
call fcn.0040a9bc
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x158]
call fcn.0040ecd8
mov eax, dword [ebp - 0x158]
call fcn.004054d0
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
sub eax, 2
jb 0x55e077
sub eax, 3
jne 0x55e088
lea eax, [ebx + 0x480]
mov edx, dword [ebx + 0x358]
call fcn.00405048
cmp dword [ebx + 0x374], 0
je 0x55e0a5
mov edx, 2
mov eax, dword [ebx + 0x374]
call fcn.00566018
test al, al
jne 0x55e0c8
push 0x7f00
mov eax, dword [0x5b2668]
push eax
call sub.user32.dll_LoadCursorA
mov ecx, eax
mov eax, dword [0x5b1eb0]
mov eax, dword [eax]
mov edx, 2
call fcn.0046bb4c
cmp dword [ebx + 0x378], 0
je 0x55e0e5
mov edx, 1
mov eax, dword [ebx + 0x378]
call fcn.00566018
test al, al
jne 0x55e141
mov eax, dword [0x5b1d78]
cmp byte [eax], 0
je 0x55e11e
mov eax, dword [0x5b1984]
cmp byte [eax], 0
je 0x55e11e
push 0x55e7e0
mov eax, dword [0x5b2668]
push eax
call sub.user32.dll_LoadCursorA
mov ecx, eax
mov eax, dword [0x5b1eb0]
mov eax, dword [eax]
mov edx, 1
call fcn.0046bb4c
jmp 0x55e141
push 0x55e7f0
mov eax, dword [0x5b2668]
push eax
call sub.user32.dll_LoadCursorA
mov ecx, eax
mov eax, dword [0x5b1eb0]
mov eax, dword [eax]
mov edx, 1
call fcn.0046bb4c
cmp dword [ebx + 0x37c], 0
je 0x55e15e
mov edx, 3
mov eax, dword [ebx + 0x37c]
call fcn.00566018
test al, al
jne 0x55e1ba
mov eax, dword [0x5b1d78]
cmp byte [eax], 0
je 0x55e197
mov eax, dword [0x5b1984]
cmp byte [eax], 0
je 0x55e197
push 0x55e800
mov eax, dword [0x5b2668]
push eax
call sub.user32.dll_LoadCursorA
mov ecx, eax
mov eax, dword [0x5b1eb0]
mov eax, dword [eax]
mov edx, 3
call fcn.0046bb4c
jmp 0x55e1ba
push 0x55e810
mov eax, dword [0x5b2668]
push eax
call sub.user32.dll_LoadCursorA
mov ecx, eax
mov eax, dword [0x5b1eb0]
mov eax, dword [eax]
mov edx, 3
call fcn.0046bb4c
cmp dword [ebx + 0x380], 0
jbe 0x55e1d3
mov edx, 0xfffffff5
mov eax, dword [ebx + 0x380]
call fcn.00566018
call fcn.00565f6c
mov eax, dword [ebx + 0x4ac]
call fcn.005a392c
mov eax, ebx
call fcn.0055bb94
mov eax, dword [ebx + 0x4c8]
push eax
mov eax, dword [ebx + 0x4c4]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.user32.dll_SetRect
push 0xffffffffffffffec
mov eax, ebx
call fcn.0045465c
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.0045465c
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.0041a6c0
mov eax, dword [ebp - 0x140]
mov dword [ebx + 0x4c4], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebx + 0x4c8], eax
cmp byte [0x5b0f9c], 0
je 0x55e2ba
mov eax, dword [0x5b1814]
cmp byte [eax], 0
jne 0x55e2ba
mov eax, dword [0x5b0fa0]
push eax
mov eax, ebx
call fcn.0045465c
mov edx, eax
mov eax, dword [0x5b1c4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov cl, byte [0x5b0f94]
call fcn.0053bc34
mov byte [0x5b0f9c], al
cmp dword [ebx + 0x36c], 0
jbe 0x55e2eb
mov eax, dword [ebx + 0x36c]
call fcn.0054b308
cmp ax, 6
je 0x55e2eb
mov eax, dword [0x5b1c4c]
mov eax, dword [eax]
mov byte [eax + 0x5b], 0
mov eax, dword [0x5b1c4c]
mov eax, dword [eax]
call fcn.0046dc94
cmp byte [0x5b0f90], 2
jne 0x55e381
mov ecx, ebx
mov dl, 1
mov eax, dword [0x53e7bc]
call fcn.0053e9d4
mov esi, eax
mov dword [ebx + 0x4bc], esi
mov edx, dword [ebx + 0x35c]
mov eax, esi
call fcn.0053ecd0
mov eax, dword [ebx + 0x4bc]
mov dword [eax + 0xa4], ebx
mov dword [eax + 0xa0], 0x55f52c
mov dword [eax + 0xac], ebx
mov dword [eax + 0xa8], 0x55f52c
mov edx, dword [ebx + 0x4c0]
test edx, edx
je 0x55e351
mov dword [eax + 0x98], edx
mov dl, 1
mov eax, dword [ebx + 0x4bc]
call fcn.0053ed90
cmp dword [ebx + 0x45c], 0
jne 0x55e372
mov eax, dword [0x5b1c4c]
mov eax, dword [eax]
mov byte [eax + 0x5b], 0
mov eax, dword [0x5b1b18]
cmp dword [eax], 0
je 0x55e381
call fcn.00564090
mov byte [ebx + 0x3a4], 0
lea edx, [ebp - 8]
mov al, 0x42
call fcn.0055d8a8
test al, al
je 0x55e39d
mov byte [ebx + 0x3a0], 1
mov eax, dword [0x5b1a8c]
mov al, byte [eax]
dec eax
sub al, 2
jae 0x55e3d3
mov edx, 0x55e828
mov eax, dword [ebx + 0x308]
call fcn.0053f814
mov esi, eax
mov edx, esi
mov eax, dword [ebx + 0x308]
call fcn.0053f7fc
test al, al
jne 0x55e415
mov esi, 1
jmp 0x55e415
lea edx, [ebp - 8]
mov al, 0x4b
call fcn.0055d8a8
test al, al
je 0x55e40f
cmp dword [ebp - 8], 0
jbe 0x55e40f
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x308]
call fcn.0053f814
mov esi, eax
mov edx, esi
mov eax, dword [ebx + 0x308]
call fcn.0053f7fc
test al, al
jne 0x55e415
mov esi, 1
jmp 0x55e415
mov esi, dword [0x5b0f98]
mov edx, esi
mov eax, dword [ebx + 0x308]
call fcn.0053f970
mov eax, ebx
call fcn.0045465c
call fcn.00565d9c
mov eax, dword [ebx + 0x308]
call fcn.0053f6e8
mov edi, eax
dec edi
test edi, edi
jle 0x55e477
mov esi, 1
push 0
push 0
mov edx, esi
mov eax, dword [ebx + 0x308]
call fcn.0053f6bc
xor edx, edx
call fcn.0042500c
mov edx, dword [0x537674]
call fcn.0040429c
xor ecx, ecx
mov dx, 0x4c8
call fcn.00537f10
inc esi
dec edi
jne 0x55e445
mov eax, dword [ebx + 0x334]
test eax, eax
je 0x55e490
push 0
push 0
xor ecx, ecx
mov dx, 0x4c8
call fcn.00537f10
mov eax, dword [ebx + 0x248]
call fcn.0055d9b4
xor eax, eax
mov dword [0x5b4578], eax
xor eax, eax
mov dword [0x5b457c], eax
mov eax, dword [ebx + 0x4c0]
call fcn.0055d9b4
mov eax, dword [0x5b1c4c]
mov eax, dword [eax]
mov dword [eax + 0xdc], ebx
mov dword [eax + 0xd8], 0x55444c
mov eax, dword [0x5b1c4c]
mov eax, dword [eax]
mov dword [eax + 0x11c], ebx
mov dword [eax + 0x118], 0x5545c4
mov eax, dword [0x5b1c4c]
mov eax, dword [eax]
mov dword [eax + 0x124], ebx
mov dword [eax + 0x120], 0x55d4d0
mov eax, dword [0x5b1bd8]
cmp dword [eax], 0
jne 0x55e720
mov edx, 0xffff8001
mov eax, ebx
call fcn.0044d470
jmp 0x55e720
mov eax, dword [0x5b1814]
cmp byte [eax], 0
je 0x55e559
mov eax, ebx
call fcn.0046a454
mov eax, dword [0x5b1bac]
test byte [eax], 4
jne 0x55e53c
mov dl, 1
xor eax, eax
call fcn.005731e0
mov eax, dword [0x5b1bac]
test byte [eax], 2
jne 0x55e54b
call fcn.0059f80c
mov eax, dword [0x5b1c4c]
mov eax, dword [eax]
call fcn.0046d9ec
jmp 0x55e564
mov eax, dword [0x5b1c4c]
mov eax, dword [eax]
mov byte [eax + 0x5b], 0
mov eax, dword [0x5b1b18]
cmp dword [eax], 0
je 0x55e573
call fcn.00564090
cmp byte [ebx + 0x49e], 0
je 0x55e5e5
cmp byte [ebx + 0x49f], 0
je 0x55e5e5
push 0
push 1
mov ebx, dword [0x5b1a54]
mov ebx, dword [ebx]
lea edx, [ebp - 0x160]
mov eax, 0xca
call ebx
mov eax, dword [ebp - 0x160]
push eax
mov ebx, dword [0x5b1a54]
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 [0x5b1c4c]
mov eax, dword [eax]
call fcn.0046d66c
mov eax, dword [ebp - 0x168]
pop edx
pop ecx
call fcn.005a3274
jmp 0x55e714
cmp dword [ebp - 4], 0
je 0x55e683
push 0
push 1
mov ebx, dword [0x5b1a54]
mov ebx, dword [ebx]
lea edx, [ebp - 0x16c]
mov eax, 0xca
call ebx
mov eax, dword [ebp - 0x16c]
push eax
mov ebx, dword [0x5b1a54]
mov ebx, dword [ebx]
lea edx, [ebp - 0x174]
mov eax, 0xec
call ebx
push dword [ebp - 0x174]
push 0x55e838
push 0x55e838
lea edx, [ebp - 0x178]
mov eax, dword [ebp - 4]
call fcn.00479a3c
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 [0x5b1c4c]
mov eax, dword [eax]
call fcn.0046d66c
mov eax, dword [ebp - 0x17c]
pop edx
pop ecx
call fcn.005a3274
jmp 0x55e714
push 0
push 1
mov ebx, dword [0x5b1a54]
mov ebx, dword [ebx]
lea edx, [ebp - 0x180]
mov eax, 0xca
call ebx
mov eax, dword [ebp - 0x180]
push eax
mov ebx, dword [0x5b1a54]
mov ebx, dword [ebx]
lea edx, [ebp - 0x188]
mov eax, 0xec
call ebx
push dword [ebp - 0x188]
push 0x55e838
push 0x55e838
lea edx, [ebp - 0x18c]
mov eax, 0x64
call fcn.00479a3c
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 [0x5b1c4c]
mov eax, dword [eax]
call fcn.0046d66c
mov eax, dword [ebp - 0x190]
pop edx
pop ecx
call fcn.005a3274
mov eax, dword [0x5b1c4c]
mov eax, dword [eax]
call fcn.0046dc94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55e75d
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