Function at 0x115dce0
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.010d9920
test dword [esi + 0x2b660], 0x200
mov ebx, dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
jne 0x115debd
mov eax, dword [esi + 8]
cmp dword [eax + 0xa60], 0
jne 0x115debd
test byte [esi + 0x2b734], 1
jne 0x115debd
mov edi, dword [ebp + 0xc]
test dword [edi + 0x46c], 0x1000
jne 0x115debd
push 0x10135f0
push 0x100f5c4
call fcn.0102af60
test eax, eax
jne 0x115dda6
push 0x1021934
push 0x100f5c4
call fcn.0102af60
test eax, eax
jne 0x115dda6
push 0x10227c8
push 0x100f5c4
call fcn.0102af60
test eax, eax
jne 0x115dda6
push 0x10135e8
push 0x100f5c4
call fcn.0102af60
test eax, eax
jne 0x115dda6
push 0x10227c0
push 0x100f5c4
call fcn.0102af60
test eax, eax
jne 0x115dda6
test dword [edi + 0x46c], 0x80000
je 0x115debd
push 0x10227b8
push 0x100f5c4
call fcn.0102af60
test eax, eax
jne 0x115debd
push 0x10227b0
push 0x100f5c4
call fcn.0102af60
test eax, eax
jne 0x115debd
push 0x10227a8
push 0x100f5c4
call fcn.0102af60
test eax, eax
jne 0x115debd
push 0x100f5d4
push 0x100f5c4
call fcn.0102af60
test eax, eax
jne 0x115debd
push 0x10227a0
push 0x100f5c4
call fcn.0102af60
test eax, eax
jne 0x115debd
push 0x1022798
push 0x100f5c4
call fcn.0102af60
test eax, eax
jne 0x115debd
push 0x1022794
push 0x100f5c4
call fcn.0102af60
test eax, eax
jne 0x115debd
push 0x102278c
push 0x100f5c4
call fcn.0102af60
test eax, eax
jne 0x115debd
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
push 0x102277c
push 0x1014dcc
push connect
push edx
call fcn.010b59a0
test eax, eax
jne 0x115debd
cmp dword [esi + 0x2d49c], eax
je 0x115debd
push 1
lea eax, [esi + 0x2d4a4]
push eax
call ebx
push esi
push 0x113eb60
call fcn.0102a320
mov edi, eax
test edi, edi
je 0x115dead
cmp edi, 0xffffffff
je 0x115dead
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push esi
call fcn.0111a9c0
push 0
push 1
push esi
call fcn.010fd0f0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x46c]
test eax, 0x800
je 0x115df3b
push 1
lea edx, [esi + 0x2d404]
push edx
call ebx
mov eax, dword [esi + 8]
push 2
push eax
xor edi, edi
call fcn.010da610
test eax, eax
jne 0x115defd
push esi
call fcn.010f8970
cmp eax, 2
je 0x115defd
test byte [esi + 0x2b660], 0x10
je 0x115df02
mov edi, 0x10
push 2
push 0
push 0x106c870
push edi
push 0x4001
push 0
push esi
call fcn.0113bbc0
push 1
lea ecx, [esi + 0x2d4a8]
push ecx
call ebx
test eax, eax
jne 0x115df9f
push esi
push 0x112ed70
push esi
call fcn.0106cf90
pop edi
pop esi
pop ebx
pop ebp
ret 8
test al, al
jns 0x115df70
lea edx, [ebp + 8]
push edx
push 0
push esi
push 0x115d1c0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov edi, eax
test edi, edi
je 0x115df70
cmp edi, 0xffffffff
je 0x115df70
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 0x115df99
cmp dword [eax + 0x194], 0
jne 0x115df99
push 0
push 3
push esi
call fcn.0113bdb0
pop edi
pop esi
pop ebx
pop ebp
ret 8
push esi
call fcn.01144090
pop edi
pop esi
pop ebx
pop ebp
ret 8