Function at 0x409ef0
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x49b630
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x4be0a0]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4be0a0]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
lea eax, [esp + 0x94]
push eax
mov esi, ecx
mov edi, edx
call fcn.00408230
lea ecx, [esp + 0x94]
push ecx
mov dword [esp + 0x194], 0
call fcn.00461a7c
add esp, 4
push 1
push str.lblDepName
lea ebp, [esi + 0x35c]
push ebp
call fcn.004235d1
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x3c]
push edi
call eax
lea ecx, [esp + 0x78]
push ecx
call fcn.004622d8
add esp, 4
push 1
push str.lblClientVer
push ebp
mov byte [esp + 0x19c], 1
call fcn.004235d1
mov ecx, dword [esp + 0x7c]
mov ebx, 8
cmp dword [esp + 0x90], ebx
jae 0x409fac
lea ecx, [esp + 0x7c]
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 0x3c]
call eax
lea edi, [esp + 0x5c]
call fcn.00409c90
push 1
push str.lblRuleUptime
push ebp
mov byte [esp + 0x19c], 2
call fcn.004235d1
mov ecx, dword [esp + 0x60]
cmp dword [esp + 0x74], ebx
jae 0x409fe2
lea ecx, [esp + 0x60]
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 0x3c]
call eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
push str.offlineMode
push 0x4a1c7c
mov esi, 4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x40a02e
cmp dword [esp + 0x20], esi
jne 0x40a02e
mov esi, 0x4a1d48
cmp dword [esp + 0x18], eax
jne 0x40a033
mov esi, 0x4a1d50
push 1
push str.lblOnlineStatus
push ebp
call fcn.004235d1
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x3c]
push esi
call eax
push 1
push str.lblClienName
push ebp
call fcn.004235d1
lea ecx, [esp + 0x94]
push ecx
lea esi, [esp + 0x28]
mov edi, eax
call fcn.004082f0
mov byte [esp + 0x190], 3
cmp dword [eax + 0x18], ebx
jb 0x40a07c
mov eax, dword [eax + 4]
jmp 0x40a07f
add eax, 4
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x3c]
mov ecx, edi
call eax
mov byte [esp + 0x190], 2
cmp dword [esp + 0x3c], ebx
jb 0x40a0a4
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0047d710
add esp, 4
cmp dword [esp + 0xac], 0x10
mov ecx, dword [esp + 0x98]
jae 0x40a0bc
lea ecx, [esp + 0x98]
xor edi, edi
mov eax, ecx
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], edi
mov byte [esp + 0x44], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40a0d4
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.00404770
push 1
push str.lblClienId
push ebp
mov byte [esp + 0x19c], 4
call fcn.004235d1
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.00403040
add esp, 4
mov byte [esp + 0x190], 5
cmp dword [eax + 0x18], ebx
jb 0x40a122
mov eax, dword [eax + 4]
jmp 0x40a125
add eax, 4
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
cmp dword [esp + 0x3c], ebx
jb 0x40a142
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0047d710
add esp, 4
xor edx, edx
mov esi, 0x10
mov byte [esp + 0x190], 2
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], dx
cmp dword [esp + 0x58], esi
jb 0x40a175
mov eax, dword [esp + 0x44]
push eax
call fcn.0047d710
add esp, 4
mov ecx, dword [esp + 0xb8]
cmp dword [esp + 0xcc], esi
jae 0x40a18c
lea ecx, [esp + 0xb8]
mov eax, ecx
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], edi
mov byte [esp + 0x44], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40a1a2
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.00404770
push 1
push str.lblIp
push ebp
mov byte [esp + 0x19c], 6
call fcn.004235d1
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.00403040
add esp, 4
mov byte [esp + 0x190], 7
cmp dword [eax + 0x18], ebx
jb 0x40a1f0
mov eax, dword [eax + 4]
jmp 0x40a1f3
add eax, 4
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
cmp dword [esp + 0x3c], ebx
jb 0x40a210
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0047d710
add esp, 4
xor edx, edx
mov esi, 0x10
mov byte [esp + 0x190], 2
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], dx
cmp dword [esp + 0x58], esi
jb 0x40a243
mov eax, dword [esp + 0x44]
push eax
call fcn.0047d710
add esp, 4
mov ecx, dword [esp + 0xd4]
cmp dword [esp + 0xe8], esi
jae 0x40a25a
lea ecx, [esp + 0xd4]
mov eax, ecx
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], edi
mov byte [esp + 0x44], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40a270
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.00404770
push 1
push str.lblMac
push ebp
mov byte [esp + 0x19c], bl
call fcn.004235d1
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.00403040
add esp, 4
mov byte [esp + 0x190], 9
cmp dword [eax + 0x18], ebx
jb 0x40a2bd
mov eax, dword [eax + 4]
jmp 0x40a2c0
add eax, 4
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
cmp dword [esp + 0x3c], ebx
jb 0x40a2dd
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0047d710
add esp, 4
xor edx, edx
mov byte [esp + 0x190], 2
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], dx
jb 0x40a30c
mov eax, dword [esp + 0x44]
push eax
call fcn.0047d710
add esp, 4
push 1
push str.lblPcName
push ebp
call fcn.004235d1
mov ecx, dword [esp + 0x12c]
cmp dword [esp + 0x140], ebx
jae 0x40a330
lea ecx, [esp + 0x12c]
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 0x3c]
call eax
push 1
push str.btnModifyDepAndName
push ebp
call fcn.004235d1
mov edi, eax
mov esi, dword [edi]
push str.AllowModifyClientInfo
add esi, 0xe0
call fcn.00408b60
add esp, 4
test al, al
mov eax, dword [esi]
setne cl
movzx edx, cl
push edx
mov ecx, edi
call eax
push 1
push str.btnHardwareCustomWnd
push ebp
call fcn.004235d1
mov edi, eax
mov esi, dword [edi]
push str.AllowViewHardwareCustom
add esi, 0xe0
call fcn.00408b60
add esp, 4
test al, al
mov eax, dword [esi]
setne cl
movzx edx, cl
push edx
mov ecx, edi
call eax
push str.AllowModifyHardwareCustom
call fcn.00408b60
add esp, 4
mov esi, 0x4a1ea0
test al, al
jne 0x40a3bb
mov esi, 0x4a1eb4
push 1
push str.btnHardwareCustomWnd
push ebp
call fcn.004235d1
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xb0]
push esi
call eax
push 1
push str.btnViewRule
push ebp
call fcn.004235d1
mov edi, eax
mov esi, dword [edi]
push str.AllowViewRules
add esi, 0xe0
call fcn.00408b60
add esp, 4
test al, al
mov eax, dword [esi]
setne cl
movzx edx, cl
push edx
mov ecx, edi
call eax
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
push str.ruleCleaned
push 0x4a1c08
mov esi, 4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], esi
call edi
test eax, eax
jne 0x40a44c
cmp dword [esp + 0x20], esi
jne 0x40a44c
mov esi, 0x4a1f1c
cmp dword [esp + 0x1c], eax
jne 0x40a451
mov esi, 0x4a1f28
push 1
push str.btnClearRules
push ebp
call fcn.004235d1
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xb0]
push esi
call eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
push str.ruleCleaned
push 0x4a1c08
mov esi, 4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], esi
call edi
test eax, eax
jne 0x40a4a9
cmp dword [esp + 0x20], esi
jne 0x40a4a9
cmp dword [esp + 0x1c], eax
mov eax, str.updaterule.png
jne 0x40a4ae
mov eax, str.clearrule.png
push eax
push 1
push str.btnClearRules
push ebp
call fcn.004235d1
mov edi, eax
call fcn.0042afd4
cmp dword [esp + 0x74], ebx
jb 0x40a4d6
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0047d710
add esp, 4
xor edi, edi
xor edx, edx
mov esi, 7
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], edi
mov word [esp + 0x60], dx
cmp dword [esp + 0x90], ebx
jb 0x40a502
mov eax, dword [esp + 0x7c]
push eax
call fcn.0047d710
add esp, 4
lea edx, [esp + 0x94]
xor ecx, ecx
push edx
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], edi
mov word [esp + 0x80], cx
mov dword [esp + 0x194], 0xffffffff
call fcn.0040a560
xor eax, eax
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.0047d444
add esp, 0x180
ret