Function at 0x763249
Capabilities:
Connect socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
lea ebp, reloc.ws2_32.dll_WSASetLastError
sub esp, 0xc90
mov eax, dword [0x830e54]
xor eax, ebp
mov dword [ebp + reloc.ws2_32.dll_WSASetLastError], eax
mov eax, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
push ebx
mov ebx, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x74], eax
call fcn.0075f821
test eax, eax
jns 0x7632d9
push 0x3e8
push 2
push 6
call fcn.00749904
add esp, 0xc
cmp eax, reloc.ws2_32.dll_WSASetLastError
jne 0x7632d2
push 0x1a
push 0xc06
push dword [0x82cac8]
push 4
call fcn.00742a56
add esp, 0x10
mov eax, 0xc800100f
jmp 0x7637ca
push eax
call fcn.0075f7fd
pop ecx
push 1
call fcn.0075f821
push eax
call fcn.00762be9
pop ecx
pop ecx
test eax, eax
jne 0x7632c8
push esi
push edi
push 0x84bd7c
call fcn.007687f9
pop ecx
xor edi, edi
jmp 0x76334c
push 0xe
call fcn.007c9be6
mov esi, eax
pop ecx
cmp esi, edi
je 0x763382
push 6
pop eax
mov word [esi], ax
call fcn.0075f842
push eax
call fcn.00749ced
mov word [esi + 0xc], ax
push dword [ebx]
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.007c9c00
lea eax, reloc.ws2_32.dll_WSASetLastError
push esi
push eax
call fcn.00762c25
push esi
push 0x84bd7c
call fcn.00768801
add esp, 0x1c
add ebx, 4
cmp dword [ebx], edi
jne 0x7632fd
cmp dword [0x82cadc], edi
je 0x7633f3
mov ebx, 0x84be4c
push ebx
call fcn.007687f9
push 0xe
call fcn.007c9be6
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
jne 0x76338e
push 0x12
push 0xc3e
jmp 0x76355a
push 0x12
push 0xc24
jmp 0x76355a
push 0xe
push edi
push esi
call fcn.007c3430
push 6
pop eax
mov word [esi], ax
call fcn.0075f842
push eax
call fcn.00749ced
push 4
mov word [esi + 0xc], ax
lea eax, [esi + 2]
push edi
push eax
call fcn.007c3430
push 6
lea eax, [esi + 6]
push 0xff
push eax
call fcn.007c3430
push esi
push ebx
call fcn.00768801
push dword [0x84be4c]
call fcn.007687aa
add esp, 0x34
test eax, eax
je 0x7633ed
push 0x38
push 0xc4f
jmp 0x76355a
mov dword [0x82cadc], edi
push edi
call fcn.007cf807
pop ecx
test eax, eax
js 0x763839
push edi
call fcn.007cf807
or dword [ebp + reloc.ws2_32.dll_WSASetLastError], 0xffffffff
and eax, 0x1fff
mov dword [ebp + reloc.ws2_32.dll_WSASetLastError], eax
mov dword [esp], reloc.ws2_32.dll_WSASetLastError
lea eax, reloc.ws2_32.dll_WSASetLastError
push edi
push eax
mov dword [ebp + reloc.ws2_32.dll_WSASetLastError], edi
call fcn.007c3430
push dword [ebp - 0x5c]
call fcn.007c7760
inc eax
push eax
push dword [ebp - 0x5c]
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.007c2eb0
mov eax, dword [0x84be4c]
push eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x5c], eax
call fcn.007687aa
add esp, 0x20
mov ebx, 0x598
jmp 0x763532
push dword [ebp - 0x5c]
call fcn.007687b4
pop ecx
push 0x10
push eax
call fcn.0075f821
push eax
call dword [sym.imp.ws2_32.dll_connect]
cmp eax, reloc.ws2_32.dll_WSASetLastError
jne 0x763497
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
push eax
call fcn.0075ecfc
add esp, 4
push edi
lea eax, reloc.ws2_32.dll_WSASetLastError
push ebx
push eax
call fcn.0075f821
push eax
call dword [sym.imp.ws2_32.dll_send]
cmp eax, ebx
jne 0x7634b5
inc dword [ebp - 0x64]
jmp 0x76351f
push 0x34
push 0xc87
push dword [0x82cac8]
mov dword [ebp - 0x60], 0xe
push 4
call fcn.00742a56
push 0x10
call fcn.007c9be6
mov esi, eax
add esp, 0x14
cmp esi, edi
je 0x763553
push 6
pop eax
mov word [esi], ax
call fcn.0075f842
push eax
call fcn.00749ced
mov word [esi + 0xc], ax
pop ecx
lea eax, [ebp - 0x60]
push eax
push esi
mov dword [ebp - 0x60], 0x10
call fcn.0075f821
push eax
call dword [sym.imp.ws2_32.dll_getsockname]
test eax, eax
jne 0x76357d
push esi
push 0x84bd7c
call fcn.00768801
pop ecx
pop ecx
push dword [ebp - 0x5c]
call fcn.007687d6
push eax
mov dword [ebp - 0x5c], eax
call fcn.007687aa
pop ecx
pop ecx
test eax, eax
je 0x76346b
push edi
call fcn.0075f821
push eax
call fcn.00762be9
mov eax, dword [0x84bd7c]
mov esi, eax
push eax
jmp 0x763612
push 0x12
push 0xc8b
push dword [0x82cac8]
push 4
call fcn.00742a56
add esp, 0x10
push edi
call fcn.0075f821
push eax
call fcn.00762be9
pop ecx
pop ecx
jmp 0x763839
push 0x16
push 0xc95
push dword [0x82cac8]
push 4
call fcn.00742a56
push esi
call fcn.007c9cf8
add esp, 0x14
jmp 0x763839
push esi
call fcn.007687b4
pop ecx
push 0x10
push eax
mov dword [ebp - 0x60], eax
call fcn.0075f821
push eax
call dword [sym.imp.ws2_32.dll_connect]
cmp eax, reloc.ws2_32.dll_WSASetLastError
jne 0x7635cc
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
push eax
call fcn.0075ecfc
add esp, 4
push edi
lea eax, reloc.ws2_32.dll_WSASetLastError
push ebx
push eax
call fcn.0075f821
push eax
call dword [sym.imp.ws2_32.dll_send]
cmp eax, ebx
jne 0x7635ea
inc dword [ebp - 0x64]
jmp 0x763601
push 0x34
push 0xcb9
push dword [0x82cac8]
push 4
call fcn.00742a56
add esp, 0x10
push dword [ebp - 0x60]
call fcn.007c9cf8
push esi
call fcn.007687d6
mov esi, eax
push esi
call fcn.007687aa
add esp, 0xc
test eax, eax
je 0x76359f
push edi
cmp dword [ebp - 0x64], edi
jne 0x76364b
call fcn.0075f821
push eax
call fcn.00762be9
push 0x34
push 0xcc0
push dword [0x82cac8]
push 4
call fcn.00742a56
add esp, 0x18
jmp 0x763839
call fcn.007cf807
add eax, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
pop ecx
mov dword [ebp - 0x60], eax
push edi
mov dword [ebp - 0x78], edi
call fcn.007cf807
pop ecx
mov ecx, dword [ebp - 0x60]
sub ecx, eax
mov dword [ebp - 0x7c], ecx
jns 0x763671
mov dword [ebp - 0x7c], edi
mov dword [ebp + reloc.ws2_32.dll_WSASetLastError], edi
call fcn.0075f821
inc dword [ebp + reloc.ws2_32.dll_WSASetLastError]
mov dword [ebp + reloc.ws2_32.dll_WSASetLastError], eax
lea eax, [ebp - 0x7c]
push eax
push edi
lea eax, reloc.ws2_32.dll_WSASetLastError
push edi
push eax
call fcn.0075f821
inc eax
push eax
call fcn.00749c1f
mov ecx, eax
push ecx
call fcn.0075ecfc
add esp, 0x18
cmp ecx, reloc.ws2_32.dll_WSASetLastError
je 0x7637e0
cmp ecx, edi
je 0x7637a5
push 0x10
pop esi
push edi
lea eax, [ebp - 0x58]
push ebx
push eax
mov dword [ebp - 0x6c], esi
call fcn.0075f821
push eax
call dword [sym.imp.ws2_32.dll_recv]
cmp eax, ebx
je 0x7636f5
push 0x35
push 0xcf3
push dword [0x82cac8]
push 4
call fcn.00742a56
add esp, 0x10
jmp 0x76365a
lea eax, [ebp - 0x6c]
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
mov dword [ebp - 0x6c], esi
call fcn.0075f821
push eax
call dword [sym.imp.ws2_32.dll_getpeername]
cmp eax, reloc.ws2_32.dll_WSASetLastError
jne 0x763723
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
push eax
call fcn.0075ecfc
add esp, 4
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x50]
lea eax, reloc.ws2_32.dll_WSASetLastError
push dword [ebp - 0x58]
push eax
call fcn.00737cce
pop ecx
push eax
push ebx
call fcn.0075ecfc
mov eax, dword [ebp - 0x58]
add esp, 0x14
cmp eax, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
jne 0x76365a
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
jne 0x76365a
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.00737cce
push dword [ebp - 0x74]
push dword [ebp - 0x68]
push dword [ebp - 0x70]
push 2
push dword [ebp + 0xc24]
push eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x80]
call fcn.00762892
add esp, 0x24
mov dword [ebp - 0x5c], eax
cmp eax, 0xc8001007
je 0x763822
cmp eax, edi
jne 0x76365a
push edi
call fcn.0075f821
push eax
call fcn.00762be9
mov eax, 0xc800100f
pop ecx
pop ecx
cmp dword [ebp - 0x5c], eax
jne 0x7637c6
test byte [ebp + 0xc24], 1
jne 0x7637c8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
xor ecx, ebp
pop ebx
call fcn.007c1e9d
add ebp, 0xc10
leave
ret
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x76365a
push 0x3c
push 0xcd9
push dword [0x82cac8]
push 4
call fcn.00742a56
add esp, 0x10
push edi
call fcn.0075f821
push eax
call fcn.00762be9
pop ecx
pop ecx
mov ecx, dword [ebp - 0x68]
xor eax, eax
cmp dword [ecx], edi
setle al
jmp 0x7637c8
push 0x12
push 0xd21
push dword [0x82cac8]
push 4
call fcn.00742a56
add esp, 0x10
mov eax, 0xc800100f
jmp 0x7637c8