Function at 0x409a60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0xc
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], 0x5ada796f
jmp 0x409a80
mov dword [ebp - 0x14], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x14]
cmp eax, 0xd7dd2f1f
jg 0x409ab0
cmp eax, 0xa11554ec
jne 0x409a80
mov al, byte [ebp - 9]
test al, al
mov eax, 0x6f46bd02
jne 0x409a74
mov eax, 0xf74e8af0
jmp 0x409a74
cmp eax, 0x761268fb
jg 0x409b00
cmp eax, 0x7301303f
jg 0x409b17
cmp eax, 0x6f46bd01
jg 0x409b2e
cmp eax, 0x5ada796e
jg 0x409b56
cmp eax, 0x45e6da07
jg 0x409b6d
cmp eax, 0xda3abfb4
jg 0x409bdd
cmp eax, 0xd7dd2f20
jne 0x409a80
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
setne byte [ebp - 9]
mov dword [ebp - 0x14], 0xa11554ec
jmp 0x409a80
cmp eax, 0x761268fc
jne 0x409a80
mov dword [ebp - 0x14], 0xf4a0866f
jmp 0x409a80
cmp eax, 0x73013040
jne 0x409a80
mov dword [ebp - 0x14], 0x761268fc
jmp 0x409a80
cmp eax, 0x6f46bd02
jne 0x409a80
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0xf74e8af0
jmp 0x409a80
cmp eax, 0x5ada796f
jne 0x409a80
mov dword [ebp - 0x14], 0xdac24c55
jmp 0x409a80
cmp eax, 0x45e6da08
jne 0x409a80
mov eax, 4
call fcn.00416a40
mov ecx, esp
mov eax, 4
call fcn.00416a40
mov edi, esp
mov dword [ecx], esi
mov dword [edi], 0
mov eax, dword [ecx]
lea ecx, [eax + 0x2c]
sub esp, 0x18
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x409700
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004179b3
add esp, 0x18
mov dword [edi], eax
mov dword [ebp - 0x14], 0xdac24c55
jmp 0x409a80
cmp eax, 0x3d389f48
jg 0x409ca0
cmp eax, 0x3ca8a0ac
jg 0x409cd0
cmp eax, 0x3684d825
jg 0x409cea
cmp eax, 0x1674dcef
jg 0x409d01
cmp eax, 0xf74e8aef
jg 0x409d25
cmp eax, 0xda3abfb5
je 0x409d3c
cmp eax, 0xdac24c55
jne 0x409d48
mov eax, 4
call fcn.00416a40
mov ecx, esp
mov eax, 4
call fcn.00416a40
mov dword [ebp - 0x10], esp
mov dword [ecx], esi
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov eax, dword [ecx]
lea ecx, [eax + 0x2c]
sub esp, 0x18
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x409700
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004179b3
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
sete byte [ebp - 0xa]
mov dword [ebp - 0x14], 0x1674dcf0
jmp 0x409a80
cmp eax, 0x3d389f49
jne 0x409a80
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], 0x3684d826
jmp 0x409a80
cmp eax, 0x3ca8a0ad
jne 0x409a80
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], 0xd7dd2f20
jmp 0x409a80
cmp eax, 0x3684d826
jne 0x409a80
mov dword [ebp - 0x14], 0xd7dd2f20
jmp 0x409a80
cmp eax, 0x1674dcf0
jne 0x409a80
mov al, byte [ebp - 0xa]
test al, al
mov eax, 0xda3abfb5
jne 0x409d1d
mov eax, 0x3d389f49
mov dword [ebp - 0x14], eax
jmp 0x409a80
cmp eax, 0xf74e8af0
jne 0x409a80
mov dword [ebp - 0x14], 0x761268fc
jmp 0x409a80
mov dword [ebp - 0x14], 0x3684d826
jmp 0x409a80
cmp eax, 0xf4a0866f
jne 0x409a80
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret