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

Disassembly:
push rbp
sub rsp, 0xe0
lea rbp, [rsp + 0x80]
mov rax, qword [0x00442300]
mov rax, qword [rax]
xor rax, rbp
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x28], rcx
mov dword [rbp + 0x24], edx
mov qword [rbp + 0x18], r8
mov qword [rbp + 0x10], r9
mov qword [rbp + 8], 0
mov rcx, qword [str.16384]
call sub.api_ms_win_crt_convert_l1_1_0.dll_atoi
mov dword [rbp - 4], eax
mov qword [rbp - 0x10], 0x9d8
mov qword [rbp - 0x18], 0x7fd8
mov rax, qword [rbp - 0x10]
add rax, qword [rbp - 0x18]
mov ecx, dword [rbp - 4]
add rax, rcx
mov qword [rbp - 0x20], rax
mov rdx, qword [rbp - 0x20]
mov ecx, 1
call fcn.004220c0
mov qword [rbp + 8], rax
cmp qword [rbp + 0x10], 0
je 0x4274da
mov rax, qword [rbp + 0x10]
mov dword [rax], 0
mov rax, qword [rbp + 0x10]
mov dword [rax + 4], 0
mov rax, qword [rbp + 0x10]
cmp qword [rax + 0x10], 0
jbe 0x4274d5
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 8]
mov byte [rax], 0
jmp 0x4274da
cmp qword [rbp + 8], 0
jne 0x427562
cmp qword [rbp + 0x10], 0
je 0x427555
mov rax, qword [rbp + 0x10]
mov dword [rax], 6
mov rax, qword [rbp - 0x20]
mov ecx, eax
mov rax, qword [rbp + 0x10]
mov dword [rax + 4], ecx
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 8]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_strerror
mov r8, qword [rbp - 0x30]
mov r9, qword [rbp - 0x28]
mov rcx, rax
mov rax, rsp
mov qword [rax + 0x28], rcx
lea rcx, str.calloc__:__s
mov qword [rax + 0x20], rcx
xor eax, eax
mov edx, eax
mov rcx, rdx
call fcn.0041efc0
mov qword [rbp + 0x30], 0
jmp 0x42777e
mov rcx, qword [rbp + 8]
add rcx, qword [rbp - 0x10]
mov rax, qword [rbp + 8]
mov qword [rax + 0x8e0], rcx
mov rcx, qword [rbp + 8]
add rcx, qword [rbp - 0x10]
add rcx, qword [rbp - 0x18]
mov rax, qword [rbp + 8]
mov qword [rax + 0x960], rcx
mov ecx, dword [rbp - 4]
mov rax, qword [rbp + 8]
mov dword [rax + 0x984], ecx
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x8e0]
mov dword [rax], 2
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x8e0]
add rcx, 0x7d98
mov rax, qword [rbp + 8]
mov qword [rax + 0x8e8], rcx
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x8e0]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x28]
mov r8d, dword [rax + 8]
mov r9d, dword [rbp + 0x24]
mov r11, qword [rbp + 0x10]
lea r10, [rbp + 0x40]
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], r11
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x30], rax
call fcn.00432d20
cmp eax, 0
jne 0x427624
mov rcx, qword [rbp + 8]
call fcn.0041d370
mov qword [rbp + 0x30], 0
jmp 0x42777e
mov dword [rbp + 0x3c], 0x10
mov rax, qword [rbp + 8]
add rax, 0x8f8
add rax, 0x18
mov qword [rbp], rax
mov rcx, qword [rbp + 0x40]
mov rax, qword [rbp + 8]
mov qword [rax + 0x8f8], rcx
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x48]
mov qword [rax + 0x900], rcx
mov rcx, qword [rbp + 0x50]
mov qword [rax + 0x908], rcx
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp]
lea r8, [rbp + 0x3c]
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0
je 0x4276c9
mov rax, qword [rbp + 8]
mov qword [rbp - 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_strerror
mov rcx, qword [rbp - 0x38]
mov rdx, rax
mov rax, rsp
mov qword [rax + 0x30], rdx
lea r8, str.mg_connect_client_impl
mov qword [rax + 0x28], r8
lea rdx, str._s:_getsockname___failed:__s
mov qword [rax + 0x20], rdx
xor eax, eax
mov edx, eax
mov r9d, 0x47fa
call fcn.0041e440
mov edx, dword [rbp + 0x24]
xor eax, eax
mov ecx, 1
cmp edx, 0
cmovne eax, ecx
mov cl, al
mov rax, qword [rbp + 8]
mov byte [rax + 0x920], cl
mov rcx, qword [rbp + 8]
add rcx, 0x9a8
lea rdx, [0x0045ac10]
call fcn.00429c30
mov ecx, eax
xor eax, eax
cmp eax, ecx
je 0x427776
cmp qword [rbp + 0x10], 0
je 0x427756
mov rax, qword [rbp + 0x10]
mov dword [rax], 9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rax, qword [rbp + 0x10]
mov dword [rax + 4], ecx
mov rax, qword [rbp + 0x10]
mov r8, qword [rax + 8]
mov rax, qword [rbp + 0x10]
mov r9, qword [rax + 0x10]
lea rcx, str.Can_not_create_mutex
mov rax, rsp
mov qword [rax + 0x20], rcx
xor eax, eax
mov edx, eax
mov rcx, rdx
call fcn.0041efc0
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rbp + 8]
call fcn.0041d370
mov qword [rbp + 0x30], 0
jmp 0x42777e
mov rax, qword [rbp + 8]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp - 0x40], rax
mov rcx, qword [rbp + 0x58]
xor rcx, rbp
mov rax, qword [0x00442300]
mov rax, qword [rax]
sub rax, rcx
jne 0x4277a5
jmp 0x4277aa
call fcn.0041bf30
mov rax, qword [rbp - 0x40]
add rsp, 0xe0
pop rbp
ret