Function at 0x11618e0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.010d30e0
mov eax, dword [esi]
mov ecx, dword [eax + 0x2a4]
call ecx
mov edx, dword [0x119d364]
mov dword [ebp - 4], eax
mov eax, dword [esi]
push edx
push eax
call fcn.010fa660
mov edi, eax
test edi, edi
je 0x116193d
mov eax, dword [esi]
push 0x101425c
push edi
add eax, 0x13354
push 0
push eax
call fcn.0110e840
add esp, 0x10
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov ecx, dword [esi]
push ecx
call fcn.01115d40
mov eax, dword [esi]
cmp dword [eax + 0x1ee94], 0
jne 0x11619b9
push eax
call fcn.010d1d70
test eax, eax
je 0x1161980
mov eax, dword [esi]
push 4
lea edx, [ebp + 8]
push edx
push 4
push 0x10237ac
push 0x1015934
push connect
push eax
mov dword [ebp + 8], 1
call fcn.010b9db0
mov ecx, dword [0x119d354]
mov eax, dword [esi]
push ecx
push eax
call fcn.010fa660
mov edi, eax
test edi, edi
je 0x11619b9
mov edx, dword [esi]
push edi
add edx, 0x13354
push 0
push edx
call fcn.0110e840
add esp, 0xc
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
push esi
call fcn.01139a30
mov edi, eax
mov dword [ebp + 8], edi
test edi, edi
je 0x1161ae8
cmp edi, 0xffffffff
je 0x1161ae8
push ebx
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x114db20
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ebx, eax
test ebx, ebx
je 0x1161ae0
cmp ebx, 0xffffffff
je 0x1161ae0
push esi
push 0x1161690
call fcn.0102b3c0
push esi
push 0x1160130
mov dword [ebp - 0x4c], eax
call fcn.0102b3c0
push esi
push 0x1161270
mov dword [ebp - 0x48], eax
call fcn.0102b3c0
push esi
push 0x10d5200
mov dword [ebp - 0x44], eax
call fcn.0102b3c0
push esi
push 0x1119860
mov dword [ebp - 0x40], eax
call fcn.0102b3c0
push esi
push 0x10c6d30
mov dword [ebp - 0x3c], eax
call fcn.0102b3c0
push esi
push 0x1122ba0
mov dword [ebp - 0x38], eax
call fcn.0102b3c0
push esi
push 0x10c7130
mov dword [ebp - 0x34], eax
call fcn.0102b3c0
mov ecx, dword [esi]
push 0
push ecx
mov edi, eax
call fcn.0102d990
push esi
call fcn.01118f50
push 0
push 0
push 0
lea edx, [ebp - 0xc]
push edx
push 1
push 0xf50
push 0x1013e1c
push 0
push 0x1058450
push esi
call fcn.010d1760
mov eax, dword [esi]
mov edx, dword [eax + 0x484]
push 0xffffffffffffffff
push 1
lea ecx, [ebp - 0x4c]
push ecx
push 7
call edx
push 0x7d0
push edi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [esi]
push 7
lea eax, [ebp - 0x4c]
push eax
push ecx
call fcn.0102b440
push ebx
push esi
call fcn.0104ca00
mov edi, dword [ebp + 8]
push edi
push esi
call fcn.01095020
pop ebx
push esi
call fcn.01118f80
mov edx, dword [0x119d360]
mov eax, dword [esi]
push edx
push eax
call fcn.010fa660
mov edi, eax
test edi, edi
je 0x1161b40
mov eax, dword [esi]
mov ecx, dword [eax + 0x2a4]
call ecx
mov edx, eax
sub edx, dword [ebp - 4]
mov eax, 0x45e7b273
mul edx
mov eax, dword [esi]
shr edx, 0xe
push edx
push edi
add eax, 0x13354
push 0
push eax
call fcn.0110e840
add esp, 0x10
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4