Function at 0x100b02e0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, dword [0x102eec30]
push edi
mov edi, ecx
test esi, esi
je 0x100b0325
cmp dword [edi + 0x48], 8
lea eax, [edi + 0x34]
jb 0x100b0301
mov eax, dword [eax]
push str.Inside_endProxyServer
push 0x1025b044
push 0x1025b044
push eax
push str.c3containerBL
push 0x1e
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
push 2
push dword [edi + 4]
mov byte [edi + 8], 1
call dword [sym.imp.WS2_32.dll_shutdown]
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_closesocket]
cmp byte [edi + 0x2c], 0
mov byte [edi + 0x2d], 0
je 0x100b041c
mov esi, dword [edi + 0x24]
test esi, esi
jne 0x100b03b5
mov esi, dword [0x102eec44]
test esi, esi
je 0x100b0386
push str.NULL_OOBE_Event_t_object_passed_in_WaitforEvent
push 0x1025b044
push 0x1025b044
push str.OOBEEvents
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
jmp 0x100b03de
mov eax, dword [0x102eec48]
test eax, eax
je 0x100b03e3
mov esi, dword [eax]
push str.NULL_OOBE_Event_t_object_passed_in_WaitforEvent
push str.OOBEEvents
push 0x1025b044
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x32
push eax
call dword [0x1024852c]
call esi
add esp, 0x14
jmp 0x100b03de
push 0x1f4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ebx, ebx
test eax, eax
je 0x100b03d1
cmp eax, 0x102
setne bl
inc ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp ebx, 2
jne 0x100b041c
mov eax, dword [0x102eec48]
mov esi, dword [0x102eec30]
test esi, esi
je 0x100b0421
cmp dword [edi + 0x48], 8
lea eax, [edi + 0x34]
jb 0x100b03f8
mov eax, dword [eax]
push str.failure_in_WaitforEvent
push 0x1025b044
push 0x1025b044
push eax
push str.c3containerBL
push 0x28
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
mov eax, dword [0x102eec48]
mov ecx, dword [edi + 0x28]
test ecx, ecx
jne 0x100b0486
mov esi, dword [0x102eec44]
test esi, esi
je 0x100b045c
push str.NULL_OOBE_Event_t_object_passed_in_SetEvnt
push 0x1025b044
push 0x1025b044
push str.OOBEEvents
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
jmp 0x100b048e
test eax, eax
je 0x100b048e
mov esi, dword [eax]
push str.NULL_OOBE_Event_t_object_passed_in_SetEvnt
push str.OOBEEvents
push 0x1025b044
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x32
push eax
call dword [0x1024852c]
call esi
add esp, 0x14
jmp 0x100b048e
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, dword [edi + 0xc]
or edx, 0xffffffff
test esi, esi
je 0x100b04d5
mov ecx, dword [esi]
test ecx, ecx
je 0x100b04d5
mov eax, dword [ebp + 8]
mov bl, byte [eax]
mov eax, edx
test bl, bl
mov edx, 0xa
cmovne eax, edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100b04d2
test bl, bl
je 0x100b04d2
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi], 0
or edx, 0xffffffff
mov esi, dword [edi + 0x14]
test esi, esi
je 0x100b0514
mov eax, dword [esi]
test eax, eax
je 0x100b0514
mov ecx, dword [ebp + 8]
mov bl, byte [ecx]
mov ecx, 0xa
test bl, bl
cmovne edx, ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100b0514
test bl, bl
je 0x100b0514
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi], 0
mov esi, dword [edi + 0x14]
test esi, esi
je 0x100b053f
mov eax, dword [esi]
test eax, eax
je 0x100b0534
cmp byte [esi + 4], 0
je 0x100b052e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 8
push esi
call fcn.101d02bd
add esp, 8
mov esi, dword [edi + 0xc]
test esi, esi
je 0x100b056a
mov eax, dword [esi]
test eax, eax
je 0x100b055f
cmp byte [esi + 4], 0
je 0x100b0559
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 8
push esi
call fcn.101d02bd
add esp, 8
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
mov byte [edi + 0x2c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4