Function at 0x100027f0
Capabilities:
Check for software breakpoints

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
mov dword [ebp - 0x24], 0
fninit
cmp dword [ebp + 0x1c], 0
jne 0x1000284b
mov dword [ebp + 0x1c], 1
push getpeername
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x10002860
mov eax, 0x10084fb8
push eax
push 1
mov ebx, 0x1001c400
call fcn.1001ba02
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1000288c
push ebx
call fcn.1001b9f0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
push closesocket
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x1008517b
push getpeername
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x100028c5
mov eax, 0x10084fb8
push eax
push 4
mov ebx, 0x1001c280
call fcn.1001ba02
add esp, 0x34
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x10002953
push getpeername
push 0
push 0x1008517d
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push getpeername
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x1000291c
mov eax, 0x10084fb8
push eax
push 4
mov ebx, 0x1001c840
call fcn.1001ba02
add esp, 0x34
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10002948
push ebx
call fcn.1001b9f0
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
jmp 0x10002958
jmp 0x10002962
cmp dword [ebp - 4], 0
jg 0x10002892
push getpeername
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x10002977
mov eax, 0x10084fb8
push eax
push 1
mov ebx, 0x1001be90
call fcn.1001ba02
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0x80000601
push 0x40000000
push 0
fild dword [ebp - 0x28]
fstp qword [ebp - 0x30]
push 0x80000601
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 2
mov ebx, 0x1001bd60
call fcn.1001ba02
add esp, 0x1c
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
fld qword [ebp - 0x40]
ftst
fnstsw ax
test ah, 1
je 0x100029d3
fchs
fcomp qword [0x10085180]
fnstsw ax
test ah, 0x41
jne 0x100029ee
mov eax, 0
jmp 0x10002c7c
push dword [ebp + 0x10]
call fcn.10001793
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10002a0d
push ebx
call fcn.1001b9f0
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10002a24
mov eax, 0x10084fdb
push eax
push 1
mov ebx, 0x1001beb0
call fcn.1001ba02
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x10002c6f
cmp dword [ebp + 0x14], 0
je 0x10002a8f
fild dword [ebp - 0x10]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fsub qword [0x10084ff5]
fstp qword [ebp - 0x34]
fild dword [ebp + 8]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fsub qword [ebp - 0x34]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.100012f2
mov dword [ebp - 0x14], eax
jmp 0x10002abb
fild dword [ebp + 8]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fadd qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fsub qword [0x10084ff5]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.100012f2
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0x1001d7d0
call fcn.1001ba02
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10002af8
push ebx
call fcn.1001b9f0
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x10002c49
mov ebx, dword [ebp - 0x18]
call fcn.1000171c
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x10002b33
push 4
call fcn.1001b9fc
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10002b46
push 1
call fcn.1001b9fc
add esp, 4
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 8]
call fcn.1000171c
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x10002b68
push 4
call fcn.1001b9fc
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10002b7b
push 1
call fcn.1001b9fc
add esp, 4
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov al, byte [ebx]
mov ebx, dword [ebp - 0x28]
cmp byte [ebx], al
je 0x10002c32
mov ebx, dword [ebp - 8]
call fcn.1000171c
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x10002bad
push 4
call fcn.1001b9fc
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10002bc0
push 1
call fcn.1001b9fc
add esp, 4
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp byte [ebx], 0xcc
je 0x10002c16
mov ebx, dword [ebp - 0x18]
call fcn.1000171c
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x10002bee
push 4
call fcn.1001b9fc
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10002c01
push 1
call fcn.1001b9fc
add esp, 4
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
cmp byte [ebx], 0xcc
je 0x10002c16
xor eax, eax
jmp 0x10002c1b
mov eax, 1
test eax, eax
je 0x10002c2d
jmp 0x10002c41
jmp 0x10002c49
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xc], eax
jne 0x10002c41
inc dword [ebp - 0x20]
pop eax
pop ebx
pop ecx
jmp 0x10002b08
add esp, 0xc
mov eax, dword [ebp + 0x1c]
cmp dword [ebp - 0x20], eax
jl 0x10002c67
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x14]
jmp 0x10002c7c
pop eax
pop ebx
pop ecx
jmp 0x10002a46
add esp, 0xc
mov eax, 0
jmp 0x10002c7c
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10002c8d
push ebx
call fcn.1001b9f0
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10002c9d
push ebx
call fcn.1001b9f0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x1c