Function at 0x1005a1a0
Capabilities:
Log keystrokes
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b21c8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x28], edi
cmp dword [edi + 0x8c], 0
je 0x1005b59a
call dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, dword [0x100ec5e0]
mov eax, 0xcccccccd
mul esi
mov eax, esi
shr edx, 5
lea ecx, [edx + edx*4]
shl ecx, 3
sub eax, ecx
jne 0x1005a2e4
mov ecx, dword [edi + 0x6f0]
lea eax, [esp + 0x58]
push eax
call fcn.10054790
cmp dword [esp + 0x6c], 8
lea eax, [esp + 0x58]
mov esi, dword [sym.imp.MSVCR120.dll_wcsstr]
cmovae eax, dword [esp + 0x58]
push 0x100c1a14
push eax
call esi
test eax, eax
lea eax, [esp + 0x60]
push 0x100c1a1c
setne byte [0x100ec5c8]
cmp dword [esp + 0x78], 8
cmovae eax, dword [esp + 0x64]
push eax
call esi
add esp, 0x10
mov ecx, edi
test eax, eax
setne byte [0x100ec5d0]
push 0x25
push 0
call fcn.10059160
test al, al
jne 0x1005a2aa
push 0x26
push 0
mov ecx, edi
call fcn.10059160
test al, al
jne 0x1005a2aa
push 0x27
push 0
mov ecx, edi
call fcn.10059160
test al, al
jne 0x1005a2aa
push 0x28
push 0
mov ecx, edi
call fcn.10059160
mov byte [0x100ec5c3], 1
test al, al
je 0x1005a2b1
mov byte [0x100ec5c3], 0
mov eax, dword [edi + 0x68]
test eax, eax
je 0x1005a2ca
cmp byte [eax], 0x25
je 0x1005a2c3
cmp byte [eax + 2], 0x27
jne 0x1005a2ca
mov byte [0x100ec5c3], 0
cmp dword [esp + 0x6c], 8
jb 0x1005a2de
push dword [esp + 0x58]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [0x100ec5e0]
mov ecx, dword [edi + 0x8c]
inc esi
cmp byte [0x100ec5c3], 0
mov ebx, dword [ebp + 8]
mov dword [0x100ec5e0], esi
mov al, byte [ecx + 0x13]
mov byte [esp + 0x14], al
mov al, byte [ecx + 0x14]
mov byte [esp + 0x15], al
mov al, byte [ecx + 0x15]
mov byte [esp + 0x16], al
mov al, byte [ecx + 0x16]
mov byte [esp + 0x17], al
je 0x1005a339
cmp byte [ebx + 0x25], 1
je 0x1005a331
cmp byte [ebx + 0x26], 1
je 0x1005a331
cmp byte [ebx + 0x27], 1
je 0x1005a331
cmp byte [ebx + 0x28], 1
jne 0x1005a339
mov dword [esp + 0x14], 0x28272625
cmp byte [ecx + 0x17], 0
je 0x1005a3e7
mov edx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
nop
movzx eax, byte [esp + ecx + 0x14]
cmp byte [eax + ebx], 1
mov eax, dword [edi + 0x8c]
jne 0x1005a387
cmp byte [ecx + eax + 0x1b], 0
jne 0x1005a3d4
mov byte [ecx + eax + 0x1b], 1
mov eax, dword [edi + 0x8c]
mov esi, dword [edi + 0x6f0]
push 0
movzx ebx, byte [ecx + eax + 0x17]
push ebx
call edx
push 1
jmp 0x1005a3ab
cmp byte [ecx + eax + 0x1b], 0
je 0x1005a3d4
mov byte [ecx + eax + 0x1b], 0
mov eax, dword [edi + 0x8c]
mov esi, dword [edi + 0x6f0]
push 0
movzx ebx, byte [ecx + eax + 0x17]
push ebx
call edx
push 0
mov esi, dword [esi + 0xc]
mov edx, eax
push ecx
mov ecx, ebx
mov edi, dword [esi]
call fcn.10023c90
add esp, 4
mov ecx, esi
push eax
call dword [edi + 8]
mov edx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, 4
jl 0x1005a350
jmp 0x1005b59a
mov eax, dword [ecx + 4]
mov esi, dword [ecx + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 8]
mov ecx, edi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push eax
push ebx
lea eax, [esp + 0x38]
push eax
call fcn.10059d30
mov ecx, dword [esp + 0x30]
movsd xmm2, qword [0x100ce1c0]
mov eax, dword [esp + 0x34]
test ecx, ecx
je 0x1005a42c
test eax, eax
je 0x1005a42c
movsd xmm3, qword [0x100ce180]
jmp 0x1005a430
movapd xmm3, xmm2
movd xmm0, dword [esp + 0x20]
imul ecx, esi
cvtdq2pd xmm0, xmm0
imul eax, esi
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm3
addsd xmm1, xmm0
movd xmm0, dword [esp + 0x1c]
cvtdq2pd xmm0, xmm0
cvttsd2si edx, xmm1
movd xmm1, eax
mov al, byte [edi + 0x90]
mov dword [esp + 0x28], edx
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm3
addsd xmm1, xmm0
cvttsd2si esi, xmm1
mov dword [esp + 0x1c], esi
test al, al
je 0x1005a49c
movzx eax, al
cmp byte [eax + ebx], 0
je 0x1005a49c
movsd xmm2, qword [edi + 0x98]
mov byte [esp + 0x27], 1
jmp 0x1005a4a1
mov byte [esp + 0x27], 0
mov eax, dword [edi + 0x8c]
mov ecx, dword [eax + 0x54]
cmp ecx, 1
jne 0x1005a4c3
cmp byte [esp + 0x27], 0
jne 0x1005a4c3
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], esi
jmp 0x1005a56c
movd xmm0, dword [eax + 0xc]
mov edx, dword [eax + 4]
movd xmm1, ecx
mov ecx, edi
cvtdq2pd xmm1, xmm1
mov dword [esp + 0x20], edx
mov edx, dword [eax + 8]
lea eax, [esp + 0x14]
push eax
push ebx
lea eax, [esp + 0x38]
mov dword [esp + 0x48], edx
cvtdq2pd xmm0, xmm0
push eax
mulsd xmm1, xmm2
mulsd xmm1, xmm0
cvttsd2si esi, xmm1
call fcn.10059d30
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
test eax, eax
je 0x1005a51a
test ecx, ecx
je 0x1005a51a
movsd xmm2, qword [0x100ce180]
jmp 0x1005a522
movsd xmm2, qword [0x100ce1c0]
movd xmm0, dword [esp + 0x20]
imul eax, esi
cvtdq2pd xmm0, xmm0
imul ecx, esi
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm2
addsd xmm1, xmm0
movd xmm0, dword [esp + 0x40]
cvtdq2pd xmm0, xmm0
cvttsd2si eax, xmm1
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
mov dword [esp + 0x30], eax
mulsd xmm1, xmm2
addsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [esp + 0x34], eax
mov ebx, dword [edi + 0x8c]
lea edx, [esp + 0x30]
mov esi, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x14], edx
mov eax, dword [ebx + 4]
cmp esi, eax
jne 0x1005a794
cmp edx, dword [ebx + 8]
jne 0x1005a797
cmp byte [ebx], 0
je 0x1005b589
cmp dword [ebx + 0x60], 0
jg 0x1005b589
cmp byte [ebx + 0x58], 0
je 0x1005a5b3
mov ecx, dword [ebx + 8]
mov esi, eax
jmp 0x1005a5ea
mov ecx, dword [ebx + 0x30]
sub ecx, eax
mov eax, 0x88888889
imul ecx
mov eax, 0x88888889
add edx, ecx
mov ecx, dword [ebx + 0x34]
sub ecx, dword [ebx + 8]
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
add esi, dword [ebx + 4]
imul ecx
add edx, ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, dword [ebx + 8]
cmp dword [ebx + 0x50], 0
mov dword [esp + 0x1c], ecx
jne 0x1005a706
cmp dword [edi + 0xb4], 0
jne 0x1005a6c8
cmp dword [ebx + 0x54], 1
jne 0x1005a6c8
cmp dword [ebx + 0x2c], 0
jne 0x1005a6c8
mov ecx, dword [ebx + 0x24]
cmp ecx, 4
jg 0x1005a6c8
movzx eax, byte [ebx + 0x13]
lea esi, [ecx + 1]
mov ecx, dword [ebx + 0x38]
sub ecx, dword [ebx + 4]
imul ecx, esi
mov dword [esp + 0x5c], eax
mov eax, 0x66666667
mov dword [esp + 0x58], 1
mov dword [esp + 0x68], 1
imul ecx
mov eax, 0x66666667
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, dword [ebx + 4]
mov dword [esp + 0x60], ecx
mov ecx, dword [ebx + 0x3c]
sub ecx, dword [ebx + 8]
imul ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [ebx + 8]
cmp byte [ebx + 0x11], 0
mov dword [esp + 0x64], eax
jne 0x1005a6a7
mov ecx, dword [edi + 0x6f0]
lea eax, [esp + 0x5c]
push 2
push eax
lea eax, [esp + 0x38]
push eax
call fcn.1001f570
movdqu xmm0, xmmword [eax]
movdqu xmmword [esp + 0x5c], xmm0
mov ecx, dword [edi + 0x8c]
lea eax, [esp + 0x58]
push eax
add ecx, 0x64
call fcn.100305d0
mov eax, dword [edi + 0x8c]
inc dword [eax + 0x24]
jmp 0x1005b589
mov byte [ebx], 0
mov ecx, dword [edi + 0x8c]
mov dword [esp + 0x68], 0
mov dword [esp + 0x60], esi
mov eax, dword [ecx + 0x5c]
mov dword [esp + 0x58], eax
movzx eax, byte [ecx + 0x13]
add ecx, 0x64
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x58]
push eax
call fcn.100305d0
jmp 0x1005b589
cmp byte [ebp + 0xc], 0
je 0x1005a713
mov dword [ebx + 0x4c], 0
mov ebx, dword [edi + 0x8c]
mov dword [esp + 0x60], esi
mov edx, dword [ebx + 0x4c]
test edx, edx
jg 0x1005a74d
mov byte [ebx], 0
mov ecx, dword [edi + 0x8c]
mov dword [esp + 0x68], 0
mov eax, dword [ecx + 0x5c]
mov dword [esp + 0x58], eax
movzx eax, byte [ecx + 0x13]
add ecx, 0x64
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x1c]
jmp 0x1005a778
movzx eax, byte [ebx + 0x13]
mov esi, 3
mov dword [esp + 0x5c], eax
lea eax, [edx - 1]
cdq
idiv esi
mov dword [esp + 0x58], 1
mov dword [esp + 0x68], 1
lea eax, [edx - 1]
add eax, ecx
lea ecx, [ebx + 0x64]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x58]
push eax
call fcn.100305d0
mov eax, dword [edi + 0x8c]
dec dword [eax + 0x4c]
jmp 0x1005b589
cmp edx, dword [ebx + 8]
jge 0x1005ab50
mov eax, dword [edi + 0x6f0]
lea ecx, [esp + 0x58]
push 0xffffffffffffffff
add eax, 0xedc
mov dword [esp + 0x70], 0xf
push 0
push eax
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
call fcn.10003660
mov edx, str.com.tencent.tmgp.pubgmhd
mov dword [esp + 0x80], 0
lea ecx, [esp + 0x58]
call fcn.10011a60
test al, al
jne 0x1005a86a
mov edx, str.com.tencent.tmgp.projectg
lea ecx, [esp + 0x58]
call fcn.10011a60
test al, al
jne 0x1005a86a
mov edx, str.com.tencent.tmgp.pubgm
lea ecx, [esp + 0x58]
call fcn.10011a60
test al, al
jne 0x1005a86a
mov edx, str.com.tencent.ig
lea ecx, [esp + 0x58]
call fcn.10011a60
test al, al
jne 0x1005a86a
mov edx, str.com.tencent.iglite
lea ecx, [esp + 0x58]
call fcn.10011a60
test al, al
jne 0x1005a86a
mov edx, str.com.pubg.krmobile
lea ecx, [esp + 0x58]
call fcn.10011a60
test al, al
jne 0x1005a86a
mov edx, str.com.vng.pubgmobile
lea ecx, [esp + 0x58]
call fcn.10011a60
test al, al
jne 0x1005a86a
mov edx, str.com.rekoo.pubgm
lea ecx, [esp + 0x58]
call fcn.10011a60
test al, al
je 0x1005a8c4
mov ecx, dword [edi + 0x8c]
mov eax, esi
mov edx, dword [esp + 0x14]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
sub eax, dword [ecx + 4]
movd xmm1, eax
mov eax, edx
sub eax, dword [ecx + 8]
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x100ce128]
addsd xmm1, xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
cvttsd2si esi, xmm1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x100ce128]
addsd xmm1, xmm0
cvttsd2si ebx, xmm1
mov dword [esp + 0x14], ebx
jmp 0x1005a8c8
mov ebx, dword [esp + 0x14]
mov eax, dword [edi + 0x8c]
cmp esi, dword [eax + 4]
je 0x1005ab29
cmp dword [esp + 0x6c], 0x10
lea eax, [esp + 0x58]
push 0x13
cmovae eax, dword [esp + 0x5c]
push str.com.sofunny.chicken
push eax
call dword [sym.imp.MSVCR120.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x1005aae7
cmp dword [esp + 0x6c], 0x10
lea eax, [esp + 0x58]
push 0x13
cmovae eax, dword [esp + 0x5c]
push str.com.sofunny.Sausage
push eax
call dword [sym.imp.MSVCR120.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x1005aae7
cmp dword [esp + 0x6c], 0x10
lea eax, [esp + 0x58]
push 0x19
cmovae eax, dword [esp + 0x5c]
push str.com.GlobalSoFunny.Sausage
push eax
call dword [sym.imp.MSVCR120.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x1005aae7
cmp dword [esp + 0x6c], 0x10
lea eax, [esp + 0x58]
push 0x10
cmovae eax, dword [esp + 0x5c]
push str.com.netease.mrzh
push eax
call dword [sym.imp.MSVCR120.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x1005aa91
cmp dword [esp + 0x6c], 0x10
lea eax, [esp + 0x58]
mov ecx, str.com.xdg.and.kr.lifeafter
cmovae eax, dword [esp + 0x58]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005a9a6
test dl, dl
je 0x1005a9a2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005a9a6
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005a986
xor eax, eax
jmp 0x1005a9ab
sbb eax, eax
or eax, 1
test eax, eax
je 0x1005aa91
cmp dword [esp + 0x6c], 0x10
lea eax, [esp + 0x58]
mov ecx, str.com.tencent.tmgp.yongyong.mrzh
cmovae eax, dword [esp + 0x58]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005a9e6
test dl, dl
je 0x1005a9e2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005a9e6
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005a9c6
xor eax, eax
jmp 0x1005a9eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x1005aa91
cmp dword [esp + 0x6c], 0x10
lea eax, [esp + 0x58]
mov ecx, str.com.xdg.and.eu.lifeafter
cmovae eax, dword [esp + 0x58]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005aa26
test dl, dl
je 0x1005aa22
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005aa26
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005aa06
xor eax, eax
jmp 0x1005aa2b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1005aa91
mov eax, dword [edi + 0x6f0]
cmp dword [eax + 0x834], 0
je 0x1005ab29
cmp dword [eax + 0x830], 0
je 0x1005ab29
mov ecx, dword [edi + 0x8c]
mov eax, ebx
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
sub eax, dword [ecx + 8]
movd xmm1, eax
mov eax, dword [ecx + 4]
cvtdq2pd xmm1, xmm1
sub eax, esi
mulsd xmm1, qword [0x100ce0c8]
addsd xmm1, xmm0
cvttsd2si edx, xmm1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x100ce0c8]
jmp 0x1005aad1
mov ecx, dword [edi + 0x8c]
mov eax, ebx
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
sub eax, dword [ecx + 8]
movd xmm1, eax
mov eax, dword [ecx + 4]
cvtdq2pd xmm1, xmm1
sub eax, esi
mulsd xmm1, qword [0x100ce0e8]
addsd xmm1, xmm0
cvttsd2si edx, xmm1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x100ce0e8]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mov dword [esp + 0x14], edx
addsd xmm1, xmm0
cvttsd2si esi, xmm1
jmp 0x1005ab2d
mov ecx, dword [edi + 0x8c]
mov eax, ebx
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
sub eax, dword [ecx + 8]
movd xmm1, eax
mov eax, dword [ecx + 4]
cvtdq2pd xmm1, xmm1
sub eax, esi
mulsd xmm1, qword [0x100ce100]
addsd xmm1, xmm0
cvttsd2si edx, xmm1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x100ce100]
jmp 0x1005aad1
mov edx, dword [esp + 0x14]
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x6c], 0x10
jb 0x1005ab50
push dword [esp + 0x58]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov edx, dword [esp + 0x18]
add esp, 4
mov eax, dword [edi + 0x8c]
cmp esi, dword [eax + 4]
je 0x1005ab98
cmp edx, dword [eax + 8]
je 0x1005ab98
mov ecx, dword [edi + 0x6f0]
call fcn.1001d870
test al, al
je 0x1005ab98
mov eax, dword [edi + 0x8c]
movd xmm1, esi
cvtdq2pd xmm1, xmm1
sub esi, dword [eax + 4]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x100ce108]
subsd xmm1, xmm0
cvttsd2si esi, xmm1
mov eax, dword [edi + 0x8c]
mov ebx, dword [esp + 0x14]
cmp esi, dword [eax + 4]
je 0x1005abe6
cmp ebx, dword [eax + 8]
je 0x1005abe6
mov ecx, dword [edi + 0x6f0]
call fcn.100261e0
test al, al
je 0x1005abe6
mov eax, dword [edi + 0x8c]
mov ecx, esi
movd xmm0, esi
cvtdq2pd xmm0, xmm0
sub ecx, dword [eax + 4]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x100ce100]
addsd xmm1, xmm0
cvttsd2si esi, xmm1
mov eax, dword [edi + 0x8c]
cmp byte [eax + 0x10], 0
jne 0x1005ac4f
cmp esi, dword [eax + 4]
jne 0x1005ac4f
cmp ebx, dword [eax + 8]
jge 0x1005ac4f
mov eax, dword [edi + 0x6f0]
add eax, 0xedc
cmp dword [eax + 0x14], 0x10
jb 0x1005ac0f
mov eax, dword [eax]
push 0x18
push str.com.denachina.g13002010.
push eax
call dword [sym.imp.MSVCR120.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x1005ac4f
mov eax, dword [edi + 0x8c]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mov eax, dword [eax + 8]
sub eax, ebx
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x100ce108]
addsd xmm1, xmm0
cvttsd2si esi, xmm1
mov ecx, dword [edi + 0x8c]
cmp byte [ecx + 0x10], 0
je 0x1005aca7
cmp byte [ecx], 0
jne 0x1005ac63
mov byte [ecx], 1
mov ecx, dword [edi + 0x8c]
mov dword [esp + 0x58], 1
mov dword [esp + 0x68], 1
mov dword [esp + 0x60], esi
movzx eax, byte [ecx + 0x13]
add ecx, 0x64
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x68], ebx
call fcn.100305d0
mov eax, dword [edi + 0x8c]
mov dword [eax + 0x30], esi
mov dword [eax + 0x34], ebx
jmp 0x1005b57d
cmp byte [ecx], 0
jne 0x1005b103
cmp byte [ecx + 0x12], 0
je 0x1005ad31
mov ecx, dword [edi + 0x6f0]
push 0x49
call fcn.10054880
test al, al
je 0x1005ad31
mov ecx, dword [edi + 0x8c]
mov dword [esp + 0x58], 1
mov dword [esp + 0x68], 0
cmp byte [ecx + 0x11], 0
movzx eax, byte [ecx + 0x13]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x64], eax
jne 0x1005ad1e
mov ecx, dword [edi + 0x6f0]
lea eax, [esp + 0x5c]
push 2
push eax
lea eax, [esp + 0x38]
push eax
call fcn.1001f570
movdqu xmm0, xmmword [eax]
movdqu xmmword [esp + 0x5c], xmm0
mov ecx, dword [edi + 0x8c]
lea eax, [esp + 0x58]
push eax
add ecx, 0x64
call fcn.100305d0
mov eax, dword [edi + 0x8c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x68], 1
mov dword [esp + 0x58], 1
mov byte [eax], 1
mov eax, dword [edi + 0x8c]
mov dword [eax + 0x24], 0
mov eax, dword [edi + 0x8c]
mov dword [eax + 0x28], 0
mov eax, dword [edi + 0x8c]
mov dword [eax + 0x2c], 0
mov eax, dword [edi + 0x8c]
mov dword [eax + 0x38], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x3c], edx
mov ecx, dword [edi + 0x8c]
mov eax, dword [ecx + 4]
mov dword [ecx + 0x40], eax
mov eax, dword [ecx + 8]
mov dword [ecx + 0x44], eax
mov eax, dword [edi + 0x8c]
mov byte [eax + 0x48], 0
mov ecx, dword [edi + 0x8c]
cmp byte [ecx + 0x11], 0
movzx eax, byte [ecx + 0x13]
mov esi, dword [ecx + 8]
mov ebx, dword [ecx + 4]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x64], esi
jne 0x1005adf4
mov ecx, dword [edi + 0x6f0]
lea eax, [esp + 0x5c]
push 2
push eax
lea eax, [esp + 0x38]
push eax
call fcn.1001f570
movdqu xmm0, xmmword [eax]
movdqu xmmword [esp + 0x5c], xmm0
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x14], esi
mov ecx, dword [edi + 0x8c]
lea eax, [esp + 0x58]
push eax
add ecx, 0x64
call fcn.100305d0
mov eax, dword [edi + 0x8c]
inc dword [eax + 0x24]
mov eax, dword [edi + 0x8c]
cmp dword [eax + 0x54], 1
je 0x1005aeaa
mov dword [esp + 0x20], 8
jmp 0x1005ae30
mov esi, dword [edi + 0x8c]
mov eax, 0x66666667
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], 1
sub ecx, dword [esi + 4]
imul ecx
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esi + 8]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
add ebx, eax
mov eax, 0x66666667
imul ecx
mov ecx, dword [esp + 0x14]
sar edx, 3
mov eax, edx
mov dword [esp + 0x60], ebx
shr eax, 0x1f
add eax, edx
add ecx, eax
lea eax, [esp + 0x58]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x64], ecx
lea ecx, [esi + 0x64]
push eax
call fcn.100305d0
dec dword [esp + 0x20]
jne 0x1005ae30
mov eax, dword [edi + 0x8c]
mov esi, dword [esp + 0x14]
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], esi
jmp 0x1005b57d
cmp dword [edi + 0xb4], 2
je 0x1005af94
mov eax, dword [edi + 0x6f0]
mov dword [esp + 0x58], 1
movsd xmm0, qword [eax + 0x1038]
xor eax, eax
comisd xmm0, xmmword [0x100ce2f0]
setbe al
add eax, 3
cmp eax, 1
jle 0x1005af94
dec eax
mov dword [esp + 0x20], eax
jmp 0x1005aef0
mov esi, dword [edi + 0x8c]
mov eax, 0x88888889
mov ecx, dword [esp + 0x28]
sub ecx, dword [esi + 4]
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esi + 8]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add ebx, eax
mov eax, 0x88888889
imul ecx
mov dword [esp + 0x60], ebx
add edx, ecx
mov ecx, dword [esp + 0x14]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add ecx, eax
cmp byte [esi + 0x11], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x64], ecx
jne 0x1005af73
mov ecx, dword [edi + 0x6f0]
lea eax, [esp + 0x5c]
push 2
push eax
lea eax, [esp + 0x38]
push eax
call fcn.1001f570
movdqu xmm0, xmmword [eax]
movdqu xmmword [esp + 0x5c], xmm0
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x14], esi
jmp 0x1005af77
mov esi, dword [esp + 0x14]
mov ecx, dword [edi + 0x8c]
lea eax, [esp + 0x58]
push eax
add ecx, 0x64
call fcn.100305d0
dec dword [esp + 0x20]
jne 0x1005aef0
mov ecx, dword [edi + 0x6f0]
mov edx, str.com.fancywing.s3
add ecx, 0xedc
call fcn.10011a60
test al, al
jne 0x1005b000
mov ecx, dword [edi + 0x6f0]
mov edx, str.com.tencent.cldts
add ecx, 0xedc
call fcn.10011a60
test al, al
jne 0x1005b000
mov ecx, dword [edi + 0x6f0]
mov edx, str.com.tencent.tmgp.ztj
add ecx, 0xedc
call fcn.10011a60
test al, al
jne 0x1005b000
mov ecx, dword [edi + 0x6f0]
mov edx, str.com.tencent.wmsj
add ecx, 0xedc
call fcn.10011a60
test al, al
je 0x1005b0f2
mov dword [esp + 0x58], 1
mov dword [esp + 0x20], 0
mov esi, dword [edi + 0x8c]
mov eax, 0x66666667
mov ecx, dword [esp + 0x28]
sub ecx, dword [esi + 4]
imul ecx
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esi + 8]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add ebx, eax
mov eax, 0x66666667
imul ecx
mov ecx, dword [esp + 0x14]
sar edx, 4
mov eax, edx
mov dword [esp + 0x60], ebx
shr eax, 0x1f
add eax, edx
add ecx, eax
cmp byte [esi + 0x11], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x64], ecx
jne 0x1005b08f
mov ecx, dword [edi + 0x6f0]
lea eax, [esp + 0x5c]
push 2
push eax
lea eax, [esp + 0x50]
push eax
call fcn.1001f570
movdqu xmm0, xmmword [eax]
movdqu xmmword [esp + 0x5c], xmm0
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x14], esi
jmp 0x1005b093
mov esi, dword [esp + 0x14]
mov eax, dword [edi + 0x8c]
lea ecx, [esp + 0x58]
add eax, 0x64
mov dword [esp + 0x40], eax
push ecx
mov eax, dword [eax]
mov dword [esp + 0x48], eax
push dword [eax + 4]
push eax
call fcn.10033f10
mov edx, dword [esp + 0x40]
mov ecx, 0x9249248
mov dword [esp + 0x30], eax
sub ecx, dword [edx + 4]
cmp ecx, 1
jb 0x1005b3d7
mov ecx, dword [esp + 0x44]
inc dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, 4
jl 0x1005b010
mov eax, dword [edi + 0x8c]
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], esi
jmp 0x1005b57d
mov ebx, dword [edi + 0x30]
xor cl, cl
mov byte [esp + 0x1b], cl
mov eax, dword [ebx]
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x1005b14a
cmp byte [eax + 0x14], 0
je 0x1005b135
cmp dword [eax + 0x50], 0
je 0x1005b135
cmp byte [0x100ec5c8], 0
jne 0x1005b191
cmp byte [eax + 0x31], 0
jne 0x1005b191
lea ecx, [esp + 0x20]
call fcn.10009e10
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x1005b116
mov cl, byte [esp + 0x1b]
cmp byte [0x100ec5c8], 0
jne 0x1005b15c
cmp byte [0x100ec5d0], 0
je 0x1005b1af
test cl, cl
jne 0x1005b1af
mov ebx, dword [edi + 0x6e4]
mov eax, dword [ebx]
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x1005b1af
movzx eax, byte [eax + 0x10]
cmp byte [eax + edi + 0xc4], 0
jne 0x1005b1a2
lea ecx, [esp + 0x20]
call fcn.10009e10
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x1005b170
jmp 0x1005b1af
mov eax, dword [edi + 0x8c]
mov cl, 1
mov dword [eax + 0x60], 8
jmp 0x1005b14a
mov eax, dword [edi + 0x8c]
mov dword [eax + 0x60], 4
mov eax, dword [edi + 0x8c]
cmp dword [eax + 0x60], 0
jle 0x1005b1f3
push 0
push 0
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0
push eax
mov ecx, edi
mov dword [esp + 0x40], 0
call fcn.1005b5c0
mov eax, dword [esp + 0x30]
mov esi, eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], ecx
jmp 0x1005b1fb
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [edi + 0x8c]
mov byte [esp + 0x1b], 0
mov edx, dword [ebx + 0x38]
cmp eax, edx
jne 0x1005b216
cmp ecx, dword [ebx + 0x3c]
je 0x1005b2a5
sub ecx, dword [ebx + 0x3c]
sub eax, edx
imul eax, eax
imul ecx, ecx
add eax, ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
call sub.MSVCR120.dll__libm_sse2_sqrt_precise
cvttsd2si eax, xmm0
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x1b], 1
movd xmm0, dword [ebx + 0xc]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
mulsd xmm0, qword [0x100ce210]
cvtdq2pd xmm1, xmm1
comisd xmm1, xmm0
seta al
mov byte [ebx + 0x48], al
mov eax, dword [edi + 0x8c]
mov dword [eax + 0x28], 0
mov eax, dword [edi + 0x8c]
inc dword [eax + 0x2c]
mov eax, dword [edi + 0x8c]
mov dword [eax + 0x24], 1
mov eax, dword [edi + 0x8c]
mov dword [eax + 0x38], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x3c], ecx
mov ecx, dword [edi + 0x8c]
mov eax, dword [ecx + 0x30]
mov dword [ecx + 0x40], eax
mov eax, dword [ecx + 0x34]
mov dword [ecx + 0x44], eax
mov ebx, dword [edi + 0x8c]
xor cl, cl
cmp dword [edi + 0xb4], 0
mov byte [esp + 0x2f], cl
mov dword [esp + 0x58], 1
movzx eax, byte [ebx + 0x13]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x68], 1
jne 0x1005b37e
cmp dword [ebx + 0x54], 1
jne 0x1005b37e
mov edx, dword [ebx + 0x24]
cmp edx, 4
jg 0x1005b37e
mov eax, dword [ebx + 4]
cmp dword [ebx + 0x40], eax
jne 0x1005b342
mov ecx, dword [ebx + 8]
cmp dword [ebx + 0x44], ecx
jne 0x1005b33e
sub esi, eax
lea ecx, [edx + 1]
imul esi, ecx
mov eax, 0x66666667
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x14]
add eax, dword [ebx + 4]
sub edx, dword [ebx + 8]
mov dword [esp + 0x60], eax
mov eax, 0x66666667
imul edx, ecx
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [ebx + 8]
mov dword [esp + 0x64], eax
jmp 0x1005b388
mov cl, byte [esp + 0x2f]
cmp byte [ebx + 0x48], 0
je 0x1005b37e
mov ecx, dword [ebx + 0x44]
mov eax, esi
sub eax, dword [ebx + 0x40]
imul eax, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, dword [ebx + 0x40]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x14]
sub eax, ecx
imul eax, dword [ebx + 0x24]
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, ecx
mov cl, 1
mov dword [esp + 0x64], eax
xor dl, dl
test cl, cl
je 0x1005b3fc
cmp byte [ebx + 0x11], 0
jne 0x1005b3af
mov ecx, dword [edi + 0x6f0]
lea eax, [esp + 0x5c]
push 2
push eax
lea eax, [esp + 0x50]
push eax
call fcn.1001f570
movdqu xmm0, xmmword [eax]
movdqu xmmword [esp + 0x5c], xmm0
mov esi, dword [edi + 0x8c]
lea eax, [esp + 0x58]
push eax
mov ebx, dword [esi + 0x64]
push dword [ebx + 4]
push ebx
call fcn.10033f10
mov edx, eax
mov ecx, 0x9249248
mov eax, dword [esi + 0x68]
sub ecx, eax
cmp ecx, 1
jae 0x1005b3e2
push str.list_T__too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
inc eax
mov dword [esi + 0x68], eax
mov dword [ebx + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov eax, dword [edi + 0x8c]
inc dword [eax + 0x24]
jmp 0x1005b569
mov ecx, dword [ebx + 0x28]
cmp ecx, 4
jg 0x1005b4f2
cmp byte [ebx + 0x11], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], eax
jne 0x1005b440
mov ecx, dword [edi + 0x6f0]
lea eax, [esp + 0x5c]
push 2
push eax
lea eax, [esp + 0x50]
push eax
call fcn.1001f570
movdqu xmm0, xmmword [eax]
movdqu xmmword [esp + 0x5c], xmm0
jmp 0x1005b4ae
and ecx, reloc.WS2_32.dll_accept
jns 0x1005b44d
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x1005b480
mov eax, dword [edi + 0x6f0]
movd xmm1, dword [eax + 0x10]
movd xmm0, dword [eax + 0xf24]
cvtdq2pd xmm1, xmm1
mov eax, dword [esp + 0x14]
cvtdq2pd xmm0, xmm0
mulsd xmm1, qword [0x100ce1e0]
divsd xmm1, xmm0
cvttsd2si ecx, xmm1
jmp 0x1005b482
xor ecx, ecx
mov edx, dword [esp + 0x1c]
cmp edx, dword [ebx + 8]
jne 0x1005b49f
mov eax, dword [esp + 0x28]
cmp eax, dword [ebx + 4]
jg 0x1005b496
neg ecx
lea eax, [ecx + esi]
mov dword [esp + 0x60], eax
jmp 0x1005b4ae
mov edx, dword [esp + 0x28]
cmp edx, dword [ebx + 4]
jne 0x1005b4ae
sub eax, ecx
mov dword [esp + 0x64], eax
mov esi, dword [edi + 0x8c]
lea eax, [esp + 0x58]
push eax
mov ebx, dword [esi + 0x64]
push dword [ebx + 4]
push ebx
call fcn.10033f10
mov edx, eax
mov ecx, 0x9249248
mov eax, dword [esi + 0x68]
sub ecx, eax
cmp ecx, 1
jae 0x1005b4e1
push str.list_T__too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
inc eax
mov dword [esi + 0x68], eax
mov dword [ebx + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
jmp 0x1005b55a
mov dh, byte [esp + 0x1b]
test dh, dh
jne 0x1005b510
and ecx, reloc.WS2_32.dll_closesocket
jns 0x1005b507
dec ecx
or ecx, 0xfffffffc
inc ecx
je 0x1005b510
cmp byte [esp + 0x27], 0
je 0x1005b55c
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], eax
test dh, dh
je 0x1005b547
cmp byte [ebx + 0x11], 0
jne 0x1005b547
mov ecx, dword [edi + 0x6f0]
lea eax, [esp + 0x5c]
push 2
push eax
lea eax, [esp + 0x50]
push eax
call fcn.1001f570
movdqu xmm0, xmmword [eax]
movdqu xmmword [esp + 0x5c], xmm0
mov ecx, dword [edi + 0x8c]
lea eax, [esp + 0x58]
push eax
add ecx, 0x64
call fcn.100305d0
mov dl, 1
mov eax, dword [edi + 0x8c]
inc dword [eax + 0x28]
test dl, dl
je 0x1005b57d
mov ecx, dword [edi + 0x8c]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], edx
mov ecx, dword [edi + 0x8c]
mov eax, dword [ecx + 0x50]
mov dword [ecx + 0x4c], eax
mov ecx, dword [edi + 0x8c]
mov eax, dword [ecx + 0x60]
test eax, eax
jle 0x1005b59a
dec eax
mov dword [ecx + 0x60], eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.100ab974
mov esp, ebp
pop ebp
ret 8