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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47b14f
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4a83e0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x4a83e0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
and dword [esp + 0x14], 0
mov dword [esp + 0x34], eax
call fcn.00452bc0
xor edi, edi
push 6
inc edi
push edi
push 2
lea esi, [esp + 0x20]
mov dword [esp + 0x24], eax
call fcn.00425e49
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x20], ebx
and dword [esp + 0x58], 0
cmp ebx, 0xffffffff
jne 0x42633a
cmp dword [esp + 0x14], 0
je 0x42633a
mov eax, esi
push eax
mov ecx, 0x494bb4
call fcn.00414c95
push 4
pop edx
push edx
lea eax, [esp + 0x30]
push eax
push 0xffff
push ebx
lea ecx, [esp + 0x24]
lea eax, [esp + 0x23]
mov dword [esp + 0x3c], edi
mov byte [esp + 0x23], 0
call fcn.00425eb6
xor eax, eax
lea edi, [esp + 0x48]
stosd dword es:[edi], eax
add esp, 0x10
stosd dword es:[edi], eax
push 0x10
pop esi
stosd dword es:[edi], eax
push 2
stosd dword es:[edi], eax
pop eax
push 0x494bd0
mov dword [esp + 0x2c], esi
mov word [esp + 0x3c], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edi, dword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [esp + 0x3c], eax
xor eax, eax
cmp ebx, 0xffffffff
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov word [esp + 0x3a], ax
jne 0x4263b6
call fcn.00452bc0
mov ecx, 0x2719
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jmp 0x426402
push 0
call edi
push esi
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x28]
call dword [sym.imp.WS2_32.dll_bind]
mov dword [esp + 0x1c], eax
call fcn.00452bc0
mov dword [esp + 0x24], eax
call ebx
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
jne 0x4263fb
call fcn.00452bc0
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x1c], 0xffffffff
jne 0x426412
cmp dword [esp + 0x14], 0
je 0x426412
lea eax, [esp + 0x14]
jmp 0x42632f
cmp dword [esp + 0x20], 0xffffffff
jne 0x42642d
call fcn.00452bc0
mov ecx, 0x2719
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jmp 0x426482
push 0
call edi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x28]
mov dword [esp + 0x28], esi
call dword [sym.imp.WS2_32.dll_getsockname]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
call fcn.00452bc0
mov esi, eax
call ebx
mov dword [esp + 0x18], esi
xor esi, esi
mov dword [esp + 0x14], eax
cmp dword [esp + 0x24], esi
jne 0x42647b
call fcn.00452bc0
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
cmp dword [esp + 0x24], 0xffffffff
jne 0x426492
cmp dword [esp + 0x14], 0
je 0x426492
lea eax, [esp + 0x14]
jmp 0x42632f
push 0x494bd0
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x3c], eax
jne 0x4264bc
call fcn.00452bc0
mov ecx, 0x2719
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jmp 0x426500
push 0
call edi
push bind
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_listen]
mov dword [esp + 0x24], eax
call fcn.00452bc0
mov esi, eax
call ebx
mov dword [esp + 0x18], esi
xor esi, esi
mov dword [esp + 0x14], eax
cmp dword [esp + 0x24], esi
jne 0x4264f9
call fcn.00452bc0
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
cmp dword [esp + 0x24], 0xffffffff
jne 0x426510
cmp dword [esp + 0x14], 0
je 0x426510
lea eax, [esp + 0x14]
jmp 0x42632f
push 6
push 1
push 2
lea esi, [esp + 0x20]
call fcn.00425e49
add esp, 0xc
mov dword [esp + 0x1c], eax
xor esi, esi
mov byte [esp + 0x58], 1
cmp eax, 0xffffffff
jne 0x426541
cmp dword [esp + 0x14], esi
je 0x426541
lea eax, [esp + 0x14]
jmp 0x42632f
push dword [esp + 0x28]
lea ecx, [esp + 0x3c]
push ecx
push eax
lea eax, [esp + 0x20]
call fcn.00425d75
add esp, 0xc
cmp eax, 0xffffffff
jne 0x42656b
cmp dword [esp + 0x14], esi
je 0x42656b
lea eax, [esp + 0x14]
jmp 0x42632f
cmp dword [esp + 0x20], 0xffffffff
jne 0x426585
call fcn.00452bc0
mov ecx, 0x2719
mov dword [esp + 0x14], ecx
or edi, 0xffffffff
jmp 0x4265c3
push esi
call edi
push esi
push esi
push dword [esp + 0x28]
mov dword [esp + 0x30], esi
call dword [sym.imp.WS2_32.dll_accept]
mov dword [esp + 0x28], eax
call fcn.00452bc0
mov edi, eax
call ebx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x14], eax
cmp edi, 0xffffffff
jne 0x4265ba
or edi, edi
jmp 0x4265c7
call fcn.00452bc0
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], edi
mov byte [esp + 0x58], 2
cmp edi, 0xffffffff
jne 0x4265e4
cmp dword [esp + 0x14], esi
je 0x4265e4
lea eax, [esp + 0x14]
jmp 0x42632f
lea eax, [esp + 0x13]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
lea ebx, [esp + 0x38]
mov dword [esp + 0x38], 1
mov byte [esp + 0x1b], 0
call fcn.00425f5d
pop ecx
pop ecx
test eax, eax
je 0x42661d
cmp dword [esp + 0x14], 0
je 0x42661d
lea eax, [esp + 0x14]
jmp 0x42632f
push 4
lea eax, [esp + 0x30]
push eax
xor ebx, ebx
inc ebx
push 6
push dword [esp + 0x28]
lea ecx, [esp + 0x24]
mov edx, ebx
lea eax, [esp + 0x23]
mov dword [esp + 0x3c], ebx
call fcn.00425eb6
lea eax, [esp + 0x23]
push eax
mov dword [esp + 0x44], ebx
push edi
lea eax, [esp + 0x2c]
lea ebx, [esp + 0x48]
mov byte [esp + 0x2b], 0
call fcn.00425f5d
add esp, 0x18
test eax, eax
je 0x426673
cmp dword [esp + 0x14], 0
je 0x426673
lea eax, [esp + 0x14]
jmp 0x42632f
push 4
lea eax, [esp + 0x30]
push eax
xor ebx, ebx
inc ebx
push 6
push edi
lea ecx, [esp + 0x24]
mov edx, ebx
lea eax, [esp + 0x23]
mov dword [esp + 0x3c], ebx
call fcn.00425eb6
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
or dword [esp + 0x38], 0xffffffff
or dword [esp + 0x2c], 0xffffffff
add esp, 0x10
lea esi, [esp + 0x28]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov byte [esp + 0x58], bl
call fcn.00426286
lea esi, [esp + 0x1c]
mov byte [esp + 0x58], 0
call fcn.00426286
or dword [esp + 0x58], 0xffffffff
lea esi, [esp + 0x20]
call fcn.00426286
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0043e1a7
mov esp, ebp
pop ebp
ret 4