Function at 0x4191c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481cc5
mov eax, dword fs:[0]
push eax
mov eax, 0x1054
call fcn.0046ab70
mov eax, dword [0x4b185c]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1050], ecx
push 0x48dfac
lea ecx, [ebp - 0x1038]
call fcn.0040e440
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1038]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x1050]
call fcn.0041a3a0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1038]
call fcn.0040e4c0
cmp dword [ebp - 0x1c], 0
je 0x419245
mov eax, dword [ebp - 0x1c]
jmp 0x4194f5
push 0x48dfb4
lea ecx, [ebp - 0x10]
call fcn.0040e440
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x10]
call fcn.00414600
push 0
lea ecx, [ebp - 0x18]
call fcn.004137e0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x10]
push eax
push SysReAllocStringLen
lea ecx, [ebp - 0x18]
call fcn.00413870
movzx ecx, al
test ecx, ecx
je 0x4194cb
push 0x28
call fcn.00455385
add esp, 4
mov dword [ebp - 0x1040], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1040], 0
je 0x4192c3
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x1040]
call fcn.00420b60
mov dword [ebp - 0x1054], eax
jmp 0x4192cd
mov dword [ebp - 0x1054], 0
mov eax, dword [ebp - 0x1054]
mov dword [ebp - 0x103c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x103c]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
je 0x4194cb
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.0041e400
mov ecx, eax
call fcn.0040e550
push eax
mov ecx, dword [ebp - 0x1050]
call fcn.0041e670
push 0x48dfe8
lea ecx, [ebp - 0x1048]
call fcn.0040e440
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1044]
call fcn.0040e380
mov dword [ebp - 0x1058], eax
mov eax, dword [ebp - 0x1058]
mov dword [ebp - 0x105c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x105c]
push ecx
lea edx, [ebp - 0x1048]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.00413db0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1044]
call fcn.0040e4c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1048]
call fcn.0040e4c0
push 0x48dff0
lea ecx, [ebp - 0x24]
call fcn.0040dbe0
test eax, eax
je 0x4193bb
push 0x48e000
lea ecx, [ebp - 0x24]
call fcn.0040dbe0
test eax, eax
je 0x4193bb
push 0x48e010
lea ecx, [ebp - 0x24]
call fcn.0040dbe0
test eax, eax
je 0x4193bb
mov dword [ebp - 0x1060], 0
jmp 0x4193c5
mov dword [ebp - 0x1060], 1
mov cl, byte [ebp - 0x1060]
mov byte [ebp - 0x1d], cl
lea ecx, [ebp - 0x24]
call fcn.0040de50
movzx edx, al
test edx, edx
jne 0x4194bf
push 0x1000
lea eax, [ebp - 0x102c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x102c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040e440
mov byte [ebp - 4], 9
push 0x48e020
lea ecx, [ebp - 0x28]
call fcn.00411310
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x28]
call fcn.00414600
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x1050]
call fcn.00418d40
mov dword [ebp - 0x1030], eax
cmp dword [ebp - 0x1030], 0
je 0x419451
mov ecx, dword [ebp - 0x1030]
call fcn.0041e400
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0041ea20
movzx ecx, byte [ebp - 0x1d]
test ecx, ecx
je 0x4194b3
push 0x48e024
push 0x48e02c
lea ecx, [ebp - 0x28]
call fcn.00411330
test eax, eax
jne 0x419481
push 0x48e034
push str..d64
lea ecx, [ebp - 0x28]
call fcn.00411330
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x1050]
call fcn.00418d40
mov dword [ebp - 0x1034], eax
cmp dword [ebp - 0x1034], 0
je 0x4194b3
mov ecx, dword [ebp - 0x1034]
call fcn.0041e400
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0041ea20
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.0040e4c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.0040e4c0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x104c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00413850
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040e4c0
mov eax, dword [ebp - 0x104c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.0046a0d3
mov esp, ebp
pop ebp
ret 4