Function at 0x40ab00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4151d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b4
mov dword [ebp - 0x1c0], ecx
mov dword [ebp - 0x170], 0
push 0x416349
lea ecx, [ebp - 0x14c]
call fcn.004020c0
mov dword [ebp - 4], 1
push 0x416349
lea ecx, [ebp - 0x130]
call fcn.004020c0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c0]
call fcn.0040b240
movzx eax, al
test eax, eax
jne 0x40ac8c
push 0x104
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [ebp - 0x114]
push edx
call fcn.0040cc20
add esp, 4
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x130]
call fcn.00401fd0
movzx ecx, byte [0x416787]
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x150], 0
mov edx, dword [ebp - 0x154]
add edx, 1
push edx
call fcn.0040b8d1
add esp, 4
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x154]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x150]
push edx
call fcn.0040cff0
add esp, 0xc
mov eax, dword [ebp - 0x154]
push eax
push str.ehCJGYb
mov ecx, dword [ebp - 0x150]
push ecx
call fcn.0040ccb0
add esp, 0xc
push 0x4166ac
mov edx, dword [ebp - 0x154]
push edx
mov eax, dword [ebp - 0x150]
push eax
call fcn.00408400
add esp, 0xc
mov ecx, dword [ebp - 0x150]
push ecx
call fcn.0040cc20
add esp, 4
push eax
mov edx, dword [ebp - 0x150]
push edx
lea ecx, [ebp - 0x14c]
call fcn.00401fd0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x164]
push ecx
call fcn.0040ca99
add esp, 4
mov edx, dword [0x4164a0]
push edx
push 0
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x130]
call fcn.004045f0
jmp 0x40ada4
push 0x104
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [ebp - 0x114]
push edx
call fcn.0040cc20
add esp, 4
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x130]
call fcn.00401fd0
movzx ecx, byte [0x416536]
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x158], 0
mov edx, dword [ebp - 0x15c]
add edx, 1
push edx
call fcn.0040b8d1
add esp, 4
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x15c]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x158]
push edx
call fcn.0040cff0
add esp, 0xc
mov eax, dword [ebp - 0x15c]
push eax
push str.e_YJGG
mov ecx, dword [ebp - 0x158]
push ecx
call fcn.0040ccb0
add esp, 0xc
push 0x4166ac
mov edx, dword [ebp - 0x15c]
push edx
mov eax, dword [ebp - 0x158]
push eax
call fcn.00408400
add esp, 0xc
mov ecx, dword [ebp - 0x158]
push ecx
call fcn.0040cc20
add esp, 4
push eax
mov edx, dword [ebp - 0x158]
push edx
lea ecx, [ebp - 0x14c]
call fcn.00401fd0
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x16c]
push ecx
call fcn.0040ca99
add esp, 4
mov edx, dword [0x4164a0]
push edx
push 0
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x130]
call fcn.004045f0
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.00401af0
mov ecx, dword [0x4164a0]
push ecx
push 0
lea edx, [ebp - 0x130]
push edx
mov ecx, dword [ebp + 8]
call fcn.00401ee0
mov eax, dword [ebp - 0x170]
or eax, 1
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x130]
call fcn.00401af0
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x14c]
call fcn.00401af0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4