Function at 0x49ed90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x49ed98
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x49efdb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebx + 0x4b54], eax
xor eax, eax
mov dword [ebx + 0x4a5c], eax
xor eax, eax
mov dword [ebx + 0x4a60], eax
xor eax, eax
mov dword [ebx + 0x4a64], eax
xor eax, eax
mov dword [ebx + 0x4a68], eax
mov eax, dword [ebx + 0x3c2c]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x3c30]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x3c34]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x3c38]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x3c3c]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 0x368]
call fcn.0043e56c
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0049fd28
mov eax, dword [ebx + 0x4b40]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
mov eax, dword [ebx + 0x384]
call fcn.00471510
mov edx, 1
mov eax, dword [ebx + 0x384]
call fcn.00471520
mov byte [ebx + 0x4b0c], 1
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x49e0a0
push 0
push 0
call sub.kernel32.dll_CreateThread_1
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebx + 0x4b40]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x49eed9
lea ecx, [ebp - 0x10]
xor edx, edx
mov eax, dword [ebx + 0x4b40]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.00404db8
mov byte [ebx + 0x4b0d], 1
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.004047b8
mov eax, dword [ebp - 0x14]
push eax
push 0x49eff0
push 2
mov ecx, 0x49f000
mov dl, 1
mov eax, dword [0x496d3c]
call fcn.00496dd0
xor edx, edx
mov eax, dword [ebx + 0x4b40]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebx + 0x4b40]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x49ef3e
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ebx + 0x4b40]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.00404db8
mov byte [ebx + 0x4b0e], 1
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
call fcn.004047b8
mov eax, dword [ebp - 0x1c]
push eax
push 0x49eff0
push 3
mov ecx, 0x49f000
mov dl, 1
mov eax, dword [0x496d3c]
call fcn.00496dd0
xor edx, edx
mov eax, dword [ebx + 0x4b40]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebx + 0x4b40]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x49efa3
lea ecx, [ebp - 0x20]
xor edx, edx
mov eax, dword [ebx + 0x4b40]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 4]
call fcn.00404db8
mov byte [ebx + 0x4b0f], 1
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 4]
call fcn.004047b8
mov eax, dword [ebp - 0x24]
push eax
push 0x49eff0
push 4
mov ecx, 0x49f000
mov dl, 1
mov eax, dword [0x496d3c]
call fcn.00496dd0
xor edx, edx
mov eax, dword [ebx + 0x4b40]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov dl, 1
mov eax, dword [ebx + 0x324]
call fcn.00435c68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49efe2
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.0040455c
lea eax, [ebp - 0xc]
call fcn.00404538
lea eax, [ebp - 4]
call fcn.00404c54
ret