Function at 0x494d12
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb201
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x90
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x494d6d
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
push dword [ebp - 0x50]
push dword [ebp - 0x60]
push 1
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
push eax
call fcn.00494fc7
add esp, 0x10
jmp 0x494fb6
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x494e72
mov dword [ebp - 0x2c], 0xc88
mov dword [ebp - 0x68], str.abbgdytec_nrgrenuuw_fupb_rgbh_skj
cmp dword [ebp - 0x2c], 0xede
jle 0x494e1f
and dword [ebp - 0x24], 0
jmp 0x494dc3
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2966
jge 0x494e1f
and dword [ebp - 0x1c], 0
jmp 0x494dd9
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x994
jge 0x494e1d
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
push dword [ebp - 0x74]
push dword [ebp - 0x78]
lea ecx, [ebp - 0xa0]
call fcn.004019b1
pop ecx
pop ecx
mov ecx, eax
call fcn.0040b8ce
push eax
call fcn.004b4d47
pop ecx
lea ecx, [ebp - 0xa0]
call fcn.0040b8c4
jmp 0x494dd2
jmp 0x494dbc
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0xb89
jge 0x494e3b
push dword [ebp - 0x68]
call fcn.004b4d47
pop ecx
jmp 0x494e57
or dword [ebp - 4], 0xffffffff
jmp 0x494e61
push 1
push dword [ebp - 0x34]
call fcn.00486928
pop ecx
pop ecx
jmp 0x494fb6
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x494f94
mov dword [ebp - 0x30], 0x2d7e
mov dword [ebp - 0x3c], str.txjqjnvt_slefkol_aoyo_efsapjn_wywxalh_rtt
cmp dword [ebp - 0x30], 0x30fd
jle 0x494f3e
and dword [ebp - 0x20], 0
jmp 0x494eba
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x12b
jge 0x494f3e
and dword [ebp - 0x18], 0
jmp 0x494ed0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x7dfc
jge 0x494f39
and dword [ebp - 0x28], 0
jmp 0x494ee6
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x4ebd
jge 0x494f37
and dword [ebp - 0x14], 0
jmp 0x494efc
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x5190
jge 0x494f35
mov eax, dword [ebp - 0x28]
cdq
idiv dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, edx
shl eax, cl
and eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
push dword [ebp - 0x80]
push dword [ebp - 0x84]
mov ecx, 0xa9b358
call fcn.0040b8d9
jmp 0x494ef5
jmp 0x494edf
jmp 0x494ec9
jmp 0x494eb3
push 0
push 0x311
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x30], 0x2cd3
jge 0x494f6c
mov edx, dword [ebp - 0x3c]
mov ecx, 0xa9b358
call fcn.0040e54d
jmp 0x494f88
or dword [ebp - 4], 0xffffffff
jmp 0x494f92
jmp 0x494fb6
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x6c]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret