Function at 0x41d250
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x80a4
call fcn.00464c10
mov eax, dword [0x4efa64]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x8060], 0
mov dword [ebp - 0x807c], 0
push 0
call fcn.0041c610
add esp, 4
mov dword [ebp - 0x802c], eax
cmp dword [ebp - 0x802c], 0
jne 0x41d29f
mov eax, dword [ebp - 0x802c]
jmp 0x41dfbe
push str.COMMDEBUG
call fcn.00482fd0
add esp, 4
test eax, eax
je 0x41d2bd
mov eax, dword [ebp - 0x802c]
mov dword [eax + 0x64], 1
push str.COMMTRACE
call fcn.00482fd0
add esp, 4
mov dword [ebp - 0x8084], eax
cmp dword [ebp - 0x8084], 0
je 0x41d303
mov ecx, dword [ebp - 0x802c]
mov dword [ecx + 0x68], 1
push 0x4e2b24
mov edx, dword [ebp - 0x8084]
push edx
call fcn.00413c90
add esp, 8
mov ecx, dword [ebp - 0x802c]
mov dword [ecx + 0x6c], eax
mov edx, dword [ebp - 0x802c]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x802c]
mov dword [ecx + 0x60], 0
mov edx, dword [ebp - 0x802c]
mov dword [edx + 0x84], 0
cmp dword [ebp + 0xc], 0xb
jne 0x41d447
mov eax, dword [ebp - 0x802c]
mov dword [eax + 0xc], 1
cmp dword [ebp + 0x10], 0
je 0x41d356
mov ecx, dword [ebp - 0x802c]
mov edx, dword [ebp + 0x10]
mov dword [ecx], edx
jmp 0x41d364
mov eax, dword [ebp - 0x802c]
mov ecx, dword [ebp - 0x802c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x802c]
mov dword [edx + 8], 3
mov eax, dword [ebp - 0x802c]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x80], ecx
mov dword [ebp - 0x8038], 0
jmp 0x41d39b
mov edx, dword [ebp - 0x8038]
add edx, 1
mov dword [ebp - 0x8038], edx
mov eax, dword [ebp - 0x802c]
mov ecx, dword [ebp - 0x8038]
cmp ecx, dword [eax + 0x84]
jae 0x41d3d4
mov edx, dword [ebp - 0x8038]
mov eax, dword [ebp - 0x802c]
mov ecx, dword [ebp - 0x802c]
mov edx, dword [eax + edx*4 + 0x88]
cmp edx, dword [ecx + 0x80]
jne 0x41d3d2
jmp 0x41d3d4
jmp 0x41d38c
mov eax, dword [ebp - 0x802c]
mov ecx, dword [ebp - 0x8038]
cmp ecx, dword [eax + 0x84]
jne 0x41d434
mov edx, dword [ebp - 0x802c]
cmp dword [edx + 0x84], 0x1000
jae 0x41d434
mov eax, dword [ebp - 0x8038]
mov ecx, dword [ebp - 0x802c]
mov edx, dword [ebp - 0x802c]
mov edx, dword [edx + 0x80]
mov dword [ecx + eax*4 + 0x88], edx
mov eax, dword [ebp - 0x802c]
mov ecx, dword [eax + 0x84]
add ecx, 1
mov edx, dword [ebp - 0x802c]
mov dword [edx + 0x84], ecx
xor eax, eax
jne 0x41d380
mov eax, dword [ebp - 0x802c]
jmp 0x41dfbe
mov ecx, dword [ebp + 0xc]
and ecx, 4
je 0x41d4b7
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x8030], eax
cmp dword [ebp + 0xc], 5
jne 0x41d4b2
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.00465af0
add esp, 0xc
mov eax, 2
mov word [ebp - 0x20], ax
movzx ecx, word [ebp + 0x1c]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
mov edx, dword [0x4c2430]
mov dword [ebp - 0x18], edx
mov eax, dword [0x4c2434]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x4c2438]
mov dword [ebp - 0x10], ecx
mov edx, dword [0x4c243c]
mov dword [ebp - 0xc], edx
jmp 0x41d5c7
cmp dword [ebp + 0xc], 2
jne 0x41d4d9
push 0
push 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x8030], eax
jmp 0x41d5c7
cmp dword [ebp + 0xc], 3
jne 0x41d5c7
mov dword [ebp - 0x806c], 6
push 0
push 1
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x8030], eax
cmp dword [ebp - 0x8030], 0xffffffff
jne 0x41d524
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x8030], eax
mov dword [ebp - 0x806c], 4
cmp dword [ebp - 0x8030], 0xffffffff
je 0x41d5c7
mov dword [ebp - 0x8090], 0
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.00465af0
add esp, 0xc
movzx eax, word [ebp + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
mov ecx, dword [0x4c2430]
mov dword [ebp - 0x18], ecx
mov edx, dword [0x4c2434]
mov dword [ebp - 0x14], edx
mov eax, dword [0x4c2438]
mov dword [ebp - 0x10], eax
mov ecx, dword [0x4c243c]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x806c], 4
jne 0x41d592
mov dword [ebp - 0x8070], 2
jmp 0x41d59c
mov dword [ebp - 0x8070], 0x17
mov dx, word [ebp - 0x8070]
mov word [ebp - 0x20], dx
push 4
lea eax, [ebp - 0x8090]
push eax
push 0x1b
push 0x29
mov ecx, dword [ebp - 0x8030]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [ebp - 0x80a4], eax
cmp dword [ebp - 0x8030], 0xffffffff
jne 0x41d5f7
mov edx, dword [ebp - 0x802c]
mov dword [edx + 0x58], 0xffffff29
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebp - 0x802c]
mov dword [ecx + 0x5c], eax
mov eax, dword [ebp - 0x802c]
jmp 0x41dfbe
cmp dword [ebp + 0xc], 2
jne 0x41db40
mov dword [ebp - 0x8048], 0
mov dword [ebp - 0x805c], 0
mov dword [ebp - 0x8068], 1
lea edx, [ebp - 0x8068]
push edx
push 0x8004667e
mov eax, dword [ebp - 0x8030]
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp dword [ebp - 0x805c], 0
jne 0x41da95
cmp dword [ebp - 0x8048], 0
jne 0x41da95
mov ecx, dword [ebp - 0x802c]
cmp dword [ecx + 0x60], 5
jge 0x41da95
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x8030]
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x41d695
mov dword [ebp - 0x8048], 1
jmp 0x41da95
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x8034], eax
cmp dword [ebp - 0x8034], 0x2748
jg 0x41d704
cmp dword [ebp - 0x8034], 0x2748
je 0x41da63
cmp dword [ebp - 0x8034], 0x2734
jg 0x41d6f3
cmp dword [ebp - 0x8034], 0x2734
je 0x41d75d
cmp dword [ebp - 0x8034], 0
je 0x41d75d
cmp dword [ebp - 0x8034], 0x2733
je 0x41d75d
jmp 0x41da7b
cmp dword [ebp - 0x8034], 0x2747
je 0x41d739
jmp 0x41da7b
cmp dword [ebp - 0x8034], 0x274d
je 0x41da6f
cmp dword [ebp - 0x8034], 0x2750
je 0x41da6f
cmp dword [ebp - 0x8034], 0x2751
je 0x41da6f
jmp 0x41da7b
mov ecx, dword [ebp - 0x802c]
mov edx, dword [ecx + 0x60]
add edx, 1
mov eax, dword [ebp - 0x802c]
mov dword [eax + 0x60], edx
push 0xa
call fcn.004147e0
add esp, 4
jmp 0x41da90
mov dword [ebp - 0x8074], 5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jne 0x41d77b
mov dword [ebp - 0x8074], 1
mov dword [ebp - 0x4024], 0
mov dword [ebp - 0x803c], 0
jmp 0x41d7a0
mov ecx, dword [ebp - 0x803c]
add ecx, 1
mov dword [ebp - 0x803c], ecx
mov edx, dword [ebp - 0x803c]
cmp edx, dword [ebp - 0x4024]
jae 0x41d7c7
mov eax, dword [ebp - 0x803c]
mov ecx, dword [ebp + eax*4 - 0x4020]
cmp ecx, dword [ebp - 0x8030]
jne 0x41d7c5
jmp 0x41d7c7
jmp 0x41d791
mov edx, dword [ebp - 0x803c]
cmp edx, dword [ebp - 0x4024]
jne 0x41d803
cmp dword [ebp - 0x4024], 0x1000
jae 0x41d803
mov eax, dword [ebp - 0x803c]
mov ecx, dword [ebp - 0x8030]
mov dword [ebp + eax*4 - 0x4020], ecx
mov edx, dword [ebp - 0x4024]
add edx, 1
mov dword [ebp - 0x4024], edx
xor eax, eax
jne 0x41d785
mov dword [ebp - 0x8028], 0
mov dword [ebp - 0x8040], 0
jmp 0x41d830
mov ecx, dword [ebp - 0x8040]
add ecx, 1
mov dword [ebp - 0x8040], ecx
mov edx, dword [ebp - 0x8040]
cmp edx, dword [ebp - 0x8028]
jae 0x41d857
mov eax, dword [ebp - 0x8040]
mov ecx, dword [ebp + eax*4 - 0x8024]
cmp ecx, dword [ebp - 0x8030]
jne 0x41d855
jmp 0x41d857
jmp 0x41d821
mov edx, dword [ebp - 0x8040]
cmp edx, dword [ebp - 0x8028]
jne 0x41d893
cmp dword [ebp - 0x8028], 0x1000
jae 0x41d893
mov eax, dword [ebp - 0x8040]
mov ecx, dword [ebp - 0x8030]
mov dword [ebp + eax*4 - 0x8024], ecx
mov edx, dword [ebp - 0x8028]
add edx, 1
mov dword [ebp - 0x8028], edx
xor eax, eax
jne 0x41d815
mov eax, dword [ebp + 0x14]
cdq
mov ecx, 5
idiv ecx
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x14], 0
jg 0x41d8b6
mov dword [ebp + 0x14], 1
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x808c], edx
mov dword [ebp - 0x8088], 0
mov dword [ebp - 0x8058], 0
jmp 0x41d8e4
mov eax, dword [ebp - 0x8058]
add eax, 1
mov dword [ebp - 0x8058], eax
mov ecx, dword [ebp - 0x8058]
cmp ecx, dword [ebp - 0x8074]
jge 0x41da4e
lea edx, [ebp - 0x808c]
push edx
lea eax, [ebp - 0x8028]
push eax
lea ecx, [ebp - 0x4024]
push ecx
push 0
push 0x1000
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x8094], eax
cmp dword [ebp - 0x8094], 0
jle 0x41d9b0
mov dword [ebp - 0x8098], 4
lea edx, [ebp - 0x8098]
push edx
lea eax, [ebp - 0x8060]
push eax
push 0x1007
push 0xffff
mov ecx, dword [ebp - 0x8030]
push ecx
call dword [sym.imp.WS2_32.dll_getsockopt]
mov dword [ebp - 0x8078], eax
cmp dword [ebp - 0x8078], 0
jne 0x41d97b
cmp dword [ebp - 0x8078], 0
jne 0x41d98a
cmp dword [ebp - 0x8060], 0
je 0x41d98a
mov dword [ebp - 0x807c], 1
jmp 0x41da4e
lea edx, [ebp - 0x4024]
push edx
mov eax, dword [ebp - 0x8030]
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x41d9b0
mov dword [ebp - 0x8048], 1
jmp 0x41da4e
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x808c], ecx
mov dword [ebp - 0x8088], 0
mov dword [ebp - 0x8044], 0
jmp 0x41d9de
mov edx, dword [ebp - 0x8044]
add edx, 1
mov dword [ebp - 0x8044], edx
mov eax, dword [ebp - 0x8044]
cmp eax, dword [ebp - 0x4024]
jae 0x41da05
mov ecx, dword [ebp - 0x8044]
mov edx, dword [ebp + ecx*4 - 0x4020]
cmp edx, dword [ebp - 0x8030]
jne 0x41da03
jmp 0x41da05
jmp 0x41d9cf
mov eax, dword [ebp - 0x8044]
cmp eax, dword [ebp - 0x4024]
jne 0x41da41
cmp dword [ebp - 0x4024], 0x1000
jae 0x41da41
mov ecx, dword [ebp - 0x8044]
mov edx, dword [ebp - 0x8030]
mov dword [ebp + ecx*4 - 0x4020], edx
mov eax, dword [ebp - 0x4024]
add eax, 1
mov dword [ebp - 0x4024], eax
xor ecx, ecx
jne 0x41d9c3
jmp 0x41d8d5
cmp dword [ebp - 0x8048], 0
jne 0x41da61
mov dword [ebp - 0x805c], 1
jmp 0x41da90
mov dword [ebp - 0x8048], 1
jmp 0x41da90
mov dword [ebp - 0x805c], 1
jmp 0x41da90
mov edx, dword [ebp - 0x802c]
mov eax, dword [edx + 0x60]
add eax, 1
mov ecx, dword [ebp - 0x802c]
mov dword [ecx + 0x60], eax
jmp 0x41d638
cmp dword [ebp - 0x8048], 0
jne 0x41db0b
mov edx, dword [ebp - 0x802c]
mov dword [edx + 0x58], 0xffffff2e
cmp dword [ebp - 0x807c], 0
je 0x41dac5
mov eax, dword [ebp - 0x802c]
mov ecx, dword [ebp - 0x8060]
mov dword [eax + 0x5c], ecx
jmp 0x41dad4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [ebp - 0x802c]
mov dword [edx + 0x5c], eax
push 2
mov eax, dword [ebp - 0x8030]
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [ebp - 0x8030]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [ebp - 0x802c]
mov dword [edx + 0x80], 0xffffffff
mov eax, dword [ebp - 0x802c]
jmp 0x41dfbe
mov eax, dword [ebp - 0x802c]
mov dword [eax + 0x60], 0
mov dword [ebp - 0x8068], 0
lea ecx, [ebp - 0x8068]
push ecx
push 0x8004667e
mov edx, dword [ebp - 0x8030]
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
jmp 0x41de1c
mov eax, dword [ebp + 0xc]
and eax, 1
je 0x41dcd0
cmp dword [ebp + 0x10], 0
je 0x41db5f
mov ecx, dword [ebp - 0x802c]
mov edx, dword [ebp + 0x10]
mov dword [ecx], edx
jmp 0x41db6d
mov eax, dword [ebp - 0x802c]
mov ecx, dword [ebp - 0x802c]
mov dword [eax], ecx
push 0x1c
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x8030]
push eax
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x41dbd7
mov ecx, dword [ebp - 0x802c]
mov dword [ecx + 0x58], 0xffffff2f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [ebp - 0x802c]
mov dword [edx + 0x5c], eax
push 2
mov eax, dword [ebp - 0x8030]
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [ebp - 0x8030]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [ebp - 0x802c]
mov dword [edx + 0x80], 0xffffffff
mov eax, dword [ebp - 0x802c]
jmp 0x41dfbe
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x8030]
push ecx
call dword [sym.imp.WS2_32.dll_listen]
cmp dword [ebp + 0xc], 3
jne 0x41dc00
mov edx, dword [ebp - 0x802c]
mov dword [edx + 0xc], 1
jmp 0x41dccb
mov eax, dword [ebp - 0x802c]
mov dword [eax + 0x54], 1
mov dword [ebp - 0x804c], 0
jmp 0x41dc28
mov ecx, dword [ebp - 0x804c]
add ecx, 1
mov dword [ebp - 0x804c], ecx
mov edx, dword [ebp - 0x802c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x804c]
cmp ecx, dword [eax + 0x84]
jae 0x41dc5f
mov edx, dword [ebp - 0x802c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x804c]
mov edx, dword [eax + ecx*4 + 0x88]
cmp edx, dword [ebp - 0x8030]
jne 0x41dc5d
jmp 0x41dc5f
jmp 0x41dc19
mov eax, dword [ebp - 0x802c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x804c]
cmp edx, dword [ecx + 0x84]
jne 0x41dcc3
mov eax, dword [ebp - 0x802c]
mov ecx, dword [eax]
cmp dword [ecx + 0x84], 0x1000
jae 0x41dcc3
mov edx, dword [ebp - 0x802c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x804c]
mov edx, dword [ebp - 0x8030]
mov dword [eax + ecx*4 + 0x88], edx
mov eax, dword [ebp - 0x802c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x84]
add edx, 1
mov eax, dword [ebp - 0x802c]
mov ecx, dword [eax]
mov dword [ecx + 0x84], edx
xor edx, edx
jne 0x41dc0d
jmp 0x41de1c
cmp dword [ebp + 0xc], 4
jne 0x41de1c
mov dword [ebp - 0x809c], 1
push 4
lea eax, [ebp - 0x809c]
push eax
push 0x20
push 0xffff
mov ecx, dword [ebp - 0x8030]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [ebp - 0x8064], eax
cmp dword [ebp - 0x8064], 0xffffffff
jne 0x41dd63
mov edx, dword [ebp - 0x802c]
mov dword [edx + 0x58], 0xffffff27
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebp - 0x802c]
mov dword [ecx + 0x5c], eax
push 2
mov edx, dword [ebp - 0x8030]
push edx
call dword [sym.imp.WS2_32.dll_shutdown]
mov eax, dword [ebp - 0x8030]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 0x802c]
mov dword [ecx + 0x80], 0xffffffff
mov eax, dword [ebp - 0x802c]
jmp 0x41dfbe
mov edx, 2
mov eax, dword [ebp - 0x802c]
mov word [eax + 0x8090], dx
mov dword [ebp - 0x80a0], 0x1c
lea ecx, [ebp - 0x80a0]
push ecx
mov edx, dword [ebp - 0x802c]
add edx, 0x8090
push edx
push 0
push 2
push str.255.255.255.255
call dword [sym.imp.WS2_32.dll_WSAStringToAddressA]
mov dword [ebp - 0x8064], eax
cmp dword [ebp - 0x8064], 0
je 0x41de04
mov eax, dword [ebp - 0x802c]
mov dword [eax + 0x58], 0xffffff26
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebp - 0x802c]
mov dword [ecx + 0x5c], eax
push 2
mov edx, dword [ebp - 0x8030]
push edx
call dword [sym.imp.WS2_32.dll_shutdown]
mov eax, dword [ebp - 0x8030]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 0x802c]
mov dword [ecx + 0x80], 0xffffffff
mov eax, dword [ebp - 0x802c]
jmp 0x41dfbe
push 0x13bd
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [ebp - 0x802c]
mov word [edx + 0x8092], ax
mov eax, dword [ebp - 0x802c]
mov ecx, dword [ebp - 0x8030]
mov dword [eax + 0x80], ecx
mov dword [ebp - 0x8050], 0
jmp 0x41de49
mov edx, dword [ebp - 0x8050]
add edx, 1
mov dword [ebp - 0x8050], edx
mov eax, dword [ebp - 0x802c]
mov ecx, dword [ebp - 0x8050]
cmp ecx, dword [eax + 0x84]
jae 0x41de7c
mov edx, dword [ebp - 0x8050]
mov eax, dword [ebp - 0x802c]
mov ecx, dword [eax + edx*4 + 0x88]
cmp ecx, dword [ebp - 0x8030]
jne 0x41de7a
jmp 0x41de7c
jmp 0x41de3a
mov edx, dword [ebp - 0x802c]
mov eax, dword [ebp - 0x8050]
cmp eax, dword [edx + 0x84]
jne 0x41ded6
mov ecx, dword [ebp - 0x802c]
cmp dword [ecx + 0x84], 0x1000
jae 0x41ded6
mov edx, dword [ebp - 0x8050]
mov eax, dword [ebp - 0x802c]
mov ecx, dword [ebp - 0x8030]
mov dword [eax + edx*4 + 0x88], ecx
mov edx, dword [ebp - 0x802c]
mov eax, dword [edx + 0x84]
add eax, 1
mov ecx, dword [ebp - 0x802c]
mov dword [ecx + 0x84], eax
xor edx, edx
jne 0x41de2e
cmp dword [ebp + 0x10], 0
je 0x41df83
mov dword [ebp - 0x8054], 0
jmp 0x41df03
mov eax, dword [ebp - 0x8054]
add eax, 1
mov dword [ebp - 0x8054], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x8054]
cmp edx, dword [ecx + 0x84]
jae 0x41df30
mov eax, dword [ebp - 0x8054]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + eax*4 + 0x88]
cmp edx, dword [ebp - 0x8030]
jne 0x41df2e
jmp 0x41df30
jmp 0x41def4
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x8054]
cmp ecx, dword [eax + 0x84]
jne 0x41df7b
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x84], 0x1000
jae 0x41df7b
mov eax, dword [ebp - 0x8054]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x8030]
mov dword [ecx + eax*4 + 0x88], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x84]
add ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x84], ecx
xor eax, eax
jne 0x41dee8
mov ecx, 1
mov word [ebp - 0x8080], cx
xor edx, edx
mov word [ebp - 0x807e], dx
push 4
lea eax, [ebp - 0x8080]
push eax
push 0x80
push 0xffff
mov ecx, dword [ebp - 0x8030]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [ebp - 0x802c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464bf6
mov esp, ebp
pop ebp
ret