Function at 0x4143b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45d202
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x4772c4]
xor eax, esp
mov dword [esp + 0x1b4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4772c4]
xor eax, esp
push eax
lea eax, [esp + 0x1cc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1e4]
mov edi, dword [esp + 0x1dc]
mov esi, dword [esp + 0x1e0]
xor ebx, ebx
push ebx
push 0x462917
lea ecx, [esp + 0xb0]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
call fcn.00402bb0
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push str.WINDIR
push esi
mov dword [esp + 0x1dc], ebx
call ebp
test eax, eax
jne 0x4144a3
push 0x104
lea ecx, [esp + 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x414695
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xb0]
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
push edx
mov ecx, edi
mov byte [edi + 4], bl
call fcn.00402ad0
cmp dword [esp + 0xc0], 0x10
jb 0x4148bc
mov eax, dword [esp + 0xac]
push eax
jmp 0x4148b4
push str.WINSYSDIR
push esi
call ebp
test eax, eax
jne 0x4144c4
push 0x104
lea ecx, [esp + 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x414461
push str.WINSYSWOW64DIR
push esi
call ebp
test eax, eax
jne 0x41450d
lea ecx, [esp + 0xc4]
push 0x104
push ecx
call fcn.004063f0
add esp, 8
test eax, eax
jne 0x414695
lea edx, [esp + 0xa8]
push edx
mov ecx, edi
call fcn.00402c80
lea ecx, [esp + 0xa8]
call fcn.004027f0
jmp 0x4148bc
push str.PROGRAMFILES
push esi
call ebp
test eax, eax
jne 0x414553
push 0x26
lea eax, [esp + 0xc8]
push eax
call fcn.0042d020
add esp, 8
test al, al
jne 0x414695
lea ecx, [esp + 0xa8]
push ecx
mov ecx, edi
call fcn.00402c80
lea ecx, [esp + 0xa8]
call fcn.004027f0
jmp 0x4148bc
push str.COLORDIR
push esi
call ebp
test eax, eax
jne 0x414587
cmp dword [0x478a54], 1
jne 0x414575
cmp dword [0x478a58], 5
jb 0x4144ed
lea eax, [esp + 0xc4]
push eax
call fcn.0042d070
add esp, 4
jmp 0x41452b
push str.MODULEDIR
push esi
call ebp
test eax, eax
jne 0x4145c6
cmp dword [0x478ab4], ebx
je 0x414668
cmp dword [0x478ab8], 0x10
mov eax, dword [0x478aa4]
jae 0x4145b2
mov eax, 0x478aa4
push eax
lea edx, [esp + 0xc8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x414695
push str.ALLUSERS_PROGRAM
push esi
call ebp
test eax, eax
jne 0x41461a
mov eax, dword [0x478a54]
neg eax
sbb eax, eax
and eax, 0x15
add eax, 2
push eax
lea ecx, [esp + 0xc8]
push ecx
call fcn.0042d020
add esp, 8
test al, al
jne 0x414695
lea edx, [esp + 0xa8]
push edx
mov ecx, edi
call fcn.00402c80
lea ecx, [esp + 0xa8]
call fcn.004027f0
jmp 0x4148bc
push str.ALLUSER_DESKTOP
push esi
call ebp
test eax, eax
jne 0x414638
mov eax, dword [0x478a54]
neg eax
sbb eax, eax
and eax, 0x19
push eax
jmp 0x41451b
push str.ALLUSER_STARTUP
push esi
call ebp
test eax, eax
jne 0x414688
mov eax, dword [0x478a54]
neg eax
sbb eax, eax
and eax, 0x11
add eax, 7
push eax
lea edx, [esp + 0xc8]
push edx
call fcn.0042d020
add esp, 8
test al, al
jne 0x414695
lea eax, [esp + 0xa8]
push eax
mov ecx, edi
call fcn.00402c80
lea ecx, [esp + 0xa8]
call fcn.004027f0
jmp 0x4148bc
push esi
lea ecx, [esp + 0xac]
call fcn.00403010
lea ecx, [esp + 0xc4]
push ecx
call fcn.0042d530
mov esi, dword [esp + 0x18]
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x41484f
mov ebp, 0xf
mov eax, esi
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4146d0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x58]
call fcn.00402bb0
push 1
push 0x462a70
lea ecx, [esp + 0x20]
mov byte [esp + 0x1dc], 1
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00402bb0
lea eax, [esp + 0xc4]
mov byte [esp + 0x1d4], 2
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x414728
sub eax, esi
push eax
lea edx, [esp + 0xc8]
push edx
lea ecx, [esp + 0x3c]
call fcn.00402bb0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x94]
push edx
mov byte [esp + 0x1e0], 3
call fcn.00409fe0
lea ecx, [esp + 0x5c]
push ecx
push eax
lea edx, [esp + 0x84]
push edx
mov byte [esp + 0x1ec], 4
call fcn.00409fe0
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1e0], 5
call fcn.00402ad0
mov esi, 0x10
cmp dword [esp + 0x88], esi
jb 0x4147b5
mov eax, dword [esp + 0x74]
push eax
call fcn.0042f233
add esp, 4
cmp dword [esp + 0xa4], esi
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
jb 0x4147e0
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0042f233
add esp, 4
cmp dword [esp + 0x4c], esi
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
jb 0x414808
mov edx, dword [esp + 0x38]
push edx
call fcn.0042f233
add esp, 4
cmp dword [esp + 0x30], esi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
jb 0x414827
mov eax, dword [esp + 0x1c]
push eax
call fcn.0042f233
add esp, 4
cmp dword [esp + 0x68], esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov byte [esp + 0x1d4], bl
jb 0x414888
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0042f233
add esp, 4
jmp 0x414888
lea eax, [esp + 0xc4]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x414860
sub eax, edx
push eax
lea edx, [esp + 0xc8]
push edx
lea ecx, [esp + 0xb0]
call fcn.00402bb0
mov ebp, 0xf
lea esi, [ebp + 1]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xb0]
mov dword [edi + 0x18], ebp
mov dword [edi + 0x14], ebx
push eax
mov ecx, edi
mov byte [edi + 4], bl
call fcn.00402ad0
cmp dword [esp + 0xc0], esi
jb 0x4148bc
mov ecx, dword [esp + 0xac]
push ecx
call fcn.0042f233
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x1cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1b4]
xor ecx, esp
call fcn.0044017c
add esp, 0x1c4
ret 0xc