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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x98
mov edi, edx
mov rbx, r9
mov rdx, rcx
lea eax, [rdi + 0x12]
mov dword [rsp + 0x60], eax
cmp edi, eax
jae case.0x180051fb2.66
movsxd r15, dword [rsp + 0xe8]
mov rsi, qword [rsp + 0x68]
mov r12, r15
mov r14, qword [rsp + 0x68]
mov ebp, dword [rsp + 0x4c]
mov r13, qword [rsp + 0x70]
lea eax, [rdi - 0x3b]
lea r9, [0x180000000]
cmp eax, 0x3b
ja case.0x180051fb2.75
movzx eax, byte [r9 + rax + 0x52458]
mov ecx, dword [r9 + rax*4 + 0x52414]
add rcx, r9
jmp rcx
mov eax, dword [r8]
xor r9d, r9d
mov rdx, qword [rdx + 0xe8]
lea r8, [rsp + 0xe8]
mov ecx, 0x82
mov dword [rsp + 0xe8], eax
call fcn.18007beb0
mov qword [rsp + 0x68], rax
jmp case.0x180051fb2.75
mov r8, rdx
mov dword [rsp + 0x20], 0xc5
xor edx, edx
xor r9d, r9d
xor ecx, ecx
call fcn.18008acf0
test al, al
jne 0x180052039
mov ebx, 0x49
mov eax, ebx
sub eax, 0x48
je case.0x180051fb2.66
cmp eax, 1
jne 0x180052032
mov r8, qword [0x180135a08]
xor r9d, r9d
mov edx, 0x85
xor ecx, ecx
call fcn.1800d0940
mov dword [rsp + 0x40], 0
dec ebx
cmp ebx, 0x47
ja 0x180052004
mov dword [rsp + 0x48], 0
jmp case.0x180051fb2.75
mov r8, qword [0x180135a08]
xor r9d, r9d
mov edx, 0x85
xor ecx, ecx
call fcn.1800d0940
jmp case.0x180051fb2.75
mov rcx, qword [rdx + 0x28]
call qword [rdx + 0x20]
test al, al
je case.0x180051fb2.75
mov edi, dword [rsp + 0x48]
mov ebx, 0x63
mov r13, qword [rsp + 0xe0]
mov ebp, dword [rsp + 0x50]
cmp ebx, 0x63
je 0x1800520db
cmp ebx, 0x4851
je 0x1800520ca
cmp ebx, 0x903f
je 0x1800520be
cmp ebx, 0xd82d
je 0x1800520b0
cmp ebx, 0x1201b
jne 0x1800520e3
call qword [r13 + 0x50]
jmp 0x1800520e3
mov eax, 0x10624dd3
mul edi
mov edi, edx
shr edi, 6
jmp 0x1800520e3
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
sub edi, ebp
jmp 0x1800520e3
mov r8, r13
xor edx, edx
mov ecx, 0x11e
call fcn.18004e2e0
jmp 0x1800520e3
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, eax
add ebx, 0x47ee
cmp ebx, 0x167a6
jbe 0x180052085
mov r13, qword [rsp + 0x70]
mov dword [rsp + 0x50], ebp
mov ebp, dword [rsp + 0x4c]
mov dword [rsp + 0x48], edi
mov edi, dword [rsp + 0xe8]
jmp case.0x180051fb2.75
xor r15d, r15d
mov rsi, rdx
xor r12d, r12d
jmp case.0x180051fb2.75
mov rdx, qword [0x180135a08]
xor r9d, r9d
xor ecx, ecx
lea r8d, [r9 + 0x25]
call fcn.1800fce70
test al, al
jne 0x180052164
mov eax, 0xc3
xor ecx, ecx
nop dword [rax]
cmp eax, 0xc3
je 0x180052154
cmp eax, 0x1491
je case.0x180051fb2.66
jmp 0x180052158
mov dword [rsp + 0x40], ecx
add eax, 0x13ce
cmp eax, 0x279c
jbe 0x180052140
mov rdx, qword [0x180135a08]
xor eax, eax
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
lea rax, [rsp + 0xe8]
mov byte [rsp + 0xe8], 1
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0x67
call fcn.1800ee360
jmp case.0x180051fb2.75
mov r14, qword [rdx]
jmp case.0x180051fb2.75
mov rax, qword [rsp + 0x100]
lea r8, [rsp + 0xe8]
mov r9, qword [rsp + 0x108]
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x28], reloc.SHLWAPI.dll_GetAcceptLanguagesA
mov qword [rsp + 0x20], rdx
xor edx, edx
mov eax, dword [rax]
mov dword [rsp + 0xe8], eax
call fcn.18004bf20
mov dword [rsp + 0x40], eax
jmp case.0x180051fb2.75
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x40], eax
jmp case.0x180051fb2.75
mov edi, 0x5e
mov eax, edi
sub eax, 0x5e
je 0x1800522af
sub eax, 1
je 0x18005229c
sub eax, 1
je 0x18005223c
cmp eax, 1
jne 0x1800522b8
test rsi, rsi
je 0x180052237
movsxd rsi, ebp
add rsi, 2
lea rsi, [r14 + rsi*8]
mov r14, r13
jmp 0x1800522b8
cmp dword [r14 + 8], 0
ja 0x18005228f
mov ebx, 0x94
cmp ebx, 0x94
je 0x180052268
cmp ebx, 0x17b4
jne 0x180052271
test rsi, rsi
je 0x180052271
mov qword [rsi], 0
xor esi, esi
jmp 0x180052271
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add ebx, 0x1720
cmp ebx, 0x2e40
jbe 0x180052248
mov r8, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xf8]
cmp r15d, dword [rbx]
je case.0x180051fb2.74
inc r15d
inc r12
jmp 0x1800522b8
movsxd rax, ebp
mov r13, qword [r14 + rax*8 + 0x10]
dec dword [r14 + 8]
mov qword [rsp + 0x70], r13
jmp 0x1800522b8
movzx ebp, byte [r12 + r8]
mov dword [rsp + 0x4c], ebp
inc edi
cmp edi, 0x62
jb 0x180052205
jmp case.0x180051fb2.73
mov edi, 0x75
mov dword [rsp + 0x40], 1
jmp case.0x180051fb2.75
mov eax, 0x30
nop
cmp eax, 0x30
je 0x1800522f2
cmp eax, 0x24c0
je case.0x180051fb2.66
jmp 0x1800522fc
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x40], rcx
add eax, 0x2490
cmp eax, 0x4920
jbe 0x1800522e0
test rdx, rdx
je 0x180052322
cmp dword [rdx + 0x110], 0xf874bcd7
jne 0x180052322
test r8, r8
jne case.0x180051fb2.75
mov eax, 0x1e
cmp eax, 0x1e
je 0x1800523e1
add eax, 0x86
cmp eax, 0xa4
jb 0x180052327
jmp case.0x180051fb2.75
cmp dword [rbx], 0
jge 0x18005235c
xor r9d, r9d
xor edx, edx
mov ecx, SHRegGetIntW
call fcn.180087440
mov r8, qword [rsp + 0xf0]
mov dword [rbx], eax
mov ecx, 0x96
cmp ecx, 0x96
jne 0x180052377
mov eax, dword [rbx]
mov dword [rsp + 0x80], eax
mov qword [rsp + 0x78], r8
add ecx, 0x1d4c
cmp ecx, 0x1d4c
jbe 0x180052361
jmp case.0x180051fb2.75
mov eax, dword [rbx]
lea rcx, [rsp + 0x58]
mov r9, r8
mov dword [rsp + 0x58], eax
mov r8d, 0x21
call fcn.1800c43a0
mov r14, rax
test rax, rax
je 0x1800523f0
cmp qword [rax], 0
je 0x1800523f0
mov qword [rax], 0
inc edi
mov dword [rsp + 0xe8], edi
cmp edi, dword [rsp + 0x60]
jae case.0x180051fb2.66
mov r8, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0xe0]
jmp 0x180051f8b
mov dword [rsp + 0x40], 0xffffffe8
jmp case.0x180051fb2.66
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x40]
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret