Function at 0x4290e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483878
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8a4
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], esp
push ebx
mov byte [eax], 0
call fcn.00483565
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x4b0]
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 [ebx + 1]
and ecx, 3
cmp al, 0x3a
rep movsb byte es:[edi], byte [esi]
je 0x4292d7
push ebx
mov byte [ebp - 4], 1
call fcn.00483565
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x6b0]
mov eax, ecx
mov esi, edi
mov edi, edx
mov bl, 0x5c
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, [ebp - 0x6b0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp eax, ecx
jge 0x4291b3
mov edx, ecx
sub edx, eax
mov dl, byte [ebp + edx - 0x6b0]
cmp dl, bl
mov byte [ebp + eax - 0x8b0], dl
jne 0x4291b0
cmp eax, 2
jge 0x4291b3
inc eax
jmp 0x429191
sub ecx, eax
xor edx, edx
mov edi, ecx
cmp edx, edi
jge 0x4291ce
mov cl, byte [ebp + edx - 0x6b0]
mov byte [ebp + edx - 0x3b0], cl
inc edx
jmp 0x4291b9
mov byte [ebp + edi - 0x3b0], 0
xor esi, esi
cmp esi, eax
jge 0x4291fe
lea edx, [ebp + esi - 0x6af]
mov dl, byte [edx + edi]
cmp dl, bl
je 0x4291f3
mov byte [ebp + esi - 0x8b0], dl
jne 0x4291fb
mov byte [ebp + esi - 0x8b0], 0
inc esi
jmp 0x4291d8
mov byte [ebp + eax - 0x8b0], 0
mov al, byte [ebp - 0x3ae]
cmp al, bl
je 0x42921d
mov byte [ebp - 0x3ae], bl
mov byte [ebp - 0x3ad], 0
lea edi, [ebp - 0x3b0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
cmp eax, esi
jge 0x429240
cmp byte [ebp + eax - 0x3b0], 0x3a
je 0x429240
inc eax
jmp 0x42922f
xor edx, edx
mov ecx, esi
sub ecx, eax
inc ecx
cmp edx, ecx
jge 0x42925f
lea ecx, [edx + eax]
inc edx
mov cl, byte [ebp + ecx - 0x3b1]
mov byte [ebp + edx - 0x1b1], cl
jmp 0x429242
mov edx, esi
sub edx, eax
cmp eax, esi
mov byte [ebp + edx - 0x1af], 0
jne 0x42929c
lea eax, [ebp - 0xb0]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0xb0]
lea edx, [ebp - 0x1b0]
push ecx
push 0x48b2f4
push edx
call fcn.0047a8f8
add esp, 0xc
lea eax, [ebp - 0x8b0]
push eax
call fcn.00483565
add esp, 4
lea ecx, [ebp - 0x1b0]
push eax
push ecx
call fcn.00483565
add esp, 4
lea edx, [ebp - 0x4b0]
push eax
push 0x4966e0
push edx
call fcn.0047a8f8
add esp, 0x10
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4b0]
lea ecx, [ebp - 0x30]
push eax
call fcn.004020d0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.004022a0
cmp eax, 1
jbe 0x429454
lea ecx, [ebp - 0x30]
mov dword [ebp + 8], 0
call fcn.00402160
push eax
call fcn.00483565
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
mov ebx, dword [ebp + 0xc]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [ebp - 0x30]
call fcn.00402130
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jle 0x429361
mov dword [ebp + 8], 1
cmp esi, 3
jge 0x429372
cmp ecx, 3
jl 0x429477
cmp esi, 3
jle 0x429379
inc dword [ebp + 8]
jmp 0x429395
cmp ecx, 3
jle 0x429395
lea ecx, [ebp - 0x30]
call fcn.00402100
push eax
push 0x48b2f4
push ebx
call fcn.0047a8f8
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.00402240
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [ebp + 8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jle 0x4293b2
inc esi
lea ecx, [ebp - 0x30]
call fcn.00402210
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jle 0x4293cc
inc esi
lea ecx, [ebp - 0x30]
call fcn.004021e0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jle 0x4293e6
inc esi
lea ecx, [ebp - 0x30]
call fcn.00402270
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jle 0x429400
inc esi
lea ecx, [ebp - 0x30]
call fcn.004021b0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jle 0x42941a
inc esi
lea ecx, [ebp - 0x30]
call fcn.00402100
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jle 0x429434
inc esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.004020f0
mov ax, si
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 0x491b90
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 0xc]
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, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.004020f0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor ax, ax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret