Function at 0x114c820
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 0x10022a0
push 0x100b744
add eax, 0x3c22
xor edi, edi
push eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x18], esi
call fcn.0107e5b0
mov dword [ebp - 0x10], eax
cmp eax, edi
je 0x114ca36
mov ecx, dword [esi]
push ebx
push edi
push eax
push ecx
xor ebx, ebx
call fcn.0111a8a0
cmp eax, 0x40000000
jbe 0x114c981
sub eax, 0x40000000
mov dword [ebp + 8], eax
je 0x114c8ed
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 0x114c984
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.011004d0
test eax, eax
je 0x114c8f4
cmp eax, 0xffffffff
je 0x114c8f4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 1
jmp 0x114c91d
xor ebx, ebx
jmp 0x114c984
mov edx, dword [ebp - 4]
push 0xc800000
push edx
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.0111a740
test eax, eax
jne 0x114c91d
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x2c]
push edx
push edi
call fcn.010e5d50
test eax, eax
je 0x114c973
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.010e5de0
test eax, eax
je 0x114c968
push 0xa
push ebx
call fcn.010293f0
test eax, eax
je 0x114c973
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.010e5ec0
jmp 0x114c984
push ebx
call fcn.01047230
xor ebx, ebx
mov dword [ebp + 8], ebx
mov edx, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
push edx
call fcn.010e5ec0
jmp 0x114c984
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.0111ab60
mov edi, eax
test edi, edi
je 0x114c9bf
push 0
lea eax, [ebp - 0x18]
push eax
push 0x114c6e0
push edi
call fcn.01039a30
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
test ebx, ebx
je 0x114c9dc
mov eax, dword [ebp + 8]
test eax, eax
je 0x114c9dc
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi]
push 1
push 1
push eax
push ebx
push ecx
push edx
call fcn.011006b0
mov edi, dword [esi]
lea eax, [ebp + 8]
push eax
push 0
push esi
push fcn.0114a3d0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop ebx
test eax, eax
je 0x114ca02
mov ecx, dword [edi + 0x1c0]
push eax
call ecx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x114ca19
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 0x1005d7c
push 0x1005e28
push connect
push edx
call fcn.010b3da0
push esi
call fcn.010bfb40
cmp dword [ebp - 8], 0
pop edi
pop esi
je 0x114ca4b
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x810], 1
mov esp, ebp
pop ebp
ret 8