Function at 0x4704e6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae807
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x4707cb
lea eax, [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x47053a
push 0
push 0x195a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x4707c9
mov dword [ebp - 0x64], 0x559f
mov dword [ebp - 0x74], str.xzcjpyi_mbizhl_vuocut_dfwvp_nyxvr
cmp dword [ebp - 0x64], 0x55e4
jle 0x4705c8
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
and dword [ebp - 0x1c], 0
jmp 0x47056c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4ae1
jge 0x4705c8
and dword [ebp - 0x20], 0
jmp 0x470582
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x55da
jge 0x4705c6
and dword [ebp - 0x24], 0
jmp 0x470598
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x615
jge 0x4705c4
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x20]
and eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
mov ecx, 0xabbe58
call fcn.0042fa2a
jmp 0x470591
jmp 0x47057b
jmp 0x470565
mov dword [ebp - 0x18], 0xa4f4
mov dword [ebp - 0x14], 0xfffa
mov dword [ebp - 0x4c], 0xfffffff7
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x70], 0x42f34c93
mov dword [ebp - 0x28], 0
jmp 0x4705fb
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x470611
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x8c], 0x2c60edac
jmp 0x4705f4
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp + eax - 0x8c], ecx
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x8c]
mov dword [ebp - 0x2c], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x2c]
mov dword [ebp + eax - 0x8c], ecx
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x14], eax
jge 0x470653
mov dword [ebp - 0x30], 1
jmp 0x470657
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x30]
test eax, eax
je 0x470671
cmp dword [ebp - 0x14], 0
je 0x470671
mov dword [ebp - 0x34], 1
jmp 0x470675
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0xae7b
jge 0x470687
mov dword [ebp - 0x38], 1
jmp 0x47068b
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x38], eax
jl 0x47069c
mov dword [ebp - 0x3c], 1
jmp 0x4706a0
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0x7289
jge 0x4706b2
mov dword [ebp - 0x40], 1
jmp 0x4706b6
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x40], eax
jge 0x4706c7
mov dword [ebp - 0x44], 1
jmp 0x4706cb
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x44], eax
jl 0x4706dc
mov dword [ebp - 0x48], 1
jmp 0x4706e0
and dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0xf1fe
jg 0x4706ed
cmp dword [ebp - 0x14], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x8c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x14]
cmp eax, 0x1ba13726
jl 0x470719
mov dword [ebp - 0x50], 1
jmp 0x47071d
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xb085bb31
jbe 0x470735
mov dword [ebp - 0x58], 1
jmp 0x470739
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x14]
jl 0x47074d
mov dword [ebp - 0x5c], 1
jmp 0x470751
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x5c]
jg 0x470762
mov dword [ebp - 0x60], 1
jmp 0x470766
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0x6f4e
jne 0x470778
mov dword [ebp - 0x6c], 1
jmp 0x47077c
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], 0xbcce3f50
and dword [ebp - 4], 0
cmp dword [ebp - 0x64], 0x5347
jge 0x4707a3
mov edx, dword [ebp - 0x74]
mov ecx, 0xabbe58
call fcn.004313d0
jmp 0x4707bf
or dword [ebp - 4], 0xffffffff
jmp 0x4707c9
jmp 0x4707df
push 0x4a30
push 0
push 0x7ca
call fcn.0046d9ce
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret