Function at 0x440350
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc232
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x537474]
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 0x4403a2
mov ecx, dword [ebp - 0x44]
call fcn.00440170
movzx ecx, al
test ecx, ecx
je 0x440398
jmp 0x4403a2
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44037c
mov dword [ebp - 0x50], 0
jmp 0x4403b4
mov edx, dword [ebp - 0x50]
add edx, 1
mov dword [ebp - 0x50], edx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.0044b210
cmp dword [ebp - 0x50], eax
jae 0x440716
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00447df0
mov ecx, dword [eax]
cmp dword [ecx + 0xf4], 0
jne 0x440528
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00447df0
mov eax, dword [eax]
cmp dword [eax + 0x110], 0
jne 0x440528
push 0x24
call fcn.00497f1d
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x58], 0
je 0x44042b
mov ecx, dword [ebp - 0x58]
call fcn.00447860
mov dword [ebp - 0x5c], eax
jmp 0x440432
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 - 0x48], edx
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00447df0
mov ecx, dword [eax]
add ecx, 0xc0
call fcn.004046f0
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00402250
add esp, 8
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.00403480
lea ecx, [ebp - 0x28]
call fcn.00404f10
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00447df0
mov edx, dword [eax]
push edx
call fcn.00441ea0
add esp, 4
mov ecx, dword [ebp - 0x48]
mov byte [ecx + 0x1c], al
mov edx, dword [ebp - 0x48]
mov byte [edx + 0x1d], 0
mov eax, dword [ebp - 0x48]
mov byte [eax + 0x1e], 0
mov ecx, dword [ebp - 0x48]
mov byte [ecx + 0x1f], 0
mov edx, dword [ebp - 0x48]
mov byte [edx + 0x20], 0
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00447df0
mov ecx, dword [eax]
push ecx
call fcn.00441ea0
add esp, 4
mov edx, dword [ebp - 0x48]
mov byte [edx + 0x21], al
mov eax, dword [ebp - 0x48]
movzx ecx, byte [eax + 0x21]
push ecx
push 0
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x48]
movzx edx, byte [ecx + 0x20]
push edx
mov eax, dword [ebp - 0x48]
movzx ecx, byte [eax + 0x1f]
push ecx
mov edx, dword [ebp - 0x48]
movzx eax, byte [edx + 0x1e]
push eax
mov ecx, dword [ebp - 0x48]
movzx edx, byte [ecx + 0x1d]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.0040e0f0
add esp, 0x20
mov ecx, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00447df0
mov edx, dword [eax]
cmp dword [edx + 0xf4], 0
je 0x440669
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00447df0
mov ecx, dword [eax]
cmp dword [ecx + 0x110], 0
jne 0x440669
push 0x24
call fcn.00497f1d
add esp, 4
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x60], 0
je 0x44058b
mov ecx, dword [ebp - 0x60]
call fcn.00447860
mov dword [ebp - 0x64], eax
jmp 0x440592
mov dword [ebp - 0x64], 0
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x70], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00447df0
mov ecx, dword [eax]
add ecx, 0xc0
call fcn.004046f0
push eax
lea edx, [ebp - 0x40]
push edx
call fcn.00402250
add esp, 8
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.00403480
lea ecx, [ebp - 0x40]
call fcn.00404f10
mov ecx, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00447df0
mov edx, dword [eax]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [edx + 0xf4]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 0x4c]
mov byte [edx + 0x1c], 0
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x1d], 1
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + 0x1e], 0
mov edx, dword [ebp - 0x4c]
mov byte [edx + 0x1f], 0
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x20], 0
mov ecx, dword [ebp - 0x4c]
mov byte [ecx + 0x21], 0
mov edx, dword [ebp - 0x4c]
movzx eax, byte [edx + 0x21]
push eax
push 0
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x4c]
movzx ecx, byte [eax + 0x20]
push ecx
mov edx, dword [ebp - 0x4c]
movzx eax, byte [edx + 0x1f]
push eax
mov ecx, dword [ebp - 0x4c]
movzx edx, byte [ecx + 0x1e]
push edx
mov eax, dword [ebp - 0x4c]
movzx ecx, byte [eax + 0x1d]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call fcn.0040e0f0
add esp, 0x20
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00447df0
mov ecx, dword [eax]
cmp dword [ecx + 0xf4], 0
je 0x440711
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00447df0
mov eax, dword [eax]
cmp dword [eax + 0x110], 0
je 0x440711
push 8
call fcn.00497f1d
add esp, 4
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00447df0
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 0x442920
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov ecx, dword [ebp - 0x44]
call fcn.00443d80
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 0x4403ab
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497ebf
mov esp, ebp
pop ebp
ret