Function at 0x4075cf
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 8], 0
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
push 1
push dword [ebp + 8]
call fcn.004074c0
mov dword [0x4169c4], eax
cmp dword [0x4169c4], 0
jne 0x407616
mov dword [ebp - 0xc], 3
jmp 0x4078fe
mov eax, dword [0x4169c4]
cmp dword [eax + 0x14], 0
jne 0x407632
mov dword [ebp - 0xc], 2
jmp 0x4078fe
mov eax, dword [0x4169c4]
mov eax, dword [eax + 0x10]
mov dword [0x4169c0], eax
mov eax, dword [0x4169c4]
cmp dword [eax + 0xc], 1
jne 0x40766d
cmp dword [0x415b5c], 5
jne 0x40765c
cmp dword [0x415b60], 2
je 0x40766d
mov dword [ebp - 0xc], 2
jmp 0x4078fe
cmp dword [0x416a48], 0
jne 0x40768a
mov dword [0x416a48], 1
call fcn.0040741f
mov dword [0x416a4c], eax
mov eax, dword [0x4169c4]
add eax, 0x2c
mov dword [ebp - 8], eax
mov eax, dword [0x4169c4]
push dword [eax + 4]
mov eax, dword [0x4169c4]
push dword [eax + 8]
push dword [ebp - 8]
call fcn.00402380
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x4169b8], eax
and dword [0x4169c8], 0
mov eax, dword [0x4169c4]
mov eax, dword [eax + 0x1c]
imul eax, eax, 0x50
add eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
and dword [ebp - 0x1c], 0
jmp 0x4076e5
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [0x4169c4]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x20]
jae 0x407758
push 2
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
add eax, 0xac
push eax
call fcn.00407a9e
cmp eax, 1
jne 0x40774b
and dword [ebp - 0x20], 0
jmp 0x407717
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0xa8]
jae 0x40774b
push 0
push 0
push dword [ebp - 0x14]
push 0x4072b4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [0x4169b8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x407710
mov eax, dword [ebp - 0x14]
add eax, 0xb0
mov dword [ebp - 0x14], eax
jmp 0x4076de
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
and dword [ebp - 0x24], 0
jmp 0x40776b
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [0x4169c4]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x1c]
jae 0x40781d
and dword [ebp - 0x28], 0
push 2
push dword [ebp - 4]
lea eax, [ebp - 0x28]
push eax
call fcn.00407a9e
cmp eax, 1
jne 0x40780f
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
je 0x4077c8
push 0
push 0
push dword [ebp - 4]
push 0x40711d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [0x4169b8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x416a4c], 1
jne 0x40780f
and dword [ebp - 0x2c], 0
jmp 0x4077de
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax + 0x48]
jae 0x40780f
push 0
push 0
push dword [ebp - 4]
push 0x406cf2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [0x4169b8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4077d7
mov eax, dword [ebp - 4]
add eax, 0x50
mov dword [ebp - 4], eax
jmp 0x407764
mov eax, dword [0x4169c4]
mov eax, dword [eax + 0x1c]
imul eax, eax, 0x50
add eax, dword [ebp - 8]
mov ecx, dword [0x4169c4]
mov ecx, dword [ecx + 0x20]
imul ecx, ecx, 0xb0
add eax, ecx
mov dword [ebp - 0x18], eax
and dword [ebp - 0x30], 0
jmp 0x40784c
mov eax, dword [0x4169c4]
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [eax + 0x24]
jae 0x40786e
push dword [ebp - 0x18]
jmp 0x4481e3
mov eax, dword [0x4169c4]
mov eax, dword [eax + 0x1c]
imul eax, eax, 0x50
add eax, dword [ebp - 8]
mov ecx, dword [0x4169c4]
mov ecx, dword [ecx + 0x20]
imul ecx, ecx, 0xb0
add eax, ecx
mov ecx, dword [0x4169c4]
mov ecx, dword [ecx + 0x24]
imul ecx, ecx, 0xc0
add eax, ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 0x34], 0
jmp 0x4078ae
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
mov eax, dword [0x4169c4]
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [eax + 0x28]
jae 0x4078fe
push str.0.0.0.0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4078f1
push 0
push 0
push dword [ebp - 0x10]
push 0x40f2a2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [0x4169b8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x10]
add eax, 0x9c
mov dword [ebp - 0x10], eax
jmp 0x4078a7
cmp dword [0x4169b8], 0
je 0x407913
push dword [0x4169b8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
leave
ret 4