Function at 0x10007530
Capabilities:
Create thread
Terminate thread

Disassembly:
mov eax, dword [esp + 8]
sub eax, 0
push esi
push edi
je 0x1000772b
mov edi, 1
sub eax, edi
jne 0x10007724
cmp dword [section..data], 0xffffffff
jne 0x100075a9
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push str.qq.exe
call esi
push eax
call fcn.10001040
add esp, 8
test eax, eax
jne 0x1000758d
push str.TIM.exe
call esi
push eax
call fcn.10001040
add esp, 8
mov dword [section..data], 0
test eax, eax
je 0x10007593
mov dword [section..data], edi
call esi
push eax
mov eax, dword [section..data]
push eax
push str.bQQ__d__u_n
call fcn.100085c0
add esp, 0xc
cmp dword [section.Shared], 0
jne 0x100075bc
mov ecx, dword [esp + 0xc]
mov dword [section.Shared], ecx
cmp dword [section..data], edi
jne 0x10007724
call fcn.100014f0
cmp dword [0x10021628], 0
mov dword [0x100215d0], eax
jne 0x10007724
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x10001710
push 0
push 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
call esi
mov dword [0x1002162c], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x10003a80
push 0
push 0
call esi
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x100215b0
mov dword [0x10021630], eax
call esi
push 0x10021598
call esi
push 0x10021580
call esi
call fcn.100089b4
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10008d0a
push 0x100013d0
push 0x100216b4
call fcn.100090d4
push 0x10005f70
push 0x10021678
call fcn.100090d4
cmp dword [0x100215f8], 0
je 0x10007689
push 0x10006fd0
push 0x100215f8
call fcn.100090d4
cmp dword [0x10021608], 0
je 0x100076a1
push 0x10006860
push 0x10021608
call fcn.100090d4
cmp dword [0x10021600], 0
je 0x100076b9
push 0x10006c20
push 0x10021600
call fcn.100090d4
cmp dword [0x1002160c], 0
je 0x100076d1
push 0x10006670
push 0x1002160c
call fcn.100090d4
cmp dword [0x1002161c], 0
je 0x100076e9
push 0x10005890
push 0x1002161c
call fcn.100090d4
cmp dword [0x10021620], 0
je 0x10007701
push 0x100071a0
push 0x10021620
call fcn.100090d4
cmp dword [0x10021624], 0
je 0x10007719
push 0x10007360
push 0x10021624
call fcn.100090d4
call fcn.100090cc
mov dword [0x10021628], edi
mov eax, edi
pop edi
pop esi
ret 0xc
cmp dword [0x100215d0], 3
jbe 0x1000786f
cmp dword [0x10021628], 0
je 0x1000786f
call fcn.100089b4
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10008d0a
push 0x10005f70
push 0x10021678
call fcn.10008fcb
push 0x100013d0
push 0x100216b4
call fcn.10008fcb
cmp dword [0x100215f8], 0
je 0x1000778c
push 0x10006fd0
push 0x100215f8
call fcn.10008fcb
cmp dword [0x10021608], 0
je 0x100077a4
push 0x10006860
push 0x10021608
call fcn.10008fcb
cmp dword [0x10021600], 0
je 0x100077bc
push 0x10006c20
push 0x10021600
call fcn.10008fcb
cmp dword [0x1002160c], 0
je 0x100077d4
push 0x10006670
push 0x1002160c
call fcn.10008fcb
cmp dword [0x1002161c], 0
je 0x100077ec
push 0x10005890
push 0x1002161c
call fcn.10008fcb
cmp dword [0x10021620], 0
je 0x10007804
push 0x100071a0
push 0x10021620
call fcn.10008fcb
cmp dword [0x10021624], 0
je 0x1000781c
push 0x10007360
push 0x10021624
call fcn.10008fcb
call fcn.100090cc
mov ecx, dword [0x1002162c]
mov esi, dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
push ecx
call esi
mov edx, dword [0x1002162c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [0x10021630]
push 0
push eax
call esi
mov ecx, dword [0x10021630]
push ecx
call edi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push 0x10021580
call esi
push 0x10021598
call esi
push 0x100215b0
call esi
pop edi
mov eax, 1
pop esi
ret 0xc