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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5401bc
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 [0x593658], ebx
call edi
mov esi, dword [esp + 0x26c]
mov dword [0x593660], eax
cmp esi, ebx
je 0x4b50b9
push esi
call fcn.00422e21
add esp, 4
test eax, eax
je 0x4b50b9
mov eax, dword [esp + 0x270]
push eax
call fcn.0046bb30
add esp, 4
test eax, eax
je 0x4b4cd2
mov eax, 1
jmp 0x4b50d6
push esi
lea ecx, [esp + 0x14]
call fcn.0043b640
mov ecx, dword [0x54a4b4]
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 0x4b4d79
lea eax, [esp + 0x54]
lea ecx, [esp + 0x14]
push eax
call fcn.0043b640
push 0x5699e4
lea ecx, [esp + 0x18]
mov byte [esp + 0x268], 2
call fcn.0043f5f0
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.0043ed60
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x264], 1
call fcn.0043bde0
jmp 0x4b4d97
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.0043ed60
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.004bb100
mov esi, eax
add esp, 0x1c
cmp esi, ebp
jne 0x4b4e09
cmp dword [esp + 0x20], 0xc0000034
je 0x4b4fc8
mov ecx, dword [esp + 0x10]
push 0
push 0x60
push 1
push 7
push 0x80
push 0x120089
push ecx
call fcn.004bb100
mov esi, eax
add esp, 0x1c
cmp esi, ebp
je 0x4b4fee
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.004ba310
add esp, 0xc
test eax, eax
je 0x4b500f
mov eax, dword [esp + 0x18]
push 0
push 0x60
push 2
push 1
push 0x80
push 0x12019f
push eax
call fcn.004bb100
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x4b5025
mov ecx, dword [esp + 0x270]
mov dword [esp + 0x24], 1
push ecx
push ebp
push esi
call fcn.004b54a0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4b5044
lea edx, [esp + 0x2c]
push 0x28
push edx
push ebp
call fcn.004ba350
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
cmp esi, 0xffffffff
je 0x4b4ea5
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.004bab40
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, eax
je 0x4b4edd
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
push ecx
push eax
push edx
call fcn.004bab90
add esp, 0xc
mov eax, dword [0x54a4b4]
xor ebx, ebx
mov dword [esp + 0x14], eax
mov ecx, dword [0x593b98]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x5751c4
push eax
mov byte [esp + 0x274], 3
call fcn.004bac20
add esp, 0x10
test eax, eax
je 0x4b4f96
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.004ba950
add esp, 8
test eax, eax
je 0x4b4f80
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.004ba950
add esp, 8
test eax, eax
je 0x4b4f58
mov edx, dword [esp + 0x14]
push 1
push edx
call fcn.004ba690
add esp, 8
mov ebx, 1
jmp 0x4b4fb5
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.004ba950
add esp, 8
mov dword [0x593658], 0x27
mov dword [0x59365c], 0x12c5
jmp 0x4b4faa
mov dword [0x593658], 0x28
mov dword [0x59365c], 0x12cb
jmp 0x4b4faa
mov dword [0x593658], 0x24
mov dword [0x59365c], 0x12d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x593660], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x264], 1
call fcn.0043bde0
jmp 0x4b5044
lea ecx, [esp + 0x18]
mov byte [esp + 0x264], 0
call fcn.0043bde0
lea ecx, [esp + 0x10]
mov dword [esp + 0x264], ebp
call fcn.0043bde0
jmp 0x4b50d4
mov dword [0x593658], 3
mov dword [0x59365c], 0x1284
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x593660], eax
jmp 0x4b505c
mov dword [0x593658], 5
mov dword [0x59365c], 0x128f
jmp 0x4b5039
mov dword [0x593658], 4
mov dword [0x59365c], 0x129d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x593660], eax
cmp esi, 0xffffffff
je 0x4b5050
push esi
call dword [0x593fb8]
cmp ebp, 0xffffffff
je 0x4b505c
push ebp
call dword [0x593fb8]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4b5075
push eax
call fcn.00520a33
add esp, 4
mov dword [esp + 0x1c], 0
test ebx, ebx
jne 0x4b5090
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4b5090
mov edx, dword [esp + 0x18]
push 1
push edx
call fcn.004ba690
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x264], 0
call fcn.0043bde0
lea ecx, [esp + 0x10]
mov dword [esp + 0x264], 0xffffffff
call fcn.0043bde0
mov eax, ebx
jmp 0x4b50d6
mov dword [0x593658], 1
mov dword [0x59365c], 0x1245
call edi
mov dword [0x593660], 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