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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x18]
mov esi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ax, word [esi + 0x7138]
xor ebx, ebx
cmp dword [esi + 0x2c], ebx
mov word [ebp - 0x18], ax
jne 0x6c951adc
cmp word [esi + 0x718c], bx
je 0x6c951d2a
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ax, word [esi + 0x718c]
cmp ax, bx
je 0x6c951c06
lea edi, [esi + 0x71a4]
push ebx
push edi
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.6c951a16
test eax, eax
je 0x6c951c1e
push dword [esi + 0x10]
mov dword [esi + 0x71b0], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [esi + 0x7180], ebx
jne 0x6c951bdf
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x800
push eax
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [edi]
call fcn.6c954c01
test eax, eax
jne 0x6c951b2e
mov eax, dword [ebp - 0x818]
cmp eax, 0x6172794b
jne 0x6c951b9f
cmp dword [ebp - 0x814], 0x6c6c6148
jne 0x6c951b9f
push dword [ebp - 0x810]
mov ecx, esi
call fcn.6c9515f0
push dword [ebp - 4]
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
lea eax, [ebp - 0x818]
push dword [ebp - 8]
push eax
call fcn.6c95468b
jmp 0x6c951b2e
cmp ax, 0x4841
je 0x6c951bb5
cmp ax, 0x484b
je 0x6c951bb5
cmp ax, 0x484a
jne 0x6c951b2e
push dword [ebp - 0x810]
mov ecx, esi
call fcn.6c9515f0
push dword [ebp - 4]
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
lea eax, [ebp - 0x818]
push dword [ebp - 8]
push eax
call fcn.6c9538eb
jmp 0x6c951b2e
mov ecx, esi
call fcn.6c9519ee
cmp dword [edi], 0xffffffff
je 0x6c951bf4
push 2
push dword [edi]
call fcn.6c954b00
mov ecx, esi
mov dword [edi], 0xffffffff
call fcn.6c9519fc
jmp 0x6c951d2a
lea edi, [esi + 0x71a8]
push edi
push ebx
push ebx
push dword [esi + 0x7138]
call fcn.6c954b5b
cmp eax, ebx
je 0x6c951c2c
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x6c951d2a
push dword [esi + 0x10]
mov dword [esi + 0x71ac], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x10
lea eax, [ebp - 4]
pop ebx
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], ebx
push dword [edi]
call sub.WSOCK32.dll_getsockname
cmp dword [esi + 0x30], 0
je 0x6c951d08
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x800
push eax
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], ebx
push dword [edi]
call fcn.6c954c01
test eax, eax
jne 0x6c951c54
cmp dword [ebp - 0x818], 0x6172794b
jne 0x6c951cc5
cmp dword [ebp - 0x814], 0x6c6c6148
jne 0x6c951cc5
push dword [ebp - 0x810]
mov ecx, esi
call fcn.6c9515f0
push dword [ebp - 4]
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
lea eax, [ebp - 0x818]
push dword [ebp - 8]
push eax
call fcn.6c95468b
jmp 0x6c951c54
cmp word [ebp - 0x818], 0x484b
jne 0x6c951c54
cmp word [ebp - 0x80e], 0x6c
jne 0x6c951c54
cmp dword [ebp - 0x80c], 0x26
jne 0x6c951c54
push dword [ebp - 4]
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
lea eax, [ebp - 0x818]
push dword [ebp - 8]
push eax
call fcn.6c9538eb
jmp 0x6c951c54
mov ecx, esi
call fcn.6c9519b6
cmp dword [edi], 0xffffffff
je 0x6c951d1d
push 2
push dword [edi]
call fcn.6c954b00
mov ecx, esi
mov dword [edi], 0xffffffff
call fcn.6c9519c4
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret