Function at 0x47f20f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7711
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x70
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x47f40e
lea eax, [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x47f349
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.00420325
push 2
mov ecx, dword [ebp - 0x14]
call fcn.00420325
mov esi, dword [eax]
neg esi
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.00420325
xor ecx, ecx
sub ecx, dword [eax]
cmp esi, ecx
jge 0x47f2c0
mov dword [ebp - 0x24], 1
jmp 0x47f2c4
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0
je 0x47f2d3
mov dword [ebp - 0x28], 1
jmp 0x47f2d7
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.00420325
mov eax, dword [eax]
sub eax, dword [ebp - 0x28]
test eax, eax
jle 0x47f2f6
mov dword [ebp - 0x50], 1
jmp 0x47f2fa
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.00420325
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.00420325
push 2
mov ecx, dword [ebp - 0x14]
call fcn.00420325
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x47f338
mov dword [ebp - 0x2c], 1
jmp 0x47f33c
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
jmp 0x47f40c
mov dword [ebp - 0x30], 0x37a0
mov dword [ebp - 0x58], str.niks_xpuc_glsktv_blqrppdg_pckv_cuilsccvx_loduquwaw_nzcddc_gghf_lxdkahs_fljkvrkdh_smnrqy_biaom
cmp dword [ebp - 0x30], 0x3836
jle 0x47f3c3
and dword [ebp - 0x1c], 0
jmp 0x47f36d
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xb61
jge 0x47f3c3
and dword [ebp - 0x20], 0
jmp 0x47f383
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x6a4f
jge 0x47f3c1
mov eax, dword [ebp - 0x1c]
and eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
push dword [ebp - 0x64]
push dword [ebp - 0x68]
lea ecx, [ebp - 0x80]
call fcn.0040195e
pop ecx
pop ecx
mov ecx, eax
call fcn.004200e8
push eax
call fcn.004a11e7
pop ecx
lea ecx, [ebp - 0x80]
call fcn.004200de
jmp 0x47f37c
jmp 0x47f366
push 0
push 0x18b8
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x36df
jge 0x47f3e6
push dword [ebp - 0x58]
call fcn.004a11e7
pop ecx
jmp 0x47f402
or dword [ebp - 4], 0xffffffff
jmp 0x47f40c
jmp 0x47f435
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
push 0x46e8
push 0x710c
push 0
push 0x1360
push dword [ebp - 0x5c]
push 0x4e9
call fcn.00461e47
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret