Function at 0x11660e0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.010ded80
test dword [esi + 0x2b660], 0x200
mov ebx, dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
jne 0x11662bd
mov eax, dword [esi + 8]
cmp dword [eax + 0xa64], 0
jne 0x11662bd
test byte [esi + 0x2b734], 1
jne 0x11662bd
mov edi, dword [ebp + 0xc]
test dword [edi + 0x46c], 0x1000
jne 0x11662bd
push 0x10141f4
push 0x10102c4
call fcn.0102c870
test eax, eax
jne 0x11661a6
push 0x10214b0
push 0x10102c4
call fcn.0102c870
test eax, eax
jne 0x11661a6
push 0x1023b34
push 0x10102c4
call fcn.0102c870
test eax, eax
jne 0x11661a6
push 0x10141ec
push 0x10102c4
call fcn.0102c870
test eax, eax
jne 0x11661a6
push 0x1023b2c
push 0x10102c4
call fcn.0102c870
test eax, eax
jne 0x11661a6
test dword [edi + 0x46c], 0x80000
je 0x11662bd
push 0x1023b24
push 0x10102c4
call fcn.0102c870
test eax, eax
jne 0x11662bd
push 0x1023b1c
push 0x10102c4
call fcn.0102c870
test eax, eax
jne 0x11662bd
push 0x1023b14
push 0x10102c4
call fcn.0102c870
test eax, eax
jne 0x11662bd
push 0x1010300
push 0x10102c4
call fcn.0102c870
test eax, eax
jne 0x11662bd
push 0x1023b0c
push 0x10102c4
call fcn.0102c870
test eax, eax
jne 0x11662bd
push 0x1023b04
push 0x10102c4
call fcn.0102c870
test eax, eax
jne 0x11662bd
push 0x1023b00
push 0x10102c4
call fcn.0102c870
test eax, eax
jne 0x11662bd
push 0x1023af8
push 0x10102c4
call fcn.0102c870
test eax, eax
jne 0x11662bd
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
push 0x1023ae8
push 0x1015b3c
push connect
push edx
call fcn.010bb470
test eax, eax
jne 0x11662bd
cmp dword [esi + 0x2d49c], eax
je 0x11662bd
push 1
lea eax, [esi + 0x2d4a4]
push eax
call ebx
push esi
push 0x1142b30
call fcn.0102bb20
mov edi, eax
test edi, edi
je 0x11662ad
cmp edi, 0xffffffff
je 0x11662ad
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push esi
call fcn.0111ce10
push 0
push 1
push esi
call fcn.01102e20
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x46c]
test eax, 0x800
je 0x116633b
push 1
lea edx, [esi + 0x2d404]
push edx
call ebx
mov eax, dword [esi + 8]
push 2
push eax
xor edi, edi
call fcn.010dfa70
test eax, eax
jne 0x11662fd
push esi
call fcn.010fe6e0
cmp eax, 2
je 0x11662fd
test byte [esi + 0x2b660], 0x10
je 0x1166302
mov edi, 0x10
push 2
push 0
push 0x10713b0
push edi
push 0x4001
push 0
push esi
call fcn.0113fbc0
push 1
lea ecx, [esi + 0x2d4a8]
push ecx
call ebx
test eax, eax
jne 0x116639f
push esi
push 0x11304c0
push esi
call fcn.01071ad0
pop edi
pop esi
pop ebx
pop ebp
ret 8
test al, al
jns 0x1166370
lea edx, [ebp + 8]
push edx
push 0
push esi
push 0x1165590
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov edi, eax
test edi, edi
je 0x1166370
cmp edi, 0xffffffff
je 0x1166370
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp + 0xc]
test dword [eax + 0x46c], 0x200
jne 0x1166399
cmp dword [eax + 0x194], 0
jne 0x1166399
push 0
push 3
push esi
call fcn.0113fdb0
pop edi
pop esi
pop ebx
pop ebp
ret 8
push esi
call fcn.0114a7c0
pop edi
pop esi
pop ebx
pop ebp
ret 8