Function at 0x100050ee
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x100175bb]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.10001011
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x1000519c
push 6
call fcn.100071f9
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x100175c3]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.10001011
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x100051df
push 6
call fcn.100071f9
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x100175cb]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.10001011
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x10005222
push 6
call fcn.100071f9
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x100175d3]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.10001011
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x10005265
push 6
call fcn.100071f9
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x100175db]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.10001011
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x100052a8
push 6
call fcn.100071f9
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x100175e3]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.10001011
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x100052eb
push 6
call fcn.100071f9
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x1001760b]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.10001011
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x1000532e
push 6
call fcn.100071f9
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x1001761b]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.10001011
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x10005371
push 6
call fcn.100071f9
add esp, 4
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x24], eax
jge 0x10005733
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x100053a6
push 6
call fcn.100071f9
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x100175eb]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.10001011
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x100053e9
push 6
call fcn.100071f9
add esp, 4
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x1000540b
push 6
call fcn.100071f9
add esp, 4
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x28], eax
jge 0x10005705
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10005439
push 6
call fcn.100071f9
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x100175f3]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.10001011
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x1000547c
push 6
call fcn.100071f9
add esp, 4
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x1000549e
push 6
call fcn.100071f9
add esp, 4
cmp dword [ebp - 0x2c], 0xffffffff
je 0x100054b6
cmp dword [ebp - 0x2c], 1
je 0x100054b6
xor eax, eax
jmp 0x100054bb
mov eax, 1
test eax, eax
je 0x100054c8
jmp 0x10005733
cmp dword [ebp - 0x2c], 2
jne 0x10005500
mov dword [ebp - 0x3c], esp
push 0x64
push 0xffffffff
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x100054fb
push 6
call fcn.100071f9
add esp, 4
jmp 0x10005378
inc dword [ebp - 0x24]
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x10017603]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
lea eax, [ebp - 0x24]
push eax
fld qword [ebp - 0x48]
call fcn.10001011
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x10005546
push 6
call fcn.100071f9
add esp, 4
mov dword [ebp - 0x3c], esp
mov eax, 0
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push 0
push dword [ebp + 8]
push 0x10006f57
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10005588
push 6
call fcn.100071f9
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x10005629
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x100055b7
push 6
call fcn.100071f9
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x100175f3]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
mov eax, 0xffffffff
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
fld qword [ebp - 0x48]
call fcn.10001011
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x10005602
push 6
call fcn.100071f9
add esp, 4
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10005624
push 6
call fcn.100071f9
add esp, 4
jmp 0x10005733
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x1000564b
push 6
call fcn.100071f9
add esp, 4
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x1000566d
push 6
call fcn.100071f9
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x10017630]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.10001011
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x100056b0
push 6
call fcn.100071f9
add esp, 4
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x100056d2
push 6
call fcn.100071f9
add esp, 4
mov dword [ebp - 0x3c], esp
push 0x64
push 0xffffffff
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x100056fb
push 6
call fcn.100071f9
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x1000564b
mov dword [ebp - 0x3c], esp
push 0x64
push 0xffffffff
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x1000572e
push 6
call fcn.100071f9
add esp, 4
jmp 0x10005378
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10005755
push 6
call fcn.100071f9
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x100175eb]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.10001011
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x10005798
push 6
call fcn.100071f9
add esp, 4
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x100057ba
push 6
call fcn.100071f9
add esp, 4
mov dword [ebp - 0x3c], esp
push 0x64
push 0xffffffff
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x100057e3
push 6
call fcn.100071f9
add esp, 4
cmp dword [ebp - 0x28], 0
jne 0x10005733
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x100175f3]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.10001011
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x10005830
push 6
call fcn.100071f9
add esp, 4
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x100058ef
cmp dword [ebp + 8], 0
je 0x100058ea
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
mov dword [ebp - 0x60], 0
push 0
push dword [ebp - 0x60]
mov dword [ebp - 0x64], 0
push 0
push dword [ebp - 0x64]
push 1
push 0
push 1
push 0
push 1
push 0xffffffff
push 1
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.10005a76
jmp 0x100059e8
cmp dword [ebp - 0x2c], 0
jne 0x100059e8
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x10017613]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.10001011
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x1000593c
push 6
call fcn.100071f9
add esp, 4
cmp dword [ebp + 8], 0
je 0x100059e8
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
mov dword [ebp - 0x60], 0
push 0
push dword [ebp - 0x60]
mov dword [ebp - 0x64], 0
push 0
push dword [ebp - 0x64]
push 1
push dword [ebp - 0x38]
push 1
push dword [ebp - 0x20]
push 1
push 0
push 1
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.10005a76
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10005a0a
push 6
call fcn.100071f9
add esp, 4
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10005a2c
push 6
call fcn.100071f9
add esp, 4
mov dword [ebp - 0x3c], esp
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10005a4e
push 6
call fcn.100071f9
add esp, 4
mov dword [ebp - 0x3c], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x10005a70
push 6
call fcn.100071f9
add esp, 4
mov esp, ebp
pop ebp
ret 4