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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c50bb
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x617560]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
push esi
call fcn.0049af40
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
je 0x49a673
mov ebx, dword [ebp + 0x10]
lea eax, [ebx + 8]
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + 0x18]
push ecx
push eax
push esi
mov dword [ebp - 0x14], ecx
call fcn.0049aff0
mov esi, eax
test esi, esi
mov dword [ebp - 0x1c], esi
je 0x49a39a
mov ecx, dword [esi + 0x2c]
mov dl, byte [ecx + 0x60]
test dl, dl
je 0x49a3cc
mov dword [esi], 6
call fcn.004a87d0
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x3c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ebx, [esi + 0x1c]
mov esi, dword [edi + 0x30]
mov ecx, ebx
call fcn.0049dae0
mov esi, dword [edi + 0x34]
mov ecx, ebx
call fcn.0049dae0
mov ecx, dword [edi + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [edi + 0x30]
mov eax, dword [ecx + 8]
cmp eax, dword [edi + 0x40]
jae 0x49a673
push 0x48
mov dword [ebp - 4], 0
call fcn.004c51db
add esp, 4
test eax, eax
je 0x49a40f
mov esi, eax
call fcn.00499a50
mov ebx, eax
mov dword [ebp - 0x14], ebx
jmp 0x49a419
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + 0xc8]
mov dword [ebx + 8], eax
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx + 0x14]
mov dword [ebx + 0xc], edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], 0xffffffff
mov edx, dword [esi + 0x1c]
mov dword [eax], edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp - 0x14]
push 0x230
mov dword [ebp - 0x1c], ebx
call fcn.004c51db
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
mov byte [ebp - 4], 1
je 0x49a441
mov edi, dword [edi + 0x2c]
call fcn.0049f830
mov edi, dword [ebp - 0x18]
jmp 0x49a443
xor eax, eax
mov byte [ebp - 4], 0
mov dword [ebx + 0x2c], eax
cmp dword [edi + 0x10], 2
jne 0x49a488
push 0x10
call fcn.004c51db
add esp, 4
mov dword [ebx + 0x14], eax
push 0x10
mov word [eax + 2], 0
call fcn.004c51db
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x18], eax
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
jmp 0x49a4b4
push 0x1c
call fcn.004c51db
add esp, 4
mov dword [ebx + 0x14], eax
push 0x1c
mov word [eax + 2], 0
call fcn.004c51db
mov esi, dword [ebp + 0xc]
mov ecx, 7
mov edi, eax
mov dword [ebx + 0x18], eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x18]
mov edx, dword [0x637ab8]
add esp, 4
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x637abc]
sub eax, 1
mov dword [0x637abc], eax
lea esi, [ebx + 0x1c]
mov dword [esi], eax
mov eax, dword [0x637ab8]
push eax
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 0x2c]
mov dword [ebx + 0x20], ecx
mov edx, dword [edi + 0x10]
mov ecx, dword [esi]
mov dword [ebx + 0x10], edx
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 0x18]
add eax, 8
mov dword [ebx + 0x24], edx
mov eax, dword [eax]
mov dword [ebp - 4], 3
mov esi, dword [ebx + 0x2c]
mov dword [ebx + 0x28], eax
mov dword [ebp + 8], 0
call fcn.0049fc70
push ebx
mov eax, edi
call fcn.0049c7d0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebx + 0x2c]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.004a0e10
mov edx, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x14]
mov dword [ebx], 4
mov eax, dword [edx + 0x208]
mov eax, dword [eax + 8]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
sub edx, 2
neg edx
sbb edx, edx
and edx, 0xc
add edx, 0x10
mov dword [ebp - 0x20], edx
lea edx, [ebp - 0x20]
push edx
push ecx
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x14]
add eax, 0x214
cmp dword [ebx + 0x10], 2
jne 0x49a587
mov edx, dword [eax]
mov dword [ecx + 4], edx
jmp 0x49a58c
call fcn.004a8e40
mov eax, dword [0x637ab4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [ebp - 0x1c]
mov eax, 0x637aa8
mov dword [ebp - 4], 5
call fcn.0049d580
mov edi, dword [ebp - 0x14]
mov dword [eax], edi
jmp 0x49a5c5
mov ecx, dword [0x637ab4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov esi, dword [ebp - 0x18]
mov edx, dword [esi + 0x3c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [edi + 0x1c]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 7
mov ebx, dword [esi + 0x30]
push ecx
call fcn.00449dc0
mov dword [ebp - 4], 0xffffffff
jmp 0x49a614
mov edx, dword [esi + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x637b10]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
push eax
call ebx
cmp dword [ebp + 8], 0
jg 0x49a65a
mov ecx, dword [esi + 0x38]
push ecx
call ebx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [edi + 0x2c]
call fcn.004a12a0
mov dword [edi], 6
call fcn.004a87d0
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc