Function at 0x427180
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call fcn.0042f0c0
cmp eax, 1
jne 0x4271a7
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00427120
add esp, 8
mov eax, 0x7dd
pop edi
pop esi
pop ebx
pop ebp
ret
mov edx, dword [0x452f2c]
mov ebx, dword [ebp + 8]
mov ecx, 0x41
xor eax, eax
lea edi, [edx + 0x127]
rep stosd dword es:[edi], eax
mov edi, dword [ebx + 0x22]
test edi, edi
je 0x427571
mov eax, dword [0x452f2c]
or ecx, 0xffffffff
lea edx, [eax + 0x127]
xor eax, eax
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x452f2c]
mov cl, byte [eax + 0x22b]
lea edi, [eax + 0x22b]
test cl, cl
je 0x427215
mov ecx, 0x41
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [0x452f2c]
mov edi, dword [ebx + 0x26]
test edi, edi
je 0x427241
lea edx, [eax + 0x22b]
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, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x427252
add eax, 0x22b
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, 0x10
mov esi, ebx
mov edi, 0x452ee8
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsx eax, byte [ebx + 5]
dec eax
cmp eax, 0xb
ja case.default.0x427270
jmp dword [eax*4 + 0x427588]
mov ecx, dword [0x452f2c]
mov byte [ecx + 0x12], 1
jmp 0x427326
mov edx, dword [0x452f2c]
mov byte [edx + 0x10], 1
jmp 0x427326
mov eax, dword [0x452f2c]
mov byte [eax + 0x18], 1
jmp 0x427326
mov ecx, dword [0x452f2c]
mov byte [ecx + 0xd], 1
mov edx, dword [0x452f2c]
mov byte [edx + 0x12], 1
jmp 0x427326
mov eax, dword [0x452f2c]
mov byte [eax + 0xf], 1
jmp 0x427326
mov ecx, dword [0x452f2c]
mov byte [ecx + 0xe], 1
jmp 0x427326
mov edx, dword [0x452f2c]
mov byte [edx + 0x13], 1
jmp 0x427326
mov eax, dword [0x452f2c]
mov byte [eax + 0x15], 1
jmp 0x427326
mov ecx, dword [0x452f2c]
mov byte [ecx + 0x14], 1
jmp 0x427326
mov edx, dword [0x452f2c]
mov byte [edx + 0x1a], 1
mov ecx, dword [0x452f2c]
mov al, byte [ebx + 0xd]
mov byte [ecx + 0x330], al
mov eax, dword [0x452f2c]
mov dl, byte [ebx + 0xc]
mov byte [eax + 0x32f], dl
jmp 0x427326
mov ecx, dword [0x452f2c]
mov byte [ecx + 0x1a], 2
push ebx
call fcn.00427000
add esp, 4
test eax, eax
je 0x427348
push 1
push ebx
call fcn.00427120
add esp, 8
mov eax, 0x7d3
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [0x452f2c]
mov dl, byte [ebx + 7]
mov byte [eax + 9], dl
mov cl, byte [ebx + 6]
mov byte [0x453279], cl
mov dl, byte [ebx + 4]
mov ecx, dword [0x452f2c]
mov byte [0x453278], dl
mov al, byte [ebx + 8]
mov byte [ecx + 0xb], al
mov eax, dword [0x452f2c]
mov dl, byte [ebx + 0xb]
mov byte [eax + 0x19], dl
mov edx, dword [0x452f2c]
mov cl, byte [ebx + 9]
mov byte [edx + 0x16], cl
mov eax, dword [ebx + 0x1e]
push eax
call fcn.0042efd0
mov ecx, dword [0x452f2c]
add esp, 4
mov al, byte [ecx + 0x19]
test al, al
je 0x4273c1
mov al, byte [ecx + 0xb]
test al, al
je 0x4273c1
push 1
push ebx
mov byte [ecx + 0x19], 0
call fcn.00427120
add esp, 8
mov eax, 0x7d4
pop edi
pop esi
pop ebx
pop ebp
ret
mov al, byte [ebx + 0xa]
test al, al
jne 0x42740c
mov al, byte [ebx + 8]
test al, al
jne 0x42740c
mov al, byte [ebx + 5]
cmp al, 1
je 0x4273e1
cmp al, 6
je 0x4273e1
mov eax, 1
jmp 0x4273e3
xor eax, eax
add ecx, 0x127
push eax
push ecx
call fcn.0042d140
add esp, 8
cmp eax, 1
jne 0x42740c
push eax
push ebx
call fcn.00427120
add esp, 8
mov eax, 0x7d5
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.0042e1b0
cmp eax, 1
jne 0x42742a
push eax
push ebx
call fcn.00427120
add esp, 8
mov eax, 0x7d6
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [0x452f2c]
mov cl, byte [eax + 9]
test cl, cl
je 0x427450
cmp cl, 1
je 0x427450
push 1
push ebx
call fcn.00427120
add esp, 8
mov eax, 0x7d7
pop edi
pop esi
pop ebx
pop ebp
ret
mov cl, byte [0x453278]
test cl, cl
jne 0x42746f
push 1
push ebx
call fcn.00427120
add esp, 8
mov eax, 0x7d8
pop edi
pop esi
pop ebx
pop ebp
ret
cmp cl, 1
je 0x427489
push 1
push ebx
call fcn.00427120
add esp, 8
mov eax, 0x7d9
pop edi
pop esi
pop ebx
pop ebp
ret
mov cl, byte [0x453279]
cmp cl, 8
jle 0x4274a9
push 1
push ebx
call fcn.00427120
add esp, 8
mov eax, 0x7da
pop edi
pop esi
pop ebx
pop ebp
ret
test cl, cl
jne 0x4274b4
mov byte [0x453279], 1
cmp byte [eax + 0x1a], 1
jne 0x4274e7
cmp byte [eax + 0x330], 3
ja 0x4274d2
mov cl, byte [eax + 0x32f]
test cl, cl
je 0x4274e7
cmp cl, 1
je 0x4274e7
push 1
push ebx
call fcn.00427120
add esp, 8
mov eax, 0x7db
pop edi
pop esi
pop ebx
pop ebp
ret
mov ecx, dword [eax + 0x1b]
test ecx, ecx
je 0x427503
mov ecx, dword [ecx]
test ecx, ecx
je 0x427503
cmp byte [ecx], 0
jne 0x427518
mov cl, byte [eax + 0x127]
test cl, cl
jne 0x427518
push 1
push ebx
call fcn.00427120
add esp, 8
mov eax, 0x7dc
pop edi
pop esi
pop ebx
pop ebp
ret
mov cl, byte [eax + 0x14]
test cl, cl
je 0x42753a
cmp dword [eax + 0x1f], 2
jae 0x42753a
push 1
push ebx
call fcn.00427120
add esp, 8
mov eax, 0x7de
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.004280a0
mov cl, byte [ebx + 5]
push ecx
call fcn.00427fd0
push 1
push ebx
mov esi, eax
call fcn.00427120
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
push 1
push ebx
call fcn.00427120
add esp, 8
mov eax, 0x7d2
pop edi
pop esi
pop ebx
pop ebp
ret
push 1
push ebx
call fcn.00427120
add esp, 8
mov eax, 0x7d0
pop edi
pop esi
pop ebx
pop ebp
ret