Function at 0x4421d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510a72
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov eax, 1
test eax, eax
je 0x442222
mov ecx, dword [ebp - 0x44]
call fcn.00441ff0
movzx ecx, al
test ecx, ecx
je 0x442218
jmp 0x442222
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4421fc
mov dword [ebp - 0x48], 0
jmp 0x442234
mov edx, dword [ebp - 0x48]
add edx, 1
mov dword [ebp - 0x48], edx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00448a90
cmp dword [ebp - 0x48], eax
jae 0x44251c
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00446a10
mov ecx, dword [eax]
cmp dword [ecx + 0xf4], 0
jne 0x44236b
mov edx, dword [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00446a10
mov eax, dword [eax]
cmp dword [eax + 0x110], 0
jne 0x44236b
push 0x24
call fcn.004a4c60
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x58], 0
je 0x4422ab
mov ecx, dword [ebp - 0x58]
call fcn.00446550
mov dword [ebp - 0x5c], eax
jmp 0x4422b2
mov dword [ebp - 0x5c], 0
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00446a10
mov ecx, dword [eax]
add ecx, 0xc0
call fcn.00408500
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.004024f0
add esp, 8
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
push edx
mov ecx, dword [ebp - 0x4c]
call fcn.004037e0
lea ecx, [ebp - 0x28]
call fcn.00408cf0
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00446a10
mov edx, dword [eax]
push edx
call fcn.00443bf0
add esp, 4
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + 0x1c], al
mov edx, dword [ebp - 0x4c]
mov byte [edx + 0x1d], 0
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x1e], 0
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + 0x1f], 0
mov edx, dword [ebp - 0x4c]
mov byte [edx + 0x20], 0
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00446a10
mov ecx, dword [eax]
push ecx
call fcn.00443bf0
add esp, 4
mov edx, dword [ebp - 0x4c]
mov byte [edx + 0x21], al
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00446a10
mov ecx, dword [eax]
cmp dword [ecx + 0xf4], 0
je 0x44246f
mov edx, dword [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00446a10
mov eax, dword [eax]
cmp dword [eax + 0x110], 0
jne 0x44246f
push 0x24
call fcn.004a4c60
add esp, 4
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x60], 0
je 0x4423ce
mov ecx, dword [ebp - 0x60]
call fcn.00446550
mov dword [ebp - 0x64], eax
jmp 0x4423d5
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00446a10
mov ecx, dword [eax]
add ecx, 0xc0
call fcn.00408500
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.004024f0
add esp, 8
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
push edx
mov ecx, dword [ebp - 0x50]
call fcn.004037e0
lea ecx, [ebp - 0x40]
call fcn.00408cf0
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00446a10
mov ecx, dword [eax]
mov edx, dword [ebp - 0x50]
mov eax, dword [ecx + 0xf4]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp - 0x50]
mov byte [ecx + 0x1c], 0
mov edx, dword [ebp - 0x50]
mov byte [edx + 0x1d], 1
mov eax, dword [ebp - 0x50]
mov byte [eax + 0x1e], 0
mov ecx, dword [ebp - 0x50]
mov byte [ecx + 0x1f], 0
mov edx, dword [ebp - 0x50]
mov byte [edx + 0x20], 0
mov eax, dword [ebp - 0x50]
mov byte [eax + 0x21], 0
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00446a10
mov edx, dword [eax]
cmp dword [edx + 0xf4], 0
je 0x442517
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00446a10
mov ecx, dword [eax]
cmp dword [ecx + 0x110], 0
je 0x442517
push 8
call fcn.004a4c60
add esp, 4
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00446a10
mov ecx, dword [ebp - 0x54]
mov edx, dword [eax]
mov dword [ecx], edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov dword [eax + 4], edx
push 0
push 0
mov eax, dword [ebp - 0x54]
push eax
push 0x444670
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov ecx, dword [ebp - 0x44]
call fcn.00445790
mov dword [eax], esi
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x12c]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + edx*4 + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x44222b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret