Function at 0x4014b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov dword [ebp - 0x64], edx
mov byte [ebp - 0x60], cl
mov dword [ebp - 0x24], 0x2473
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x50], ecx
mov dl, byte [ebp - 0x60]
mov byte [ebp - 0x19], dl
mov eax, dword [ebp - 0x44]
add eax, 0x18e0
cmp eax, dword [ebp - 0x24]
jl 0x401506
mov cx, word [ebp + 8]
mov word [ebp - 0x28], cx
mov byte [ebp - 0x3d], 0x2d
lea edx, [ebp - 0x28]
mov dword [ebp - 0x4c], edx
lea eax, [ebp - 0x19]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x2c], ecx
mov dl, byte [ebp - 0x3d]
mov byte [ebp - 0x3e], dl
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov cl, byte [ebp - 0x3d]
mov byte [ebp - 0x68], cl
cmp byte [ebp - 0x68], 0x2d
je 0x401527
cmp byte [ebp - 0x68], 0xf1
je 0x4017a0
jmp 0x4017ba
mov edx, 0x62
mov word [ebp - 0x58], dx
movzx eax, byte [ebp - 0x3e]
shl eax, 0xe3
movzx ecx, byte [ebp - 0x3d]
cmp eax, ecx
jne 0x4015a7
mov edx, dword [ebp - 0x44]
or edx, dword [ebp - 0x30]
mov dword [ebp - 0x24], edx
movsx eax, byte [ebp - 0x19]
movsx ecx, byte [ebp - 0x60]
xor eax, ecx
mov edx, dword [ebp - 0x18]
mov byte [edx], al
mov eax, dword [ebp - 0x4c]
mov cx, word [eax]
mov word [ebp + 8], cx
movzx edx, byte [ebp - 0x3e]
add edx, 0x6b
mov byte [ebp - 0x3d], dl
mov eax, dword [ebp - 0x18]
movsx ecx, byte [eax]
movsx edx, byte [ebp - 0x19]
sub ecx, edx
movsx eax, byte [ebp - 0x60]
cmp ecx, eax
jne 0x4015a7
mov ecx, dword [ebp - 0x24]
and ecx, dword [ebp - 0x30]
mov dword [ebp - 0x44], ecx
movzx edx, word [ebp - 0x28]
movzx eax, word [ebp + 8]
add edx, eax
mov ecx, dword [ebp - 0x4c]
mov word [ecx], dx
mov edx, dword [ebp - 0x4c]
mov ax, word [edx]
mov word [ebp + 8], ax
call section..text
mov cl, byte [ebp - 0x3e]
mov byte [ebp - 0x59], cl
movsx edx, word [ebp - 0x58]
cmp edx, 0x663
jg 0x4016f9
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x3f22
je 0x4015ce
jmp 0x401614
mov ecx, dword [ebp - 0x64]
add ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x4c]
movzx eax, word [edx]
movzx ecx, word [ebp - 0x28]
sub eax, ecx
mov edx, dword [ebp - 0x4c]
mov word [edx], ax
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x4c]
movzx edx, word [ecx]
push edx
movzx eax, byte [ebp - 0x3e]
push eax
movzx ecx, word [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004024e0
add esp, 0x10
jmp 0x4016d2
movzx eax, byte [ebp - 0x3e]
movzx ecx, byte [ebp - 0x3d]
sub eax, ecx
movzx edx, byte [ebp - 0x59]
cmp eax, edx
je 0x401641
lea eax, [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x24]
xor ecx, dword [ebp - 0x30]
mov dword [ebp - 0x44], ecx
lea edx, [ebp - 0x28]
mov dword [ebp - 0x54], edx
mov al, byte [ebp - 0x59]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 0x50]
and ecx, dword [ebp - 0x64]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x70], edx
cmp dword [ebp - 0x70], 0x6657
je 0x4016c0
cmp dword [ebp - 0x70], 0x6a8e
je 0x401664
jmp 0x4016d2
movzx eax, byte [ebp - 0x3e]
movzx ecx, byte [ebp - 0x59]
imul eax, ecx
movzx edx, byte [ebp - 0x3d]
cmp eax, edx
jge 0x4016a9
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax]
movzx edx, word [ebp - 0x28]
sub ecx, edx
mov eax, dword [ebp - 0x4c]
mov word [eax], cx
movzx ecx, byte [ebp - 0x3d]
movzx edx, byte [ebp - 0x3e]
sub ecx, edx
mov byte [ebp - 0x59], cl
mov ax, word [ebp - 0x28]
mov word [ebp + 8], ax
mov ecx, dword [ebp - 0x44]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x30], ecx
jmp 0x4016be
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USERENV.dll_GetUserProfileDirectoryW]
mov dword [ebp - 0x48], eax
jmp 0x4016d2
mov edx, dword [ebp - 0x4c]
movzx eax, word [edx]
movzx ecx, word [ebp - 0x28]
shl eax, cl
mov ecx, dword [ebp - 0x4c]
mov word [ecx], ax
mov edx, dword [ebp - 0x4c]
movzx eax, word [edx]
movzx ecx, word [ebp + 8]
sar eax, cl
mov word [ebp - 0x28], ax
movzx ecx, byte [ebp - 0x3e]
movzx edx, byte [ebp - 0x3d]
and ecx, edx
mov byte [ebp - 0x59], cl
call section..text
jmp 0x40177d
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USERENV.dll_GetProfilesDirectoryW]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x74], edx
cmp dword [ebp - 0x74], 0x5bde
je 0x401724
cmp dword [ebp - 0x74], 0xdc87
je 0x401759
jmp 0x40177d
movsx eax, word [ebp - 0x58]
cmp eax, 0x271
je 0x401740
movsx edx, byte [ebp - 0x19]
movsx ecx, byte [ebp - 0x60]
shl edx, cl
mov eax, dword [ebp - 0x18]
mov byte [eax], dl
jmp 0x401757
movzx ecx, byte [ebp - 0x19]
push ecx
movzx edx, byte [ebp - 0x19]
push edx
movzx eax, byte [ebp - 0x60]
push eax
call fcn.00401840
add esp, 0xc
jmp 0x40177d
mov ecx, dword [ebp - 0x4c]
movzx edx, word [ecx]
push edx
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x18]
mov cl, byte [eax]
call fcn.004014b0
movzx ecx, word [ebp - 0x28]
movzx edx, word [ebp + 8]
xor ecx, edx
mov eax, dword [ebp - 0x4c]
mov word [eax], cx
mov ecx, dword [ebp - 0x4c]
movzx edx, word [ecx]
movzx eax, word [ebp + 8]
add edx, eax
mov word [ebp - 0x28], dx
mov ecx, dword [ebp - 0x64]
sub ecx, dword [ebp - 0x50]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x18]
mov al, byte [edx]
mov byte [ebp - 0x60], al
jmp 0x4017ba
mov ecx, dword [ebp - 0x4c]
movzx edx, word [ecx]
push edx
movzx eax, byte [ebp - 0x3d]
push eax
push 0x30
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004024e0
add esp, 0x10
lea edx, [ebp - 0x3d]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USERENV.dll_GetUserProfileDirectoryW]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x18]
movsx eax, byte [edx]
movsx ecx, byte [ebp - 0x60]
sub eax, ecx
mov edx, dword [ebp - 0x18]
mov byte [edx], al
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax]
push ecx
movzx edx, byte [ebp - 0x3d]
push edx
call fcn.00401ea0
add esp, 0x10
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax]
movzx edx, word [ebp + 8]
and ecx, edx
mov word [ebp - 0x28], cx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x44]
call fcn.00401b30
mov ecx, dword [ebp - 0x18]
movsx edx, byte [ecx]
movsx ecx, byte [ebp - 0x19]
sar edx, cl
mov eax, dword [ebp - 0x18]
mov byte [eax], dl
mov eax, 0xe1
mov esp, ebp
pop ebp
ret 4