Function at 0x1163af0
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.010d4590
mov eax, dword [esi]
mov ecx, dword [eax + 0x2b0]
call ecx
mov edx, dword [0x119f364]
mov dword [ebp - 4], eax
mov eax, dword [esi]
push edx
push eax
call fcn.010fc090
mov edi, eax
test edi, edi
je 0x1163b4d
mov eax, dword [esi]
push 0x1014414
push edi
add eax, 0x1335c
push 0
push eax
call fcn.01110500
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.01117a30
mov eax, dword [esi]
cmp dword [eax + 0x1f2a0], 0
jne 0x1163bc9
push eax
call fcn.010d3220
test eax, eax
je 0x1163b90
mov eax, dword [esi]
push 4
lea edx, [ebp + 8]
push edx
push 4
push 0x1023a44
push 0x1015b3c
push connect
push eax
mov dword [ebp + 8], 1
call fcn.010bae20
mov ecx, dword [0x119f354]
mov eax, dword [esi]
push ecx
push eax
call fcn.010fc090
mov edi, eax
test edi, edi
je 0x1163bc9
mov edx, dword [esi]
push edi
add edx, 0x1335c
push 0
push edx
call fcn.01110500
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.0113bab0
mov edi, eax
mov dword [ebp + 8], edi
test edi, edi
je 0x1163cf8
cmp edi, 0xffffffff
je 0x1163cf8
push ebx
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x114fb80
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ebx, eax
test ebx, ebx
je 0x1163cf0
cmp ebx, 0xffffffff
je 0x1163cf0
push esi
push 0x11638a0
call fcn.0102bb20
push esi
push 0x1162340
mov dword [ebp - 0x4c], eax
call fcn.0102bb20
push esi
push 0x1163480
mov dword [ebp - 0x48], eax
call fcn.0102bb20
push esi
push 0x10d67d0
mov dword [ebp - 0x44], eax
call fcn.0102bb20
push esi
push 0x111b5f0
mov dword [ebp - 0x40], eax
call fcn.0102bb20
push esi
push 0x10c81d0
mov dword [ebp - 0x3c], eax
call fcn.0102bb20
push esi
push 0x1124c10
mov dword [ebp - 0x38], eax
call fcn.0102bb20
push esi
push 0x10c85d0
mov dword [ebp - 0x34], eax
call fcn.0102bb20
mov ecx, dword [esi]
push 0
push ecx
mov edi, eax
call fcn.0102e130
push esi
call fcn.0111ac40
push 0
push 0
push 0
lea edx, [ebp - 0xc]
push edx
push 1
push 0xf50
push 0x1013fd4
push 0
push 0x1058cc0
push esi
call fcn.010d2c10
mov eax, dword [esi]
mov edx, dword [eax + 0x490]
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.0102bba0
push ebx
push esi
call fcn.0104d1c0
mov edi, dword [ebp + 8]
push edi
push esi
call fcn.01095f80
pop ebx
push esi
call fcn.0111ac70
mov edx, dword [0x119f360]
mov eax, dword [esi]
push edx
push eax
call fcn.010fc090
mov edi, eax
test edi, edi
je 0x1163d50
mov eax, dword [esi]
mov ecx, dword [eax + 0x2b0]
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, 0x1335c
push 0
push eax
call fcn.01110500
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