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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6b0
push ebx
push esi
push edi
push 0x2c
push 3
push dword [ebp + 8]
lea eax, [ebp - 0x2a0]
push eax
mov dword [ebp - 0x10], 1
call fcn.2000c4a6
add esp, 0x10
push 0x10
mov esi, eax
pop ecx
lea edi, [ebp - 0x58]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x58]
xor ebx, ebx
cmp eax, ebx
je 0x20020601
cmp word [eax], bx
je 0x20020601
call fcn.2000cb44
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x54]
cmp eax, ebx
mov dword [ebp - 0xc], 2
je 0x20020368
cmp word [eax], bx
je 0x20020368
push eax
call fcn.200042be
xor edi, edi
inc edi
cmp eax, edi
pop ecx
mov dword [ebp - 0xc], eax
jge 0x2002035c
mov dword [ebp - 0xc], edi
jmp 0x2002036b
push 3
pop ecx
cmp eax, ecx
jle 0x2002036b
mov dword [ebp - 0xc], ecx
jmp 0x2002036b
xor edi, edi
inc edi
mov esi, dword [ebp - 0x50]
cmp esi, ebx
je 0x20020383
cmp word [esi], bx
je 0x20020383
push esi
call fcn.2000c460
cmp word [esi], bx
pop ecx
jne 0x20020386
mov dword [ebp - 0x50], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x58]
movzx eax, word [eax]
cmp ax, 0x24
jne 0x2002039d
mov dword [ebp - 8], edi
jmp 0x200203a6
cmp ax, 0x5c
jne 0x200203ac
mov dword [ebp - 0x18], edi
add dword [ebp - 0x58], 2
jmp 0x2002038c
cmp dword [ebp - 4], ebx
je 0x200203b9
cmp dword [ebp - 8], ebx
je 0x200203b9
mov dword [ebp - 0x50], ebx
push 0x3d
push dword [ebp - 0x58]
call dword [sym.imp.SHLWAPI.dll_StrChrW]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x200203d3
mov word [eax], bx
inc eax
inc eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x58]
call fcn.200136cb
cmp al, bl
pop ecx
je 0x20020601
movzx eax, al
xor esi, esi
xor edi, edi
dec eax
je 0x2002041e
dec eax
je 0x200203f7
dec eax
jne 0x20020459
push ebx
jmp 0x200203f9
push 1
push dword [ebp - 0x58]
call fcn.2001323a
test eax, eax
pop ecx
pop ecx
je 0x20020411
cmp dword [ebp - 4], ebx
jne 0x20020411
xor eax, eax
inc eax
jmp 0x20020413
xor eax, eax
xor ecx, ecx
cmp eax, ebx
sete cl
mov esi, ecx
jmp 0x20020459
cmp dword [ebp - 4], ebx
mov eax, dword [ebp - 0x50]
je 0x2002042f
cmp eax, ebx
je 0x20020438
cmp word [eax], bx
je 0x20020438
cmp eax, ebx
je 0x2002043d
cmp word [eax], bx
je 0x2002043d
xor edi, edi
inc edi
jmp 0x2002043f
xor edi, edi
cmp dword [ebp - 8], ebx
jne 0x20020456
cmp dword [ebp - 4], ebx
je 0x20020452
cmp eax, ebx
je 0x20020456
cmp word [eax], bx
je 0x20020456
xor esi, esi
jmp 0x20020459
xor esi, esi
inc esi
push 0x10
call fcn.20004210
cmp esi, ebx
pop ecx
mov dword [0x2002dd20], eax
je 0x20020488
push dword [ebp - 0xc]
push 0x20003de8
call fcn.200133be
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
jne 0x20020488
cmp edi, ebx
je 0x200205ec
cmp dword [ebp - 4], ebx
je 0x2002049c
call fcn.20013044
push 1
push ebx
call fcn.20012fbc
pop ecx
pop ecx
mov esi, 0x206
push esi
lea eax, [ebp - 0x4a6]
push ebx
push eax
mov word [ebp - 0x4a8], bx
call sub.MSVCRT.dll_memset
push esi
lea eax, [ebp - 0x25e]
push ebx
push eax
mov word [ebp - 0x260], bx
call sub.MSVCRT.dll_memset
add esp, 0x18
push dword [ebp - 0x58]
lea eax, [ebp - 0x4a8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x18], ebx
je 0x20020584
lea eax, [ebp - 0x6b0]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [ebp - 0x6b0], bx
lea esi, [ebp - 0x6b0]
je 0x200205ec
xor edi, edi
inc edi
lea eax, [ebp - 0x4a8]
push eax
push esi
lea eax, [ebp - 0x260]
push 0x20002b80
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x260]
push edi
push eax
call fcn.200135b3
add esp, 0x18
test eax, eax
jne 0x20020550
lea eax, [ebp - 0x260]
push ebx
push eax
call fcn.200135b3
test eax, eax
pop ecx
pop ecx
je 0x20020572
push dword [ebp - 0x50]
lea eax, [ebp - 0x260]
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0x14]
push eax
call fcn.200201cf
add esp, 0x14
test eax, eax
je 0x20020572
mov dword [ebp - 0x10], edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
jne 0x2002050f
jmp 0x200205ec
cmp word [ebp - 0x4a6], 0x3a
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x200205be
cmp word [ebp - 0x4a4], 0x5c
je 0x200205be
lea eax, [ebp - 0x260]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x20003248
lea eax, [ebp - 0x260]
push eax
call esi
lea eax, [ebp - 0x4a8]
push eax
lea eax, [ebp - 0x260]
push eax
call esi
push dword [ebp - 0x50]
lea eax, [ebp - 0x260]
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0x14]
push eax
call fcn.200201cf
add esp, 0x14
mov dword [ebp - 0x10], eax
call fcn.20013677
cmp dword [ebp - 4], ebx
je 0x20020601
push 1
push 1
call fcn.20012fbc
pop ecx
pop ecx
xor eax, eax
cmp dword [ebp - 0x10], ebx
pop edi
pop esi
sete al
pop ebx
leave
ret