Function at 0x406c3c
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
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
push 0
mov ebx, 0x274
call fcn.0042dc80
add esp, 4
mov dword [ebp - 4], eax
push reloc.EGfxLib.dll_Ordinal_4
push 0
mov ebx, dword [ebp + 0x4c]
mov eax, dword [ebx]
test eax, eax
jne 0x406c99
mov eax, 0x449242
push eax
push reloc.EGfxLib.dll_Ordinal_4
push 0
mov ebx, dword [ebp + 0x34]
mov eax, dword [ebx]
test eax, eax
jne 0x406caf
mov eax, 0x449242
push eax
push reloc.EGfxLib.dll_Ordinal_4
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x406cc5
mov eax, 0x449242
push eax
push reloc.EGfxLib.dll_Ordinal_4
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x406cdb
mov eax, 0x449242
push eax
push reloc.EGfxLib.dll_Ordinal_4
push 0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x406cf1
mov eax, 0x449242
push eax
push reloc.EGfxLib.dll_Ordinal_4
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x406d07
mov eax, 0x449242
push eax
push reloc.EGfxLib.dll_Ordinal_4
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x406d1d
mov eax, 0x449242
push eax
push reloc.EGfxLib.dll_Ordinal_4
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406d33
mov eax, 0x449242
push eax
push reloc.EGfxLib.dll_Ordinal_4
push 0
push str.MissWho
push 0x80000301
push 0
push dword [ebp - 4]
push 0xa
mov ebx, 0x2b0
call fcn.0042dcd0
add esp, 0x7c
cmp dword [ebp + 0x40], 0
je 0x406d74
cmp dword [ebp + 0x3c], 0
je 0x406d74
xor eax, eax
jmp 0x406d79
mov eax, 1
test eax, eax
je 0x406d88
mov dword [ebp + 0x3c], 0x5a
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp - 4]
push 0x408d3d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x406dca
push 6
call fcn.0042c17c
add esp, 4
mov dword [ebp - 8], eax
fild dword [ebp + 0x3c]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fmul qword [0x44a52f]
fstp qword [ebp - 0x28]
mov dword [ebp - 0x2c], esp
push 0x4bf
fld qword [ebp - 0x28]
call fcn.00401238
push eax
push 0
lea eax, [ebp - 8]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x406e1a
push 6
call fcn.0042c17c
add esp, 4
mov dword [ebp - 0xc], eax
push 0
mov ebx, 0x350
call fcn.0042e130
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x406e4d
cmp dword [ebp - 0xc], 0x102
je 0x406e4d
mov eax, 1
jmp 0x406e4f
xor eax, eax
test eax, eax
jne 0x406dcd
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x406e7e
push 6
call fcn.0042c17c
add esp, 4
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x406ea0
push 6
call fcn.0042c17c
add esp, 4
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x28c
call fcn.0042e1a0
add esp, 0x10
push reloc.WS2_32.dll_getpeername
push 0
lea eax, [ebp - 0x18]
push eax
push reloc.EGfxLib.dll_Ordinal_4
push 0
lea eax, [ebp - 0x14]
push eax
push reloc.EGfxLib.dll_Ordinal_4
push 0
lea eax, [ebp - 0x10]
push eax
push 0x80000301
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x2ac
call fcn.0042e550
add esp, 0x34
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x278
call fcn.0042eaf0
add esp, 0x10
push 0x44a537
push dword [ebp - 0x10]
call fcn.0040125f
add esp, 8
cmp eax, 0
jne 0x406f3f
cmp dword [ebp - 0xc], 0x102
je 0x406f3f
xor eax, eax
jmp 0x406f44
mov eax, 1
test eax, eax
je 0x406f7d
mov eax, 0x449269
test eax, eax
je 0x406f68
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0042c188
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x406f79
push ebx
call fcn.0042c18e
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0x48], 0
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x406fcb
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x406fb2
push eax
mov ebx, eax
call fcn.00401171
inc eax
push eax
call fcn.0042c188
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x44]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406fc5
push ebx
call fcn.0042c18e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x44]
mov dword [ebx], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x406fe5
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0042c188
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x406fea
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x406ffb
push ebx
call fcn.0042c18e
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40700b
push ebx
call fcn.0042c18e
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40701b
push ebx
call fcn.0042c18e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x4c