Function at 0x10027aa5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f051
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x6c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x10027cea
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x10027bab
mov dword [ebp - 0x14], 0x3ae35568
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x48], 0x81720d70
mov dword [ebp - 0x14], 0
jmp 0x10027b18
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffee
jg 0x10027ba6
mov dword [ebp - 0x1c], 0x720
cmp dword [ebp - 0x1c], 0
je 0x10027b39
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x30], 0xfffffffb
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x1c]
jl 0x10027b5b
mov dword [ebp - 0x34], 1
jmp 0x10027b5f
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0xd2e8
je 0x10027b71
mov dword [ebp - 0x38], 1
jmp 0x10027b75
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x38], eax
je 0x10027b86
mov dword [ebp - 0x3c], 1
jmp 0x10027b8a
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x30], 0
je 0x10027ba1
jmp 0x10027b11
jmp 0x10027b11
jmp 0x10027ce8
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x40], 0x2b71
mov dword [ebp - 0x54], str.jatczd_qxlalaim_zqdvafwsc_mccubt_cfpcpqd_xcvayl_ugdmijl_kyvpd_sxmrtl_tuvteplj_axcubix_rgui_jekyficpf
cmp dword [ebp - 0x40], 0x2e45
jle 0x10027c63
and dword [ebp - 0x20], 0
jmp 0x10027bd9
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4666
jge 0x10027c56
and dword [ebp - 0x24], 0
jmp 0x10027bef
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2e6d
jge 0x10027c51
and dword [ebp - 0x28], 0
jmp 0x10027c05
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x285e
jge 0x10027c4f
and dword [ebp - 0x2c], 0
jmp 0x10027c1b
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x41aa
jge 0x10027c4d
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
shl eax, cl
mov ecx, dword [ebp - 0x2c]
sar eax, cl
cdq
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
mov ecx, 0x10079ad8
call fcn.1000fde8
jmp 0x10027c14
jmp 0x10027bfe
jmp 0x10027be8
jmp 0x10027bd2
push 0xa90
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0x2af6
jge 0x10027c83
mov edx, dword [ebp - 0x54]
mov ecx, 0x10079ad8
call fcn.10012b8c
jmp 0x10027c9f
or dword [ebp - 4], 0xffffffff
jmp 0x10027ca9
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x10027ccb
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 1
jge 0x10027ce8
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x60]
call fcn.10010144
mov dword [eax], 0xfffffff8
jmp 0x10027cc0
jmp 0x10027d14
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x68], eax
push dword [ebp - 0x64]
push 0
push 0x4baa
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
call fcn.1002773f
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret