Function at 0x49ad10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x50]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
jne 0x49ad4f
xor eax, eax
jmp 0x49aeef
push 0x50
call fcn.004d67a0
add esp, 4
mov dword [ebp - 8], eax
push 0x50
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d8ae0
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [edx + 0x48], 0
mov esi, esp
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x4015b9
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.004d6760
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x49adaa
xor eax, eax
jmp 0x49aeef
push 0x50
call fcn.004d67a0
add esp, 4
mov dword [ebp - 8], eax
push 0x50
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004d8ae0
add esp, 0xc
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x48], 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x30], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x34], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x40], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x44], ecx
push 6
mov edx, dword [ebp + 8]
add edx, 0xc
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004d8ae0
add esp, 0xc
push 6
mov ecx, dword [ebp + 8]
add ecx, 0x12
push ecx
mov edx, dword [ebp - 8]
add edx, 6
push edx
call fcn.004d8ae0
add esp, 0xc
push 6
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0xc
push ecx
call fcn.004d8ae0
add esp, 0xc
push 6
mov edx, dword [ebp + 8]
add edx, 6
push edx
mov eax, dword [ebp - 8]
add eax, 0x12
push eax
call fcn.004d8ae0
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
push 0x4015b9
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.004d6760
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x49aeec
xor eax, eax
jmp 0x49aeef
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
add esp, 0x50
cmp ebp, esp
call fcn.004d6760
mov esp, ebp
pop ebp
ret 4