Function at 0x412c29
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae041
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x88
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x412ceb
lea eax, [ebp + 0x18]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x412cc9
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
jmp 0x412caa
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 1
jge 0x412cc7
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov ecx, dword [ebp - 0x6c]
call fcn.0042fc2d
mov dword [eax], 0x7d5b
jmp 0x412c9f
jmp 0x412ce6
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x412ce6
push 0
push 0x195a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x412f4c
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x48], 0x7854
mov dword [ebp - 0x7c], str.bkruev_eqyqb_kpstjwf_zleqyfmrc
cmp dword [ebp - 0x48], 0x7985
jle 0x412d5b
and dword [ebp - 0x24], 0
jmp 0x412d15
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x4278
jge 0x412d5b
and dword [ebp - 0x20], 0
jmp 0x412d2b
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4b85
jge 0x412d59
mov eax, dword [ebp - 0x24]
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, 0xabbe58
call fcn.0042fa2a
jmp 0x412d24
jmp 0x412d0e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x48], 0x75f9
jge 0x412d7b
mov edx, dword [ebp - 0x7c]
mov ecx, 0xabbe58
call fcn.004313d0
jmp 0x412d97
or dword [ebp - 4], 0xffffffff
jmp 0x412da1
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x4c], 0xa023703a
mov dword [ebp - 0x98], 0x4bda99da
mov dword [ebp - 0x94], 0x4bda99da
mov dword [ebp - 0x90], 0x4bda99da
mov dword [ebp - 0x8c], 0x4bda99da
mov dword [ebp - 0x60], 0x6cc72b75
mov dword [ebp - 0x68], 0x800f4d4e
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x412e02
push 0
push 0x195a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp dword [ebp - 0x14], 0
je 0x412e2e
cmp dword [ebp - 0x14], 0xfffffffe
ja 0x412e1b
push 8
pop eax
test eax, eax
jne 0x412e1b
and dword [ebp - 0x34], 0
jmp 0x412e22
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x34], eax
je 0x412e2e
cmp dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0x7a5eafb5
jne 0x412e40
mov dword [ebp - 0x58], 1
jmp 0x412e44
and dword [ebp - 0x58], 0
imul eax, dword [ebp - 0x14], 0xc4e2
mov ecx, dword [ebp - 0x14]
lea eax, [eax + ecx + 8]
cmp eax, dword [ebp - 0x14]
jle 0x412e60
mov dword [ebp - 0x44], 1
jmp 0x412e64
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x44], eax
jle 0x412e75
mov dword [ebp - 0x28], 1
jmp 0x412e79
and dword [ebp - 0x28], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x28]
mov dword [ebp + eax - 0x98], ecx
cmp dword [ebp - 0x28], 0
je 0x412e9d
cmp dword [ebp - 0x14], 0
je 0x412e9d
mov dword [ebp - 0x3c], 1
jmp 0x412ea1
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 1
jne 0x412eb0
mov dword [ebp - 0x30], 1
jmp 0x412eb4
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x30], eax
jne 0x412ec5
mov dword [ebp - 0x38], 1
jmp 0x412ec9
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x38]
je 0x412ee0
cmp dword [ebp - 0x60], 0
je 0x412ee0
mov dword [ebp - 0x40], 1
jmp 0x412ee4
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x40]
jge 0x412f10
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x98], 0
jne 0x412f10
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x98], 0
jne 0x412f10
and dword [ebp - 0x2c], 0
jmp 0x412f17
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x2c]
je 0x412f28
mov dword [ebp - 0x50], 1
jmp 0x412f2c
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
push 0x17e2
push dword [ebp - 0x70]
push 0xce7
push dword [ebp - 0x78]
push 0
call fcn.0041319f
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