Function at 0x10042269
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d5a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10042567
lea eax, [ebp + 8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x100422ba
push 0
push 0xd23
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x10042565
mov dword [ebp - 0x24], 0x3026d8d3
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x1c], 0x874be76d
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x9c], 0xffffffff
push 1
lea ecx, [ebp - 0x6c]
call fcn.1001a4ba
and dword [ebp - 4], 0
mov dword [ebp - 0x2c], 9
mov dword [ebp - 0x18], 0xd0204613
mov dword [ebp - 0x80], 0x75aba8b
mov dword [ebp - 0x10], 0
jmp 0x10042313
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1004232c
push dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
call fcn.1001a5a5
mov dword [eax], 0xc2542929
jmp 0x1004230c
mov dword [ebp - 0x10], 0
jmp 0x1004233c
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x10042352
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x98], 3
jmp 0x10042335
mov dword [ebp - 0x24], 0xbc3e
cmp dword [ebp - 0x24], 0
jne 0x1004249a
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x98]
dec eax
mov dword [ebp - 0x5c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x5c]
mov dword [ebp + eax - 0x98], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x5c], eax
jle 0x100423a4
push 0
lea ecx, [ebp - 0x6c]
call fcn.1001a5a5
cmp dword [eax], 0
je 0x100423a4
and dword [ebp - 0x8c], 0
jmp 0x100423ae
mov dword [ebp - 0x8c], 1
push 0
lea ecx, [ebp - 0x6c]
call fcn.1001a5a5
mov ecx, dword [ebp - 0x54]
cmp dword [eax], ecx
jle 0x100423c8
mov dword [ebp - 0x38], 1
jmp 0x100423cc
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x38], eax
jl 0x100423e0
mov dword [ebp - 0x88], 1
jmp 0x100423e7
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x24], eax
je 0x100423f8
mov dword [ebp - 0x58], 1
jmp 0x100423fc
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0xef33
jne 0x10042415
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x98], 0
jne 0x10042419
cmp dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x28], eax
jl 0x10042430
mov dword [ebp - 0x40], 1
jmp 0x10042434
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x40], 0xffffffff
add eax, ecx
je 0x1004245e
push 0
lea ecx, [ebp - 0x6c]
call fcn.1001a5a5
cmp dword [eax], 0
je 0x1004245e
mov dword [ebp - 0x60], 1
jmp 0x10042462
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x60], eax
jne 0x10042473
mov dword [ebp - 0x70], 1
jmp 0x10042477
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x70], eax
jne 0x10042488
mov dword [ebp - 0x4c], 1
jmp 0x1004248c
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x1c]
jne 0x1004249a
and dword [ebp - 0x30], 0
jmp 0x100424a1
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2ee8
je 0x100424c5
mov eax, 0x3fca
test eax, eax
je 0x100424c5
mov dword [ebp - 0x44], 1
jmp 0x100424c9
and dword [ebp - 0x44], 0
imul eax, dword [ebp - 0x44], 0xb5a4
cmp eax, 0xb48fe2d5
jbe 0x100424e0
mov dword [ebp - 0x48], 1
jmp 0x100424e4
and dword [ebp - 0x48], 0
imul esi, dword [ebp - 0x48], 0
push 0
lea ecx, [ebp - 0x6c]
call fcn.1001a5a5
cmp esi, dword [eax]
jl 0x10042503
xor eax, eax
je 0x10042503
mov dword [ebp - 0x50], 1
jmp 0x10042507
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0xffffffff
jge 0x1004251c
mov eax, 0xcf8610f1
test eax, eax
jne 0x1004251c
and dword [ebp - 0x34], 0
jmp 0x10042523
mov dword [ebp - 0x34], 1
push 0
lea ecx, [ebp - 0x6c]
call fcn.1001a5a5
mov ecx, dword [ebp - 0x34]
imul ecx, dword [eax]
test ecx, ecx
jne 0x10042543
cmp dword [ebp - 0x80], 0
jne 0x10042543
and dword [ebp - 0x3c], 0
jmp 0x1004254a
mov dword [ebp - 0x3c], 1
push 0
lea ecx, [ebp - 0x6c]
call fcn.1001a5a5
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.1001a53e
jmp 0x100425dd
lea eax, [ebp + 0x14]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x100425c7
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 3
jmp 0x100425a5
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
jl 0x100425c5
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x100425c3
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
jmp 0x1004259a
jmp 0x100425dd
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x100425dd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret