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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2370
call fcn.1801298f0
sub rsp, rax
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov qword [rsp + 0x23c8], rbx
movaps xmmword [rsp + 0x2360], xmm6
movaps xmmword [rsp + 0x2350], xmm7
movaps xmmword [rsp + 0x2340], xmm8
mov rax, qword [0x1801aef28]
xor rax, rsp
mov qword [rsp + 0x2330], rax
mov qword [rsp + 0xb0], r8
mov r13, rdx
mov rbp, rcx
mov qword [rsp + 0xb8], rcx
cmp dword [r8], 2
jne 0x18005816c
mov rcx, rdx
call fcn.180050460
test eax, eax
je 0x18005816c
cmp dword [0x1801df0a0], 0
je 0x1800577dd
call fcn.18004f5f0
mov edi, eax
mov rcx, r13
call fcn.180050460
mov dword [rsp + 0x38], edi
mov ecx, dword [rbp + 0x820]
mov dword [rsp + 0x30], ecx
movsd xmm0, qword [0x1801ab170]
movsd qword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], eax
lea r9, str._DealWXWork___AnalyseData_1___size:__d___x_y:__lf___ChatType:__d___Version2_4_20:__d_
lea r8, str.wxwork
or edx, 0xffffffff
lea rcx, [0x1801de7b8]
call fcn.18008da50
lea rcx, [rsp + 0xc0]
call fcn.180050440
nop
xor r12d, r12d
mov r14d, r12d
mov dword [rsp + 0x90], r12d
xor edi, edi
mov qword [rsp + 0x88], rdi
mov dword [rsp + 0x94], edi
mov ebx, edi
mov dword [rsp + 0x98], ebx
mov r15d, edi
mov dword [rsp + 0x9c], edi
mov rcx, r13
call fcn.180050460
mov dword [rsp + 0xa8], eax
mov word [rsp + 0x100], r12w
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x102]
call fcn.1800a1250
xor edx, edx
mov r8d, 0x210
lea rcx, [rsp + 0x1104]
call fcn.1800a1250
mov rdx, qword [0x1801617a0]
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x78], r12d
mov esi, r12d
mov dword [rsp + 0x7c], r12d
mov dword [rsp + 0x80], r12d
cmp dword [rsp + 0xa8], r12d
jle 0x180057f7b
movsd xmm7, qword [0x180156458]
movsd xmm8, qword [0x180152e48]
nop
cmp dword [0x1801df0a0], 0
je 0x180057977
mov edx, r12d
mov rcx, r13
call fcn.180051270
lea rbp, [rax + 4]
mov edx, r12d
mov rcx, r13
call fcn.180051270
mov rsi, rax
mov edx, r12d
mov rcx, r13
call fcn.180051270
mov rbx, rax
mov edx, r12d
mov rcx, r13
call fcn.180051270
mov rdi, rax
mov edx, r12d
mov rcx, r13
call fcn.180051270
mov dword [rsp + 0x60], r15d
mov rcx, qword [rsp + 0x88]
mov dword [rsp + 0x58], ecx
mov ecx, dword [rsp + 0x98]
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x40], rbp
mov ecx, dword [rsi + 0x1014]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rbx + 0x100c]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rdi + 0x1010]
mov dword [rsp + 0x28], ecx
mov eax, dword [rax + 0x1008]
mov dword [rsp + 0x20], eax
lea r9, str._DealWXWork___AnalyseData_2___rect:__d__d__d__d___chat:__s___rect2:__d__d__d__d_
lea r8, str.wxwork
or edx, 0xffffffff
lea rcx, [0x1801de7b8]
call fcn.18008da50
mov rbp, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0x88]
mov ebx, dword [rsp + 0x98]
mov esi, dword [rsp + 0x7c]
mov eax, dword [rbp + 0xa18]
pxor xmm6, xmm6
cvtsi2sd xmm6, rax
mulsd xmm6, qword [0x1801ab170]
mov edx, r12d
mov rcx, r13
call fcn.180051270
movd xmm0, dword [rax + 0x1008]
cvtdq2pd xmm0, xmm0
comisd xmm6, xmm0
jbe 0x180057d30
cmp dword [0x1801df0a0], 0
je 0x1800579d5
lea r9, str._DealWXWork___AnalyseData_3_
lea r8, str.wxwork
or edx, 0xffffffff
lea rcx, [0x1801de7b8]
call fcn.18008da50
mov edx, r12d
mov rcx, r13
call fcn.180051270
cmp r14d, dword [rax + 0x1008]
jne 0x180057a79
mov edx, r12d
mov rcx, r13
call fcn.180051270
cmp ebx, dword [rax + 0x1010]
jne 0x180057a79
mov edx, r12d
mov rcx, r13
call fcn.180051270
cmp edi, dword [rax + 0x100c]
jne 0x180057a79
mov edx, r12d
mov rcx, r13
call fcn.180051270
cmp r15d, dword [rax + 0x1014]
jne 0x180057a79
mov edx, r12d
mov rcx, r13
call fcn.180051270
lea rdx, [rax + 4]
lea rcx, [rsp + 0x70]
call fcn.18007d580
cmp dword [0x1801df0a0], 0
je 0x180057cd6
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, str._DealWXWork___AnalyseData_4___strTmp:__s_
lea r8, str.wxworkmore
or edx, 0xffffffff
lea rcx, [0x1801de7b8]
call fcn.18008da50
jmp 0x180057cd6
mov edx, r12d
mov rcx, r13
call fcn.180051270
cmp r14d, dword [rax + 0x1008]
je 0x180057ac7
mov edx, r12d
mov rcx, r13
call fcn.180051270
movsd xmm0, qword [0x1801ab170]
mulsd xmm0, xmm7
cvttsd2si ecx, xmm0
sub r14d, ecx
cmp r14d, dword [rax + 0x1008]
jne 0x180057bb0
mov rax, qword [rsp + 0x70]
cmp dword [rax - 8], 6
jge 0x180057bb0
mov edx, r12d
mov rcx, r13
call fcn.180051270
cmp r15d, dword [rax + 0x100c]
jg 0x180057bb0
movsd xmm6, qword [0x1801ab170]
mulsd xmm6, xmm8
movd xmm0, r15d
cvtdq2pd xmm0, xmm0
addsd xmm6, xmm0
mov edx, r12d
mov rcx, r13
call fcn.180051270
movd xmm0, dword [rax + 0x100c]
cvtdq2pd xmm0, xmm0
comisd xmm6, xmm0
jbe 0x180057bb0
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.18007d610
mov rdx, rax
mov r8d, 0x103
lea rcx, [rsp + 0x1108]
call fcn.1800a11c4
or edx, 0xffffffff
lea rcx, [rsp + 0x70]
call fcn.18007d680
mov edx, r12d
mov rcx, r13
call fcn.180051270
lea rdx, [rax + 4]
lea rcx, [rsp + 0x70]
call fcn.18007d430
mov dword [rsp + 0x78], 1
cmp dword [0x1801df0a0], 0
je 0x180057cd6
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1108]
mov qword [rsp + 0x20], rax
lea r9, str._DealWXWork___AnalyseData_5___chatname:__s___strTmp:__s_
lea r8, str.wxwork
or edx, 0xffffffff
lea rcx, [0x1801de7b8]
call fcn.18008da50
jmp 0x180057cd6
cmp word [rsp + 0x1108], 0
je 0x180057c8d
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.18007d610
mov rdx, rax
mov r8d, 0x800
lea rcx, [rsp + 0x100]
call fcn.1800a11c4
or edx, 0xffffffff
lea rcx, [rsp + 0x70]
call fcn.18007d680
mov edx, r12d
mov rcx, r13
call fcn.180051270
lea rdx, [rax + 4]
lea rcx, [rsp + 0x70]
call fcn.18007d430
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x1310], eax
lea rdx, [rsp + 0x100]
mov rcx, rbp
call fcn.180055460
mov dword [rsp + 0x78], 0
cmp dword [0x1801df0a0], 0
je 0x180057c76
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1108]
mov qword [rsp + 0x20], rax
lea r9, str._DealWXWork___AnalyseData_6___chatname:__s___chat:__s___strTmp:__s_
lea r8, str.wxwork
or edx, 0xffffffff
lea rcx, [0x1801de7b8]
call fcn.18008da50
xor edx, edx
mov r8d, 0x1214
lea rcx, [rsp + 0x100]
call fcn.1800a1250
jmp 0x180057cd6
mov edx, r12d
mov rcx, r13
call fcn.180051270
lea rdx, [rax + 4]
lea rcx, [rsp + 0x70]
call fcn.18007d430
cmp dword [0x1801df0a0], 0
je 0x180057cd6
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, str._DealWXWork___AnalyseData_7___strTmp:__s_
lea r8, str.wxwork
or edx, 0xffffffff
lea rcx, [0x1801de7b8]
call fcn.18008da50
mov edx, r12d
mov rcx, r13
call fcn.180051270
lea rdx, [rsp + 0x90]
mov ecx, dword [rax + 0x1008]
mov dword [rdx], ecx
mov ecx, dword [rax + 0x100c]
mov dword [rdx + 4], ecx
mov ecx, dword [rax + 0x1010]
mov dword [rdx + 8], ecx
mov eax, dword [rax + 0x1014]
mov dword [rdx + 0xc], eax
mov r15d, dword [rsp + 0x9c]
mov edi, dword [rsp + 0x94]
mov qword [rsp + 0x88], rdi
mov r14d, dword [rsp + 0x90]
jmp 0x180057f63
mov edx, r12d
mov rcx, r13
call fcn.180051270
movd xmm0, dword [rax + 0x1008]
cvtdq2pd xmm0, xmm0
comisd xmm0, xmm6
jb 0x180057f63
cmp dword [0x1801df0a0], 0
je 0x180057d77
lea r9, str._DealWXWork___AnalyseData_8_
lea r8, str.wxwork
or edx, 0xffffffff
lea rcx, [0x1801de7b8]
call fcn.18008da50
cmp dword [rsp + 0x78], 0
je 0x180057e55
cmp word [rsp + 0x1108], 0
je 0x180057e55
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.18007d610
mov rdx, rax
mov r8d, 0x800
lea rcx, [rsp + 0x100]
call fcn.1800a11c4
or edx, 0xffffffff
lea rcx, [rsp + 0x70]
call fcn.18007d680
lea rdx, [0x18013ce7c]
lea rcx, [rsp + 0x70]
call fcn.18007d430
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x1310], eax
lea rdx, [rsp + 0x100]
mov rcx, rbp
call fcn.180055460
mov dword [rsp + 0x78], 0
cmp dword [0x1801df0a0], 0
je 0x180057e40
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1108]
mov qword [rsp + 0x20], rax
lea r9, str._DealWXWork___AnalyseData_9___chatname:__s___chat:__s___strTmp:__s_
lea r8, str.wxwork
or edx, 0xffffffff
lea rcx, [0x1801de7b8]
call fcn.18008da50
xor edx, edx
mov r8d, 0x1214
lea rcx, [rsp + 0x100]
call fcn.1800a1250
mov edx, r12d
mov rcx, r13
call fcn.180051270
movd xmm1, dword [rax + 0x1008]
cvtdq2pd xmm1, xmm1
mov eax, dword [rbp + 0xa18]
add eax, 0x50
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [0x1801ab170]
comisd xmm0, xmm1
jbe 0x180057ee8
test esi, esi
je 0x180057ea3
mov edx, r12d
mov rcx, r13
call fcn.180051270
cmp esi, dword [rax + 0x1008]
jle 0x180057eb8
mov edx, r12d
mov rcx, r13
call fcn.180051270
mov esi, dword [rax + 0x1008]
mov dword [rsp + 0x7c], esi
cmp dword [0x1801df0a0], 0
je 0x180057f48
mov dword [rsp + 0x20], esi
lea r9, str._DealWXWork___AnalyseData_10___left:__d_
lea r8, str.wxwork
or edx, 0xffffffff
lea rcx, [0x1801de7b8]
call fcn.18008da50
jmp 0x180057f48
mov ebx, dword [rsp + 0x80]
test ebx, ebx
je 0x180057f06
mov edx, r12d
mov rcx, r13
call fcn.180051270
cmp ebx, dword [rax + 0x1010]
jge 0x180057f1e
mov edx, r12d
mov rcx, r13
call fcn.180051270
mov ebx, dword [rax + 0x1010]
mov dword [rsp + 0x80], ebx
cmp dword [0x1801df0a0], 0
je 0x180057f48
mov dword [rsp + 0x20], ebx
lea r9, str._DealWXWork___AnalyseData_11___right:__d_
lea r8, str.wxwork
or edx, 0xffffffff
lea rcx, [0x1801de7b8]
call fcn.18008da50
mov edx, r12d
mov rcx, r13
call fcn.180051270
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.180054910
inc r12d
cmp r12d, dword [rsp + 0xa8]
mov ebx, dword [rsp + 0x98]
jl 0x1800578a0
xor eax, eax
mov word [rsp + 0x1320], ax
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x1322]
call fcn.1800a1250
mov r12, qword [rsp + 0xb0]
mov r9d, 0x800
lea r8, [rsp + 0x1320]
lea rdx, [r12 + 4]
mov rcx, rbp
call fcn.180055310
lea rcx, [rsp + 0xd8]
call fcn.180086200
nop
lea rcx, [rsp + 0x90]
call fcn.18007ec60
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x410]
call fcn.1800a1250
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [r12 + 4]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [r12 + 4]
lea rcx, [rbp + 0x410]
call fcn.1800a11c4
mov edx, dword [rsp + 0x80]
mov dword [rsp + 0x28], edx
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x90]
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0xc0]
mov rcx, rbp
call fcn.180053670
mov edi, dword [rsp + 0x98]
cmp word [rsp + 0x1320], 0
jne 0x1800580e3
test edi, edi
jle 0x180058138
cmp dword [r12 + 0x23c], 1
je 0x1800580e3
mov rax, qword [0x1801617a0]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x98]
dec eax
movsxd rcx, eax
mov rax, qword [rsp + 0x90]
mov dword [rsp + 0x20], 0x800
lea r9, [rsp + 0x1320]
mov r8, qword [rax + rcx*8]
lea rdx, [rsp + 0xb0]
mov rcx, rbp
call fcn.180052410
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.18007d3b0
nop
lea rcx, [rsp + 0xb0]
call fcn.18007d270
nop
lea rcx, [rsp + 0x88]
call fcn.18007d270
test edi, edi
jle 0x180058138
lea eax, [rdi - 1]
movsxd rcx, eax
mov rax, qword [rsp + 0x90]
lea rcx, [rax + rcx*8]
xor edx, edx
call fcn.18007d610
mov r8, rax
xor r9d, r9d
lea rdx, [rsp + 0x1320]
mov rcx, rbp
call fcn.18004eb20
test eax, eax
je 0x180058138
lea r9, [rsp + 0xd8]
lea r8, [rsp + 0x90]
lea rdx, [r12 + 4]
mov rcx, rbp
call fcn.180056a90
nop
lea rcx, [rsp + 0x90]
call fcn.180081610
nop
lea rcx, [rsp + 0xd8]
call fcn.180086210
nop
lea rcx, [rsp + 0x70]
call fcn.18007d270
nop
lea rcx, [rsp + 0xc0]
call fcn.180051280
mov rcx, qword [rsp + 0x2330]
xor rcx, rsp
call fcn.1800a1220
lea r11, [rsp + 0x2370]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret