Function at 0x1150cc0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
xor eax, eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
push 0x1002170
push 0x100b62c
add eax, 0x3c22
xor edi, edi
push eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x18], esi
call fcn.0107fe70
mov dword [ebp - 0x10], eax
cmp eax, edi
je 0x1150ed6
mov ecx, dword [esi]
push ebx
push edi
push eax
push ecx
xor ebx, ebx
call fcn.0111e3e0
cmp eax, 0x40000000
jbe 0x1150e21
sub eax, 0x40000000
mov dword [ebp + 8], eax
je 0x1150d8d
inc eax
push eax
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov ebx, eax
cmp ebx, edi
je 0x1150e24
mov ecx, dword [ebp - 0x10]
mov edi, dword [esi]
xor eax, eax
push eax
push 1
push eax
push 3
push 7
push connect
push ecx
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call fcn.011037f0
test eax, eax
je 0x1150d94
cmp eax, 0xffffffff
je 0x1150d94
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 1
jmp 0x1150dbd
xor ebx, ebx
jmp 0x1150e24
mov edx, dword [ebp - 4]
push 0xc800000
push edx
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.0111e280
test eax, eax
jne 0x1150dbd
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x2c]
push edx
push edi
call fcn.010e8e50
test eax, eax
je 0x1150e13
mov eax, dword [ebp - 0x2c]
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov ecx, dword [ebp + 8]
mov eax, dword [esi]
push ecx
push ebx
lea edx, [ebp - 0x2c]
push edx
push eax
call fcn.010e8ee0
test eax, eax
je 0x1150e08
push 0xa
push ebx
call fcn.0102a9d0
test eax, eax
je 0x1150e13
inc eax
mov byte [eax], 0
mov edx, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
sub eax, ebx
push edx
mov dword [ebp + 8], eax
call fcn.010e8fc0
jmp 0x1150e24
push ebx
call fcn.0102d700
xor ebx, ebx
mov dword [ebp + 8], ebx
mov edx, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
push edx
call fcn.010e8fc0
jmp 0x1150e24
mov dword [ebp + 8], edi
mov edx, dword [ebp - 0x10]
mov eax, dword [esi]
push 0
push 1
lea ecx, [ebp - 4]
push ecx
push edx
push eax
call fcn.0111e6a0
mov edi, eax
test edi, edi
je 0x1150e5f
push 0
lea eax, [ebp - 0x18]
push eax
push 0x1150b80
push edi
call fcn.0103b030
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
test ebx, ebx
je 0x1150e7c
mov eax, dword [ebp + 8]
test eax, eax
je 0x1150e7c
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi]
push 1
push 1
push eax
push ebx
push ecx
push edx
call fcn.011039d0
mov edi, dword [esi]
lea eax, [ebp + 8]
push eax
push 0
push esi
push fcn.0114e860
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop ebx
test eax, eax
je 0x1150ea2
mov ecx, dword [edi + 0x1c0]
push eax
call ecx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1150eb9
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov edx, dword [esi]
push 0x1005c54
push 0x1005d00
push connect
push edx
call fcn.010b6110
push esi
call fcn.010c2710
cmp dword [ebp - 8], 0
pop edi
pop esi
je 0x1150eeb
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x810], 1
mov esp, ebp
pop ebp
ret 8