Function at 0x428640
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495bae
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4d53a4]
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 0x428692
mov ecx, dword [ebp - 0x44]
call fcn.00429bd0
movzx ecx, al
test ecx, ecx
je 0x428688
jmp 0x428692
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42866c
mov dword [ebp - 0x48], 0
jmp 0x4286a4
mov edx, dword [ebp - 0x48]
add edx, 1
mov dword [ebp - 0x48], edx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.0042d8f0
cmp dword [ebp - 0x48], eax
jae 0x4289c4
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00426700
mov ecx, dword [eax]
cmp dword [ecx + 0xf0], 0
jne 0x4287f7
mov edx, dword [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00426700
mov eax, dword [eax]
cmp dword [eax + 0x10c], 0
jne 0x4287f7
push 0x24
call fcn.0047099d
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x58], 0
je 0x42871b
mov ecx, dword [ebp - 0x58]
call fcn.00425fd0
mov dword [ebp - 0x5c], eax
jmp 0x428722
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.00426700
mov ecx, dword [eax]
add ecx, 0xc0
call fcn.00403570
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00401820
add esp, 8
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
push edx
mov ecx, dword [ebp - 0x4c]
call fcn.00402940
lea ecx, [ebp - 0x28]
call fcn.00403f90
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.00426700
mov edx, dword [eax]
push edx
call fcn.00429f10
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.00426700
mov ecx, dword [eax]
push ecx
call fcn.00429f10
add esp, 4
mov edx, dword [ebp - 0x4c]
mov byte [edx + 0x21], al
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
je 0x4287f7
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x44]
mov edx, dword [eax]
mov ecx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00426700
mov edx, dword [eax]
cmp dword [edx + 0xf0], 0
je 0x428917
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00426700
mov ecx, dword [eax]
cmp dword [ecx + 0x10c], 0
jne 0x428917
push 0x24
call fcn.0047099d
add esp, 4
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x60], 0
je 0x42885a
mov ecx, dword [ebp - 0x60]
call fcn.00425fd0
mov dword [ebp - 0x64], eax
jmp 0x428861
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 - 0x50], eax
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00426700
mov ecx, dword [eax]
add ecx, 0xc0
call fcn.00403570
push eax
lea edx, [ebp - 0x40]
push edx
call fcn.00401820
add esp, 8
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.00402940
lea ecx, [ebp - 0x40]
call fcn.00403f90
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00426700
mov edx, dword [eax]
mov eax, dword [ebp - 0x50]
mov ecx, dword [edx + 0xf0]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 0x50]
mov byte [edx + 0x1c], 0
mov eax, dword [ebp - 0x50]
mov byte [eax + 0x1d], 1
mov ecx, dword [ebp - 0x50]
mov byte [ecx + 0x1e], 0
mov edx, dword [ebp - 0x50]
mov byte [edx + 0x1f], 0
mov eax, dword [ebp - 0x50]
mov byte [eax + 0x20], 0
mov ecx, dword [ebp - 0x50]
mov byte [ecx + 0x21], 0
mov edx, dword [ebp - 0x44]
cmp dword [edx], 0
je 0x428917
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x44]
mov edx, dword [edx]
mov ecx, dword [eax]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00426700
mov edx, dword [eax]
cmp dword [edx + 0xf0], 0
je 0x4289bf
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x20
call fcn.00426700
mov ecx, dword [eax]
cmp dword [ecx + 0x10c], 0
je 0x4289bf
push 8
call fcn.0047099d
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.00426700
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 0x429a40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov ecx, dword [ebp - 0x44]
call fcn.00428d10
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 0x42869b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00470931
mov esp, ebp
pop ebp
ret