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

Disassembly:
test rdx, rdx
je 0x18004b249
mov r11, rsp
push rbx
push r14
sub rsp, 0x6d8
mov rax, qword [0x1801aef28]
xor rax, rsp
mov qword [rsp + 0x690], rax
cmp dword [r8 + 8], 0
mov qword [rsp + 0x58], r9
mov rbx, r8
mov r14, rcx
je 0x18004b22f
mov qword [r11 - 0x18], rbp
mov qword [r11 - 0x20], rsi
mov qword [r11 - 0x28], rdi
mov qword [r11 - 0x30], r12
mov qword [r11 - 0x38], r13
xor eax, eax
mov qword [r11 - 0x40], r15
or r13, 0xffffffffffffffff
mov rdi, rdx
mov rcx, r13
lea r15, str.UnknownChat
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
cmovne r15, rdx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [rsp + 0x62]
xor ebp, ebp
xor edx, edx
mov r8d, 0x206
mov edi, eax
mov dword [rsp + 0x50], eax
mov word [rsp + 0x60], bp
call fcn.1800a1250
lea rcx, [rsp + 0x268]
xor edx, edx
mov r8d, 0x420
call fcn.1800a1250
lea rdx, [rsp + 0x60]
mov r9d, 0x801
mov r8, r15
mov rcx, r14
mov dword [rsp + 0x20], edi
call fcn.180048e50
cmp word [rsp + 0x478], bp
jne 0x18004acbc
mov r9d, dword [r14 + 0x298]
mov edx, dword [0x1801c1168]
mov rcx, qword [0x1801c9590]
mov r8, r15
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, [rsp + 0x60]
mov r9d, 0x801
mov r8, r15
mov rcx, r14
mov dword [rsp + 0x20], edi
call fcn.180048e50
cmp dword [0x1801df0a0], ebp
je 0x18004ad21
mov eax, dword [rsp + 0x680]
mov qword [rsp + 0x48], r15
lea r9, str._DealWeChat___CheckCache2__1___s____s____d____d____d____s_
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x26c]
lea r8, str.wechat
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x268]
lea rcx, [0x1801de7b8]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x478]
or edx, 0xffffffff
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x270]
mov qword [rsp + 0x20], rax
call fcn.18008da50
mov esi, ebp
mov r12d, 1
cmp word [rsp + 0x478], si
je 0x18004b074
xor eax, eax
cmp dword [rbx + 8], eax
mov edi, eax
jle 0x18004adb1
mov rax, qword [rbx]
movsxd rcx, edi
xor edx, edx
lea rcx, [rax + rcx*8]
call fcn.18007d610
lea rcx, [rsp + 0x478]
mov rdx, rax
call fcn.180046b90
test eax, eax
jne 0x18004ad6e
inc edi
cmp edi, dword [rbx + 8]
jl 0x18004ad40
jmp 0x18004adb1
mov r13d, edi
inc edi
cmp edi, dword [rbx + 8]
jge 0x18004adb1
nop dword [rax + rax]
mov rax, qword [rbx]
movsxd rcx, edi
xor edx, edx
lea rcx, [rax + rcx*8]
call fcn.18007d610
lea rcx, [rsp + 0x478]
mov rdx, rax
call fcn.180046b90
test eax, eax
jne 0x18004adae
inc edi
cmp edi, dword [rbx + 8]
jl 0x18004ad80
jmp 0x18004adb1
mov ebp, r12d
mov edi, dword [rsp + 0x710]
cmp dword [0x1801df0a0], esi
je 0x18004adea
mov dword [rsp + 0x30], edi
lea r9, str._DealWeChat___CheckCache2___0____d____d____d_
lea r8, str.wechat
lea rcx, [0x1801de7b8]
or edx, 0xffffffff
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], ebp
call fcn.18008da50
test edi, edi
je 0x18004ae64
test r13d, r13d
jns 0x18004ae6d
movsxd rcx, dword [rbx + 8]
mov rax, qword [rbx]
mov r8, rdi
mov rdx, qword [rax + rcx*8 - 8]
lea rcx, [rsp + 0x478]
call fcn.1800a39f8
test eax, eax
jne 0x18004ae64
cmp dword [0x1801df0a0], esi
je 0x18004ae56
movsxd rcx, dword [rbx + 8]
mov rax, qword [rbx]
lea r9, str._DealWeChat___CheckCache2__1____s____s_
mov rax, qword [rax + rcx*8 - 8]
lea r8, str.wechat
lea rcx, [0x1801de7b8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x478]
or edx, 0xffffffff
mov qword [rsp + 0x20], rax
call fcn.18008da50
mov edi, dword [rsp + 0x50]
xor ebp, ebp
mov r12d, ebp
jmp 0x18004b074
test r13d, r13d
js 0x18004b06e
test ebp, ebp
jne 0x18004ae80
xor edi, edi
mov word [rsp + 0x270], di
jmp 0x18004afa3
cmp word [rsp + 0x270], si
je 0x18004afa1
mov eax, dword [rbx + 8]
cmp eax, 2
jl 0x18004af9d
add eax, 0xfffffffe
xor edx, edx
movsxd rcx, eax
mov rax, qword [rbx]
lea rcx, [rax + rcx*8]
call fcn.18007d610
lea rcx, [rsp + 0x270]
mov rdx, rax
call fcn.180046b90
test eax, eax
je 0x18004aef3
mov eax, dword [rbx + 8]
xor edx, edx
dec eax
movsxd rcx, eax
mov rax, qword [rbx]
lea rcx, [rax + rcx*8]
call fcn.18007d610
lea rcx, [rsp + 0x478]
mov rdx, rax
call fcn.180046b90
test eax, eax
je 0x18004aef3
xor eax, eax
mov r12d, eax
jmp 0x18004af68
xor ebp, ebp
lea eax, [r13 - 1]
test eax, eax
cmovg ebp, eax
lea edi, [rbp + 1]
cmp edi, dword [rbx + 8]
jge 0x18004af68
nop word [rax + rax]
mov rax, qword [rbx]
movsxd rcx, ebp
xor edx, edx
lea rcx, [rax + rcx*8]
call fcn.18007d610
lea rcx, [rsp + 0x270]
mov rdx, rax
call fcn.180046b90
test eax, eax
je 0x18004af5a
mov rax, qword [rbx]
movsxd rcx, edi
xor edx, edx
lea rcx, [rax + rcx*8]
call fcn.18007d610
lea rcx, [rsp + 0x478]
mov rdx, rax
call fcn.180046b90
test eax, eax
jne 0x18004af65
inc edi
inc ebp
cmp edi, dword [rbx + 8]
jl 0x18004af10
jmp 0x18004af68
lea esi, [rbp + 2]
cmp dword [0x1801df0a0], 0
je 0x18004b005
lea r9, str._DealWeChat___CheckCache2__1____d____d_
lea r8, str.wechat
lea rcx, [0x1801de7b8]
or edx, 0xffffffff
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r12d
call fcn.18008da50
jmp 0x18004b005
xor edi, edi
jmp 0x18004afa3
xor edi, edi
mov eax, dword [rbx + 8]
xor edx, edx
dec eax
movsxd rcx, eax
mov rax, qword [rbx]
lea rcx, [rax + rcx*8]
call fcn.18007d610
lea rcx, [rsp + 0x478]
mov rdx, rax
call fcn.180046b90
test eax, eax
je 0x18004afd2
mov r12d, edi
jmp 0x18004afd6
lea esi, [r13 + 1]
cmp dword [0x1801df0a0], 0
je 0x18004b005
lea r9, str._DealWeChat___CheckCache2__2____d____d_
lea r8, str.wechat
lea rcx, [0x1801de7b8]
or edx, 0xffffffff
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r12d
call fcn.18008da50
test esi, esi
jne 0x18004b02d
mov rcx, qword [rbx]
xor edx, edx
call fcn.18007d610
lea rcx, [rsp + 0x478]
mov rdx, rax
call fcn.180046b90
test eax, eax
mov eax, 1
cmovne esi, eax
cmp dword [0x1801df0a0], 0
je 0x18004b05c
lea r9, str._DealWeChat___CheckCache2__3____d____d_
lea r8, str.wechat
lea rcx, [0x1801de7b8]
or edx, 0xffffffff
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r12d
call fcn.18008da50
cmp esi, dword [rbx + 8]
mov edi, dword [rsp + 0x50]
mov ebp, 0
cmovge r12d, ebp
jmp 0x18004b074
mov edi, dword [rsp + 0x50]
xor ebp, ebp
cmp dword [0x1801df0a0], 0
je 0x18004b0ae
mov eax, dword [rsp + 0x684]
mov dword [rsp + 0x30], r13d
lea r9, str._DealWeChat___CheckCache2__2__Pre:__u___Now:__u___ll:__d_
lea r8, str.wechat
lea rcx, [0x1801de7b8]
or edx, 0xffffffff
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
call fcn.18008da50
test r13d, r13d
mov r13, qword [rsp + 0x6b0]
jns 0x18004b0d1
mov eax, dword [rsp + 0x684]
test eax, eax
je 0x18004b0d1
add eax, 0x1388
cmp eax, edi
cmova r12d, ebp
cmp dword [0x1801df0a0], 0
je 0x18004b100
lea r9, str._DealWeChat___CheckCache2__3___d____d_
lea r8, str.wechat
lea rcx, [0x1801de7b8]
or edx, 0xffffffff
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r12d
call fcn.18008da50
test r12d, r12d
je 0x18004b207
cmp esi, dword [rbx + 8]
movsxd rbp, esi
jge 0x18004b152
mov r12, qword [rsp + 0x58]
shl rbp, 2
nop word [rax + rax]
mov rax, qword [rbx]
mov rdi, qword [r12]
movsxd rcx, esi
lea rcx, [rax + rcx*8]
xor edx, edx
call fcn.18007d610
mov r9d, dword [rdi + rbp]
mov r8, r15
mov rdx, rax
mov rcx, r14
call fcn.180046da0
inc esi
add rbp, 4
cmp esi, dword [rbx + 8]
jl 0x18004b120
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8d, 0x628
call fcn.1800a1250
lea rcx, [rsp + 0x60]
mov r8d, 0x103
mov rdx, r15
call fcn.1800a11c4
movsxd rcx, dword [rbx + 8]
mov rdx, qword [rbx]
mov rdx, qword [rdx + rcx*8 - 8]
lea rcx, [rsp + 0x478]
mov r8d, 0x103
call fcn.1800a11c4
mov rdi, qword [rsp + 0x58]
mov rax, qword [rdi]
movsxd rdx, dword [rdi + 8]
mov ecx, dword [rax + rdx*4 - 4]
mov eax, dword [rbx + 8]
mov dword [rsp + 0x680], eax
mov dword [rsp + 0x26c], ecx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x684], eax
movsxd rax, dword [rbx + 8]
cmp eax, 2
jl 0x18004b1fa
mov rdx, qword [rbx]
lea rcx, [rsp + 0x270]
mov r8d, 0x103
mov rdx, qword [rdx + rax*8 - 0x10]
call fcn.1800a11c4
movsxd rdx, dword [rbx + 8]
mov rax, qword [rdi]
mov edx, dword [rax + rdx*4 - 8]
mov dword [rsp + 0x268], edx
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.18004a570
mov r12, qword [rsp + 0x6b8]
mov rdi, qword [rsp + 0x6c0]
mov rsi, qword [rsp + 0x6c8]
mov rbp, qword [rsp + 0x6d0]
mov r15, qword [rsp + 0x6a8]
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.1800a1220
add rsp, 0x6d8
pop r14
pop rbx
repz ret