Function at 0x1000d632
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
cmp dword [ebp + 0x1c], 0
jne 0x1000d68b
mov dword [ebp + 0x1c], 1
push getpeername
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x1000d6a0
mov eax, 0x100e404e
push eax
push 1
mov ebx, 0x10062750
call fcn.10061bbd
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 0x1000d6cc
push ebx
call fcn.10061bb1
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 0x100e5ab3
push getpeername
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x1000d705
mov eax, 0x100e404e
push eax
push 4
mov ebx, 0x100625b0
call fcn.10061bbd
add esp, 0x34
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x1000d793
push getpeername
push 0
push 0x100e5ad0
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 0x1000d75c
mov eax, 0x100e404e
push eax
push 4
mov ebx, 0x10062bf0
call fcn.10061bbd
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 0x1000d788
push ebx
call fcn.10061bb1
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
jmp 0x1000d798
jmp 0x1000d7a2
cmp dword [ebp - 4], 0
jg 0x1000d6d2
push getpeername
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x1000d7b7
mov eax, 0x100e404e
push eax
push 1
mov ebx, 0x100620f0
call fcn.10061bbd
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, 0x10061e90
call fcn.10061bbd
add esp, 0x1c
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
fld qword [ebp - 0x40]
ftst
fnstsw ax
test ah, 1
je 0x1000d813
fchs
fcomp qword [0x100e5ad3]
fnstsw ax
test ah, 0x41
jne 0x1000d82e
mov eax, 0
jmp 0x1000dabc
push dword [ebp + 0x10]
call fcn.1000184b
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000d84d
push ebx
call fcn.10061bb1
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 0x1000d864
mov eax, 0x100e4071
push eax
push 1
mov ebx, 0x10062110
call fcn.10061bbd
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 0x1000daaf
cmp dword [ebp + 0x14], 0
je 0x1000d8cf
fild dword [ebp - 0x10]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fsub qword [0x100e408b]
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.100013aa
mov dword [ebp - 0x14], eax
jmp 0x1000d8fb
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 [0x100e408b]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.100013aa
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, 0x100650b0
call fcn.10061bbd
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1000d938
push ebx
call fcn.10061bb1
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 0x1000da89
mov ebx, dword [ebp - 0x18]
call fcn.100017d4
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x1000d973
push 4
call fcn.10061b99
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000d986
push 1
call fcn.10061b99
add esp, 4
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 8]
call fcn.100017d4
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x1000d9a8
push 4
call fcn.10061b99
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000d9bb
push 1
call fcn.10061b99
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 0x1000da72
mov ebx, dword [ebp - 8]
call fcn.100017d4
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x1000d9ed
push 4
call fcn.10061b99
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000da00
push 1
call fcn.10061b99
add esp, 4
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp byte [ebx], 0xcc
je 0x1000da56
mov ebx, dword [ebp - 0x18]
call fcn.100017d4
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x1000da2e
push 4
call fcn.10061b99
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000da41
push 1
call fcn.10061b99
add esp, 4
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
cmp byte [ebx], 0xcc
je 0x1000da56
xor eax, eax
jmp 0x1000da5b
mov eax, 1
test eax, eax
je 0x1000da6d
jmp 0x1000da81
jmp 0x1000da89
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xc], eax
jne 0x1000da81
inc dword [ebp - 0x20]
pop eax
pop ebx
pop ecx
jmp 0x1000d948
add esp, 0xc
mov eax, dword [ebp + 0x1c]
cmp dword [ebp - 0x20], eax
jl 0x1000daa7
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x14]
jmp 0x1000dabc
pop eax
pop ebx
pop ecx
jmp 0x1000d886
add esp, 0xc
mov eax, 0
jmp 0x1000dabc
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000dacd
push ebx
call fcn.10061bb1
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1000dadd
push ebx
call fcn.10061bb1
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x1c