Function at 0x762ca2
Capabilities:
Get local ipv4 addresses
Get socket information

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 - 0x6c], eax
mov eax, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x80], eax
call fcn.0075f821
test eax, eax
jns 0x762d32
push 0x3e8
push 2
push 6
call fcn.00749904
add esp, 0xc
cmp eax, reloc.ws2_32.dll_WSASetLastError
jne 0x762d2b
push 0x1a
push 0xab8
push dword [0x82cac4]
push 4
call fcn.00742a56
add esp, 0x10
mov eax, 0xc800100f
jmp 0x7631b1
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 0x762d21
push esi
push edi
push 0x84bd78
call fcn.007687f9
pop ecx
xor edi, edi
jmp 0x762da5
push 0xe
call fcn.007c9be6
mov esi, eax
pop ecx
cmp esi, edi
je 0x762ddb
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 0x84bd78
call fcn.00768801
add esp, 0x1c
add ebx, 4
cmp dword [ebx], edi
jne 0x762d56
cmp dword [0x82cad8], edi
je 0x762e4c
mov ebx, 0x84be48
push ebx
call fcn.007687f9
push 0xe
call fcn.007c9be6
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
jne 0x762de7
push 0x12
push 0xaf0
jmp 0x762fa9
push 0x12
push 0xad6
jmp 0x762fa9
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 [0x84be48]
call fcn.007687aa
add esp, 0x34
test eax, eax
je 0x762e46
push 0x38
push 0xaff
jmp 0x762fa9
mov dword [0x82cad8], edi
push edi
call fcn.007cf807
pop ecx
test eax, eax
js 0x76323f
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 [0x84be48]
push eax
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], eax
call fcn.007687aa
add esp, 0x20
mov ebx, 0x598
jmp 0x762f81
push dword [ebp - 0x5c]
call fcn.007687b4
mov esi, eax
movzx eax, word [esi + 0xc]
pop ecx
push eax
push esi
call fcn.00737cce
pop ecx
push eax
movsx eax, word [esi]
push eax
call fcn.0075ecfc
add esp, 0xc
push 0x10
push esi
push edi
lea eax, reloc.ws2_32.dll_WSASetLastError
push ebx
push eax
call fcn.0075f821
push eax
call fcn.00749c83
add esp, 0x18
cmp eax, ebx
jne 0x762f0b
inc dword [ebp - 0x60]
jmp 0x762f6e
push 0x34
push 0xb3c
push dword [0x82cac4]
mov dword [ebp - 0x64], 0xe
push 4
call fcn.00742a56
push 0x10
call fcn.007c9be6
mov esi, eax
add esp, 0x14
cmp esi, edi
je 0x762fa2
push 6
pop eax
mov word [esi], ax
call fcn.0075f842
push eax
call fcn.00749ced
pop ecx
mov word [esi + 0xc], ax
lea eax, [ebp - 0x64]
push eax
push esi
call fcn.0075f821
push eax
call dword [sym.imp.ws2_32.dll_getsockname]
test eax, eax
jne 0x762fcc
push esi
push 0x84bd78
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 0x762ec4
push edi
call fcn.0075f821
push eax
call fcn.00762be9
mov eax, dword [0x84bd78]
mov esi, eax
push eax
jmp 0x763043
push 0x12
push 0xb40
push dword [0x82cac4]
push 4
call fcn.00742a56
add esp, 0x10
push edi
call fcn.0075f821
push eax
call fcn.00762be9
pop ecx
pop ecx
jmp 0x76323f
push 0x16
push 0xb49
push dword [0x82cac4]
push 4
call fcn.00742a56
push esi
call fcn.007c9cf8
add esp, 0x14
jmp 0x76323f
push esi
call fcn.007687b4
pop ecx
push 0x10
push eax
push edi
mov dword [ebp - 0x64], eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push ebx
push eax
call fcn.0075f821
push eax
call fcn.00749c83
add esp, 0x18
cmp eax, ebx
jne 0x76301b
inc dword [ebp - 0x60]
jmp 0x763032
push 0x34
push 0xb65
push dword [0x82cac4]
push 4
call fcn.00742a56
add esp, 0x10
push dword [ebp - 0x64]
call fcn.007c9cf8
push esi
call fcn.007687d6
mov esi, eax
push esi
call fcn.007687aa
add esp, 0xc
test eax, eax
je 0x762fee
push edi
cmp dword [ebp - 0x60], edi
jne 0x76307c
call fcn.0075f821
push eax
call fcn.00762be9
push 0x34
push 0xb6c
push dword [0x82cac4]
push 4
call fcn.00742a56
add esp, 0x18
jmp 0x76323f
call fcn.007cf807
add eax, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
mov esi, dword [ebp - 0x68]
pop ecx
mov dword [ebp - 0x64], eax
push edi
mov dword [ebp - 0x78], edi
call fcn.007cf807
pop ecx
mov ecx, dword [ebp - 0x64]
sub ecx, eax
mov dword [ebp - 0x7c], ecx
jns 0x7630a5
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
add esp, 0x14
cmp eax, reloc.ws2_32.dll_WSASetLastError
je 0x7631e6
cmp eax, edi
je 0x76318d
lea eax, [ebp - 0x74]
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push edi
lea eax, [ebp - 0x58]
push ebx
push eax
mov dword [ebp - 0x74], 0xe
call fcn.0075f821
push eax
call fcn.00749cb8
add esp, 0x18
cmp eax, reloc.ws2_32.dll_WSASetLastError
jne 0x763130
push 0x35
push 0xb9c
push dword [0x82cac4]
push 4
call fcn.00742a56
add esp, 0x10
jmp 0x76308e
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
jne 0x7631c7
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
jne 0x7631c7
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.00737cce
push dword [ebp - 0x80]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push 2
push dword [ebp + 0xc24]
push eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x68]
call fcn.00762892
mov esi, eax
add esp, 0x24
cmp esi, 0xc8001007
je 0x763228
cmp esi, edi
jne 0x76308e
push edi
call fcn.0075f821
push eax
call fcn.00762be9
mov eax, 0xc800100f
pop ecx
pop ecx
cmp esi, eax
jne 0x7631ad
test byte [ebp + 0xc24], 1
jne 0x7631af
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
push dword [ebp + 0x540]
push eax
call fcn.0075ecfc
push dword [ebp + 0x548]
push dword [ebp - 0x50]
call fcn.0075ecfc
jmp 0x763128
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x76308e
push 0x3c
push 0xb83
push dword [0x82cac4]
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 - 0x6c]
xor eax, eax
cmp dword [ecx], edi
setle al
jmp 0x7631af
push 0x12
push 0xbc1
push dword [0x82cac4]
push 4
call fcn.00742a56
add esp, 0x10
mov eax, 0xc800100f
jmp 0x7631af