Function at 0x630ca0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x178
mov rbp, rsp
mov qword [rbp + 0x58], rcx
mov rsi, rdx
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xc0], 0
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xd0], 0
mov qword [rbp + 0xf0], 0
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0xe0], 0
lea rdi, [rbp + 0x110]
mov ecx, 0xc
rep movsq qword [rdi], qword [rsi]
lea rcx, [rbp + 0x110]
mov rdx, qword [0x00630a10]
call fcn.00411190
lea rcx, [rbp + 0xf8]
mov rdx, qword [0x00630308]
call fcn.00410db0
nop
cmp qword [0x00771428], 0
jne 0x630dd0
mov rcx, qword [0x00626348]
mov dl, 1
call fcn.0062e830
mov qword [0x00771428], rax
cmp qword [0x00771430], 0
jne 0x630def
mov rcx, qword [0x00630ab8]
mov dl, 1
call fcn.0040ad50
mov qword [0x00771430], rax
mov rax, qword [0x00771430]
mov rcx, qword [rbp + 0x110]
mov qword [rax + 8], rcx
mov rcx, qword [0x00771428]
mov edx, dword [rbp + 0x150]
call fcn.00628bb0
mov rax, qword [0x00771428]
mov dword [rax + 0x2ec], 0x1f4
mov rax, qword [0x00771428]
add rax, 8
mov rcx, qword [0x00771430]
mov qword [rax + 8], rcx
lea rcx, [0x00630c00]
mov qword [rax], rcx
mov rax, qword [0x00771428]
add rax, 0x48
mov rcx, qword [0x00771430]
mov qword [rax + 8], rcx
lea rcx, [0x00630c50]
mov qword [rax], rcx
mov rcx, qword [0x00771428]
mov rax, qword [0x00771428]
mov rbx, qword [rax]
call qword [rbx + 0x20]
cmp byte [rbp + 0x158], 1
jne 0x630e9f
call fcn.0061de30
test al, al
jne 0x630e9f
mov rcx, qword [rbp + 0x58]
lea rdx, [0x006318e0]
call fcn.0040e6f0
jmp 0x6316d4
cmp dword [rbp + 0x15c], 1
jne 0x630f25
mov rcx, qword [0x00771428]
add rcx, 0x398
mov rdx, qword [rbp + 0x130]
call fcn.0040e6f0
mov rcx, qword [0x00771428]
add rcx, 0x3a0
mov rdx, qword [rbp + 0x138]
call fcn.0040e6f0
mov rcx, qword [0x00771428]
add rcx, 0x3c0
mov rdx, qword [rbp + 0x140]
call fcn.0040e6f0
mov rcx, qword [0x00771428]
add rcx, 0x3c8
mov rdx, qword [rbp + 0x148]
call fcn.0040e6f0
mov rax, qword [0x00771428]
mov ecx, dword [rbp + 0x154]
mov dword [rax + 0x3d0], ecx
jmp 0x630f38
mov rcx, qword [0x00771428]
add rcx, 0x398
call fcn.0040e080
cmp dword [rbp + 0x15c], 2
je 0x630f4e
cmp dword [rbp + 0x15c], 3
jne 0x630ff9
cmp dword [rbp + 0x15c], 2
jne 0x630f65
mov rax, qword [0x00771428]
mov byte [rax + 0x379], 0
cmp dword [rbp + 0x15c], 3
jne 0x630f7c
mov rax, qword [0x00771428]
mov byte [rax + 0x379], 1
mov rcx, qword [0x00771428]
add rcx, 0x318
mov rdx, qword [rbp + 0x130]
call fcn.0040e6f0
mov rcx, qword [0x00771428]
add rcx, 0x320
mov rdx, qword [rbp + 0x138]
call fcn.0040e6f0
mov rcx, qword [0x00771428]
add rcx, 0x330
mov rdx, qword [rbp + 0x140]
call fcn.0040e6f0
mov rcx, qword [0x00771428]
add rcx, 0x338
mov rdx, qword [rbp + 0x148]
call fcn.0040e6f0
mov rax, qword [0x00771428]
mov ecx, dword [rbp + 0x154]
mov dword [rax + 0x328], ecx
jmp 0x63100c
mov rcx, qword [0x00771428]
add rcx, 0x318
call fcn.0040e080
cmp dword [rbp + 0x15c], 4
jne 0x631091
lea rcx, [rbp + 0xf8]
xor rdx, rdx
call fcn.00630360
mov rcx, qword [0x00771428]
add rcx, 0x398
mov rdx, qword [rbp + 0xf8]
call fcn.0040e6f0
mov rcx, qword [0x00771428]
add rcx, 0x3a0
mov rdx, qword [rbp + 0x100]
call fcn.0040e6f0
mov rcx, qword [0x00771428]
add rcx, 0x3c0
call fcn.0040e080
mov rcx, qword [0x00771428]
add rcx, 0x3c8
call fcn.0040e080
mov rax, qword [0x00771428]
mov ecx, dword [rbp + 0x154]
mov dword [rax + 0x3d0], ecx
mov rcx, qword [0x00771428]
lea rdx, [0x00631928]
lea r8, [0x00631944]
call fcn.00628690
mov rcx, qword [0x00771428]
mov rdx, qword [rbp + 0x118]
mov r8, qword [rbp + 0x120]
mov rax, qword [0x00771428]
mov rbx, qword [rax]
call qword [rbx + 0x30]
mov rax, qword [0x00771428]
cmp dword [rax + 0x300], 0
je 0x631164
mov rax, qword [0x00771428]
mov rcx, qword [rax]
lea rdx, [rbp + 0xd8]
mov rax, qword [0x00771428]
mov r8d, dword [rax + 0x300]
call fcn.0062b2a0
lea rcx, [rbp + 0xd0]
mov rax, qword [0x00771428]
mov edx, dword [rax + 0x300]
call fcn.0042bdc0
mov rcx, qword [rbp + 0x58]
mov edx, 5
lea r8, [0x00631954]
mov r9, qword [rbp + 0xd8]
lea rax, [0x00631974]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0xd0]
mov qword [rsp + 0x28], rax
lea rax, [0x00631988]
mov qword [rsp + 0x30], rax
call fcn.00410420
jmp 0x6316d4
call sub.kernel32.dll_GetTickCount_1
lea rcx, [rbp + 0xc8]
mov edx, eax
call fcn.0042bdf0
lea rcx, [rbp + 0xe8]
mov rdx, qword [rbp + 0xc8]
xor r8, r8
call fcn.0040f6a0
lea rcx, [rbp + 0xb8]
xor rdx, rdx
call fcn.004064b0
mov rcx, qword [rbp + 0xb8]
call fcn.00484730
lea rcx, [rbp + 0xc0]
mov rdx, rax
call fcn.004848d0
lea rcx, [rbp + 0xb0]
mov rdx, qword [rbp + 0xc0]
xor r8, r8
call fcn.0040f6a0
lea rcx, [rbp + 0xa8]
mov rax, qword [0x00a8dd08]
mov rdx, qword [rax]
call fcn.00414550
lea rcx, [rbp + 0xf0]
mov edx, 7
lea r8, [0x00631998]
mov r9, qword [rbp + 0xe8]
lea rax, [0x006319b0]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0xb0]
mov qword [rsp + 0x28], rax
lea rax, [0x006319c8]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0xa8]
mov qword [rsp + 0x38], rax
lea rax, [0x006319dc]
mov qword [rsp + 0x40], rax
call fcn.0040f220
mov rcx, qword [rbp + 0xf0]
call fcn.004816d0
mov ebx, eax
xor rax, rax
cmp qword [rbp + 0xf0], 0
je 0x631264
mov rax, qword [rbp + 0xf0]
mov eax, dword [rax - 4]
lea rcx, [rbp + 0xf0]
mov edx, eax
add edx, 2
xor r8, r8
call fcn.0040f5d0
xor rsi, rsi
cmp qword [rbp + 0xf0], 0
je 0x63128f
mov rax, qword [rbp + 0xf0]
mov esi, dword [rax - 4]
lea rcx, [rbp + 0xf0]
call fcn.0040ea00
movsxd rsi, esi
movzx ecx, bx
shr ecx, 8
mov byte [rax + rsi - 2], cl
xor rsi, rsi
cmp qword [rbp + 0xf0], 0
je 0x6312bf
mov rax, qword [rbp + 0xf0]
mov esi, dword [rax - 4]
lea rcx, [rbp + 0xf0]
call fcn.0040ea00
movsxd rsi, esi
mov byte [rax + rsi - 1], bl
cmp qword [rbp + 0x128], 0
jne 0x6312f4
lea rcx, [rbp + 0xf0]
mov rdx, qword [0x00771438]
xor r8, r8
call fcn.004824a0
jmp 0x63130a
lea rcx, [rbp + 0xf0]
mov rdx, qword [rbp + 0x128]
xor r8, r8
call fcn.004824a0
lea rcx, [rbp + 0xa0]
mov rdx, qword [rbp + 0xf0]
call fcn.00619ce0
lea rcx, [rbp + 0xf0]
mov rdx, qword [rbp + 0xa0]
call fcn.0040e890
lea rcx, [rbp + 0x98]
mov rax, qword [0x00a8dd08]
mov rdx, qword [rax]
call fcn.00414550
lea rcx, [rbp + 0xf0]
mov edx, 3
mov r8, qword [rbp + 0x98]
lea r9, [0x006319ec]
mov rax, qword [rbp + 0xf0]
mov qword [rsp + 0x20], rax
call fcn.0040f220
mov rcx, qword [rbp + 0xf0]
call fcn.004816d0
mov ebx, eax
xor rax, rax
cmp qword [rbp + 0xf0], 0
je 0x631397
mov rax, qword [rbp + 0xf0]
mov eax, dword [rax - 4]
lea rcx, [rbp + 0xf0]
mov edx, eax
add edx, 2
xor r8, r8
call fcn.0040f5d0
xor rsi, rsi
cmp qword [rbp + 0xf0], 0
je 0x6313c2
mov rax, qword [rbp + 0xf0]
mov esi, dword [rax - 4]
lea rcx, [rbp + 0xf0]
call fcn.0040ea00
movsxd rsi, esi
movzx ecx, bx
shr ecx, 8
mov byte [rax + rsi - 2], cl
xor rsi, rsi
cmp qword [rbp + 0xf0], 0
je 0x6313f2
mov rax, qword [rbp + 0xf0]
mov esi, dword [rax - 4]
lea rcx, [rbp + 0xf0]
call fcn.0040ea00
movsxd rsi, esi
mov byte [rax + rsi - 1], bl
lea rcx, [rbp + 0xf0]
mov rdx, qword [0x00771438]
xor r8, r8
call fcn.004824a0
lea rcx, [rbp + 0x90]
mov rdx, qword [rbp + 0xf0]
call fcn.00619ce0
lea rcx, [rbp + 0xf0]
mov rdx, qword [rbp + 0x90]
call fcn.0040e890
lea rcx, [rbp + 0x88]
mov rdx, qword [rbp + 0xf0]
lea r8, [0x006319fc]
call fcn.0040ef90
mov rcx, qword [0x00771428]
mov rdx, qword [rbp + 0x88]
mov rax, qword [0x00771428]
mov rbx, qword [rax]
call qword [rbx + 0x58]
mov rax, qword [0x00771428]
cmp dword [rax + 0x300], 0
je 0x631503
mov rax, qword [0x00771428]
mov rcx, qword [rax]
lea rdx, [rbp + 0x80]
mov rax, qword [0x00771428]
mov r8d, dword [rax + 0x300]
call fcn.0062b2a0
lea rcx, [rbp + 0x78]
mov rax, qword [0x00771428]
mov edx, dword [rax + 0x300]
call fcn.0042bdc0
mov rcx, qword [rbp + 0x58]
mov edx, 5
lea r8, [0x00631a0c]
mov r9, qword [rbp + 0x80]
lea rax, [0x00631974]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [0x00631988]
mov qword [rsp + 0x30], rax
call fcn.00410420
jmp 0x6316d4
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
add ebx, 0xea60
jmp 0x6316b6
mov rcx, qword [rbp + 0x110]
mov edx, 0xa
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x631544
mov rcx, qword [rbp + 0x58]
lea rdx, [0x00631a28]
call fcn.0040e6f0
jmp 0x6316d4
mov rcx, qword [0x00771428]
lea rdx, [rbp + 0xe0]
mov r8d, 0xea60
mov rax, qword [0x00771428]
mov rsi, qword [rax]
call qword [rsi + 0xb0]
xor rax, rax
cmp qword [rbp + 0xe0], 0
je 0x631580
mov rax, qword [rbp + 0xe0]
mov eax, dword [rax - 4]
cmp eax, 2
jle 0x63161b
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0xe0]
call fcn.00619c50
lea rcx, [rbp + 0xe0]
mov rdx, qword [rbp + 0x70]
call fcn.0040e890
cmp qword [rbp + 0x128], 0
jne 0x6315cb
lea rcx, [rbp + 0xe0]
mov rdx, qword [0x00771438]
xor r8, r8
call fcn.00482560
jmp 0x6315e1
lea rcx, [rbp + 0xe0]
mov rdx, qword [rbp + 0x128]
xor r8, r8
call fcn.00482560
mov rcx, qword [rbp + 0xe0]
mov rdx, qword [rbp + 0xe8]
call fcn.0040f2f0
test eax, eax
je 0x63160d
mov rcx, qword [rbp + 0x58]
lea rdx, [0x00631a48]
call fcn.0040e6f0
jmp 0x6316d4
mov rcx, qword [rbp + 0x58]
call fcn.0040e080
jmp 0x6316d4
mov rax, qword [0x00771428]
cmp dword [rax + 0x300], 0
je 0x6316b6
mov rax, qword [0x00771428]
cmp dword [rax + 0x300], 0x274c
je 0x6316b6
mov rax, qword [0x00771428]
mov rcx, qword [rax]
lea rdx, [rbp + 0x68]
mov rax, qword [0x00771428]
mov r8d, dword [rax + 0x300]
call fcn.0062b2a0
lea rcx, [rbp + 0x60]
mov rax, qword [0x00771428]
mov edx, dword [rax + 0x300]
call fcn.0042bdc0
mov rcx, qword [rbp + 0x58]
mov edx, 5
lea r8, [0x00631a74]
mov r9, qword [rbp + 0x68]
lea rax, [0x00631974]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [0x00631988]
mov qword [rsp + 0x30], rax
call fcn.00410420
jmp 0x6316d4
call sub.kernel32.dll_GetTickCount_1
cmp ebx, eax
ja 0x631515
mov rcx, qword [rbp + 0x58]
lea rdx, [0x00631a90]
call fcn.0040e6f0
nop
lea rcx, [rbp + 0x60]
mov edx, 2
call fcn.0040e160
lea rcx, [rbp + 0x70]
call fcn.0040e0d0
lea rcx, [rbp + 0x78]
mov edx, 2
call fcn.0040e160
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.0040e190
lea rcx, [rbp + 0x98]
call fcn.0040e0d0
lea rcx, [rbp + 0xa0]
call fcn.0040e0d0
lea rcx, [rbp + 0xa8]
call fcn.0040e0d0
lea rcx, [rbp + 0xb0]
call fcn.0040e0d0
lea rcx, [rbp + 0xb8]
mov edx, 5
call fcn.0040e160
lea rcx, [rbp + 0xe0]
mov edx, 3
call fcn.0040e190
lea rcx, [rbp + 0xf8]
mov rdx, qword [0x00630308]
call fcn.00410f50
lea rcx, [rbp + 0x110]
mov rdx, qword [0x00630a10]
call fcn.00410f50
mov rax, qword [rbp + 0x58]
lea rsp, [rbp + 0x178]
pop rbx
pop rsi
pop rdi
pop rbp
ret