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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x545ddc
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 [0x5997e0], ebx
call edi
mov esi, dword [esp + 0x26c]
mov dword [0x5997e8], eax
cmp esi, ebx
je 0x4b9ec9
push esi
call fcn.00422fc1
add esp, 4
test eax, eax
je 0x4b9ec9
mov eax, dword [esp + 0x270]
push eax
call fcn.004703e0
add esp, 4
test eax, eax
je 0x4b9ae2
mov eax, 1
jmp 0x4b9ee6
push esi
lea ecx, [esp + 0x14]
call fcn.0043b7e0
mov ecx, dword [0x550434]
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 0x4b9b89
lea eax, [esp + 0x54]
lea ecx, [esp + 0x14]
push eax
call fcn.0043b7e0
push 0x56f9e4
lea ecx, [esp + 0x18]
mov byte [esp + 0x268], 2
call fcn.0043f790
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 str._s_lu__lu
push edx
call fcn.0043ef00
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x264], 1
call fcn.0043bf80
jmp 0x4b9ba7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push str._s__lu
push ecx
call fcn.0043ef00
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.004bff10
mov esi, eax
add esp, 0x1c
cmp esi, ebp
jne 0x4b9c19
cmp dword [esp + 0x20], 0xc0000034
je 0x4b9dd8
mov ecx, dword [esp + 0x10]
push 0
push 0x60
push 1
push 7
push 0x80
push 0x120089
push ecx
call fcn.004bff10
mov esi, eax
add esp, 0x1c
cmp esi, ebp
je 0x4b9dfe
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.004bf120
add esp, 0xc
test eax, eax
je 0x4b9e1f
mov eax, dword [esp + 0x18]
push 0
push 0x60
push 2
push 1
push 0x80
push 0x12019f
push eax
call fcn.004bff10
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x4b9e35
mov ecx, dword [esp + 0x270]
mov dword [esp + 0x24], 1
push ecx
push ebp
push esi
call fcn.004ba2b0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4b9e54
lea edx, [esp + 0x2c]
push 0x28
push edx
push ebp
call fcn.004bf160
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
cmp esi, 0xffffffff
je 0x4b9cb5
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.004bf950
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, eax
je 0x4b9ced
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
push ecx
push eax
push edx
call fcn.004bf9a0
add esp, 0xc
mov eax, dword [0x550434]
xor ebx, ebx
mov dword [esp + 0x14], eax
mov ecx, dword [0x599d20]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x57b304
push eax
mov byte [esp + 0x274], 3
call fcn.004bfa30
add esp, 0x10
test eax, eax
je 0x4b9da6
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.004bf760
add esp, 8
test eax, eax
je 0x4b9d90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.004bf760
add esp, 8
test eax, eax
je 0x4b9d68
mov edx, dword [esp + 0x14]
push 1
push edx
call fcn.004bf4a0
add esp, 8
mov ebx, 1
jmp 0x4b9dc5
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.004bf760
add esp, 8
mov dword [0x5997e0], 0x27
mov dword [0x5997e4], 0x1314
jmp 0x4b9dba
mov dword [0x5997e0], 0x28
mov dword [0x5997e4], 0x131a
jmp 0x4b9dba
mov dword [0x5997e0], 0x24
mov dword [0x5997e4], 0x1321
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5997e8], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x264], 1
call fcn.0043bf80
jmp 0x4b9e54
lea ecx, [esp + 0x18]
mov byte [esp + 0x264], 0
call fcn.0043bf80
lea ecx, [esp + 0x10]
mov dword [esp + 0x264], ebp
call fcn.0043bf80
jmp 0x4b9ee4
mov dword [0x5997e0], 3
mov dword [0x5997e4], 0x12d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5997e8], eax
jmp 0x4b9e6c
mov dword [0x5997e0], 5
mov dword [0x5997e4], 0x12de
jmp 0x4b9e49
mov dword [0x5997e0], 4
mov dword [0x5997e4], 0x12ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5997e8], eax
cmp esi, 0xffffffff
je 0x4b9e60
push esi
call dword [0x59a140]
cmp ebp, 0xffffffff
je 0x4b9e6c
push ebp
call dword [0x59a140]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4b9e85
push eax
call fcn.00526473
add esp, 4
mov dword [esp + 0x1c], 0
test ebx, ebx
jne 0x4b9ea0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4b9ea0
mov edx, dword [esp + 0x18]
push 1
push edx
call fcn.004bf4a0
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x264], 0
call fcn.0043bf80
lea ecx, [esp + 0x10]
mov dword [esp + 0x264], 0xffffffff
call fcn.0043bf80
mov eax, ebx
jmp 0x4b9ee6
mov dword [0x5997e0], 1
mov dword [0x5997e4], 0x1294
call edi
mov dword [0x5997e8], 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