Function at 0x1000a860
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009bef2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x178
mov eax, dword [0x100c7070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x1000a8d5
mov eax, dword [ecx]
jmp 0x1000a8d7
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebx + 8]
push 0
push eax
call fcn.10002540
lea ecx, [ebp - 0xd0]
call fcn.10001b10
xorps xmm0, xmm0
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xac], 0
psrldq xmm0, 8
movd eax, xmm0
and eax, 0xfffffe00
mov dword [ebp - 0xb0], eax
push 0x70
lea eax, [ebp - 0x170]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.1004c3c0
add esp, 0x24
lea ecx, [ebp - 0x170]
call fcn.1002b770
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x148]
call fcn.10002540
cmp dword [ebp - 0x134], 0x10
lea ecx, [ebp - 0x148]
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0xb8]
cmovae ecx, dword [ebp - 0x148]
push ecx
add eax, ecx
push edx
push eax
push ecx
lea ecx, [ebp - 0x170]
call fcn.1002b870
test al, al
lea eax, [ebp - 0xd0]
jne 0x1000a9b0
cmp dword [ebp - 0xbc], 0x10
cmovae eax, dword [ebp - 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, 0x6b
jmp 0x1000b763
cmp dword [ebp - 0xbc], 0x10
cmovae eax, dword [ebp - 0xd0]
push eax
push 0x100b9004
call fcn.10015060
lea eax, [ebp - 0x174]
mov dword [ebp - 0x174], 0
push eax
mov edx, str.cklac
lea ecx, [ebp - 0xb8]
call fcn.1002d790
xorps xmm0, xmm0
add esp, 0xc
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x7c], 0
psrldq xmm0, 8
movd eax, xmm0
and eax, 0xfffffe00
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 6
push eax
mov edx, 0x100b9030
lea ecx, [ebp - 0xb8]
call fcn.1002d650
add esp, 4
test al, al
je 0x1000ac82
mov eax, dword [ebp - 0x80]
test al, al
je 0x1000aa44
cmp al, 6
jne 0x1000ac82
lea ecx, [ebp - 0x88]
xor edi, edi
call fcn.10029c20
mov dword [ebp - 0x178], eax
test eax, eax
je 0x1000ac82
nop
xorps xmm0, xmm0
lea ecx, [ebp - 0x88]
push edi
movups xmmword [ebp - 0x70], xmm0
call fcn.10029cb0
push eax
lea ecx, [ebp - 0x70]
call fcn.100293c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
push 0
push 0x100b86c2
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
call fcn.10002440
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x17c], 0
call fcn.1002d890
add esp, 4
test al, al
je 0x1000ac42
lea eax, [ebp - 0x17c]
mov edx, 0x100b9034
push eax
lea ecx, [ebp - 0x70]
call fcn.1002d790
add esp, 4
test al, al
je 0x1000ac42
xorps xmm0, xmm0
lea eax, [esi + 0x6c]
movq qword [ebp - 0x38], xmm0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
call fcn.10013970
push 0xffffffffffffffff
mov byte [ebp - 4], 9
lea eax, [ebp - 0x30]
push 0
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
call fcn.10002540
mov dword [ebp - 0x94], 0xf
mov dword [ebp - 0x98], 0
mov byte [ebp - 0xa8], 0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0xa8]
call fcn.10002540
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 0x8c], 0
cmp eax, 0x10
jb 0x1000ab7f
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.10002840
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xa8]
mov eax, dword [esi + 0x64]
push ecx
mov dword [ebp - 0x174], eax
push dword [eax + 4]
push eax
call fcn.100104b0
mov ecx, eax
mov eax, 0x6666665
sub eax, dword [esi + 0x68]
cmp eax, 1
jb 0x1000b045
mov eax, dword [ebp - 0x174]
inc dword [esi + 0x68]
mov dword [eax + 4], ecx
mov eax, dword [ecx + 4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x94]
cmp eax, 0x10
jb 0x1000abf0
inc eax
lea ecx, [ebp - 0xa8]
push eax
push dword [ebp - 0xa8]
call fcn.10002840
mov dword [ebp - 0x94], 0xf
mov dword [ebp - 0x98], 0
mov byte [ebp - 0xa8], 0
mov byte [ebp - 4], 0xd
cmp byte [ebp - 0x34], 0
je 0x1000ac42
mov ecx, dword [ebp - 0x38]
mov eax, connect
lock xadd dword [ecx], eax
test eax, 0x40000000
jne 0x1000ac42
cmp eax, 0x80000000
jle 0x1000ac42
lock bts dword [ecx], 0x1e
jb 0x1000ac42
call fcn.10003d00
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x1000ac57
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.10002840
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 6
call fcn.10029570
inc edi
cmp edi, dword [ebp - 0x178]
jb 0x1000aa60
lea ecx, [ebp - 0x88]
call fcn.10029570
xorps xmm0, xmm0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x7c], 0
psrldq xmm0, 8
movd eax, xmm0
and eax, 0xfffffe00
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xf
push eax
mov edx, 0x100b86e4
lea ecx, [ebp - 0xb8]
call fcn.1002d650
add esp, 4
test al, al
je 0x1000af22
mov eax, dword [ebp - 0x80]
test al, al
je 0x1000ace4
cmp al, 6
jne 0x1000af22
lea ecx, [ebp - 0x88]
xor edi, edi
call fcn.10029c20
mov dword [ebp - 0x178], eax
test eax, eax
je 0x1000af22
nop
xorps xmm0, xmm0
lea ecx, [ebp - 0x88]
push edi
movups xmmword [ebp - 0x70], xmm0
call fcn.10029cb0
push eax
lea ecx, [ebp - 0x70]
call fcn.100293c0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x30]
push 0
push 0x100b86c2
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
call fcn.10002440
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x17c], 0
call fcn.1002d890
add esp, 4
test al, al
je 0x1000aee2
lea eax, [ebp - 0x17c]
mov edx, 0x100b9034
push eax
lea ecx, [ebp - 0x70]
call fcn.1002d790
add esp, 4
test al, al
je 0x1000aee2
xorps xmm0, xmm0
lea eax, [esi + 0x5c]
movq qword [ebp - 0x38], xmm0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
call fcn.10013970
push 0xffffffffffffffff
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x30]
push 0
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
call fcn.10002540
mov dword [ebp - 0x94], 0xf
mov dword [ebp - 0x98], 0
mov byte [ebp - 0xa8], 0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0xa8]
call fcn.10002540
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 0x8c], 0
cmp eax, 0x10
jb 0x1000ae1f
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.10002840
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xa8]
mov eax, dword [esi + 0x54]
push ecx
mov dword [ebp - 0x174], eax
push dword [eax + 4]
push eax
call fcn.100104b0
mov ecx, eax
mov eax, 0x6666665
sub eax, dword [esi + 0x58]
cmp eax, 1
jb 0x1000b045
mov eax, dword [ebp - 0x174]
inc dword [esi + 0x58]
mov dword [eax + 4], ecx
mov eax, dword [ecx + 4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x94]
cmp eax, 0x10
jb 0x1000ae90
inc eax
lea ecx, [ebp - 0xa8]
push eax
push dword [ebp - 0xa8]
call fcn.10002840
mov dword [ebp - 0x94], 0xf
mov dword [ebp - 0x98], 0
mov byte [ebp - 0xa8], 0
mov byte [ebp - 4], 0x16
cmp byte [ebp - 0x34], 0
je 0x1000aee2
mov ecx, dword [ebp - 0x38]
mov eax, connect
lock xadd dword [ecx], eax
test eax, 0x40000000
jne 0x1000aee2
cmp eax, 0x80000000
jle 0x1000aee2
lock bts dword [ecx], 0x1e
jb 0x1000aee2
call fcn.10003d00
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x1000aef7
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.10002840
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 0xf
call fcn.10029570
inc edi
cmp edi, dword [ebp - 0x178]
jb 0x1000ad00
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x64], 0
psrldq xmm0, 8
movd eax, xmm0
and eax, 0xfffffe00
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x18
push eax
mov edx, str.laqun
lea ecx, [ebp - 0xb8]
call fcn.1002d650
add esp, 4
test al, al
je 0x1000b309
mov eax, dword [ebp - 0x68]
test al, al
je 0x1000af73
cmp al, 6
jne 0x1000b309
xor edi, edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x174], edi
call fcn.10029c20
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1000b309
nop
xorps xmm0, xmm0
lea ecx, [ebp - 0x70]
push edi
movups xmmword [ebp - 0x60], xmm0
call fcn.10029cb0
push eax
lea ecx, [ebp - 0x60]
call fcn.100293c0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x30]
push 0
push 0x100b86c2
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
call fcn.10002440
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0
call fcn.1002d890
add esp, 4
test al, al
jne 0x1000b04f
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x1000b022
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.10002840
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 0x18
call fcn.10029570
jmp 0x1000b2f9
push str.list_T__too_long
call fcn.100315cf
lea eax, [ebp - 0x178]
mov edx, 0x100b9034
push eax
lea ecx, [ebp - 0x60]
call fcn.1002d790
add esp, 4
test al, al
jne 0x1000b0a2
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x1000b07f
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.10002840
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 0x18
call fcn.10029570
jmp 0x1000b2f9
lea eax, [ebp - 0x184]
mov edx, str.times
push eax
lea ecx, [ebp - 0x60]
call fcn.1002d790
add esp, 4
test al, al
jne 0x1000b0f5
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x1000b0d2
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.10002840
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 0x18
call fcn.10029570
jmp 0x1000b2f9
lea eax, [ebp - 0x180]
mov edx, str.second
push eax
lea ecx, [ebp - 0x60]
call fcn.1002d790
add esp, 4
test al, al
jne 0x1000b148
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x1000b125
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.10002840
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 0x18
call fcn.10029570
jmp 0x1000b2f9
lea eax, [ebp - 0x17c]
mov edx, 0x100b9050
push eax
lea ecx, [ebp - 0x60]
call fcn.1002d790
add esp, 4
test al, al
jne 0x1000b19b
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x1000b178
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.10002840
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 0x18
call fcn.10029570
jmp 0x1000b2f9
xorps xmm0, xmm0
lea eax, [esi + 0x7c]
movq qword [ebp - 0x78], xmm0
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], 0
call fcn.10013970
mov byte [ebp - 4], 0x1b
push 0
push dword [ebp - 0x17c]
push dword [ebp - 0x180]
push dword [ebp - 0x184]
push dword [ebp - 0x178]
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x1000b1fe
mov eax, dword [ecx]
jmp 0x1000b200
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x30]
push 0
push eax
call fcn.10002540
lea ecx, [ebp - 0xfc]
call fcn.10012f80
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0xfc]
mov edi, dword [esi + 0x74]
push eax
push dword [edi + 4]
push edi
call fcn.100103e0
mov ecx, eax
mov eax, 0x4ec4ec3
sub eax, dword [esi + 0x78]
cmp eax, 1
jb 0x1000b045
inc dword [esi + 0x78]
mov dword [edi + 4], ecx
mov eax, dword [ecx + 4]
mov dword [eax], ecx
mov eax, dword [ebp - 0xe8]
cmp eax, 0x10
jb 0x1000b26e
inc eax
lea ecx, [ebp - 0xfc]
push eax
push dword [ebp - 0xfc]
call fcn.10002840
mov dword [ebp - 0xe8], 0xf
mov dword [ebp - 0xec], 0
mov byte [ebp - 0xfc], 0
mov byte [ebp - 4], 0x1d
cmp byte [ebp - 0x74], 0
je 0x1000b2c0
mov ecx, dword [ebp - 0x78]
mov eax, connect
lock xadd dword [ecx], eax
test eax, 0x40000000
jne 0x1000b2c0
cmp eax, 0x80000000
jle 0x1000b2c0
lock bts dword [ecx], 0x1e
jb 0x1000b2c0
call fcn.10003d00
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x1000b2d5
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.10002840
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 0x18
call fcn.10029570
mov edi, dword [ebp - 0x174]
inc edi
mov dword [ebp - 0x174], edi
cmp edi, dword [ebp - 0x34]
jb 0x1000af90
xorps xmm0, xmm0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x54], 0
psrldq xmm0, 8
movd eax, xmm0
and eax, 0xfffffe00
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x1f
push eax
mov edx, 0x100b9054
lea ecx, [ebp - 0xb8]
call fcn.1002d650
add esp, 4
test al, al
mov eax, dword [ebp - 0x58]
je 0x1000b5bb
test al, al
je 0x1000b35a
cmp al, 6
jne 0x1000b5bb
lea ecx, [ebp - 0x60]
xor edi, edi
call fcn.10029c20
mov dword [ebp - 0x178], eax
test eax, eax
je 0x1000b5b8
xorps xmm0, xmm0
lea ecx, [ebp - 0x60]
push edi
movups xmmword [ebp - 0x28], xmm0
call fcn.10029cb0
push eax
lea ecx, [ebp - 0x28]
call fcn.100293c0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x50]
push 0
push 0x100b86c2
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
call fcn.10002440
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x21
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x174], 0
call fcn.1002d890
add esp, 4
test al, al
je 0x1000b578
lea eax, [ebp - 0x174]
mov edx, 0x100b9034
push eax
lea ecx, [ebp - 0x28]
call fcn.1002d790
add esp, 4
test al, al
je 0x1000b578
xorps xmm0, xmm0
lea eax, [esi + 0x8c]
movq qword [ebp - 0x78], xmm0
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], 0
call fcn.10013970
push 0xffffffffffffffff
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x50]
push 0
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
call fcn.10002540
mov dword [ebp - 0xdc], 0xf
mov dword [ebp - 0xe0], 0
mov byte [ebp - 0xf0], 0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x24
push eax
lea ecx, [ebp - 0xf0]
call fcn.10002540
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x8c]
mov byte [ebp - 0xd4], 0
cmp eax, 0x10
jb 0x1000b4a9
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.10002840
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0xf0]
mov eax, dword [esi + 0x84]
push ecx
mov dword [ebp - 0x34], eax
push dword [eax + 4]
push eax
call fcn.100104b0
mov ecx, eax
mov eax, 0x6666665
sub eax, dword [esi + 0x88]
cmp eax, 1
jb 0x1000b045
mov eax, dword [ebp - 0x34]
inc dword [esi + 0x88]
mov dword [eax + 4], ecx
mov eax, dword [ecx + 4]
mov dword [eax], ecx
mov eax, dword [ebp - 0xdc]
cmp eax, 0x10
jb 0x1000b526
inc eax
lea ecx, [ebp - 0xf0]
push eax
push dword [ebp - 0xf0]
call fcn.10002840
mov dword [ebp - 0xdc], 0xf
mov dword [ebp - 0xe0], 0
mov byte [ebp - 0xf0], 0
mov byte [ebp - 4], 0x26
cmp byte [ebp - 0x74], 0
je 0x1000b578
mov ecx, dword [ebp - 0x78]
mov eax, connect
lock xadd dword [ecx], eax
test eax, 0x40000000
jne 0x1000b578
cmp eax, 0x80000000
jle 0x1000b578
lock bts dword [ecx], 0x1e
jb 0x1000b578
call fcn.10003d00
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x1000b58d
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.10002840
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
mov byte [ebp - 4], 0x1f
call fcn.10029570
inc edi
cmp edi, dword [ebp - 0x178]
jb 0x1000b372
mov eax, dword [ebp - 0x58]
movsx ecx, al
mov byte [ebp - 4], 0x27
cmp ecx, 4
je 0x1000b5fd
lea eax, [ecx - 6]
cmp eax, 1
ja 0x1000b613
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x1000b613
mov eax, dword [esi]
mov ecx, esi
push eax
push dword [eax]
lea eax, [ebp - 0x34]
push eax
call fcn.1002aa60
push dword [esi]
call fcn.10044bf3
add esp, 4
push 8
push esi
call fcn.10045272
add esp, 8
jmp 0x1000b613
test eax, 0x100
je 0x1000b613
call fcn.100291d0
push dword [ebp - 0x60]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x1000b643
push 0x10029240
lea esi, [eax - 4]
mov byte [ebp - 4], 0x28
push dword [esi]
push 4
push eax
call fcn.10044e3e
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.10044bf8
add esp, 8
xor edi, edi
mov byte [ebp - 4], 0x2a
mov ecx, dword [ebp - 0x68]
movsx eax, cl
cmp eax, 4
je 0x1000b68a
add eax, 0xfffffffa
cmp eax, 1
ja 0x1000b6a1
mov esi, dword [ebp - 0x70]
test esi, esi
je 0x1000b6a1
mov eax, dword [esi]
mov ecx, esi
push eax
push dword [eax]
lea eax, [ebp - 0x34]
push eax
call fcn.1002aa60
push dword [esi]
call fcn.10044bf3
add esp, 4
push 8
push esi
call fcn.10045272
add esp, 8
jmp 0x1000b6a1
test ecx, 0x100
je 0x1000b6a1
call fcn.100291d0
push dword [ebp - 0x70]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x1000b6d1
push 0x10029240
lea esi, [eax - 4]
mov byte [ebp - 4], 0x2b
push dword [esi]
push 4
push eax
call fcn.10044e3e
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.10044bf8
add esp, 8
mov byte [ebp - 4], 0x2d
mov ecx, dword [ebp - 0x80]
movsx eax, cl
cmp eax, 4
je 0x1000b719
add eax, 0xfffffffa
cmp eax, 1
ja 0x1000b733
mov esi, dword [ebp - 0x88]
test esi, esi
je 0x1000b733
mov eax, dword [esi]
mov ecx, esi
push eax
push dword [eax]
lea eax, [ebp - 0x34]
push eax
call fcn.1002aa60
push dword [esi]
call fcn.10044bf3
add esp, 4
push 8
push esi
call fcn.10045272
add esp, 8
jmp 0x1000b733
test ecx, 0x100
je 0x1000b733
call fcn.100291d0
push dword [ebp - 0x88]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x1000b763
push 0x10029240
lea esi, [eax - 4]
mov byte [ebp - 4], 0x2e
push dword [esi]
push 4
push eax
call fcn.10044e3e
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.10044bf8
add esp, 8
lea ecx, [ebp - 0x170]
call fcn.10007720
mov byte [ebp - 4], 0x30
mov eax, dword [ebp - 0xb0]
movsx ecx, al
cmp ecx, 4
je 0x1000b7b9
lea eax, [ecx - 6]
cmp eax, 1
ja 0x1000b7d2
mov esi, dword [ebp - 0xb8]
test esi, esi
je 0x1000b7d2
mov eax, dword [esi]
mov ecx, esi
push eax
push dword [eax]
lea eax, [ebp - 0x34]
push eax
call fcn.1002aa60
push dword [esi]
call fcn.10044bf3
add esp, 4
push 8
push esi
call fcn.10045272
add esp, 8
jmp 0x1000b7d2
test eax, 0x100
je 0x1000b7d2
call fcn.100291d0
push dword [ebp - 0xb8]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x1000b805
push 0x10029240
lea esi, [eax - 4]
mov byte [ebp - 4], 0x31
push dword [esi]
push 4
push eax
call fcn.10044e3e
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.10044bf8
add esp, 8
mov eax, dword [ebp - 0xbc]
cmp eax, 0x10
jb 0x1000b823
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.10002840
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
cmp ecx, 0x10
jb 0x1000b853
inc ecx
push ecx
push dword [ebx + 8]
lea ecx, [ebx + 8]
call fcn.10002840
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10044baf
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18