Function at 0x416a80
Capabilities:
Check for software breakpoints

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [0x463218]
push esi
mov esi, ecx
push edi
mov ebx, dword [esi + 0xc]
cmp ebp, ebx
mov dword [esp + 0x10], ebx
jne 0x416b28
mov eax, dword [esi + 0x180]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
je 0x416ace
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov edx, dword [esp + ecx*4 + 0x14]
lea ecx, [esp + ecx*4 + 0x14]
inc edx
cmp eax, edi
mov dword [ecx], edx
jne 0x416aba
lea ebx, [esp + 0x14]
lea ebp, [esi + 0x84]
mov ecx, dword [ebp]
cmp ecx, 0xa
jle 0x416af6
mov eax, dword [esi + 0x1b4]
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, 4
cmp ecx, eax
jg 0x416b06
mov edx, dword [ebx]
mov eax, dword [0x46323c]
lea ecx, [edx + eax + 1]
cmp ecx, 4
jle 0x416b1e
inc edi
add ebp, 0x34
add ebx, 4
cmp edi, 4
jl 0x416ad8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x14
ret 4
mov ebx, dword [esp + 0x10]
mov ebp, dword [0x463218]
mov eax, dword [0x463224]
mov edi, dword [esp + 0x28]
cmp eax, 0x64
jle 0x416bb4
mov eax, dword [esi + 0x1b4]
cdq
and edx, 3
add eax, edx
lea edx, [edi + edi*2]
sar eax, 2
lea ecx, [edi + edx*4]
lea edx, [eax + 3]
mov ecx, dword [esi + ecx*4 + 0x84]
cmp ecx, edx
jge 0x416cef
add eax, 5
cmp ecx, eax
jge 0x416cef
add ebx, 2
and ebx, reloc.WSOCK32.dll_closesocket
jns 0x416b78
dec ebx
or ebx, 0xfffffffc
inc ebx
cmp ebp, ebx
jne 0x416b8f
mov eax, dword [0x463290]
mov ecx, dword [0x463230]
test eax, eax
je 0x416bba
cmp edi, ecx
jne 0x416bba
mov ecx, esi
call fcn.00415530
cmp edi, eax
jne 0x416ba6
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret 4
mov ecx, dword [0x463230]
mov ebp, dword [0x463218]
jmp 0x416bba
mov ecx, dword [0x463230]
mov al, byte [0x46312c]
test al, al
je 0x416bfa
cmp dword [0x463224], 0x30
jle 0x416bfa
mov eax, ebp
and eax, reloc.WSOCK32.dll_accept
jns 0x416bda
dec eax
or eax, 0xfffffffe
inc eax
mov edx, dword [esi + 0xc]
and edx, reloc.WSOCK32.dll_accept
jns 0x416bea
dec edx
or edx, 0xfffffffe
inc edx
cmp eax, edx
je 0x416bfa
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret 4
cmp dword [0x463224], 0x98
jle 0x416ca8
cmp ecx, 4
jge 0x416ca8
and ebp, reloc.WSOCK32.dll_accept
jns 0x416c20
dec ebp
or ebp, 0xfffffffe
inc ebp
mov eax, dword [esi + 0xc]
and eax, reloc.WSOCK32.dll_accept
jns 0x416c2f
dec eax
or eax, 0xfffffffe
inc eax
cmp ebp, eax
je 0x416c7d
lea edx, [edi + edi*2]
lea eax, [edi + edx*4]
mov ebx, dword [esi + eax*4 + 0x84]
mov eax, dword [esi + 0x1b4]
cdq
and edx, 3
add eax, edx
sar eax, 2
sub eax, 2
cmp ebx, eax
jl 0x416c62
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret 4
lea edx, [ecx + ecx*2]
lea eax, [ecx + edx*4]
cmp dword [esi + eax*4 + 0x84], ebx
jge 0x416c7d
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret 4
lea edx, [edi + edi*2]
lea eax, [edi + edx*4]
mov edx, dword [esi + eax*4 + 0x84]
lea eax, [ecx + ecx*2]
sub edx, 5
lea eax, [ecx + eax*4]
cmp dword [esi + eax*4 + 0x84], edx
jge 0x416ca8
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret 4
cmp dword [0x463224], 0xc4
jle 0x416cd6
cmp ecx, 3
jle 0x416cd6
mov ecx, esi
call fcn.00415530
cmp edi, eax
jne 0x416cd0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret 4
mov ecx, dword [0x463230]
cmp dword [0x463224], 0xcc
jle 0x416b12
cmp ecx, 3
jle 0x416b12
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret 4