Function at 0x4dca40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e72e2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x524a60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4dca87
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebx + 0x10]
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x24], ecx
call dword [eax + 4]
cmp dword [ebx + 4], 0
mov dword [ebp - 4], 0
je 0x4dcc43
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push dword [ebp + 0xc]
push esi
push 0
push 0
call fcn.004ba0b0
add esp, 0x18
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4dcc43
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4dcade
push eax
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.004dc9b0
mov eax, dword [ebx + 8]
add ebx, 8
mov dword [ebp - 0x18], 0
mov esi, dword [eax]
mov dword [ebp - 0x14], esi
cmp esi, eax
je 0x4dcb67
mov edi, dword [esi + 0x14]
test edi, edi
jne 0x4dcb18
lea ecx, [ebp - 0x14]
call fcn.00436670
push esi
mov ecx, ebx
call fcn.00454600
push 0x18
push eax
call fcn.004a12e0
add esp, 8
jmp 0x4dcb60
lea eax, [ebp - 0x18]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x4dcb58
cmp dword [ebp - 0x18], 0x103
je 0x4dcb58
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
mov ecx, edi
call fcn.004dc8a0
lea ecx, [ebp - 0x14]
call fcn.00436670
push esi
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.004dc5c0
jmp 0x4dcb60
lea ecx, [ebp - 0x14]
call fcn.00436670
mov esi, dword [ebp - 0x14]
cmp esi, dword [ebx]
jne 0x4dcaf4
push 0x24
call fcn.004a12b0
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
test edi, edi
je 0x4dcbca
lea ecx, [edi + 4]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x18]
mov dword [edi], eax
mov eax, dword [ebp + 0x14]
mov byte [ebp - 4], 3
mov dword [edi + 0x1c], eax
test esi, esi
je 0x4dcbc1
mov edx, esi
lea eax, [edx + 1]
mov dword [ebp + 0x18], eax
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4dcbb0
sub edx, dword [ebp + 0x18]
push edx
push esi
call fcn.0040b570
mov dword [edi + 0x20], 0
jmp 0x4dcbcc
xor edi, edi
mov byte [ebp - 4], 0
test edi, edi
je 0x4dcc32
mov edx, dword [ebx]
mov esi, edx
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4dcc01
mov ecx, dword [ebp - 0x10]
cmp dword [eax + 0x10], ecx
jae 0x4dcbee
mov eax, dword [eax + 8]
jmp 0x4dcbf2
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x4dcbe4
cmp esi, edx
je 0x4dcc01
cmp ecx, dword [esi + 0x10]
jae 0x4dcc2f
lea eax, [ebp - 0x10]
mov ecx, ebx
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0xb]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x510115
call fcn.004dc0f0
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x20]
push eax
call fcn.004dc280
mov esi, dword [ebp - 0x20]
mov dword [esi + 0x14], edi
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4dcc3e
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
mov ebx, dword [ebp + 0xc]
jmp 0x4dcc45
xor ebx, ebx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], 5
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14