Function at 0x1000f220
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x1000f9c0
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
mov edi, 5
mov edx, dword fs:[0]
cmp eax, 4
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
ja 0x1000f2c9
lea ecx, [esi + eax]
mov edx, 0xfffffffb
jmp 0x1000f277
inc edx
mov esi, eax
add esi, edx
je 0x1000f2c9
movzx esi, byte [ecx + edx + 5]
test esi, esi
je 0x1000f270
cmp esi, 0xcc
je 0x1000f270
cmp esi, 0x90
je 0x1000f270
cmp eax, 1
ja 0x1000f3fd
add eax, 0xfffffffe
jmp 0x1000f2a8
inc ecx
inc eax
je 0x1000f3fd
movzx edx, byte [ecx]
test edx, edx
je 0x1000f2a0
cmp edx, 0xcc
je 0x1000f2a0
cmp edx, 0x90
je 0x1000f2a0
mov esi, 0x80000007
jmp 0x1000f4b0
xor ebx, ebx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x24], 0
movzx eax, byte [0x100ef049]
push 4
push 8
call fcn.1000be60
add esp, 8
test eax, eax
je 0x1000f4e3
mov esi, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0x100c54fc
mov dword [esi], eax
mov byte [esi + 4], 1
movzx eax, byte [0x100ef049]
push 4
push 8
call fcn.1000be60
add esp, 8
test eax, eax
je 0x1000f4fb
mov dword [eax], esi
mov dword [ebp - 0x38], eax
mov dword [eax + 4], 0x100c54fc
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x10], 5
push eax
call fcn.1000e130
add esp, 4
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
cmp byte [ebp - 0x20], 0
mov edx, 1
mov dword [eax], ecx
mov dword [eax + 4], 0x100c5514
mov dword [ebp - 0x24], 1
je 0x1000f54a
movzx eax, byte [0x100ef049]
push 1
push 1
call fcn.1000be60
add esp, 8
test eax, eax
je 0x1000f513
mov dword [ebp - 0x48], eax
mov byte [eax], 0xfb
mov dword [ebp - 0x44], 0x100c5568
mov esi, eax
movzx eax, byte [0x100ef049]
push 4
push 8
call fcn.1000be60
add esp, 8
test eax, eax
je 0x1000f52b
mov edx, dword [ebp - 0x24]
mov dword [eax], esi
mov dword [ebp - 0x20], eax
mov dword [eax + 4], 0x100c5568
cmp edx, dword [ebp - 0x2c]
jne 0x1000f3e7
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x10], 3
push eax
mov dword [ebp - 0x34], edx
call fcn.1000e130
mov edx, dword [ebp - 0x34]
add esp, 4
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
lea eax, [ecx + edx*8]
mov dword [ecx + edx*8], esi
mov ecx, 0x100c5580
jmp 0x1000f543
mov ecx, dword [ebp + 0xc]
mov esi, 0x80000007
movzx eax, byte [ecx - 5]
test eax, eax
je 0x1000f41f
cmp eax, 0xcc
je 0x1000f41f
cmp eax, 0x90
jne 0x1000f4b0
add ecx, 0xfffffffb
movzx eax, byte [ecx + 1]
test eax, eax
je 0x1000f438
cmp eax, 0xcc
je 0x1000f438
cmp eax, 0x90
jne 0x1000f4b0
movzx eax, byte [ecx + 2]
test eax, eax
je 0x1000f44e
cmp eax, 0xcc
je 0x1000f44e
cmp eax, 0x90
jne 0x1000f4b0
movzx eax, byte [ecx + 3]
test eax, eax
je 0x1000f464
cmp eax, 0xcc
je 0x1000f464
cmp eax, 0x90
jne 0x1000f4b0
movzx eax, byte [ecx + 4]
test eax, eax
je 0x1000f47a
cmp eax, 0xcc
je 0x1000f47a
cmp eax, 0x90
jne 0x1000f4b0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x30], ecx
push ecx
push eax
call fcn.1000f140
add esp, 8
mov edx, dword [ebp - 0x2c]
movzx eax, byte [ebp - 0x28]
cmp edx, reloc.WS2_32.dll_listen
jne 0x1000f4c7
test al, al
je 0x1000f4b0
mov edi, 7
mov bl, 1
jmp 0x1000f2cb
mov edx, dword [ebp + 8]
mov dword [edx + 4], esi
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov dword [edx], bind
jmp 0x1000f734
movzx esi, word [ebp - 0x27]
movzx ecx, al
movzx eax, byte [ebp - 0x25]
shl esi, 8
shl eax, 0x18
or eax, esi
mov esi, edx
or eax, ecx
mov ecx, dword [ebp - 0x24]
jmp 0x1000f4b0
mov dword [ebp - 0x10], 0
push 8
push 4
call fcn.1004d680
add esp, 8
jmp 0x1000f787
mov dword [ebp - 0x10], 6
push 8
push 4
call fcn.1004d680
add esp, 8
jmp 0x1000f787
mov dword [ebp - 0x10], 0
push 1
push 1
call fcn.1004d680
add esp, 8
jmp 0x1000f787
mov dword [ebp - 0x10], 4
push 8
push 4
call fcn.1004d680
add esp, 8
jmp 0x1000f787
inc edx
mov dword [eax + 4], ecx
mov dword [ebp - 0x24], edx
test edx, edx
je 0x1000f5a3
mov eax, dword [ebp - 0x28]
xor esi, esi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x4c], eax
xor eax, eax
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x38], esi
mov eax, dword [ecx + esi*8 + 4]
push dword [ecx + esi*8]
call dword [eax + 0x10]
add esp, 4
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
add ecx, eax
inc esi
mov eax, ecx
cmp esi, edx
jne 0x1000f570
mov esi, dword [ebp - 0x3c]
cmp eax, esi
jae 0x1000f628
movzx eax, byte [0x100ef049]
push 1
push 1
call fcn.1000be60
add esp, 8
test eax, eax
je 0x1000f760
mov byte [eax], 0x90
mov esi, eax
movzx eax, byte [0x100ef049]
push 4
push 0xc
call fcn.1000be60
add esp, 8
test eax, eax
je 0x1000f748
mov edx, dword [ebp - 0x24]
mov dword [eax], 1
mov dword [eax + 4], esi
mov dword [ebp - 0x20], eax
mov dword [eax + 8], 1
cmp edx, dword [ebp - 0x2c]
jne 0x1000f612
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x10], 1
push eax
mov dword [ebp - 0x34], edx
call fcn.1000e130
mov edx, dword [ebp - 0x34]
add esp, 4
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
lea eax, [ecx + edx*8]
mov dword [ecx + edx*8], esi
mov ecx, 0x100c5528
jmp 0x1000f543
mov eax, dword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
movsd qword [ebp - 0x48], xmm0
movzx eax, byte [0x100ef049]
push 1
push esi
call fcn.1000be60
add esp, 8
test eax, eax
je 0x1000f775
push esi
mov edi, dword [ebp - 0x30]
push edi
mov dword [ebp - 0x20], eax
push eax
call fcn.1003e760
add esp, 0xc
mov dword [ebp - 0x10], 8
lea eax, [ebp - 0x48]
mov dword [ebp - 0x30], edi
push edi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100104c0
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
movsd xmm0, qword [ebp - 0x2c]
mov edx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x30]
mov dword [ecx + 0x14], eax
movsd qword [ecx + 0xc], xmm0
mov dword [ecx], edx
mov dword [ecx + 4], edi
mov dword [ecx + 8], edx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x1c], edx
mov ecx, dword [ebp - 0x40]
test ecx, ecx
mov dword [ebp - 0x30], ecx
je 0x1000f71c
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x44]
neg ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], ecx
mov ecx, 1
jmp 0x1000f6e0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x3c]
lea eax, [eax + ecx + 1]
inc ecx
cmp eax, 1
je 0x1000f71c
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x20], ecx
mov edx, dword [eax + ecx*8 - 8]
mov eax, dword [eax + ecx*8 - 4]
mov dword [ebp - 0x10], 0xa
mov dword [ebp - 0x34], edx
push edx
mov dword [ebp - 0x38], eax
call dword [eax]
add esp, 4
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 4]
test eax, eax
je 0x1000f6d0
push dword [ecx + 8]
push eax
push dword [ebp - 0x34]
call fcn.1000be70
add esp, 0xc
jmp 0x1000f6d0
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x1000f734
shl eax, 3
push 4
push eax
push dword [ebp - 0x44]
call fcn.1000be70
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], 2
push 0xc
push 4
call fcn.1004d680
add esp, 8
jmp 0x1000f787
mov dword [ebp - 0x10], 0
push 1
push 1
call fcn.1004d660
add esp, 8
jmp 0x1000f787
mov dword [ebp - 0x10], 7
push esi
push 1
call fcn.1004d660
add esp, 8
ud2