Function at 0x403c7f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
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 [0x42641f]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.0040227d
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 0x403d2d
push 6
call fcn.00406084
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x426427]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.0040227d
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 0x403d70
push 6
call fcn.00406084
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x42642f]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.0040227d
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 0x403db3
push 6
call fcn.00406084
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x426437]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.0040227d
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 0x403df6
push 6
call fcn.00406084
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x42643f]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.0040227d
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 0x403e39
push 6
call fcn.00406084
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x426447]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.0040227d
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 0x403e7c
push 6
call fcn.00406084
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x42646f]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.0040227d
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 0x403ebf
push 6
call fcn.00406084
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x42647f]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.0040227d
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 0x403f02
push 6
call fcn.00406084
add esp, 4
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x24], eax
jge 0x4042c4
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 0x403f37
push 6
call fcn.00406084
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x42644f]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.0040227d
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 0x403f7a
push 6
call fcn.00406084
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 0x403f9c
push 6
call fcn.00406084
add esp, 4
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x28], eax
jge 0x404296
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 0x403fca
push 6
call fcn.00406084
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x426457]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.0040227d
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 0x40400d
push 6
call fcn.00406084
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 0x40402f
push 6
call fcn.00406084
add esp, 4
cmp dword [ebp - 0x2c], 0xffffffff
je 0x404047
cmp dword [ebp - 0x2c], 1
je 0x404047
xor eax, eax
jmp 0x40404c
mov eax, 1
test eax, eax
je 0x404059
jmp 0x4042c4
cmp dword [ebp - 0x2c], 2
jne 0x404091
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 0x40408c
push 6
call fcn.00406084
add esp, 4
jmp 0x403f09
inc dword [ebp - 0x24]
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x426467]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
lea eax, [ebp - 0x24]
push eax
fld qword [ebp - 0x48]
call fcn.0040227d
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x4040d7
push 6
call fcn.00406084
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 0x4057cd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x404119
push 6
call fcn.00406084
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4041ba
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 0x404148
push 6
call fcn.00406084
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x426457]
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.0040227d
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x404193
push 6
call fcn.00406084
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 0x4041b5
push 6
call fcn.00406084
add esp, 4
jmp 0x4042c4
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 0x4041dc
push 6
call fcn.00406084
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 0x4041fe
push 6
call fcn.00406084
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x426487]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.0040227d
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 0x404241
push 6
call fcn.00406084
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 0x404263
push 6
call fcn.00406084
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 0x40428c
push 6
call fcn.00406084
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x4041dc
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 0x4042bf
push 6
call fcn.00406084
add esp, 4
jmp 0x403f09
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 0x4042e6
push 6
call fcn.00406084
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x42644f]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.0040227d
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 0x404329
push 6
call fcn.00406084
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 0x40434b
push 6
call fcn.00406084
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 0x404374
push 6
call fcn.00406084
add esp, 4
cmp dword [ebp - 0x28], 0
jne 0x4042c4
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x426457]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.0040227d
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 0x4043c1
push 6
call fcn.00406084
add esp, 4
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x4043e7
push 0
push 0
push 0xffffffff
push dword [ebp - 4]
call fcn.004044d5
jmp 0x404447
cmp dword [ebp - 0x2c], 0
jne 0x404447
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x426477]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
push 4
fld qword [ebp - 0x48]
call fcn.0040227d
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 0x404434
push 6
call fcn.00406084
add esp, 4
push dword [ebp - 0x38]
push dword [ebp - 0x20]
push 0
push dword [ebp - 4]
call fcn.004044d5
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 0x404469
push 6
call fcn.00406084
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 0x40448b
push 6
call fcn.00406084
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 0x4044ad
push 6
call fcn.00406084
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 0x4044cf
push 6
call fcn.00406084
add esp, 4
mov esp, ebp
pop ebp
ret 4