Function at 0x485a83
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b41d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x108
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x485e2b
lea eax, [ebp + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xd0], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x485dc5
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x485bca
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
jmp 0x485ba5
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 1
jge 0x485bc5
mov eax, dword [ebp - 0x20]
push dword [eax]
mov ecx, dword [ebp - 0xdc]
call fcn.0040e22e
mov dword [eax], 0xdde0bcd8
jmp 0x485b9a
jmp 0x485dc3
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
imul ecx, dword [eax]
test ecx, ecx
jne 0x485c30
xor eax, eax
inc eax
jne 0x485c30
and dword [ebp - 0x54], 0
jmp 0x485c37
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x54]
dec eax
jne 0x485c49
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x485d93
mov dword [ebp - 0x44], 1
mov dword [ebp - 0xfc], 0x87fd074d
mov dword [ebp - 0xf8], 0x87fd074d
mov dword [ebp - 0xf4], 0x87fd074d
mov dword [ebp - 0xf0], 0x87fd074d
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x485c8e
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x485c8e
and dword [ebp - 0x4c], 0
jmp 0x485c95
mov dword [ebp - 0x4c], 1
cmp dword [ebp - 0x4c], 0x26595ad3
jne 0x485ca7
mov dword [ebp - 0x34], 1
jmp 0x485cab
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov eax, dword [ebp - 0x34]
add eax, 0x6e1e
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx]
jl 0x485ccb
mov dword [ebp - 0x38], 1
jmp 0x485ccf
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0x38]
imul eax, ecx
mov ecx, dword [ebp - 0x1c]
cmp eax, dword [ecx]
jle 0x485cf5
mov dword [ebp - 0x3c], 1
jmp 0x485cf9
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jne 0x485d0c
mov dword [ebp - 0x40], 1
jmp 0x485d10
and dword [ebp - 0x40], 0
imul eax, dword [ebp - 0x40], 0xffff
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0xfc]
jl 0x485d2f
mov dword [ebp - 0x7c], 1
jmp 0x485d33
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x100], eax
push 0xfffffffffffffff8
pop eax
cmp eax, 0xffff
jb 0x485d57
mov eax, 0x4c38
test eax, eax
jne 0x485d57
and dword [ebp - 0x30], 0
jmp 0x485d5e
mov dword [ebp - 0x30], 1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp + eax - 0xfc], ecx
cmp dword [ebp - 0x30], 0
je 0x485d85
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
je 0x485d85
mov dword [ebp - 0x48], 1
jmp 0x485d89
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
jmp 0x485dc3
push 1
push 0
push 0x39b1
push dword [ebp - 0x50]
push 1
push 1
push 0xd2c
push 1
call fcn.00470d82
add esp, 0x20
mov byte [ebp - 0x15], 0
push 0
lea eax, [ebp - 0x15]
push eax
call fcn.004888ed
pop ecx
pop ecx
jmp 0x485e26
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x485df4
push 0
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
jmp 0x485e26
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
movzx eax, byte [eax]
test eax, eax
je 0x485e26
push 0x1220
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x485f68
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0x58], 0x241c
mov dword [ebp - 0xb4], str.fjfh_qwz_jaar
cmp dword [ebp - 0x58], 0x2726
jle 0x485eee
and dword [ebp - 0x2c], 0
jmp 0x485e68
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x1d9c
jge 0x485eee
and dword [ebp - 0x28], 0
jmp 0x485e7e
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x17ad
jge 0x485ee9
and dword [ebp - 0x24], 0
jmp 0x485e94
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x4c60
jge 0x485ee7
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], edx
push dword [ebp - 0xe4]
push dword [ebp - 0xe8]
lea ecx, [ebp - 0x118]
call fcn.004019bd
pop ecx
pop ecx
mov ecx, eax
call fcn.0040e020
push eax
call fcn.0049dd57
pop ecx
lea ecx, [ebp - 0x118]
call fcn.0040e016
jmp 0x485e8d
jmp 0x485e77
jmp 0x485e61
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xbc], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x58], 0x21c2
jge 0x485f10
push dword [ebp - 0xb4]
call fcn.0049dd57
pop ecx
jmp 0x485f2c
or dword [ebp - 4], 0xffffffff
jmp 0x485f36
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xcc], eax
push dword [ebp - 0xbc]
push dword [ebp - 0xc4]
push dword [ebp - 0xcc]
push 1
push 0x352e
push dword [ebp - 0xd4]
push 1
call fcn.0046e714
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret