Function at 0x412040
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0xac
mov eax, dword [ebp + 8]
mov ecx, 0
lea edx, [0x4119f0]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
add eax, 0x2c
mov esi, dword [ebp - 0x10]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov dword [ebp - 0x1c], ecx
call fcn.0043d4c7
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0x287d3023
mov eax, dword [ebp - 0x18]
mov ecx, eax
sub ecx, 0xd3169feb
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jg 0x4120da
jmp 0x4120c4
mov eax, dword [ebp - 0x20]
sub eax, 0xa32aa03e
mov dword [ebp - 0x28], eax
je 0x4123b4
jmp 0x412309
mov eax, dword [ebp - 0x20]
sub eax, 0xe0c40cd4
mov dword [ebp - 0x2c], eax
jg 0x412106
jmp 0x4120f0
mov eax, dword [ebp - 0x20]
sub eax, 0xd3169fec
mov dword [ebp - 0x30], eax
je 0x41238c
jmp 0x412309
mov eax, dword [ebp - 0x20]
sub eax, 0xfbaac244
mov dword [ebp - 0x34], eax
jg 0x412132
jmp 0x41211c
mov eax, dword [ebp - 0x20]
sub eax, 0xe0c40cd5
mov dword [ebp - 0x38], eax
je 0x41232c
jmp 0x412309
mov eax, dword [ebp - 0x20]
sub eax, 0x431ebf0
mov dword [ebp - 0x3c], eax
jg 0x41215e
jmp 0x412148
mov eax, dword [ebp - 0x20]
sub eax, 0xfbaac245
mov dword [ebp - 0x40], eax
je 0x4123a7
jmp 0x412309
mov eax, dword [ebp - 0x20]
sub eax, 0xa90218d
mov dword [ebp - 0x44], eax
jg 0x41218a
jmp 0x412174
mov eax, dword [ebp - 0x20]
sub eax, 0x431ebf1
mov dword [ebp - 0x48], eax
je 0x41236f
jmp 0x412309
mov eax, dword [ebp - 0x20]
sub eax, 0x168ad5cc
mov dword [ebp - 0x4c], eax
jg 0x4121b6
jmp 0x4121a0
mov eax, dword [ebp - 0x20]
sub eax, 0xa90218e
mov dword [ebp - 0x50], eax
je 0x4123f1
jmp 0x412309
mov eax, dword [ebp - 0x20]
sub eax, 0x1b0850fb
mov dword [ebp - 0x54], eax
jg 0x4121e2
jmp 0x4121cc
mov eax, dword [ebp - 0x20]
sub eax, 0x168ad5cd
mov dword [ebp - 0x58], eax
je 0x412362
jmp 0x412309
mov eax, dword [ebp - 0x20]
sub eax, 0x1db16ef0
mov dword [ebp - 0x5c], eax
jg 0x41220e
jmp 0x4121f8
mov eax, dword [ebp - 0x20]
sub eax, 0x1b0850fc
mov dword [ebp - 0x60], eax
je 0x412407
jmp 0x412309
mov eax, dword [ebp - 0x20]
sub eax, 0x287d3022
mov dword [ebp - 0x64], eax
jg 0x41223a
jmp 0x412224
mov eax, dword [ebp - 0x20]
sub eax, 0x1db16ef1
mov dword [ebp - 0x68], eax
je 0x412338
jmp 0x412309
mov eax, dword [ebp - 0x20]
sub eax, 0x2bf5c909
mov dword [ebp - 0x6c], eax
jg 0x412266
jmp 0x412250
mov eax, dword [ebp - 0x20]
sub eax, 0x287d3023
mov dword [ebp - 0x70], eax
je 0x41230e
jmp 0x412309
mov eax, dword [ebp - 0x20]
sub eax, 0x53e2b6b6
mov dword [ebp - 0x74], eax
jg 0x412292
jmp 0x41227c
mov eax, dword [ebp - 0x20]
sub eax, 0x2bf5c90a
mov dword [ebp - 0x78], eax
je 0x4123fe
jmp 0x412309
mov eax, dword [ebp - 0x20]
sub eax, 0x589989bc
mov dword [ebp - 0x7c], eax
jg 0x4122be
jmp 0x4122a8
mov eax, dword [ebp - 0x20]
sub eax, 0x53e2b6b7
mov dword [ebp - 0x80], eax
je 0x4123d8
jmp 0x412309
mov eax, dword [ebp - 0x20]
sub eax, 0x589989bd
mov dword [ebp - 0x84], eax
je 0x412436
jmp 0x4122d7
mov eax, dword [ebp - 0x20]
sub eax, 0x5cce1e95
mov dword [ebp - 0x88], eax
je 0x4123e4
jmp 0x4122f0
mov eax, dword [ebp - 0x20]
sub eax, 0x5e37f557
mov dword [ebp - 0x8c], eax
je 0x412413
jmp 0x412309
jmp 0x41243d
mov eax, 0x1db16ef1
mov ecx, 0xe0c40cd5
mov edx, dword [ebp - 0xc]
cmp edx, 0
cmove eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x41243d
mov dword [ebp - 0x18], 0x168ad5cd
jmp 0x41243d
mov eax, dword [ebp - 0x14]
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], 0xffffffff
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
sub esp, 8
mov dword [ebp - 0x18], 0x168ad5cd
mov dword [ebp - 0x90], eax
jmp 0x41243d
mov eax, 0x431ebf1
mov dword [ebp - 0x18], eax
jmp 0x41243d
mov eax, 0xd3169fec
cmp dword [ebp - 0x14], 0
setne cl
and cl, 1
mov byte [ebp - 5], cl
mov dword [ebp - 0x18], eax
jmp 0x41243d
mov eax, 0x5cce1e95
mov ecx, 0xfbaac245
mov dl, byte [ebp - 5]
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x41243d
mov eax, 0xa32aa03e
mov dword [ebp - 0x18], eax
jmp 0x41243d
mov eax, dword [ebp - 0x14]
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov ecx, 0x53e2b6b7
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x94], eax
jmp 0x41243d
mov dword [ebp - 0x18], 0x5cce1e95
jmp 0x41243d
mov eax, 0xa90218e
mov dword [ebp - 0x18], eax
jmp 0x41243d
mov eax, 0x2bf5c90a
mov dword [ebp - 0x18], eax
jmp 0x41243d
add esp, 0xac
pop esi
pop ebp
ret
mov dword [ebp - 0x18], 0x431ebf1
jmp 0x41243d
mov eax, dword [ebp - 0x14]
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [ebp - 0x18], 0xa32aa03e
mov dword [ebp - 0x98], eax
jmp 0x41243d
mov dword [ebp - 0x18], 0xa90218e
jmp 0x4120a8