Function at 0x412b30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x7c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], 0x783edae4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov ecx, eax
sub ecx, 0x783edae3
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jg 0x412c80
jmp 0x412b62
mov eax, dword [ebp - 0x20]
sub eax, 0x62d68ede
mov dword [ebp - 0x28], eax
jg 0x412c6a
jmp 0x412b78
mov eax, dword [ebp - 0x20]
sub eax, 0x21afd003
mov dword [ebp - 0x2c], eax
jg 0x412c54
jmp 0x412b8e
mov eax, dword [ebp - 0x20]
sub eax, 0xcd8b4a7
mov dword [ebp - 0x30], eax
jg 0x412c3e
jmp 0x412ba4
mov eax, dword [ebp - 0x20]
sub eax, 0xfcecb18b
mov dword [ebp - 0x34], eax
jg 0x412c28
jmp 0x412bba
mov eax, dword [ebp - 0x20]
sub eax, 0xf161a142
mov dword [ebp - 0x38], eax
jg 0x412c12
jmp 0x412bd0
mov eax, dword [ebp - 0x20]
sub eax, 0x9dd2fc35
mov dword [ebp - 0x3c], eax
je 0x412ca8
jmp 0x412be6
mov eax, dword [ebp - 0x20]
sub eax, 0x9f22e6d3
mov dword [ebp - 0x40], eax
je 0x412d4c
jmp 0x412bfc
mov eax, dword [ebp - 0x20]
sub eax, 0xbf78d251
mov dword [ebp - 0x44], eax
je 0x412ddc
jmp 0x412c96
mov eax, dword [ebp - 0x20]
sub eax, 0xf161a143
mov dword [ebp - 0x48], eax
je 0x412dba
jmp 0x412c96
mov eax, dword [ebp - 0x20]
sub eax, 0xfcecb18c
mov dword [ebp - 0x4c], eax
je 0x412d67
jmp 0x412c96
mov eax, dword [ebp - 0x20]
sub eax, 0xcd8b4a8
mov dword [ebp - 0x50], eax
je 0x412d9c
jmp 0x412c96
mov eax, dword [ebp - 0x20]
sub eax, 0x21afd004
mov dword [ebp - 0x54], eax
je 0x412d73
jmp 0x412c96
mov eax, dword [ebp - 0x20]
sub eax, 0x62d68edf
mov dword [ebp - 0x58], eax
je 0x412de4
jmp 0x412c96
mov eax, dword [ebp - 0x20]
sub eax, 0x783edae4
mov dword [ebp - 0x5c], eax
je 0x412c9b
jmp 0x412c96
jmp 0x412e79
mov eax, 0x9dd2fc35
mov dword [ebp - 0x18], eax
jmp 0x412e79
mov eax, 0
lea ecx, [0x412390]
mov edx, 4
mov dword [ebp - 0x60], eax
mov eax, edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x68], ecx
call fcn.0042b750
mov eax, esp
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, ecx
call fcn.0042b750
mov eax, esp
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx], 0
mov edx, dword [eax]
add edx, 0x2c
mov esi, dword [eax]
sub esp, 0x18
mov dword [esp], 0
mov dword [esp + 4], 0
mov edi, dword [ebp - 0x68]
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], edx
call fcn.0042c637
add esp, 0x18
mov ecx, 0x9f22e6d3
mov edx, dword [ebp - 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
sete bl
and bl, 1
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x18], ecx
jmp 0x412e79
mov eax, 0x21afd004
mov ecx, 0xfcecb18c
mov dl, byte [ebp - 0xd]
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x412e79
mov dword [ebp - 0x18], 0xcd8b4a8
jmp 0x412e79
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], 0xffffffff
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
mov dword [ebp - 0x18], 0xcd8b4a8
mov dword [ebp - 0x70], eax
jmp 0x412e79
mov eax, 0xbf78d251
mov ecx, 0xf161a143
mov edx, dword [ebp - 0x14]
cmp dword [edx], 0
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x412e79
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
sub esp, 4
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
mov dword [ebp - 0x18], 0xbf78d251
mov dword [ebp - 0x74], eax
jmp 0x412e79
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0
lea ecx, [0x412390]
mov edx, 4
mov dword [ebp - 0x78], eax
mov eax, edx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x80], ecx
call fcn.0042b750
mov eax, esp
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
mov eax, ecx
call fcn.0042b750
mov eax, esp
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
mov dword [eax], 0
mov esi, dword [ecx]
add esi, 0x2c
mov edi, dword [ecx]
sub esp, 0x18
mov dword [esp], 0
mov dword [esp + 4], 0
mov ebx, dword [ebp - 0x80]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], esi
mov dword [ebp - 0x88], eax
call fcn.0042c637
add esp, 0x18
mov ecx, dword [ebp - 0x88]
mov dword [ecx], eax
mov dword [ebp - 0x18], 0x9dd2fc35
jmp 0x412b46