Function at 0x454d60
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x483d8b
push eax
mov dword fs:[0], esp
sub esp, 0x8a4
push ebx
push ebp
mov ebp, dword [esp + 0x8bc]
push esi
push edi
push ebp
call fcn.00483565
or ebx, 0xffffffff
mov edi, eax
mov ecx, ebx
xor eax, eax
add esp, 4
lea edx, [esp + 0x3b0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [ebp + 1]
and ecx, 3
cmp al, 0x3a
rep movsb byte es:[edi], byte [esi]
je 0x454f65
push ebp
call fcn.00483565
mov edi, eax
mov ecx, ebx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x4b0]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x4b0]
mov ecx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov bl, 0x5c
test ecx, ecx
jle 0x454e25
lea esi, [esp + ecx + 0x4b0]
mov dl, byte [esi]
cmp dl, bl
mov byte [esp + eax + 0x6b0], dl
jne 0x454e1f
cmp eax, 2
jge 0x454e25
inc eax
dec esi
cmp eax, ecx
jl 0x454e0d
sub ecx, eax
mov edx, ecx
test edx, edx
jle 0x454e49
mov ebp, ecx
lea esi, [esp + 0x4b0]
lea edi, [esp + 0x1b0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov byte [esp + edx + 0x1b0], 0
test eax, eax
jle 0x454e7b
lea esi, [esp + edx + 0x4b1]
mov dl, byte [esi + ecx]
cmp dl, bl
je 0x454e6e
mov byte [esp + ecx + 0x6b0], dl
jne 0x454e76
mov byte [esp + ecx + 0x6b0], 0
inc ecx
cmp ecx, eax
jl 0x454e5e
mov byte [esp + eax + 0x6b0], 0
mov al, byte [esp + 0x1b2]
cmp al, bl
je 0x454e9d
mov byte [esp + 0x1b2], bl
mov byte [esp + 0x1b3], 0
lea edi, [esp + 0x1b0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
test ebp, ebp
jle 0x454ec3
cmp byte [esp + eax + 0x1b0], 0x3a
je 0x454ec3
inc eax
cmp eax, ebp
jl 0x454eb4
mov edx, ebp
sub edx, eax
lea ecx, [edx + 1]
test ecx, ecx
jle 0x454eea
mov ebx, ecx
lea esi, [esp + eax + 0x1af]
lea edi, [esp + 0xb0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp eax, ebp
mov byte [esp + edx + 0xb1], 0
jne 0x454f20
lea ecx, [esp + 0x30]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x30]
lea eax, [esp + 0xb0]
push edx
push 0x48b2f4
push eax
call fcn.0047a8f8
add esp, 0xc
lea ecx, [esp + 0x6b0]
push ecx
call fcn.00483565
add esp, 4
lea edx, [esp + 0xb0]
push eax
push edx
call fcn.00483565
add esp, 4
push eax
lea eax, [esp + 0x3b8]
push 0x4966e0
push eax
call fcn.0047a8f8
add esp, 0x10
mov dword [esp + 0x8bc], 0xffffffff
or ebx, 0xffffffff
lea ecx, [esp + 0x3b0]
push ecx
call fcn.00483565
add esp, 4
lea ecx, [esp + 0x10]
push eax
call fcn.004020d0
lea ecx, [esp + 0x10]
mov dword [esp + 0x8bc], 2
call fcn.004022a0
cmp eax, 1
jbe 0x45503c
lea ecx, [esp + 0x10]
call fcn.00402100
mov edi, eax
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 4
jge 0x454ff1
mov edi, 0x491b90
mov ecx, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x8bc], ebx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x8c8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.004020f0
xor ax, ax
jmp 0x455075
lea ecx, [esp + 0x10]
call fcn.00402100
push eax
call fcn.00483565
mov edi, eax
mov ecx, ebx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x8bc], ebx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x8c8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.004020f0
mov ax, 1
jmp 0x455075
mov edi, 0x491b90
mov ecx, ebx
xor eax, eax
mov dword [esp + 0x8bc], ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x8c8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.004020f0
mov ax, bx
mov ecx, dword [esp + 0x8b4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8b0
ret