Function at 0x412880
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], 0xefa5e1a6
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov ecx, eax
sub ecx, 0x65eb4350
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jg 0x412ae1
jmp 0x4128b5
mov eax, dword [ebp - 0x20]
sub eax, 0x5f4af7f4
mov dword [ebp - 0x28], eax
jg 0x412ac8
jmp 0x4128cb
mov eax, dword [ebp - 0x20]
sub eax, 0x2cd02789
mov dword [ebp - 0x2c], eax
jg 0x412aaf
jmp 0x4128e1
mov eax, dword [ebp - 0x20]
sub eax, 0x1d8d63bc
mov dword [ebp - 0x30], eax
jg 0x412a99
jmp 0x4128f7
mov eax, dword [ebp - 0x20]
sub eax, 0xaf70dd2
mov dword [ebp - 0x34], eax
jg 0x412a83
jmp 0x41290d
mov eax, dword [ebp - 0x20]
sub eax, 0x2b54974
mov dword [ebp - 0x38], eax
jg 0x412a6d
jmp 0x412923
mov eax, dword [ebp - 0x20]
sub eax, 0xab4ab9bc
mov dword [ebp - 0x3c], eax
jg 0x41294f
jmp 0x412939
mov eax, dword [ebp - 0x20]
sub eax, 0xa5771822
mov dword [ebp - 0x40], eax
je 0x412bec
jmp 0x412afa
mov eax, dword [ebp - 0x20]
sub eax, 0xb04437a7
mov dword [ebp - 0x44], eax
jg 0x41297b
jmp 0x412965
mov eax, dword [ebp - 0x20]
sub eax, 0xab4ab9bd
mov dword [ebp - 0x48], eax
je 0x412b0c
jmp 0x412afa
mov eax, dword [ebp - 0x20]
sub eax, 0xb4e7ab9e
mov dword [ebp - 0x4c], eax
jg 0x4129a7
jmp 0x412991
mov eax, dword [ebp - 0x20]
sub eax, 0xb04437a8
mov dword [ebp - 0x50], eax
je 0x412be0
jmp 0x412afa
mov eax, dword [ebp - 0x20]
sub eax, 0xdcb98fdf
mov dword [ebp - 0x54], eax
jg 0x4129d3
jmp 0x4129bd
mov eax, dword [ebp - 0x20]
sub eax, 0xb4e7ab9f
mov dword [ebp - 0x58], eax
je 0x412c8f
jmp 0x412afa
mov eax, dword [ebp - 0x20]
sub eax, 0xea7b77b8
mov dword [ebp - 0x5c], eax
jg 0x4129ff
jmp 0x4129e9
mov eax, dword [ebp - 0x20]
sub eax, 0xdcb98fe0
mov dword [ebp - 0x60], eax
je 0x412bf9
jmp 0x412afa
mov eax, dword [ebp - 0x20]
sub eax, 0xec88b129
mov dword [ebp - 0x64], eax
jg 0x412a2b
jmp 0x412a15
mov eax, dword [ebp - 0x20]
sub eax, 0xea7b77b9
mov dword [ebp - 0x68], eax
je 0x412c26
jmp 0x412afa
mov eax, dword [ebp - 0x20]
sub eax, 0xec88b12a
mov dword [ebp - 0x6c], eax
je 0x412d6c
jmp 0x412a41
mov eax, dword [ebp - 0x20]
sub eax, 0xef1b0769
mov dword [ebp - 0x70], eax
je 0x412bc5
jmp 0x412a57
mov eax, dword [ebp - 0x20]
sub eax, 0xefa5e1a6
mov dword [ebp - 0x74], eax
je 0x412aff
jmp 0x412afa
mov eax, dword [ebp - 0x20]
sub eax, 0x2b54975
mov dword [ebp - 0x78], eax
je 0x412c97
jmp 0x412afa
mov eax, dword [ebp - 0x20]
sub eax, 0xaf70dd3
mov dword [ebp - 0x7c], eax
je 0x412c5d
jmp 0x412afa
mov eax, dword [ebp - 0x20]
sub eax, 0x1d8d63bd
mov dword [ebp - 0x80], eax
je 0x412c50
jmp 0x412afa
mov eax, dword [ebp - 0x20]
sub eax, 0x2cd0278a
mov dword [ebp - 0x84], eax
je 0x412c32
jmp 0x412afa
mov eax, dword [ebp - 0x20]
sub eax, 0x5f4af7f5
mov dword [ebp - 0x88], eax
je 0x412c83
jmp 0x412afa
mov eax, dword [ebp - 0x20]
sub eax, 0x65eb4351
mov dword [ebp - 0x8c], eax
je 0x412d40
jmp 0x412afa
jmp 0x412d8c
mov eax, 0xab4ab9bd
mov dword [ebp - 0x18], eax
jmp 0x412d8c
mov eax, 0
lea ecx, [0x4123e0]
mov edx, 4
mov dword [ebp - 0x90], eax
mov eax, edx
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x98], ecx
call fcn.00440020
mov eax, esp
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x9c], eax
mov eax, ecx
call fcn.00440020
mov eax, esp
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x9c]
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 - 0x98]
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], edx
call fcn.00440f07
add esp, 0x18
mov ecx, 0xef1b0769
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 0x412d8c
mov eax, 0xa5771822
mov ecx, 0xb04437a8
mov dl, byte [ebp - 0xd]
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x412d8c
mov dword [ebp - 0x18], 0x2cd0278a
jmp 0x412d8c
mov eax, 0xdcb98fe0
mov dword [ebp - 0x18], eax
jmp 0x412d8c
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 ecx, 0xea7b77b9
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xa0], eax
jmp 0x412d8c
mov dword [ebp - 0x18], 0x2cd0278a
jmp 0x412d8c
mov eax, 0xb4e7ab9f
mov ecx, 0x1d8d63bd
mov edx, dword [ebp - 0x14]
cmp dword [edx], 0
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x412d8c
mov eax, 0xaf70dd3
mov dword [ebp - 0x18], eax
jmp 0x412d8c
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 ecx, 0x5f4af7f5
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xa4], eax
jmp 0x412d8c
mov dword [ebp - 0x18], 0xb4e7ab9f
jmp 0x412d8c
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0
lea ecx, [0x4123e0]
mov edx, 4
mov dword [ebp - 0xa8], eax
mov eax, edx
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xb0], ecx
call fcn.00440020
mov eax, esp
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xb4], eax
mov eax, ecx
call fcn.00440020
mov eax, esp
mov ecx, dword [ebp - 0xb4]
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 - 0xb0]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], esi
mov dword [ebp - 0xb8], eax
call fcn.00440f07
add esp, 0x18
mov ecx, dword [ebp - 0xb8]
mov dword [ecx], eax
mov dword [ebp - 0x18], 0xab4ab9bd
jmp 0x412d8c
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], 0xdcb98fe0
mov dword [ebp - 0xbc], eax
jmp 0x412d8c
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], 0xaf70dd3
mov dword [ebp - 0xc0], eax
jmp 0x412899