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

Disassembly:
mov eax, 0x10ac
call fcn.10045a50
mov eax, dword [0x10080180]
xor eax, esp
mov dword [esp + 0x10a8], eax
push esi
mov esi, dword [esp + 0x10b4]
lea eax, [esp + 0xa4]
push edi
mov edi, dword [esp + 0x10bc]
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x1c], edi
push eax
push esi
mov dword [esp + 0xb4], 0x80
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1004039f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.getsockname_failed__errno_d
push 0x136
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_srcudp.c
push 3
call fcn.10034290
push str.Getting_UDP_bound_address_failed
push 0x1b4
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_srcudp.c
push 4
call fcn.10034290
add esp, 0x24
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [esp + 0x10a8]
xor ecx, esp
call fcn.10044f75
add esp, 0x10ac
ret
lea eax, [esp + 0x28]
push eax
call fcn.100348b0
add esp, 4
test al, al
jne 0x100403e1
cmp dword [esp + 0x10c0], 0
jbe 0x100403c5
mov ecx, 0x22
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x10a8]
xor ecx, esp
call fcn.10044f75
add esp, 0x10ac
ret
push ebx
lea eax, [esp + 0x2c]
push ebp
push eax
call fcn.10034780
movzx eax, ax
add esp, 4
mov dword [esp + 0x2c], eax
xor ebp, ebp
imul eax, dword [esp + 0x10c8], 0x88
mov ebx, edi
mov dword [esp + 0x10], ebp
push ebp
push ebp
mov dword [esp + 0x20], ebp
add eax, edi
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
push 0x1000
lea eax, [esp + 0xc8]
push eax
push ebp
push ebp
push 0x48000016
push esi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x10040462
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.WSAIoctl_with_SIO_ADDRESS_LIST_QUERY_failed__errno_d
push 0x1ed
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_srcudp.c
push 4
call fcn.10034290
add esp, 0x14
or eax, 0xffffffff
jmp 0x1004057f
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [esp + 0xb8], eax
jle 0x1004057d
mov ecx, 0xffffff80
sub ecx, edi
mov dword [esp + 0x1c], ecx
mov esi, dword [esp + eax*8 + 0xbc]
mov eax, dword [esp + eax*8 + 0xc0]
mov dword [esp + 0x28], eax
movzx eax, word [esi]
cmp eax, 2
je 0x100404ae
cmp eax, 0x17
jne 0x10040567
cmp word [esp + 0x30], ax
jne 0x10040567
push esi
call fcn.100349a0
add esp, 4
test al, al
jne 0x10040567
mov ecx, dword [esp + 0x1c]
lea eax, [ebx + 0x80]
add ecx, eax
xor edi, edi
mov eax, 0x78787879
imul ecx
sar edx, 6
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
je 0x10040524
mov ecx, dword [esp + 0x20]
movzx edx, word [esi]
add ecx, 4
nop word [eax + eax]
cmp word [ecx - 4], dx
jne 0x10040519
mov eax, edx
sub eax, 2
je 0x10040512
sub eax, 0x15
jne 0x10040519
mov eax, dword [ecx + 4]
cmp eax, dword [esi + 8]
jne 0x10040519
mov eax, dword [ecx + 8]
cmp eax, dword [esi + 0xc]
jmp 0x10040517
mov eax, dword [ecx]
cmp eax, dword [esi + 4]
je 0x10040563
inc edi
add ecx, 0x88
cmp edi, ebp
jb 0x100404f0
mov ebp, dword [esp + 0x10]
inc ebp
mov dword [esp + 0x10], ebp
cmp ebx, dword [esp + 0x24]
je 0x10040567
mov edi, dword [esp + 0x28]
push edi
push esi
push ebx
call sub.VCRUNTIME140.dll_memcpy
lea eax, [ebx + 0x80]
mov dword [eax], edi
push eax
push ebx
call fcn.10034dc0
push dword [esp + 0x40]
push ebx
call fcn.10034d70
add esp, 0x1c
add ebx, 0x88
jmp 0x10040567
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0xb8]
jl 0x10040480
mov eax, ebp
mov ecx, dword [esp + 0x10b8]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.10044f75
add esp, 0x10ac
ret