Function at 0x4dd710
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f47af
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
mov edi, dword [ebp + 0xc]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
call fcn.005dc5e0
push 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
push esi
movq qword [ebp - 0x34], xmm0
call fcn.005dc570
push 0
push 0
push edi
push 0x4bc190
push 0
lea eax, [ebp - 0x34]
push 0
mov dword [edi + 0x38], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
or eax, 0xffffffff
test esi, esi
cmove esi, eax
mov dword [ebp - 0x54], esi
mov byte [ebp - 4], 2
cmp esi, eax
je 0x4dd989
test esi, esi
je 0x4dd989
push 1
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
call fcn.005d0610
lea eax, [ebp - 0x28]
mov dword [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x28], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
je 0x4dd80c
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4dd80c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
xor edx, edx
mov ecx, esi
call fcn.005cca30
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
test al, al
je 0x4dd909
mov eax, dword [edi + 0x34]
cmp eax, dword [ebp - 0x58]
je 0x4dd848
push eax
lea ecx, [ebp - 0x1c]
call fcn.005db320
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
push dword [edi + 0x14]
call ebx
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 0x30]
cmp eax, dword [ebp - 0x5c]
je 0x4dd86d
push eax
lea ecx, [ebp - 0x1c]
call fcn.005db320
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
push dword [edi + 0x10]
call ebx
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x5c], eax
xorps xmm1, xmm1
lea ecx, [ebp - 0x50]
call fcn.005d05a0
comisd xmm0, xmmword [0x6edb88]
jbe 0x4dd8bc
lea ecx, [ebp - 0x50]
call fcn.005d05f0
push dword [edi + 0x2c]
lea ecx, [ebp - 0x1c]
call fcn.005db320
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
push dword [edi + 0xc]
call ebx
push dword [edi + 0x28]
lea ecx, [ebp - 0x1c]
call fcn.005db320
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
push dword [edi + 8]
call ebx
mov ecx, dword [ebp - 0x60]
push 0
call fcn.004771c0
test eax, eax
je 0x4dd8ee
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x14a8]
cmp ecx, 0xfffffffa
je 0x4dd8e8
mov eax, dword [eax + 0x14d8]
cmp eax, dword [edi + 0x44]
jne 0x4dd8f8
cmp ecx, dword [edi + 0x48]
jne 0x4dd8f8
mov byte [edi + 0x4c], 1
jmp 0x4dd8f8
push 1
push 5
call dword [sym.imp.KERNEL32.dll_SleepEx]
xor edx, edx
mov ecx, esi
call fcn.005cca30
test al, al
jne 0x4dd823
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [edi + 0x34]
lea ecx, [ebp - 0x1c]
call fcn.005db320
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
push dword [edi + 0x14]
call ebx
push dword [edi + 0x30]
lea ecx, [ebp - 0x1c]
call fcn.005db320
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
push dword [edi + 0x10]
call ebx
push dword [edi + 0x2c]
lea ecx, [ebp - 0x1c]
call fcn.005db320
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
push dword [edi + 0xc]
call ebx
push dword [edi + 0x28]
lea ecx, [ebp - 0x1c]
call fcn.005db320
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
push dword [edi + 8]
call ebx
cmp byte [edi + 0x4c], 0
mov eax, 0xffffffff
mov ebx, dword [ebp - 0x24]
cmovne ebx, eax
jmp 0x4dd994
xor ebx, ebx
cmp esi, 0xffffffff
je 0x4dd99b
test esi, esi
je 0x4dd99b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x34]
call fcn.005dc430
lea ecx, [ebp - 0x1c]
call fcn.005dc430
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 8