Function at 0x401c7c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
mov eax, 0x4023a8
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0x14f2f
mov dword [ebp - 0x14], 0xffffffff
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_ObjectPrivilegeAuditAlarmA
mov ecx, dword [0x4220f4]
mov dword [0x422015], esi
add dword [0x4220e5], ebx
mov eax, ecx
push ecx
call fcn.00401020
mov dword [ebp - 0x18], 0x1c3d1
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_SetCaretBlinkTime
test eax, eax
jne 0x401d06
mov word [0x422012], 0x6fec
mov dword [0x422085], ebx
mov word [0x422103], 0xc943
mov byte [ebp - 0xad], 0
mov dword [0x422098], edi
mov dword [0x4220b1], ebx
mov dword [0x42201b], edx
mov dword [0x422065], ebx
mov ebx, esi
mov dword [ebp - 0x1c], 0x36
mov eax, dword [0x423820]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GetCurrentDirectoryW
test eax, eax
jne 0x401d67
mov dword [0x422086], edi
mov dword [0x42207f], edx
add ebx, 0xea
mov word [0x422029], 0x71a9
mov esi, 0x48
inc byte [ebp - 0xad]
cmp byte [ebp - 0xad], 2
jne 0x401d0d
mov eax, 0x4023b4
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], 0x1dd0f
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0xd8]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_ObjectPrivilegeAuditAlarmA
test eax, eax
je 0x401dd4
mov dword [0x4220c1], eax
add dword [0x4220e3], ecx
mov dword [0x4220c3], edi
mov ecx, 0x180
mov dword [0x4220a6], 0x17e1b
mov edi, 0xb2
cmp dword [0x4220f9], 0
jge 0x401dee
mov dword [0x4220fc], edi
mov dword [0x4220bc], edx
mov edi, dword [0x422053]
mov word [0x42203e], 0x8ba6
lea ebx, [0x422093]
sub dword [ebx + 4], 0x7a
mov dword [0x422096], eax
cmp bh, byte [0x422073]
jg 0x401e40
xchg dword [0x4220b6], ebx
sub dword [0x4220ac], eax
lea ebx, [0x422069]
mov dword [ebx], 0xbe
lea esi, [0x422066]
mov dword [esi + 0x18], 0xe3
mov dword [0x422016], ecx
mov dword [0x42209a], ebx
mov byte [0x4220a2], 0x85
mov dword [0x422025], esi
mov dword [0x4220c3], ebx
call sub.kernel32.dll_AreFileApisANSI
mov dword [ebp - 0x38], 0x23
mov eax, dword [0x423820]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_GetCurrentDirectoryW
test eax, eax
jne 0x401e90
mov ebx, esi
mov dword [0x422042], 0x153f6
mov dword [0x4220d1], edx
call sub.kernel32.dll_AreFileApisANSI
mov ecx, edi
mov dword [0x4220b8], esi
sub edx, 0xf0
mov byte [ebp - 0xad], 0
xchg dword [0x422106], edi
lea edx, [0x422066]
sub dword [edx + 8], 0x83
mov dword [0x422023], edi
test cl, cl
jne 0x401ee3
mov dword [0x42203a], 0x15ff6
mov dword [0x4220e2], edx
mov dword [0x422014], 0x15cd6
jmp 0x401f01
mov dword [0x422023], esi
mov dword [0x42204d], edi
mov dword [0x4220ab], eax
mov dword [0x42202c], edx
and dword [0x422097], edi
mov dword [ebp - 0x40], 0x37
mov eax, dword [0x423820]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_GetCurrentDirectoryW
test eax, eax
jne 0x401f51
cmp ecx, 0x89
jge 0x401f3c
lea edi, [0x4220e6]
and dword [edi], 0x8a
mov dword [0x4220f0], ebx
dec esi
mov byte [0x4220b3], 0x3e
mov dword [0x422048], edi
add eax, ebx
mov dword [0x422039], ecx
call fcn.004016fc
inc byte [ebp - 0xad]
cmp byte [ebp - 0xad], 3
jne 0x401eaa
mov byte [0x422057], 0x94
test edx, edx
jne 0x401f7f
mov word [0x422014], 0xcdd2
jmp 0x401f85
mov dword [0x422076], eax
mov dword [0x4220ed], ebx
push 0x42210c
mov edx, 0x422070
push 1
call fcn.00401020
mov dword [ebp - 0x48], 0x13d6a
mov eax, dword [ebp - 0x48]
push eax
call sub.user32.dll_SetCaretBlinkTime
test eax, eax
jne 0x401fcc
inc dword [0x4220a8]
mov dword [0x422016], ebx
mov dword [0x422084], ecx
mov dword [0x42207e], 0x16411
mov eax, 0x4023bc
mov dword [ebp - 0x4c], eax
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x58], 0x17fea
mov dword [ebp - 0x5c], 0xffffffff
mov eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0xec]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.advapi32.dll_ObjectPrivilegeAuditAlarmA
xchg dword [esp - 0x20], ecx
lea edx, [0x422034]
mov dword [edx], ebx
mov esi, 0x35
dec eax
mov dword [0x422011], edx
call fcn.004015d0
mov dword [ebp - 0x60], 0x12e37
mov eax, dword [ebp - 0x60]
push eax
call sub.user32.dll_SetCaretBlinkTime
test eax, eax
jne 0x402067
and dword [0x4220c7], esi
cmp ebx, 0xffffffff
jg 0x40204f
mov dword [0x42206f], eax
and dword [0x422092], edx
mov dword [0x4220a0], eax
mov dword [0x422088], ebx
mov edx, dword [0x4220b4]
and dword [0x42202a], edi
call fcn.00401020
mov dword [0x4220fd], esi
cmp edx, 0xffffffff
jle 0x40207d
mov dword [0x4220c5], eax
sub dword [0x422034], ecx
mov dword [0x4220d3], 0x17dd9
cmp ebx, 0xffffffff
jle 0x4020a4
mov dword [0x422026], esi
mov edx, ecx
mov dword [0x422060], eax
mov ecx, dword [esp + 0x12]
mov dword [0x422081], ebx
mov dword [0x4220df], ecx
mov edx, 0x5d
and dword [0x422067], esi
call sub.kernel32.dll_AreFileApisANSI
sub dword [0x422082], eax
mov dword [0x422062], ebx
mov dword [0x4220cb], ecx
call sub.kernel32.dll_AreFileApisANSI
inc dword [0x422011]
mov dword [0x422019], ecx
xchg dword [esp - 4], esi
xchg dword [0x4220b4], edx
call fcn.0041aec8
cmp word [ebp - 0x24], dx
je 0x40210b
sub dword [0x4220c5], ecx
mov dword [0x422095], esi
mov byte [0x4220ea], 0xb2
mov ecx, ebx
mov dword [0x422010], eax
lea esi, [0x42203e]
add dword [esi + 0x18], 0xf1
mov dword [0x422023], 0x11ff4
dec dword [0x4220ea]
mov dword [ebp - 0x64], 0x1d91c
mov eax, dword [ebp - 0x64]
push eax
call sub.user32.dll_SetCaretBlinkTime
test eax, eax
je 0x40215a
xchg dword [esp - 0x18], ebx
mov dword [0x4220bb], eax
mov dword [0x4220ac], ebx
mov dword [0x4220f1], esi
call sub.kernel32.dll_AreFileApisANSI
mov dword [0x422023], 0x12ab6
mov byte [0x4220b1], 0xae
add dword [0x42201d], esi
mov byte [0x422057], 0x94
test edx, edx
jne 0x40218c
mov word [0x422014], 0xcdd2
jmp 0x402192
mov dword [0x422076], eax
mov dword [0x4220ed], ebx
call fcn.00401020
mov dword [0x422054], ecx
mov dword [esp - 8], esi
mov dword [0x422029], ecx
mov eax, 0x4023cc
mov dword [ebp - 0x68], eax
xor eax, eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x74], 0x18363
mov dword [ebp - 0x78], 0xffffffff
mov eax, dword [ebp - 0x78]
push eax
lea eax, [ebp - 0x100]
push eax
mov eax, dword [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x68]
push eax
call sub.advapi32.dll_ObjectPrivilegeAuditAlarmA
test eax, eax
jne 0x402201
mov word [0x4220f7], 0x645b
mov dword [0x42209c], ebx
mov dword [0x422049], eax
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x84], 0x13c49
mov dword [ebp - 0x88], 0x11b61
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x118]
push eax
mov eax, dword [ebp - 0x84]
push eax
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x7c]
push eax
call sub.advapi32.dll_AdjustTokenGroups
test eax, eax
je 0x40225d
mov dword [0x4220ff], ecx
mov dword [0x422038], edi
mov dword [0x4220ed], 0x10df4
xor eax, eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x94], 0x1ad74
mov dword [ebp - 0x98], 0x18b19
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x130]
push eax
mov eax, dword [ebp - 0x94]
push eax
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x8c]
push eax
call sub.advapi32.dll_AdjustTokenGroups
mov byte [0x42205b], 0x92
mov dword [0x422046], eax
mov dword [0x4220fa], edi
cmp byte [ebp - 0xc], 0
jle 0x4022cb
mov ebx, dword [0x4220bd]
mov dword [esp - 0x20], edi
dec dword [0x4220c3]
mov dword [0x4220b8], esi
call fcn.0041aec8
add dword [0x4220ec], edx
mov dword [0x422066], 0x17159
mov dword [0x422012], ebx
mov edx, 0x159
mov dword [0x422058], ecx
add dword [0x42201e], ebx
lea edi, [0x422051]
mov dword [edi + 0x12], 0xa7
mov dword [0x422053], ebx
mov eax, 0x4023e0
mov dword [ebp - 0x9c], eax
xor eax, eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa8], 0x1ca56
mov dword [ebp - 0xac], 0xffffffff
mov eax, dword [ebp - 0xac]
push eax
lea eax, [ebp - 0x144]
push eax
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x9c]
push eax
call sub.advapi32.dll_ObjectPrivilegeAuditAlarmA
test eax, eax
je 0x402382
mov dword [0x42209d], edx
sub dword [0x422032], ebx
mov dword [0x422023], esi
mov byte [0x422019], 0x57
xchg dword [0x422039], ecx
mov dword [0x4220e7], 0x1290f
push ecx
push ecx
push esi
call fcn.004174b8
mov esp, ebp
pop ebp
ret