Function at 0x12fe73c0
Capabilities:
Check for time delay via gettickcount
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x13071fec
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
mov dword [0x131c9cd0], ebx
call edi
mov esi, dword [esp + 0x26c]
mov dword [0x131c9cd8], eax
cmp esi, ebx
je 0x12fe7819
push esi
call fcn.12f5c44d
add esp, 4
test eax, eax
je 0x12fe7819
mov eax, dword [esp + 0x270]
push eax
call fcn.12f9dd00
add esp, 4
test eax, eax
je 0x12fe7432
mov eax, 1
jmp 0x12fe7836
push esi
lea ecx, [esp + 0x14]
call fcn.12f46a80
mov ecx, dword [0x1307d25c]
mov dword [esp + 0x264], ebx
mov dword [esp + 0x18], ecx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x56]
mov word [esp + 0x54], bx
rep stosd dword es:[edi], eax
lea edx, [esp + 0x54]
mov byte [esp + 0x264], 1
push edx
push 0x104
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x12fe74d9
lea eax, [esp + 0x54]
lea ecx, [esp + 0x14]
push eax
call fcn.12f46a80
push 0x130c4ed0
lea ecx, [esp + 0x18]
mov byte [esp + 0x268], 2
call fcn.12f4aa90
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x24]
push 0x13182cf0
push edx
call fcn.12f4a1a0
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x264], 1
call fcn.12f47220
jmp 0x12fe74f7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push 0x13182d08
push ecx
call fcn.12f4a1a0
add esp, 0x10
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
push 0x60
push 1
push 5
push 0x80
push 0x120089
push eax
or ebp, 0xffffffff
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
call fcn.12fed860
mov esi, eax
add esp, 0x1c
cmp esi, ebp
jne 0x12fe7569
cmp dword [esp + 0x20], 0xc0000034
je 0x12fe7728
mov ecx, dword [esp + 0x10]
push 0
push 0x60
push 1
push 7
push 0x80
push 0x120089
push ecx
call fcn.12fed860
mov esi, eax
add esp, 0x1c
cmp esi, ebp
je 0x12fe774e
lea edx, [esp + 0x2c]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x30]
push 0x28
mov dword [esp + 0x30], 0
push edx
push esi
rep stosd dword es:[edi], eax
call fcn.12feca70
add esp, 0xc
test eax, eax
je 0x12fe776f
mov eax, dword [esp + 0x18]
push 0
push 0x60
push 2
push 1
push 0x80
push 0x12019f
push eax
call fcn.12fed860
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x12fe7785
mov ecx, dword [esp + 0x270]
mov dword [esp + 0x24], 1
push ecx
push ebp
push esi
call fcn.12fe7c00
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x12fe77a4
lea edx, [esp + 0x2c]
push 0x28
push edx
push ebp
call fcn.12fecab0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
cmp esi, 0xffffffff
je 0x12fe7605
push esi
call edi
or esi, 0xffffffff
push ebp
call edi
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x1c]
push eax
push ecx
push edx
or ebp, 0xffffffff
call fcn.12fed2a0
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, eax
je 0x12fe763d
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
push ecx
push eax
push edx
call fcn.12fed2f0
add esp, 0xc
mov eax, dword [0x1307d25c]
xor ebx, ebx
mov dword [esp + 0x14], eax
mov ecx, dword [0x131ca210]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x130e5240
push eax
mov byte [esp + 0x274], 3
call fcn.12fed380
add esp, 0x10
test eax, eax
je 0x12fe76f6
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.12fed0b0
add esp, 8
test eax, eax
je 0x12fe76e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.12fed0b0
add esp, 8
test eax, eax
je 0x12fe76b8
mov edx, dword [esp + 0x14]
push 1
push edx
call fcn.12fecdf0
add esp, 8
mov ebx, 1
jmp 0x12fe7715
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.12fed0b0
add esp, 8
mov dword [0x131c9cd0], 0x27
mov dword [0x131c9cd4], 0x1314
jmp 0x12fe770a
mov dword [0x131c9cd0], 0x28
mov dword [0x131c9cd4], 0x131a
jmp 0x12fe770a
mov dword [0x131c9cd0], 0x24
mov dword [0x131c9cd4], 0x1321
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c9cd8], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x264], 1
call fcn.12f47220
jmp 0x12fe77a4
lea ecx, [esp + 0x18]
mov byte [esp + 0x264], 0
call fcn.12f47220
lea ecx, [esp + 0x10]
mov dword [esp + 0x264], ebp
call fcn.12f47220
jmp 0x12fe7834
mov dword [0x131c9cd0], 3
mov dword [0x131c9cd4], 0x12d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c9cd8], eax
jmp 0x12fe77bc
mov dword [0x131c9cd0], 5
mov dword [0x131c9cd4], 0x12de
jmp 0x12fe7799
mov dword [0x131c9cd0], 4
mov dword [0x131c9cd4], 0x12ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c9cd8], eax
cmp esi, 0xffffffff
je 0x12fe77b0
push esi
call dword [0x131ca5fc]
cmp ebp, 0xffffffff
je 0x12fe77bc
push ebp
call dword [0x131ca5fc]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x12fe77d5
push eax
call fcn.12f5bf80
add esp, 4
mov dword [esp + 0x1c], 0
test ebx, ebx
jne 0x12fe77f0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x12fe77f0
mov edx, dword [esp + 0x18]
push 1
push edx
call fcn.12fecdf0
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x264], 0
call fcn.12f47220
lea ecx, [esp + 0x10]
mov dword [esp + 0x264], 0xffffffff
call fcn.12f47220
mov eax, ebx
jmp 0x12fe7836
mov dword [0x131c9cd0], 1
mov dword [0x131c9cd4], 0x1294
call edi
mov dword [0x131c9cd8], eax
xor eax, eax
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x258
ret