Function at 0x415a31
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
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
push dword [ebp + 0x14]
call fcn.0041583b
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x10], 1
jge 0x415a98
mov dword [ebp + 0x10], 0
mov eax, 0
jmp 0x416032
cmp dword [ebp + 0x18], 1
jge 0x415aa9
mov dword [ebp + 0x18], 0x2800
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
call fcn.00416038
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x416028
push dword [ebp + 0x18]
push dword [ebp - 4]
call fcn.0041651c
call fcn.004165b5
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x415ffc
push 0x4302a2
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.004029e9
add esp, 8
cmp eax, 0
jne 0x415b37
push 1
push dword [ebp + 0xc]
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
call fcn.00416604
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x415b2c
push ebx
call fcn.0041f114
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
jmp 0x415b4c
push 1
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.00416604
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x415fd0
push 1
push 0xffff0007
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00416896
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x415fd0
mov dword [ebp - 0x24], esp
push 0
push 0
push 4
call dword [sym.imp.KERNEL32.dll_HeapCreate]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x415bad
push 0x330
push 0x4088e41
push 6
call fcn.0041f11a
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x415fd0
fild dword [ebp + 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [0x430f76]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x43110c]
fstp qword [ebp - 0x38]
mov dword [ebp - 0x3c], esp
fld qword [ebp - 0x38]
call fcn.00401272
push eax
push 8
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x415c12
push 0x3e7
push 0x4088e41
push 6
call fcn.0041f11a
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x415fa4
mov dword [ebp - 0x24], esp
push 4
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x415c54
push 0x443
push 0x4088e41
push 6
call fcn.0041f11a
add esp, 0xc
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x430f76]
fstp qword [ebp - 0x30]
mov dword [ebp - 0x34], esp
push 4
lea eax, [ebp - 8]
push eax
fld qword [ebp - 0x30]
call fcn.00401272
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x415ca1
push 0x47f
push 0x4088e41
push 6
call fcn.0041f11a
add esp, 0xc
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x430f7e]
fstp qword [ebp - 0x30]
mov dword [ebp - 0x34], esp
push 4
lea eax, [ebp - 4]
push eax
fld qword [ebp - 0x30]
call fcn.00401272
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x415cee
push 0x4c5
push 0x4088e41
push 6
call fcn.0041f11a
add esp, 0xc
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x430f86]
fstp qword [ebp - 0x30]
mov dword [ebp - 0x34], esp
push 4
lea eax, [ebp + 0x10]
push eax
fld qword [ebp - 0x30]
call fcn.00401272
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x415d3b
push 0x50b
push 0x4088e41
push 6
call fcn.0041f11a
add esp, 0xc
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x430f8e]
fstp qword [ebp - 0x30]
mov dword [ebp - 0x34], esp
push 4
lea eax, [ebp + 0x18]
push eax
fld qword [ebp - 0x30]
call fcn.00401272
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x415d88
push 0x551
push 0x4088e41
push 6
call fcn.0041f11a
add esp, 0xc
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x430f9e]
fstp qword [ebp - 0x30]
mov dword [ebp - 0x34], esp
push 4
lea eax, [ebp + 0x1c]
push eax
fld qword [ebp - 0x30]
call fcn.00401272
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x415dd5
push 0x5f7
push 0x4088e41
push 6
call fcn.0041f11a
add esp, 0xc
mov eax, dword [ebp + 0x14]
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x415f08
push dword [ebp + 0x18]
push dword [ebp - 0x10]
call fcn.00416900
mov dword [ebp - 0x18], eax
push dword [ebp - 4]
push dword [ebp - 0x18]
call fcn.00416d9f
mov dword [ebp - 0x24], esp
mov eax, 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 0
push dword [ebp - 0x14]
push 0x41767f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x415e4a
push 0x6ce
push 0x4088e41
push 6
call fcn.0041f11a
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x415ef5
mov dword [ebp - 0x24], esp
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x415e83
push 0x748
push 0x4088e41
push 6
call fcn.0041f11a
add esp, 0xc
fild dword [ebp - 0x20]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [0x430f76]
fstp qword [ebp - 0x30]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [ebp - 0x30]
fadd qword [0x43110c]
fstp qword [ebp - 0x40]
mov dword [ebp - 0x44], esp
push 4
lea eax, [ebp - 0x1c]
push eax
fld qword [ebp - 0x40]
call fcn.00401272
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x415ee5
push 0x79a
push 0x4088e41
push 6
call fcn.0041f11a
add esp, 0xc
push dword [ebp - 0x18]
call fcn.00416dfb
inc dword [ebp - 0x20]
jmp 0x415f01
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
call fcn.00416fc8
pop eax
pop ecx
jmp 0x415dda
add esp, 8
cmp dword [ebp - 0x20], 0
jle 0x415f68
mov eax, dword [ebp - 0x20]
mov dword [ebp + 0x14], eax
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x430f96]
fstp qword [ebp - 0x30]
mov dword [ebp - 0x34], esp
push 4
lea eax, [ebp + 0x14]
push eax
fld qword [ebp - 0x30]
call fcn.00401272
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x415f68
push 0x8da
push 0x4088e41
push 6
call fcn.0041f11a
add esp, 0xc
mov eax, dword [ebp - 0x14]
jmp 0x416032
mov dword [ebp - 0x24], esp
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x415fd0
push 0x956
push 0x4088e41
push 6
call fcn.0041f11a
add esp, 0xc
mov dword [ebp - 0x24], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x415ffc
push 0x99c
push 0x4088e41
push 6
call fcn.0041f11a
add esp, 0xc
mov dword [ebp - 0x24], esp
push dword [ebp - 4]
call dword [sym.imp.WSOCK32.dll_closesocket]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x416028
push 0x9b8
push 0x4088e41
push 6
call fcn.0041f11a
add esp, 0xc
mov eax, 0
jmp 0x416032
mov esp, ebp
pop ebp
ret 0x18