Function at 0x477890
Capabilities:
Monitor local ipv4 address changes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9c90
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x541a34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
call fcn.0044f1d0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.004491e0
movzx edx, al
test edx, edx
jne 0x477b4a
mov dword [ebp - 0x18], 0
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x7c]
mov dword [eax + 0x10], ecx
lea edx, [ebp - 0x8c]
push edx
lea eax, [ebp - 0x18]
push eax
call sub.IPHLPAPI.DLL_NotifyAddrChange
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x477923
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x477923
jmp 0x477b4a
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x7c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x477b31
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.004491e0
movzx edx, al
test edx, edx
je 0x477958
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
jmp 0x477b4a
call fcn.0044f1d0
mov ecx, dword [ebp - 0x10]
sub eax, dword [ecx + 0x18]
sbb edx, dword [ecx + 0x1c]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
cmp dword [ebp - 0x74], 0
jl 0x477b31
jg 0x477985
cmp dword [ebp - 0x78], 0x1388
jbe 0x477b31
call fcn.0045bf70
movzx edx, byte [eax + 0x38]
test edx, edx
je 0x477b24
push 0
lea ecx, [ebp - 0x14]
call fcn.0044de20
mov dword [ebp - 4], 0
call fcn.0044f1d0
mov ecx, dword [ebp - 0x10]
sub eax, dword [ecx + 0x18]
sbb edx, dword [ecx + 0x1c]
push edx
push eax
push str.ip_change:__d
lea edx, [ebp - 0x14]
push edx
call fcn.0044ee90
add esp, 0x10
call fcn.0045bf70
lea eax, [ebp - 0x70]
push eax
call fcn.0045cf00
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x24]
push edx
push 0x507f94
push 0x21f
lea eax, [ebp - 0x6c]
push eax
call fcn.0044f080
add esp, 8
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
push edx
push str.CWtNetwordChange::OnThread_
push 0x507f98
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.0044e220
add esp, 0xc
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.0044e220
add esp, 0xc
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x54]
call fcn.00443490
push eax
call fcn.0045bf70
mov ecx, eax
call fcn.00458500
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.0044e140
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5c]
call fcn.0044e140
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
call fcn.0044e140
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.0044e140
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.0044e140
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.0044e140
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.0044e140
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0044e140
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x7c]
push edx
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
jmp 0x4778c9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret