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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10118492
mov eax, dword fs:[0]
push eax
mov eax, 0x2268
call fcn.1007f3d0
mov eax, dword [0x1015bdd0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax], 2
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x2230], esi
mov dword [ebp - 0x2248], eax
jne 0x10048b56
mov ecx, edi
call fcn.10041ed0
test eax, eax
je 0x10048b56
xor ebx, ebx
cmp dword [0x1016af88], ebx
je 0x100482e2
call fcn.10041450
fld qword [0x101590d8]
push eax
mov eax, dword [esi + 0x820]
push eax
sub esp, 8
mov ecx, edi
fstp qword [esp]
call fcn.10041ed0
push eax
push str._DealWXWork___AnalyseData_1___size:__d___x_y:__lf___ChatType:__d___Version2_4_20:__d_
push str.wxwork
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x24
lea ecx, [ebp - 0x2274]
call fcn.10041ec0
mov dword [ebp - 4], ebx
mov ecx, edi
mov dword [ebp - 0x2244], ebx
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
call fcn.10041ed0
push 0x1000
lea edx, [ebp - 0x2226]
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0x2250], eax
mov word [ebp - 0x2228], cx
call fcn.1007d080
push 0x210
lea eax, [ebp - 0x1224]
push ebx
push eax
call fcn.1007d080
mov ecx, dword [0x1013c5e8]
add esp, 0x18
mov dword [ebp - 0x222c], ecx
mov byte [ebp - 4], 1
xor esi, esi
cmp dword [ebp - 0x2250], esi
mov dword [ebp - 0x2254], ebx
mov dword [ebp - 0x2234], ebx
mov dword [ebp - 0x224c], ebx
jle 0x10048970
cmp dword [0x1016af88], 0
je 0x100483ef
mov edx, dword [ebp - 0x2238]
mov eax, dword [ebp - 0x223c]
mov ecx, dword [ebp - 0x2244]
push edx
push ebx
push eax
push ecx
push esi
mov ecx, edi
call fcn.10042ab0
add eax, 4
push eax
push esi
mov ecx, edi
call fcn.10042ab0
mov edx, dword [eax + 0x1014]
push edx
push esi
mov ecx, edi
call fcn.10042ab0
mov eax, dword [eax + 0x100c]
push eax
push esi
mov ecx, edi
call fcn.10042ab0
mov ecx, dword [eax + 0x1010]
push ecx
push esi
mov ecx, edi
call fcn.10042ab0
mov edx, dword [eax + 0x1008]
push edx
push str._DealWXWork___AnalyseData_2___rect:__d__d__d__d___chat:__s___rect2:__d__d__d__d_
push str.wxwork
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x34
mov eax, dword [ebp - 0x2230]
mov ecx, dword [eax + 0x954]
fild dword [eax + 0x954]
test ecx, ecx
jge 0x1004840b
fadd qword [0x10132738]
fmul qword [0x101590d8]
push esi
mov ecx, edi
fstp qword [ebp - 0x225c]
call fcn.10042ab0
fild dword [eax + 0x1008]
fcomp qword [ebp - 0x225c]
fnstsw ax
test ah, 5
jp 0x10048757
cmp dword [0x1016af88], 0
je 0x10048458
push str._DealWXWork___AnalyseData_3_
push str.wxwork
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x10
push esi
mov ecx, edi
call fcn.10042ab0
mov edx, dword [ebp - 0x2244]
cmp edx, dword [eax + 0x1008]
jne 0x100484e4
push esi
mov ecx, edi
call fcn.10042ab0
mov ecx, dword [ebp - 0x223c]
cmp ecx, dword [eax + 0x1010]
jne 0x100484e4
push esi
mov ecx, edi
call fcn.10042ab0
cmp ebx, dword [eax + 0x100c]
jne 0x100484e4
push esi
mov ecx, edi
call fcn.10042ab0
mov edx, dword [ebp - 0x2238]
cmp edx, dword [eax + 0x1014]
jne 0x100484e4
push esi
mov ecx, edi
call fcn.10042ab0
add eax, 4
push eax
lea ecx, [ebp - 0x222c]
call fcn.1006b5d0
cmp dword [0x1016af88], 0
je 0x1004871e
mov eax, dword [ebp - 0x222c]
push eax
push str._DealWXWork___AnalyseData_4___strTmp:__s_
push str.wxworkmore
jmp 0x1004870f
push esi
mov ecx, edi
call fcn.10042ab0
mov ecx, dword [ebp - 0x2244]
cmp ecx, dword [eax + 0x1008]
je 0x10048539
push esi
mov ecx, edi
call fcn.10042ab0
fld qword [0x101590d8]
fmul qword [0x101340b0]
mov ebx, eax
call fcn.1007f400
mov ecx, dword [ebp - 0x2244]
sub ecx, eax
cmp ecx, dword [ebx + 0x1008]
jne 0x10048613
mov edx, dword [ebp - 0x222c]
cmp dword [edx - 8], 6
jge 0x10048613
push esi
mov ecx, edi
call fcn.10042ab0
mov ecx, dword [ebp - 0x2238]
cmp ecx, dword [eax + 0x100c]
jg 0x10048613
fld qword [0x101590d8]
push esi
fmul qword [0x101313a0]
mov ecx, edi
fiadd dword [ebp - 0x2238]
fstp qword [ebp - 0x225c]
call fcn.10042ab0
fild dword [eax + 0x100c]
fcomp qword [ebp - 0x225c]
fnstsw ax
test ah, 5
jp 0x10048613
push 0x103
push 0
lea ecx, [ebp - 0x222c]
call fcn.1006b650
push eax
lea edx, [ebp - 0x1220]
push edx
call fcn.1007ce61
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp - 0x222c]
call fcn.1006b720
push esi
mov ecx, edi
call fcn.10042ab0
add eax, 4
push eax
lea ecx, [ebp - 0x222c]
call fcn.1006ac00
cmp dword [0x1016af88], 0
mov dword [ebp - 0x2254], 1
je 0x1004871e
mov eax, dword [ebp - 0x222c]
push eax
lea ecx, [ebp - 0x1220]
push ecx
push str._DealWXWork___AnalyseData_5___chatname:__s___strTmp:__s_
push str.wxwork
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x18
jmp 0x1004871e
cmp word [ebp - 0x1220], 0
je 0x100486de
push 0x800
push 0
lea ecx, [ebp - 0x222c]
call fcn.1006b650
push eax
lea edx, [ebp - 0x2228]
push edx
call fcn.1007ce61
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp - 0x222c]
call fcn.1006b720
push esi
mov ecx, edi
call fcn.10042ab0
add eax, 4
push eax
lea ecx, [ebp - 0x222c]
call fcn.1006ac00
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x2230]
mov dword [ebp - 0x1018], eax
lea eax, [ebp - 0x2228]
push eax
call fcn.10045ba0
cmp dword [0x1016af88], 0
mov dword [ebp - 0x2254], 0
je 0x100486c6
mov ecx, dword [ebp - 0x222c]
push ecx
lea edx, [ebp - 0x2228]
push edx
lea eax, [ebp - 0x1220]
push eax
push str._DealWXWork___AnalyseData_6___chatname:__s___chat:__s___strTmp:__s_
push str.wxwork
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x1c
push 0x1214
lea ecx, [ebp - 0x2228]
push 0
push ecx
call fcn.1007d080
add esp, 0xc
jmp 0x1004871e
push esi
mov ecx, edi
call fcn.10042ab0
add eax, 4
push eax
lea ecx, [ebp - 0x222c]
call fcn.1006ac00
cmp dword [0x1016af88], 0
je 0x1004871e
mov edx, dword [ebp - 0x222c]
push edx
push str._DealWXWork___AnalyseData_7___strTmp:__s_
push str.wxwork
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
push esi
mov ecx, edi
call fcn.10042ab0
mov ecx, dword [eax + 0x1008]
mov edx, dword [eax + 0x1010]
mov ebx, dword [eax + 0x100c]
add eax, 0x1008
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x2244], ecx
mov dword [ebp - 0x223c], edx
mov dword [ebp - 0x2238], eax
jmp 0x10048963
push esi
mov ecx, edi
call fcn.10042ab0
fild dword [eax + 0x1008]
fcomp qword [ebp - 0x225c]
fnstsw ax
test ah, 1
jne 0x10048963
cmp dword [0x1016af88], 0
je 0x10048798
push str._DealWXWork___AnalyseData_8_
push str.wxwork
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x10
cmp dword [ebp - 0x2254], 0
je 0x10048867
cmp word [ebp - 0x1220], 0
je 0x10048867
push 0x800
push 0
lea ecx, [ebp - 0x222c]
call fcn.1006b650
push eax
lea ecx, [ebp - 0x2228]
push ecx
call fcn.1007ce61
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp - 0x222c]
call fcn.1006b720
push 0x10120d30
lea ecx, [ebp - 0x222c]
call fcn.1006ac00
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x2230]
lea edx, [ebp - 0x2228]
push edx
mov dword [ebp - 0x1018], eax
call fcn.10045ba0
cmp dword [0x1016af88], 0
mov dword [ebp - 0x2254], 0
je 0x10048851
mov eax, dword [ebp - 0x222c]
push eax
lea ecx, [ebp - 0x2228]
push ecx
lea edx, [ebp - 0x1220]
push edx
push str._DealWXWork___AnalyseData_9___chatname:__s___chat:__s___strTmp:__s_
push str.wxwork
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x1c
push 0x1214
lea eax, [ebp - 0x2228]
push 0
push eax
call fcn.1007d080
add esp, 0xc
push esi
mov ecx, edi
call fcn.10042ab0
fild dword [eax + 0x1008]
mov ecx, dword [ebp - 0x2230]
mov edx, dword [ecx + 0x954]
add edx, 0x50
mov dword [ebp - 0x2258], edx
fild dword [ebp - 0x2258]
test edx, edx
jge 0x1004889a
fadd qword [0x10132738]
fmul qword [0x101590d8]
fcompp
fnstsw ax
test ah, 0x41
jne 0x100488f3
cmp dword [ebp - 0x2234], 0
je 0x100488c8
push esi
mov ecx, edi
call fcn.10042ab0
mov ecx, dword [ebp - 0x2234]
cmp ecx, dword [eax + 0x1008]
jle 0x100488dc
push esi
mov ecx, edi
call fcn.10042ab0
mov edx, dword [eax + 0x1008]
mov dword [ebp - 0x2234], edx
cmp dword [0x1016af88], 0
je 0x1004894f
mov eax, dword [ebp - 0x2234]
push eax
push str._DealWXWork___AnalyseData_10___left:__d_
jmp 0x1004893b
cmp dword [ebp - 0x224c], 0
je 0x10048912
push esi
mov ecx, edi
call fcn.10042ab0
mov ecx, dword [ebp - 0x224c]
cmp ecx, dword [eax + 0x1010]
jge 0x10048926
push esi
mov ecx, edi
call fcn.10042ab0
mov edx, dword [eax + 0x1010]
mov dword [ebp - 0x224c], edx
cmp dword [0x1016af88], 0
je 0x1004894f
mov eax, dword [ebp - 0x224c]
push eax
push str._DealWXWork___AnalyseData_11___right:__d_
push str.wxwork
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
push esi
mov ecx, edi
call fcn.10042ab0
push eax
lea ecx, [ebp - 0x2274]
call fcn.10045170
inc esi
cmp esi, dword [ebp - 0x2250]
jl 0x1004836f
xor ecx, ecx
push 0x1000
push ecx
lea edx, [ebp - 0x1012]
push edx
mov word [ebp - 0x1014], cx
call fcn.1007d080
mov esi, dword [ebp - 0x2248]
mov ecx, dword [ebp - 0x2230]
add esp, 0xc
push 0x800
lea eax, [ebp - 0x1014]
push eax
add esi, 4
push esi
call fcn.10045a80
lea ecx, [ebp - 0x2264]
call fcn.100765c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2244]
call fcn.100702a0
mov bl, 3
mov byte [ebp - 4], bl
mov edi, dword [ebp - 0x2230]
push 0x208
add edi, 0x410
push 0
push edi
call fcn.1007d080
mov eax, esi
add esp, 0xc
lea ecx, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x100489f0
sub eax, ecx
sar eax, 1
push eax
push esi
push edi
call fcn.1007ce61
mov ecx, dword [ebp - 0x224c]
mov edx, dword [ebp - 0x2234]
add esp, 0xc
push ecx
push edx
lea eax, [ebp - 0x2244]
push eax
lea ecx, [ebp - 0x2264]
push ecx
mov ecx, dword [ebp - 0x2230]
lea edx, [ebp - 0x2274]
push edx
call fcn.100441a0
cmp word [ebp - 0x1014], 0
mov eax, dword [ebp - 0x2240]
mov edi, eax
jne 0x10048ad1
test eax, eax
jle 0x10048b17
mov eax, dword [ebp - 0x2248]
cmp dword [eax + 0x230], 1
je 0x10048ad1
mov ecx, dword [0x1013c5e8]
mov dword [ebp - 0x2248], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2244]
mov eax, dword [ebp - 0x2240]
mov eax, dword [edx + eax*4 - 4]
push 0x800
lea ecx, [ebp - 0x1014]
push ecx
mov ecx, dword [ebp - 0x2230]
push eax
lea edx, [ebp - 0x2250]
push edx
call fcn.10043960
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x2248]
call fcn.1006ab10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2250]
call fcn.1006a980
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2248]
call fcn.1006a980
test edi, edi
jle 0x10048b17
mov eax, dword [ebp - 0x2244]
push 0
lea ecx, [eax + edi*4 - 4]
push 0
call fcn.1006b650
mov edi, dword [ebp - 0x2230]
push eax
lea ecx, [ebp - 0x1014]
push ecx
mov ecx, edi
call fcn.10040a60
test eax, eax
je 0x10048b17
lea edx, [ebp - 0x2264]
push edx
lea eax, [ebp - 0x2244]
push eax
push esi
mov ecx, edi
call fcn.10046d60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2244]
call fcn.100702b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2264]
call fcn.100765d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x222c]
call fcn.1006a980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2274]
call fcn.10042ac0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007ceab
mov esp, ebp
pop ebp
ret 8