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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b3ed8
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 0x1005cdfd
call dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, dword [0x100f086c]
mov eax, 0xcccccccd
mul esi
mov eax, esi
shr edx, 5
lea ecx, [edx + edx*4]
shl ecx, 3
sub eax, ecx
jne 0x1005bab4
mov ecx, dword [edi + 0x6f0]
lea eax, [esp + 0x58]
push eax
call fcn.10055e00
cmp dword [esp + 0x6c], 8
lea eax, [esp + 0x58]
mov esi, dword [sym.imp.MSVCR120.dll_wcsstr]
cmovae eax, dword [esp + 0x58]
push 0x100c37f0
push eax
call esi
test eax, eax
lea eax, [esp + 0x60]
push 0x100c37e8
setne byte [0x100f0854]
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 [0x100f085c]
push 0x25
push 0
call fcn.1005a720
test al, al
jne 0x1005ba7a
push 0x26
push 0
mov ecx, edi
call fcn.1005a720
test al, al
jne 0x1005ba7a
push 0x27
push 0
mov ecx, edi
call fcn.1005a720
test al, al
jne 0x1005ba7a
push 0x28
push 0
mov ecx, edi
call fcn.1005a720
mov byte [0x100f084f], 1
test al, al
je 0x1005ba81
mov byte [0x100f084f], 0
mov eax, dword [edi + 0x68]
test eax, eax
je 0x1005ba9a
cmp byte [eax], 0x25
je 0x1005ba93
cmp byte [eax + 2], 0x27
jne 0x1005ba9a
mov byte [0x100f084f], 0
cmp dword [esp + 0x6c], 8
jb 0x1005baae
push dword [esp + 0x58]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [0x100f086c]
mov ecx, dword [edi + 0x8c]
inc esi
cmp byte [0x100f084f], 0
mov ebx, dword [ebp + 8]
mov dword [0x100f086c], esi
mov al, byte [ecx + 0x14]
mov byte [esp + 0x14], al
mov al, byte [ecx + 0x15]
mov byte [esp + 0x15], al
mov al, byte [ecx + 0x16]
mov byte [esp + 0x16], al
mov al, byte [ecx + 0x17]
mov byte [esp + 0x17], al
je 0x1005bb09
cmp byte [ebx + 0x25], 1
je 0x1005bb01
cmp byte [ebx + 0x26], 1
je 0x1005bb01
cmp byte [ebx + 0x27], 1
je 0x1005bb01
cmp byte [ebx + 0x28], 1
jne 0x1005bb09
mov dword [esp + 0x14], 0x28272625
cmp byte [ecx + 0x18], 0
je 0x1005bbb7
mov edx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ecx, ecx
mov dword [esp + 0x18], ecx
nop
movzx eax, byte [esp + ecx + 0x14]
cmp byte [eax + ebx], 1
mov eax, dword [edi + 0x8c]
jne 0x1005bb57
cmp byte [ecx + eax + 0x1c], 0
jne 0x1005bba4
mov byte [ecx + eax + 0x1c], 1
mov eax, dword [edi + 0x8c]
mov esi, dword [edi + 0x6f0]
push 0
movzx ebx, byte [ecx + eax + 0x18]
push ebx
call edx
push 1
jmp 0x1005bb7b
cmp byte [ecx + eax + 0x1c], 0
je 0x1005bba4
mov byte [ecx + eax + 0x1c], 0
mov eax, dword [edi + 0x8c]
mov esi, dword [edi + 0x6f0]
push 0
movzx ebx, byte [ecx + eax + 0x18]
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.10024a00
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 + 0x18]
mov edi, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, 4
jl 0x1005bb20
jmp 0x1005cdfd
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 + 0x18], eax
lea eax, [esp + 0x14]
push eax
push ebx
lea eax, [esp + 0x38]
push eax
call fcn.1005b500
mov ecx, dword [esp + 0x30]
movsd xmm2, qword [0x100d0fb0]
mov eax, dword [esp + 0x34]
test ecx, ecx
je 0x1005bbfc
test eax, eax
je 0x1005bbfc
movsd xmm3, qword [0x100d0f70]
jmp 0x1005bc00
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 + 0x18]
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 + 0x18], esi
test al, al
je 0x1005bc6c
movzx eax, al
cmp byte [eax + ebx], 0
je 0x1005bc6c
movsd xmm2, qword [edi + 0x98]
mov byte [esp + 0x27], 1
jmp 0x1005bc71
mov byte [esp + 0x27], 0
mov eax, dword [edi + 0x8c]
mov ecx, dword [eax + 0x54]
cmp ecx, 1
jne 0x1005bc93
cmp byte [esp + 0x27], 0
jne 0x1005bc93
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], esi
jmp 0x1005bd3c
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.1005b500
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
test eax, eax
je 0x1005bcea
test ecx, ecx
je 0x1005bcea
movsd xmm2, qword [0x100d0f70]
jmp 0x1005bcf2
movsd xmm2, qword [0x100d0fb0]
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 0x1005bf8a
cmp edx, dword [ebx + 8]
jne 0x1005bf8d
cmp byte [ebx], 0
je 0x1005cdec
cmp dword [ebx + 0x60], 0
jg 0x1005cdec
cmp byte [ebx + 0x58], 0
je 0x1005bd83
mov ecx, dword [ebx + 8]
mov esi, eax
jmp 0x1005bdd6
cmp byte [ebx + 0x10], 0
je 0x1005bd91
mov esi, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x34]
jmp 0x1005bdd6
cmp byte [ebx + 0x11], 0
je 0x1005bd9f
mov esi, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x34]
jmp 0x1005bdd6
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 + 0x18], ecx
jne 0x1005befc
cmp byte [ebx + 0x10], 0
jne 0x1005bebe
cmp dword [edi + 0xb4], 0
jne 0x1005bebe
cmp dword [ebx + 0x54], 1
jne 0x1005bebe
cmp dword [ebx + 0x2c], 0
jne 0x1005bebe
mov ecx, dword [ebx + 0x24]
cmp ecx, 4
jg 0x1005bebe
movzx eax, byte [ebx + 0x14]
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 + 0x12], 0
mov dword [esp + 0x64], eax
jne 0x1005be9d
mov ecx, dword [edi + 0x6f0]
lea eax, [esp + 0x5c]
push 2
push eax
lea eax, [esp + 0x38]
push eax
call fcn.10020260
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.10031360
mov eax, dword [edi + 0x8c]
inc dword [eax + 0x24]
jmp 0x1005cdec
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 + 0x14]
add ecx, 0x64
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x58]
push eax
call fcn.10031360
jmp 0x1005cdec
cmp byte [ebp + 0xc], 0
je 0x1005bf09
mov dword [ebx + 0x4c], 0
mov ebx, dword [edi + 0x8c]
mov dword [esp + 0x60], esi
mov edx, dword [ebx + 0x4c]
test edx, edx
jg 0x1005bf43
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 + 0x14]
add ecx, 0x64
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x18]
jmp 0x1005bf6e
movzx eax, byte [ebx + 0x14]
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.10031360
mov eax, dword [edi + 0x8c]
dec dword [eax + 0x4c]
jmp 0x1005cdec
cmp edx, dword [ebx + 8]
jge 0x1005c34a
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.10003ea0
mov edx, str.com.tencent.tmgp.pubgmhd
mov dword [esp + 0x80], 0
lea ecx, [esp + 0x58]
call fcn.10012400
test al, al
jne 0x1005c060
mov edx, str.com.tencent.tmgp.projectg
lea ecx, [esp + 0x58]
call fcn.10012400
test al, al
jne 0x1005c060
mov edx, str.com.tencent.tmgp.pubgm
lea ecx, [esp + 0x58]
call fcn.10012400
test al, al
jne 0x1005c060
mov edx, str.com.tencent.ig
lea ecx, [esp + 0x58]
call fcn.10012400
test al, al
jne 0x1005c060
mov edx, str.com.tencent.iglite
lea ecx, [esp + 0x58]
call fcn.10012400
test al, al
jne 0x1005c060
mov edx, str.com.pubg.krmobile
lea ecx, [esp + 0x58]
call fcn.10012400
test al, al
jne 0x1005c060
mov edx, str.com.vng.pubgmobile
lea ecx, [esp + 0x58]
call fcn.10012400
test al, al
jne 0x1005c060
mov edx, str.com.rekoo.pubgm
lea ecx, [esp + 0x58]
call fcn.10012400
test al, al
je 0x1005c0ba
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 [0x100d0f18]
addsd xmm1, xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
cvttsd2si esi, xmm1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x100d0f18]
addsd xmm1, xmm0
cvttsd2si ebx, xmm1
mov dword [esp + 0x14], ebx
jmp 0x1005c0be
mov ebx, dword [esp + 0x14]
mov eax, dword [edi + 0x8c]
cmp esi, dword [eax + 4]
je 0x1005c323
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 0x1005c2e1
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 0x1005c2e1
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 0x1005c2e1
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 0x1005c28b
cmp dword [esp + 0x6c], 0x10
lea eax, [esp + 0x58]
mov ecx, str.com.xdg.and.kr.lifeafter
cmovae eax, dword [esp + 0x58]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005c1a0
test dl, dl
je 0x1005c19c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005c1a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005c180
xor eax, eax
jmp 0x1005c1a5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1005c28b
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 0x1005c1e0
test dl, dl
je 0x1005c1dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005c1e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005c1c0
xor eax, eax
jmp 0x1005c1e5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1005c28b
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 0x1005c220
test dl, dl
je 0x1005c21c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005c220
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005c200
xor eax, eax
jmp 0x1005c225
sbb eax, eax
or eax, 1
test eax, eax
je 0x1005c28b
mov eax, dword [edi + 0x6f0]
cmp dword [eax + 0x834], 0
je 0x1005c323
cmp dword [eax + 0x830], 0
je 0x1005c323
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 [0x100d0eb8]
addsd xmm1, xmm0
cvttsd2si edx, xmm1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x100d0eb8]
jmp 0x1005c2cb
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 [0x100d0ed8]
addsd xmm1, xmm0
cvttsd2si edx, xmm1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x100d0ed8]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mov dword [esp + 0x14], edx
addsd xmm1, xmm0
cvttsd2si esi, xmm1
jmp 0x1005c327
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 [0x100d0ef0]
addsd xmm1, xmm0
cvttsd2si edx, xmm1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x100d0ef0]
jmp 0x1005c2cb
mov edx, dword [esp + 0x14]
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x6c], 0x10
jb 0x1005c34a
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 0x1005c392
cmp edx, dword [eax + 8]
je 0x1005c392
mov ecx, dword [edi + 0x6f0]
call fcn.1001e500
test al, al
je 0x1005c392
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 [0x100d0ef8]
subsd xmm1, xmm0
cvttsd2si esi, xmm1
mov eax, dword [edi + 0x8c]
mov ebx, dword [esp + 0x14]
cmp esi, dword [eax + 4]
je 0x1005c3e0
cmp ebx, dword [eax + 8]
je 0x1005c3e0
mov ecx, dword [edi + 0x6f0]
call fcn.10026f50
test al, al
je 0x1005c3e0
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 [0x100d0ef0]
addsd xmm1, xmm0
cvttsd2si esi, xmm1
mov eax, dword [edi + 0x8c]
cmp byte [eax + 0x10], 0
jne 0x1005c449
cmp esi, dword [eax + 4]
jne 0x1005c449
cmp ebx, dword [eax + 8]
jge 0x1005c449
mov eax, dword [edi + 0x6f0]
add eax, 0xedc
cmp dword [eax + 0x14], 0x10
jb 0x1005c409
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 0x1005c449
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 [0x100d0ef8]
addsd xmm1, xmm0
cvttsd2si esi, xmm1
mov ecx, dword [edi + 0x8c]
cmp byte [ecx + 0x10], 0
je 0x1005c4a1
cmp byte [ecx], 0
jne 0x1005c45d
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 + 0x14]
add ecx, 0x64
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x68], ebx
call fcn.10031360
mov eax, dword [edi + 0x8c]
mov dword [eax + 0x30], esi
mov dword [eax + 0x34], ebx
jmp 0x1005cde0
cmp byte [ecx], 0
jne 0x1005c903
cmp byte [ecx + 0x13], 0
je 0x1005c52b
mov ecx, dword [edi + 0x6f0]
push 0x49
call fcn.10055e40
test al, al
je 0x1005c52b
mov ecx, dword [edi + 0x8c]
mov dword [esp + 0x58], 1
mov dword [esp + 0x68], 0
cmp byte [ecx + 0x12], 0
movzx eax, byte [ecx + 0x14]
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 0x1005c518
mov ecx, dword [edi + 0x6f0]
lea eax, [esp + 0x5c]
push 2
push eax
lea eax, [esp + 0x38]
push eax
call fcn.10020260
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.10031360
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 + 0x18]
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 + 0x12], 0
movzx eax, byte [ecx + 0x14]
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 0x1005c5ee
mov ecx, dword [edi + 0x6f0]
lea eax, [esp + 0x5c]
push 2
push eax
lea eax, [esp + 0x38]
push eax
call fcn.10020260
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.10031360
mov eax, dword [edi + 0x8c]
inc dword [eax + 0x24]
mov eax, dword [edi + 0x8c]
cmp dword [eax + 0x54], 1
je 0x1005c6aa
mov dword [esp + 0x20], 8
jmp 0x1005c630
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 + 0x18]
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.10031360
dec dword [esp + 0x20]
jne 0x1005c630
mov eax, dword [edi + 0x8c]
mov esi, dword [esp + 0x14]
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], esi
jmp 0x1005cde0
cmp dword [edi + 0xb4], 2
je 0x1005c794
mov eax, dword [edi + 0x6f0]
mov dword [esp + 0x58], 1
movsd xmm0, qword [eax + 0x1038]
xor eax, eax
comisd xmm0, xmmword [0x100d10e0]
setbe al
add eax, 3
cmp eax, 1
jle 0x1005c794
dec eax
mov dword [esp + 0x20], eax
jmp 0x1005c6f0
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 + 0x18]
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 + 0x12], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x64], ecx
jne 0x1005c773
mov ecx, dword [edi + 0x6f0]
lea eax, [esp + 0x5c]
push 2
push eax
lea eax, [esp + 0x38]
push eax
call fcn.10020260
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 0x1005c777
mov esi, dword [esp + 0x14]
mov ecx, dword [edi + 0x8c]
lea eax, [esp + 0x58]
push eax
add ecx, 0x64
call fcn.10031360
dec dword [esp + 0x20]
jne 0x1005c6f0
mov ecx, dword [edi + 0x6f0]
mov edx, str.com.fancywing.s3
add ecx, 0xedc
call fcn.10012400
test al, al
jne 0x1005c800
mov ecx, dword [edi + 0x6f0]
mov edx, str.com.tencent.cldts
add ecx, 0xedc
call fcn.10012400
test al, al
jne 0x1005c800
mov ecx, dword [edi + 0x6f0]
mov edx, str.com.tencent.tmgp.ztj
add ecx, 0xedc
call fcn.10012400
test al, al
jne 0x1005c800
mov ecx, dword [edi + 0x6f0]
mov edx, str.com.tencent.wmsj
add ecx, 0xedc
call fcn.10012400
test al, al
je 0x1005c8f2
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 + 0x18]
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 + 0x12], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x64], ecx
jne 0x1005c88f
mov ecx, dword [edi + 0x6f0]
lea eax, [esp + 0x5c]
push 2
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10020260
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 0x1005c893
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.10034ca0
mov edx, dword [esp + 0x40]
mov ecx, 0x9249248
mov dword [esp + 0x30], eax
sub ecx, dword [edx + 4]
cmp ecx, 1
jb 0x1005cc40
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 0x1005c810
mov eax, dword [edi + 0x8c]
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], esi
jmp 0x1005cde0
mov ebx, dword [edi + 0x30]
xor cl, cl
mov byte [esp + 0x1f], cl
mov eax, dword [ebx]
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x1005c946
cmp byte [eax + 0x14], 0
je 0x1005c931
cmp dword [eax + 0x50], 0
je 0x1005c931
cmp byte [0x100f0854], 0
jne 0x1005c991
cmp byte [eax + 0x31], 0
jne 0x1005c991
lea ecx, [esp + 0x20]
call fcn.1000a810
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x1005c916
mov cl, byte [esp + 0x1f]
cmp byte [0x100f0854], 0
jne 0x1005c958
cmp byte [0x100f085c], 0
je 0x1005c9af
test cl, cl
jne 0x1005c9af
mov ebx, dword [edi + 0x6e4]
mov eax, dword [ebx]
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x1005c9af
lea esp, [esp]
movzx eax, byte [eax + 0x10]
cmp byte [eax + edi + 0xc4], 0
jne 0x1005c9a2
lea ecx, [esp + 0x20]
call fcn.1000a810
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x1005c970
jmp 0x1005c9af
mov eax, dword [edi + 0x8c]
mov cl, 1
mov dword [eax + 0x60], 8
jmp 0x1005c946
mov eax, dword [edi + 0x8c]
mov dword [eax + 0x60], 4
mov eax, dword [edi + 0x8c]
cmp dword [eax + 0x60], 0
jle 0x1005c9f3
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.1005ce20
mov eax, dword [esp + 0x30]
mov esi, eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
jmp 0x1005c9fb
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov ebx, dword [edi + 0x8c]
mov byte [esp + 0x1f], 0
mov edx, dword [ebx + 0x38]
cmp eax, edx
jne 0x1005ca16
cmp ecx, dword [ebx + 0x3c]
je 0x1005caa5
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 + 0x1f], 1
movd xmm0, dword [ebx + 0xc]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
mulsd xmm0, qword [0x100d1000]
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 + 0x18]
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 + 0x14]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x68], 1
jne 0x1005cbe7
cmp dword [ebx + 0x54], 1
jne 0x1005cbe7
mov eax, dword [ebx + 0x24]
cmp eax, 4
jg 0x1005cbe7
mov edx, dword [ebx + 0x40]
cmp edx, dword [ebx + 4]
jne 0x1005cb46
mov ecx, dword [ebx + 8]
cmp dword [ebx + 0x44], ecx
jne 0x1005cb42
sub esi, dword [ebx + 4]
lea ecx, [eax + 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 0x1005cbf1
mov cl, byte [esp + 0x2f]
mov al, byte [ebx + 0x11]
test al, al
je 0x1005cbaa
cmp byte [ebx + 0x48], 0
jne 0x1005cba6
mov eax, dword [edi + 0x6f0]
sub esi, edx
movd xmm1, dword [eax + 0x10]
movd xmm0, dword [eax + 0xf24]
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
mulsd xmm1, qword [0x100d1030]
divsd xmm1, xmm0
cvttsd2si ecx, xmm1
mov eax, ecx
test esi, esi
jg 0x1005cb88
neg eax
add eax, edx
mov edx, dword [ebx + 0x44]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x14]
sub eax, edx
test eax, eax
jg 0x1005cb9d
neg ecx
lea eax, [edx + ecx]
mov dword [esp + 0x64], eax
jmp 0x1005cbf1
test al, al
jne 0x1005cbe7
cmp byte [ebx + 0x48], 0
je 0x1005cbe7
mov ecx, edx
mov eax, esi
sub eax, ecx
imul eax, dword [ebx + 0x24]
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, ecx
mov ecx, dword [ebx + 0x44]
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 0x1005cc65
cmp byte [ebx + 0x12], 0
jne 0x1005cc18
mov ecx, dword [edi + 0x6f0]
lea eax, [esp + 0x5c]
push 2
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10020260
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.10034ca0
mov edx, eax
mov ecx, 0x9249248
mov eax, dword [esi + 0x68]
sub ecx, eax
cmp ecx, 1
jae 0x1005cc4b
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 0x1005cdcc
mov ecx, dword [ebx + 0x28]
cmp ecx, 4
jg 0x1005cd55
cmp byte [ebx + 0x12], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], eax
jne 0x1005cca6
mov ecx, dword [edi + 0x6f0]
lea eax, [esp + 0x5c]
push 2
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10020260
movdqu xmm0, xmmword [eax]
movdqu xmmword [esp + 0x5c], xmm0
jmp 0x1005cd14
and ecx, reloc.WS2_32.dll_accept
jns 0x1005ccb3
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x1005cce6
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 [0x100d0fd0]
divsd xmm1, xmm0
cvttsd2si ecx, xmm1
jmp 0x1005cce8
xor ecx, ecx
mov edx, dword [esp + 0x18]
cmp edx, dword [ebx + 8]
jne 0x1005cd05
mov eax, dword [esp + 0x28]
cmp eax, dword [ebx + 4]
jg 0x1005ccfc
neg ecx
lea eax, [ecx + esi]
mov dword [esp + 0x60], eax
jmp 0x1005cd14
mov edx, dword [esp + 0x28]
cmp edx, dword [ebx + 4]
jne 0x1005cd14
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.10034ca0
mov edx, eax
mov ecx, 0x9249248
mov eax, dword [esi + 0x68]
sub ecx, eax
cmp ecx, 1
jae 0x1005cd47
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 0x1005cdbd
mov dh, byte [esp + 0x1f]
test dh, dh
jne 0x1005cd73
and ecx, reloc.WS2_32.dll_closesocket
jns 0x1005cd6a
dec ecx
or ecx, 0xfffffffc
inc ecx
je 0x1005cd73
cmp byte [esp + 0x27], 0
je 0x1005cdbf
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], eax
test dh, dh
je 0x1005cdaa
cmp byte [ebx + 0x12], 0
jne 0x1005cdaa
mov ecx, dword [edi + 0x6f0]
lea eax, [esp + 0x5c]
push 2
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10020260
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.10031360
mov dl, 1
mov eax, dword [edi + 0x8c]
inc dword [eax + 0x28]
test dl, dl
je 0x1005cde0
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 0x1005cdfd
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.100ad688
mov esp, ebp
pop ebp
ret 8