Function at 0x403bb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x441288]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4434c0], 0
push esi
push edi
jne 0x404224
lea eax, [ebp - 0x28]
push eax
push 1
push 0
push str.SoftwareWTware
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404256
push 0x200
mov dword [ebp - 0x20], 0x200
mov dword [ebp - 0x24], 1
call fcn.0041e1e9
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 4
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push esi
lea eax, [ebp - 0x24]
push eax
push 0
push str.Programs
push dword [ebp - 0x28]
call edi
test eax, eax
je 0x403c4f
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x200
push eax
push esi
lea eax, [ebp - 0x24]
push eax
push 0
push 0x435884
push dword [ebp - 0x28]
call edi
test eax, eax
jne 0x404256
cmp word [esi], 0
jne 0x403c59
xor ecx, ecx
jmp 0x403c6f
mov ecx, esi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403c60
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, 0x4434c4
call fcn.00404640
cmp dword [0x4434d8], 8
mov ecx, 0x4434c4
mov eax, dword [0x4434d4]
cmovae ecx, dword [0x4434c4]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x403caa
push 0x4358bc
mov ecx, 0x4434c4
call fcn.00402f80
push esi
call fcn.0041eba9
add esp, 4
lea ecx, [ebp - 0x1c]
mov edx, 0x4434c4
push 0x4358c0
call fcn.00403140
mov esi, eax
add esp, 4
cmp esi, 0x4434f4
je 0x403d10
cmp dword [0x443508], 8
jb 0x403ce9
push dword [0x4434f4]
call fcn.0041e452
add esp, 4
xor eax, eax
mov dword [0x443508], 7
push esi
mov ecx, 0x4434f4
mov dword [0x443504], 0
mov word [0x4434f4], ax
call fcn.00402ff0
cmp dword [ebp - 8], 8
jb 0x403d21
push dword [ebp - 0x1c]
call fcn.0041e452
add esp, 4
push str.skin_
mov edx, 0x4434f4
lea ecx, [ebp - 0x1c]
call fcn.00403140
mov esi, eax
add esp, 4
cmp esi, 0x44350c
je 0x403d7e
cmp dword [0x443520], 8
jb 0x403d57
push dword [0x44350c]
call fcn.0041e452
add esp, 4
xor eax, eax
mov dword [0x443520], 7
push esi
mov ecx, 0x44350c
mov dword [0x44351c], 0
mov word [0x44350c], ax
call fcn.00402ff0
cmp dword [ebp - 8], 8
jb 0x403d8f
push dword [ebp - 0x1c]
call fcn.0041e452
add esp, 4
push str.Data_
mov edx, 0x4434c4
lea ecx, [ebp - 0x1c]
call fcn.00403140
mov esi, eax
add esp, 4
cmp esi, 0x443524
je 0x403dec
cmp dword [0x443538], 8
jb 0x403dc5
push dword [0x443524]
call fcn.0041e452
add esp, 4
xor eax, eax
mov dword [0x443538], 7
push esi
mov ecx, 0x443524
mov dword [0x443534], 0
mov word [0x443524], ax
call fcn.00402ff0
cmp dword [ebp - 8], 8
jb 0x403dfd
push dword [ebp - 0x1c]
call fcn.0041e452
add esp, 4
push str.Docs_
mov edx, 0x4434c4
lea ecx, [ebp - 0x1c]
call fcn.00403140
mov esi, eax
add esp, 4
cmp esi, 0x44353c
je 0x403e5a
cmp dword [0x443550], 8
jb 0x403e33
push dword [0x44353c]
call fcn.0041e452
add esp, 4
xor eax, eax
mov dword [0x443550], 7
push esi
mov ecx, 0x44353c
mov dword [0x44354c], 0
mov word [0x44353c], ax
call fcn.00402ff0
cmp dword [ebp - 8], 8
jb 0x403e6b
push dword [ebp - 0x1c]
call fcn.0041e452
add esp, 4
push str.TFTPDROOT_
mov edx, 0x4434c4
lea ecx, [ebp - 0x1c]
call fcn.00403140
mov esi, eax
add esp, 4
cmp esi, 0x443554
je 0x403ec8
cmp dword [0x443568], 8
jb 0x403ea1
push dword [0x443554]
call fcn.0041e452
add esp, 4
xor eax, eax
mov dword [0x443568], 7
push esi
mov ecx, 0x443554
mov dword [0x443564], 0
mov word [0x443554], ax
call fcn.00402ff0
cmp dword [ebp - 8], 8
jb 0x403ed9
push dword [ebp - 0x1c]
call fcn.0041e452
add esp, 4
push str.Wizard_
mov edx, 0x443524
lea ecx, [ebp - 0x1c]
call fcn.00403140
mov esi, eax
add esp, 4
cmp esi, 0x44356c
je 0x403f36
cmp dword [0x443580], 8
jb 0x403f0f
push dword [0x44356c]
call fcn.0041e452
add esp, 4
xor eax, eax
mov dword [0x443580], 7
push esi
mov ecx, 0x44356c
mov dword [0x44357c], 0
mov word [0x44356c], ax
call fcn.00402ff0
cmp dword [ebp - 8], 8
jb 0x403f47
push dword [ebp - 0x1c]
call fcn.0041e452
add esp, 4
push 0x200
mov dword [ebp - 0x20], 0x200
mov dword [ebp - 0x24], 1
call fcn.0041e1e9
add esp, 4
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push esi
lea eax, [ebp - 0x24]
push eax
push 0
push str.Data
push dword [ebp - 0x28]
call edi
test eax, eax
jne 0x404256
push esi
mov ecx, 0x4434dc
call fcn.004044d0
cmp dword [0x4434f0], 8
mov ecx, 0x4434dc
mov eax, dword [0x4434ec]
cmovae ecx, dword [0x4434dc]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x403fbb
push 0x4358bc
mov ecx, 0x4434dc
call fcn.00402f80
push str.Connections_
mov edx, 0x4434dc
lea ecx, [ebp - 0x1c]
call fcn.00403140
add esp, 4
mov ecx, 0x443584
push eax
call fcn.00401d70
cmp dword [ebp - 8], 8
jb 0x403fec
push dword [ebp - 0x1c]
call fcn.0041e452
add esp, 4
push str.Everyone_
mov edx, 0x4434dc
lea ecx, [ebp - 0x1c]
call fcn.00403140
add esp, 4
mov ecx, 0x44359c
push eax
call fcn.00401d70
cmp dword [ebp - 8], 8
jb 0x40401d
push dword [ebp - 0x1c]
call fcn.0041e452
add esp, 4
push str.Logs_
mov edx, 0x4434dc
lea ecx, [ebp - 0x1c]
call fcn.00403140
add esp, 4
mov ecx, 0x4435cc
push eax
call fcn.00401d70
cmp dword [ebp - 8], 8
jb 0x40404e
push dword [ebp - 0x1c]
call fcn.0041e452
add esp, 4
push str.Templates_
mov edx, 0x4434dc
lea ecx, [ebp - 0x1c]
call fcn.00403140
add esp, 4
mov ecx, 0x4435e4
push eax
call fcn.00401d70
cmp dword [ebp - 8], 8
jb 0x40407f
push dword [ebp - 0x1c]
call fcn.0041e452
add esp, 4
push str.Terminals_
mov edx, 0x4434dc
lea ecx, [ebp - 0x1c]
call fcn.00403140
add esp, 4
mov ecx, 0x4435fc
push eax
call fcn.00401d70
cmp dword [ebp - 8], 8
jb 0x4040b0
push dword [ebp - 0x1c]
call fcn.0041e452
add esp, 4
push str.Keys_
mov edx, 0x4434dc
lea ecx, [ebp - 0x1c]
call fcn.00403140
add esp, 4
mov ecx, 0x4435b4
push eax
call fcn.00401d70
cmp dword [ebp - 8], 8
jb 0x4040e1
push dword [ebp - 0x1c]
call fcn.0041e452
add esp, 4
push str.DHCP_
mov edx, 0x4434dc
lea ecx, [ebp - 0x1c]
call fcn.00403140
add esp, 4
mov ecx, 0x443614
push eax
call fcn.00401d70
cmp dword [ebp - 8], 8
jb 0x404112
push dword [ebp - 0x1c]
call fcn.0041e452
add esp, 4
push str.Audit_
mov edx, 0x4434dc
lea ecx, [ebp - 0x1c]
call fcn.00403140
add esp, 4
mov ecx, 0x44362c
push eax
call fcn.00401d70
cmp dword [ebp - 8], 8
jb 0x404143
push dword [ebp - 0x1c]
call fcn.0041e452
add esp, 4
push str.Graphic_
mov edx, 0x4434dc
lea ecx, [ebp - 0x1c]
call fcn.00403140
add esp, 4
mov ecx, 0x443644
push eax
call fcn.00401d70
cmp dword [ebp - 8], 8
jb 0x404174
push dword [ebp - 0x1c]
call fcn.0041e452
add esp, 4
push str.Chrome_
mov edx, 0x4434dc
lea ecx, [ebp - 0x1c]
call fcn.00403140
add esp, 4
mov ecx, 0x44365c
push eax
call fcn.00401d70
cmp dword [ebp - 8], 8
jb 0x4041a5
push dword [ebp - 0x1c]
call fcn.0041e452
add esp, 4
push str.VLC_
mov edx, 0x4434dc
lea ecx, [ebp - 0x1c]
call fcn.00403140
add esp, 4
mov ecx, 0x443674
push eax
call fcn.00401d70
cmp dword [ebp - 8], 8
jb 0x4041d6
push dword [ebp - 0x1c]
call fcn.0041e452
add esp, 4
push str.UpdateImages_
mov edx, 0x4434dc
lea ecx, [ebp - 0x1c]
call fcn.00403140
add esp, 4
mov ecx, 0x44368c
push eax
call fcn.00401d70
cmp dword [ebp - 8], 8
jb 0x404207
push dword [ebp - 0x1c]
call fcn.0041e452
add esp, 4
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x404236
push esi
call fcn.0041eba9
add esp, 4
mov byte [0x4434c0], 1
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e246
mov esp, ebp
pop ebp
ret
call fcn.0041e289
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x54
push str.....common_fileio.cpp
push str.ERROR
call fcn.00416980
add esp, 0x14
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0041e246
mov esp, ebp
pop ebp
ret