Function at 0x45a210
Capabilities:
Get local ipv4 addresses
Get socket information
Resolve function by parsing pe exports
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x675038
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x702ca8]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x64], esi
call fcn.00432fc0
xor ebx, ebx
mov dword [esp + 0x70], ebx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
lea ebp, [esi + 0x90]
mov dword [ebp], eax
mov eax, dword [esp + 0x84]
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
lea ecx, [esi + 0xa0]
mov dword [esi], 0x6c57b8
mov dword [esi + 0x20], 0x6c5808
mov dword [ebp + 0xc], eax
call fcn.00432fc0
lea edi, [esi + 0x130]
mov ecx, edi
call fcn.00432fc0
fldz
fst qword [edi + 0xb8]
mov dword [edi], 0x6c1458
mov dword [edi + 0x20], 0x6c14a8
fld qword [0x6c7a58]
fst qword [edi + 0xc8]
mov eax, edi
faddp st(1)
fstp qword [edi + 0xc0]
call fcn.0046e820
mov byte [esp + 0x70], 2
fld qword [0x6dda48]
push 0xffffffffffffffff
fstp qword [esi + 0x240]
push 1
lea ecx, [esi + 0x250]
mov byte [esi + 0x248], bl
call fcn.004363b0
lea ecx, [esi + 0x330]
call fcn.00432fc0
mov byte [esp + 0x70], 4
fldz
mov ecx, dword [esi + 0x94]
fst qword [esi + 0x3c0]
fst qword [esi + 0x3c8]
push ecx
fstp qword [esi + 0x3d0]
mov dword [esi + 0x3d8], ebx
call dword [sym.imp.WSOCK32.dll_htonl]
cmp eax, 0x7f000001
jne 0x45a33c
mov edx, dword [0x717c9c]
mov eax, dword [edx + 0x24]
cmp byte [eax + 8], bl
je 0x45a33c
lea eax, [ebx + 1]
jmp 0x45a33e
xor eax, eax
test al, al
mov byte [esi + 0x248], al
je 0x45a452
mov ecx, dword [0x717c9c]
mov eax, dword [ecx + 0x24]
movzx ecx, word [eax + 0x10]
movzx edx, cx
add ecx, 1
push edx
mov word [eax + 0x10], cx
call dword [sym.imp.WSOCK32.dll_htons]
lea edx, [esp + 0x40]
push edx
mov ecx, ebp
mov word [esi + 0x92], ax
call fcn.00457c70
mov ebx, 0x10
mov byte [esp + 0x70], 5
cmp dword [eax + 0x18], ebx
jb 0x45a391
mov eax, dword [eax + 4]
jmp 0x45a394
add eax, 4
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x2b
mov edi, 0xf
xor ebp, ebp
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebp
push 0x6c5568
mov byte [ecx + 4], 0
call fcn.004027b0
lea eax, [esp + 0x44]
push eax
call fcn.00488db0
add esp, 0x24
mov byte [esp + 0x70], 6
cmp dword [eax + 0x18], ebx
jb 0x45a3d7
mov eax, dword [eax + 4]
jmp 0x45a3da
add eax, 4
push eax
push 0x6c5594
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 8
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebp
push 0x6ba1c0
mov byte [ecx + 4], 0
call fcn.004027b0
mov ecx, dword [0x717c9c]
mov edx, dword [ecx + 0x10]
push edx
call fcn.0045bb10
add esp, 0x28
cmp dword [esp + 0x3c], ebx
jb 0x45a424
mov eax, dword [esp + 0x28]
push eax
call fcn.0060445c
add esp, 4
mov byte [esp + 0x70], 4
cmp dword [esp + 0x58], ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebp
mov byte [esp + 0x28], 0
jb 0x45a91c
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0060445c
add esp, 4
jmp 0x45a91c
push ebx
push 2
push 2
call dword [sym.imp.WSOCK32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0x3d8], eax
jne 0x45a4fd
push 0x2b
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x6c55b4
call fcn.00402ee0
mov eax, dword [0x717c9c]
mov ecx, dword [eax + 0x14]
lea edx, [esp + 0x60]
push edx
call fcn.00443d60
mov ebx, 0x10
mov byte [esp + 0x74], 7
cmp dword [eax + 0x18], ebx
jb 0x45a4a7
mov eax, dword [eax + 4]
jmp 0x45a4aa
add eax, 4
push eax
push 0x6c5594
push 0x6c55cc
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
lea esi, [esp + 0x38]
call fcn.00469a50
mov byte [esp + 0x80], 8
cmp dword [eax + 0x18], ebx
jb 0x45a4d7
mov eax, dword [eax + 4]
jmp 0x45a4da
add eax, 4
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x6ba0c0
call fcn.00402ee0
mov ecx, dword [0x717c9c]
mov edx, dword [ecx + 0x14]
push edx
call fcn.00443a50
lea ecx, [esp + 0x60]
push ecx
push 0x8004667e
push eax
mov dword [esp + 0x6c], 1
call dword [sym.imp.WSOCK32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x45a5b0
push 0x30
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x6c55b4
call fcn.00402ee0
mov eax, dword [0x717c9c]
mov ecx, dword [eax + 0x14]
lea edx, [esp + 0x60]
push edx
call fcn.00443d60
mov ebx, 0x10
mov byte [esp + 0x74], 9
cmp dword [eax + 0x18], ebx
jb 0x45a55a
mov eax, dword [eax + 4]
jmp 0x45a55d
add eax, 4
push eax
push 0x6c5594
push 0x6c55dc
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
lea esi, [esp + 0x38]
call fcn.00469a50
mov byte [esp + 0x80], 0xa
cmp dword [eax + 0x18], ebx
jb 0x45a58a
mov eax, dword [eax + 4]
jmp 0x45a58d
add eax, 4
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x6ba0c0
call fcn.00402ee0
mov ecx, dword [0x717c9c]
mov edx, dword [ecx + 0x14]
push edx
call fcn.00443a50
mov ecx, dword [esi + 0x3d8]
mov edi, dword [sym.imp.ws2_32.dll_setsockopt]
push 4
lea eax, [esp + 0x60]
push eax
push 0x1002
push 0xffff
push ecx
mov dword [esp + 0x70], 0x40000
call edi
cmp eax, 0xffffffff
jne 0x45a672
push 0x32
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x6c55b4
call fcn.00402ee0
mov eax, dword [0x717c9c]
mov ecx, dword [eax + 0x14]
lea edx, [esp + 0x60]
push edx
call fcn.00443d60
mov ebx, 0x10
mov byte [esp + 0x74], 0xb
cmp dword [eax + 0x18], ebx
jb 0x45a61c
mov eax, dword [eax + 4]
jmp 0x45a61f
add eax, 4
push eax
push 0x6c5594
push 0x6c5610
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
lea esi, [esp + 0x38]
call fcn.00469a50
mov byte [esp + 0x80], 0xc
cmp dword [eax + 0x18], ebx
jb 0x45a64c
mov eax, dword [eax + 4]
jmp 0x45a64f
add eax, 4
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x6ba0c0
call fcn.00402ee0
mov ecx, dword [0x717c9c]
mov edx, dword [ecx + 0x14]
push edx
call fcn.00443a50
mov ecx, dword [esi + 0x3d8]
push 4
lea eax, [esp + 0x20]
push eax
push 0x20
push 0xffff
push ecx
mov dword [esp + 0x30], 1
call edi
cmp eax, 0xffffffff
jne 0x45a72b
push 0x34
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x6c55b4
call fcn.00402ee0
mov eax, dword [0x717c9c]
mov ecx, dword [eax + 0x14]
lea edx, [esp + 0x60]
push edx
call fcn.00443d60
mov ebx, 0x10
mov byte [esp + 0x74], 0xd
cmp dword [eax + 0x18], ebx
jb 0x45a6d5
mov eax, dword [eax + 4]
jmp 0x45a6d8
add eax, 4
push eax
push 0x6c5594
push 0x6c5668
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
lea esi, [esp + 0x38]
call fcn.00469a50
mov byte [esp + 0x80], 0xe
cmp dword [eax + 0x18], ebx
jb 0x45a705
mov eax, dword [eax + 4]
jmp 0x45a708
add eax, 4
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x6ba0c0
call fcn.00402ee0
mov ecx, dword [0x717c9c]
mov edx, dword [ecx + 0x14]
push edx
call fcn.00443a50
lea eax, [esp + 0x24]
mov ebx, 0x10
push eax
mov ecx, ebp
mov dword [esp + 0x24], ebx
call fcn.00457c70
mov byte [esp + 0x70], 0xf
cmp dword [eax + 0x18], ebx
jb 0x45a74f
mov eax, dword [eax + 4]
jmp 0x45a752
add eax, 4
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x6c56c4
call fcn.00402ee0
lea ecx, [esp + 0x60]
push ecx
call fcn.00488db0
add esp, 0x24
mov byte [esp + 0x70], bl
cmp dword [eax + 0x18], ebx
jb 0x45a781
mov eax, dword [eax + 4]
jmp 0x45a784
add eax, 4
push eax
push 0x6c5594
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x6ba1c0
call fcn.00402ee0
mov edx, dword [0x717c9c]
mov eax, dword [edx + 0x10]
push eax
call fcn.0045bb10
add esp, 0x28
lea ecx, [esp + 0x40]
call fcn.00402590
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], 4
call fcn.00402590
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x3d8]
push ecx
push ebp
push edx
call dword [sym.imp.WSOCK32.dll_bind]
cmp eax, 0xffffffff
jne 0x45a86f
push 0x3f
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x6c55b4
call fcn.00402ee0
mov ecx, dword [0x717c9c]
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x60]
push eax
call fcn.00443d60
mov byte [esp + 0x74], 0x11
cmp dword [eax + 0x18], ebx
jb 0x45a819
mov eax, dword [eax + 4]
jmp 0x45a81c
add eax, 4
push eax
push 0x6c5594
push 0x6c56dc
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
lea esi, [esp + 0x38]
call fcn.00469a50
mov byte [esp + 0x80], 0x12
cmp dword [eax + 0x18], ebx
jb 0x45a849
mov eax, dword [eax + 4]
jmp 0x45a84c
add eax, 4
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x6ba0c0
call fcn.00402ee0
mov edx, dword [0x717c9c]
mov eax, dword [edx + 0x14]
push eax
call fcn.00443a50
mov edx, dword [esi + 0x3d8]
lea ecx, [esp + 0x20]
push ecx
push ebp
push edx
call dword [sym.imp.WSOCK32.dll_getsockname]
lea eax, [esp + 0x24]
push eax
mov ecx, ebp
call fcn.00457c70
mov byte [esp + 0x70], 0x13
cmp dword [eax + 0x18], ebx
jb 0x45a89d
mov eax, dword [eax + 4]
jmp 0x45a8a0
add eax, 4
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x6c5714
call fcn.00402ee0
lea ecx, [esp + 0x60]
push ecx
call fcn.00488db0
add esp, 0x24
mov byte [esp + 0x70], 0x14
cmp dword [eax + 0x18], ebx
jb 0x45a8d0
mov eax, dword [eax + 4]
jmp 0x45a8d3
add eax, 4
push eax
push 0x6c5594
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x6ba1c0
call fcn.00402ee0
mov edx, dword [0x717c9c]
mov eax, dword [edx + 0x10]
push eax
call fcn.0045bb10
add esp, 0x28
lea ecx, [esp + 0x40]
call fcn.00402590
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], 4
call fcn.00402590
xor ebp, ebp
mov edi, 0xf
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 5
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebp
push 0x6baf28
mov byte [ecx + 4], 0
call fcn.004027b0
lea ecx, [esp + 0x5c]
push ecx
call fcn.00488db0
add esp, 0x20
mov byte [esp + 0x70], 0x15
cmp dword [eax + 0x18], ebx
jb 0x45a957
mov eax, dword [eax + 4]
jmp 0x45a95a
add eax, 4
push eax
push 0x6c5594
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 8
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebp
push 0x6ba1c0
mov byte [ecx + 4], 0
call fcn.004027b0
mov edx, dword [0x717c9c]
mov eax, dword [edx + 0x10]
push eax
call fcn.0045bb10
add esp, 0x28
cmp dword [esp + 0x58], ebx
jb 0x45a9a4
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0060445c
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x10