Function at 0x4d6d80
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574da0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5f969c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x14]
call fcn.00401420
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00403220
push eax
call fcn.00439940
add esp, 4
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x14]
call fcn.00401410
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x10
call fcn.00403220
push eax
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 0x14]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x14]
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [eax + 0x20]
call ecx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jge 0x4d6e2f
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401390
mov eax, dword [ebp - 0x2c]
jmp 0x4d7017
lea ecx, [ebp - 0x1c]
call fcn.0045f300
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00476080
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x10
call fcn.00401410
push eax
call fcn.00476840
lea ecx, [ebp - 0x1c]
call fcn.00475690
movzx edx, al
test edx, edx
je 0x4d6e8e
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00496090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401390
mov eax, dword [ebp - 0x30]
jmp 0x4d7017
cmp dword [ebp - 0x40], 0
je 0x4d6e9f
mov eax, dword [ebp - 0x40]
add eax, 8
mov dword [ebp - 0x48], eax
jmp 0x4d6ea6
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x20], ecx
push 0
push 4
mov edx, dword [ebp - 0x20]
push edx
push 0x4e1870
push 0
push 0
call fcn.0053ec8f
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
call fcn.004d7680
mov byte [ebp - 4], 2
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004dfdf0
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea ecx, [ebp - 0x10]
call fcn.004dfdf0
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [ebp - 0x40], 0
je 0x4d6f03
mov eax, dword [ebp - 0x40]
add eax, 4
mov dword [ebp - 0x4c], eax
jmp 0x4d6f0a
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x1c]
call fcn.004dfdf0
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x4c]
push ecx
push 0xffffffffffffffff
push 0
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
mov dword [ebp - 0x24], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004dfdf0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x48], 0
jge 0x4d6f80
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0043f8e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00496090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401390
mov eax, dword [ebp - 0x34]
jmp 0x4d7017
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.004dfdf0
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x28], 0
je 0x4d6fd5
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0043f8e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00496090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401390
mov eax, dword [ebp - 0x38]
jmp 0x4d7017
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0043f8e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00496090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401390
mov eax, dword [ebp - 0x3c]
jmp 0x4d7017
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret