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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x10], edx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0xa0]
mov ebx, dword [esi + 0x1c4]
mov dword [esp + 0x10], eax
movzx eax, word [esi + 0x1cc]
mov dword [esp + 0xc], eax
mov ecx, dword [0x5fde9010]
cmp ecx, 0x5fde9010
je 0x5fda8312
test dword [ecx + 0x1c], 0x400
jne 0x5fdb81d1
test edi, edi
jne 0x5fdc3b8d
test edx, edx
je 0x5fdc3acc
sub eax, edx
add ebx, edx
mov dword [esp + 0xc], eax
test eax, eax
jne 0x5fda8380
lea eax, [esi + 0x1d0]
cmp ebx, eax
ja 0x5fda839c
movzx eax, word [esi + 0x1ce]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov word [esi + 0x1ce], ax
cmp eax, 0xc
jb 0x5fdc3b33
mov dword [esp + 0xc], eax
mov ecx, dword [0x5fde9010]
cmp ecx, 0x5fde9010
je 0x5fda8378
test dword [ecx + 0x1c], 0x200
jne 0x5fdc3b6b
cmp eax, dword [esi + 0x18c]
ja 0x5fda839c
push esi
mov dword [esi + 0x1c4], ebx
mov word [esi + 0x1cc], ax
call sym.DNSAPI.dll_Dns_RecvTcp
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [esi + 0x78]
push eax
mov dword [eax], 0x20
lea eax, [esi + 0x58]
push eax
push dword [esp + 0x18]
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x5fdad83f
and dword [esi + 0x98], 0
lea eax, [esi + 0x1d0]
and dword [esi + 0x1c4], 0
xor edx, edx
mov byte [esi + 0x1bc], 1
mov ecx, esi
rol word [eax], 8
rol word [eax + 4], 8
rol word [eax + 6], 8
rol word [eax + 8], 8
rol word [eax + 0xa], 8
push 1
call fcn.5fd8f3ab
mov eax, dword [0x5fde9010]
test byte [eax + 0x1c], 0x80
jne 0x5fdad82f
xor eax, eax
jmp 0x5fda8393
push esi
push 0x5fdad84c
call fcn.5fdd6020
jmp 0x5fda840a
mov ecx, dword [0x5fde9010]
jmp 0x5fdc3b8d
push eax
push edi
push dword [ecx + 0x14]
mov edx, 0x5fd8bc80
push dword [ecx + 0x10]
push 0x79
pop ecx
call fcn.5fdc81e7
mov ecx, dword [0x5fde9010]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
jmp 0x5fda8312
cmp ecx, 0x5fde9010
je 0x5fdc3afa
test dword [ecx + 0x1c], 0x200
je 0x5fdc3afa
push dword [esp + 0x10]
mov edx, 0x5fd8bc80
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x7e
pop ecx
call fcn.5fdc7d09
mov ecx, dword [0x5fde9010]
lea eax, [esi + 0x1ce]
cmp word [eax], 0
jne 0x5fdc3b14
cmp ebx, eax
jne 0x5fdc3b14
mov edi, 0x251f
jmp 0x5fdc3cbe
cmp ecx, 0x5fde9010
je 0x5fdc3b5e
test dword [ecx + 0x1c], 0x10000000
je 0x5fdc3b5e
push dword [esp + 0xc]
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x7f
jmp 0x5fdc3b53
mov ecx, dword [0x5fde9010]
cmp ecx, 0x5fde9010
je 0x5fdc3b5e
test dword [ecx + 0x1c], 0x400
je 0x5fdc3b5e
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x7a
mov edx, 0x5fd8bc80
pop ecx
call fcn.5fdc7d09
lea ecx, [esi + 0x18]
call fcn.5fdd4c5b
jmp 0x5fdc3cb9
push esi
push dword [esp + 0x14]
mov edx, 0x5fd8bc80
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x7b
pop ecx
call fcn.5fdc8d83
mov eax, dword [esp + 0xc]
jmp 0x5fda8378
lea eax, [esi + 0x1ce]
cmp ebx, eax
jne 0x5fdc3be5
cmp edi, 0x274a
je 0x5fdc3baf
cmp edi, 0x2745
je 0x5fdc3baf
cmp edi, 0x2746
jne 0x5fdc3be5
cmp ecx, 0x5fde9010
je 0x5fdc3cb5
test dword [ecx + 0x1c], 0x200
je 0x5fdc3cb5
push dword [esp + 0x10]
mov edx, 0x5fd8bc80
push edi
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x7c
pop ecx
call fcn.5fdc81e7
jmp 0x5fdc3cb5
cmp ecx, 0x5fde9010
je 0x5fdc3c18
test dword [ecx + 0x1c], 0x10000000
je 0x5fdc3c18
push edi
push dword [esp + 0x10]
mov eax, ebx
mov edx, 0x5fd8bc80
sub eax, esi
sub eax, 0x1ce
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x7d
pop ecx
call fcn.5fdc8d83
push edi
push dword [esp + 0x10]
sub ebx, esi
sub ebx, 0x1ce
push ebx
push dword [esp + 0x1c]
push 0x5fdc3c40
push 0x5fdc3c88
call fcn.5fde34dd
add esp, 0x18
jmp 0x5fdc3cb5
test edi, edi
jne 0x5fdc3cbe
mov edi, 0x251e
mov eax, edi
jmp 0x5fda8393