Function at 0x41d570
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
mov al, byte [esi + 0xfc]
test al, al
push edi
mov edi, dword [esp + 0x1c]
je 0x41d660
mov dword [esi + 0x50], 2
mov dword [esi + 0x54], 0x1e
mov byte [esi + 0x34], 0x58
mov byte [esi + 0x35], 0xf1
mov byte [esi + 0x36], 0x4c
mov byte [esi + 0x37], 0x85
mov byte [esi + 0x38], 0xbd
mov byte [esi + 0x39], 0xe0
mov byte [esi + 0x3a], 0xf8
mov byte [esi + 0x3b], 0xc1
mov ebp, 1
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ebp
mov dword [esi + 0x64], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x48], ebp
xor ebx, ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov cl, byte [esi + 0x35]
mov al, byte [esi + 0x34]
mov dl, byte [esi + 0x36]
mov byte [esi + 0x41], cl
mov cl, byte [esi + 0x38]
mov byte [esi + 0x40], al
mov al, byte [esi + 0x37]
mov byte [esi + 0x44], cl
mov cl, byte [esi + 0x3b]
mov byte [esi + 0x42], dl
mov dl, byte [esi + 0x39]
mov byte [esi + 0x43], al
mov al, byte [esi + 0x3a]
mov byte [esi + 0x47], cl
mov byte [esi + 0x45], dl
mov byte [esi + 0x46], al
mov ecx, esi
mov dword [esi + 0x74], ebx
mov dword [esi + 0x70], ebp
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebp
call fcn.0041d470
cmp eax, 0x7db
jne 0x41d649
mov dword [esi + 0x84], ebp
mov dword [esi + 0x90], 0x12c
mov dword [esi + 0x88], ebp
mov dword [esi + 0x8c], ebx
jmp 0x41d7e0
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebp
mov dword [esi + 0x8c], ebx
jmp 0x41d7e0
mov edx, dword [esi + 0x1c]
push edx
push str.SocketConnect
push edi
mov ecx, esi
call fcn.0041cd30
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x20]
push eax
push str.AutoPortSelect
push edi
mov ecx, esi
call fcn.0041cd30
mov ecx, dword [esi + 0x60]
push ecx
push str.IdleTimeout
push edi
mov ecx, esi
mov dword [esi + 0x20], eax
call fcn.0041cd30
mov edx, dword [esi + 0x64]
push edx
push str.RemoveWallpaper
push edi
mov ecx, esi
mov dword [esi + 0x60], eax
call fcn.0041cd30
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x50]
push eax
push str.QuerySetting
push edi
mov ecx, esi
call fcn.0041cd30
mov ecx, dword [esi + 0x54]
push ecx
push str.QueryTimeout
push edi
mov ecx, esi
mov dword [esi + 0x50], eax
call fcn.0041cd30
mov edx, dword [esi + 0x58]
push edx
push str.QueryAccept
push edi
mov ecx, esi
mov dword [esi + 0x54], eax
call fcn.0041cd30
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x5c]
push eax
push str.QueryAllowNoPass
push edi
mov ecx, esi
call fcn.0041cd30
push str.Password
lea ecx, [esi + 0x34]
push ecx
push edi
mov ecx, esi
mov dword [esi + 0x5c], eax
call fcn.0041cd90
push str.PasswordViewOnly
lea edx, [esi + 0x40]
push edx
push edi
mov ecx, esi
mov dword [esi + 0x3c], eax
call fcn.0041cd90
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x74]
push eax
push str.LockSetting
push edi
mov ecx, esi
call fcn.0041cd30
mov ecx, dword [esi + 0x70]
push ecx
push str.InputsEnabled
mov dword [esi + 0x74], eax
push edi
mov ecx, esi
call fcn.0041cd30
mov edx, dword [esi + 0x78]
push edx
push str.LocalInputsDisabled
push edi
mov ecx, esi
mov dword [esi + 0x70], eax
call fcn.0041cd30
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x7c]
push eax
push str.PollUnderCursor
push edi
mov ecx, esi
call fcn.0041cd30
mov ecx, dword [esi + 0x80]
push ecx
push str.PollForeground
push edi
mov ecx, esi
mov dword [esi + 0x7c], eax
call fcn.0041cd30
mov edx, dword [esi + 0x84]
push edx
push str.PollFullScreen
push edi
mov ecx, esi
mov dword [esi + 0x80], eax
call fcn.0041cd30
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0x88]
push eax
push str.OnlyPollConsole
push edi
mov ecx, esi
call fcn.0041cd30
mov ecx, dword [esi + 0x8c]
push ecx
push str.OnlyPollOnEvent
push edi
mov ecx, esi
mov dword [esi + 0x88], eax
call fcn.0041cd30
mov dword [esi + 0x8c], eax
test edi, edi
mov ebx, dword [esi + 0x24]
mov ebp, 4
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], ebp
jne 0x41d7f8
mov eax, ebx
jmp 0x41d833
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push str.PortNumber
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41d81d
mov eax, ebx
jmp 0x41d833
cmp dword [esp + 0x1c], ebp
je 0x41d827
mov eax, ebx
jmp 0x41d833
cmp dword [esp + 0x10], ebp
mov eax, ebx
jne 0x41d833
mov eax, dword [esp + 0x14]
test edi, edi
mov dword [esi + 0x24], eax
lea ebx, [eax - 0x64]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], ebp
jne 0x41d849
mov eax, ebx
jmp 0x41d884
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push str.HTTPPortNumber
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41d86e
mov eax, ebx
jmp 0x41d884
cmp dword [esp + 0x1c], ebp
je 0x41d878
mov eax, ebx
jmp 0x41d884
cmp dword [esp + 0x10], ebp
mov eax, ebx
jne 0x41d884
mov eax, dword [esp + 0x14]
test edi, edi
mov ebx, dword [esi + 0x2c]
mov dword [esi + 0x28], eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], ebp
jne 0x41d89a
mov eax, ebx
jmp 0x41d8d5
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push str.BeepConnect
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41d8bf
mov eax, ebx
jmp 0x41d8d5
cmp dword [esp + 0x1c], ebp
je 0x41d8c9
mov eax, ebx
jmp 0x41d8d5
cmp dword [esp + 0x10], ebp
mov eax, ebx
jne 0x41d8d5
mov eax, dword [esp + 0x14]
test edi, edi
mov ebx, dword [esi + 0x30]
mov dword [esi + 0x2c], eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], ebp
jne 0x41d8eb
mov eax, ebx
jmp 0x41d926
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push str.BeepDisconnect
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41d910
mov eax, ebx
jmp 0x41d926
cmp dword [esp + 0x1c], ebp
je 0x41d91a
mov eax, ebx
jmp 0x41d926
cmp dword [esp + 0x10], ebp
mov eax, ebx
jne 0x41d926
mov eax, dword [esp + 0x14]
test edi, edi
mov ebx, dword [esi + 0x68]
mov dword [esi + 0x30], eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], ebp
jne 0x41d93c
mov eax, ebx
jmp 0x41d977
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push str.BlankScreen
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41d961
mov eax, ebx
jmp 0x41d977
cmp dword [esp + 0x1c], ebp
je 0x41d96b
mov eax, ebx
jmp 0x41d977
cmp dword [esp + 0x10], ebp
mov eax, ebx
jne 0x41d977
mov eax, dword [esp + 0x14]
test edi, edi
mov ebx, dword [esi + 0x6c]
mov dword [esi + 0x68], eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], ebp
jne 0x41d98d
mov eax, ebx
jmp 0x41d9c8
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push str.EnableFileTransfers
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41d9b2
mov eax, ebx
jmp 0x41d9c8
cmp dword [esp + 0x1c], ebp
je 0x41d9bc
mov eax, ebx
jmp 0x41d9c8
cmp dword [esp + 0x10], ebp
mov eax, ebx
jne 0x41d9c8
mov eax, dword [esp + 0x14]
test edi, edi
mov ebx, dword [esi + 0xa0]
mov dword [esi + 0x6c], eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], ebp
jne 0x41d9e1
mov eax, ebx
jmp 0x41da1c
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push str.LocalInputsPriorityTime
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41da06
mov eax, ebx
jmp 0x41da1c
cmp dword [esp + 0x1c], ebp
je 0x41da10
mov eax, ebx
jmp 0x41da1c
cmp dword [esp + 0x10], ebp
mov eax, ebx
jne 0x41da1c
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
mov dword [esi + 0xa0], eax
mov eax, dword [esi + 0x50]
mov edx, dword [ecx]
push eax
call dword [edx + 0x158]
mov ecx, dword [esi]
mov eax, dword [esi + 0x54]
mov edx, dword [ecx]
push eax
call dword [edx + 0x160]
mov ecx, dword [esi]
mov eax, dword [esi + 0x58]
mov edx, dword [ecx]
push eax
call dword [edx + 0x168]
mov ecx, dword [esi]
mov eax, dword [esi + 0x5c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x170]
test edi, edi
mov ebx, dword [esi + 0x4c]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], ebp
je 0x41da9a
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push str.CORBAConnect
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41da9a
cmp dword [esp + 0x1c], ebp
jne 0x41da9a
cmp dword [esp + 0x10], ebp
jne 0x41da9a
mov ebx, dword [esp + 0x14]
test edi, edi
mov dword [esi + 0x4c], ebx
mov ebx, dword [esi + 0x90]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], ebp
jne 0x41dab3
mov eax, ebx
jmp 0x41daee
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push str.PollingCycle
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41dad8
mov eax, ebx
jmp 0x41daee
cmp dword [esp + 0x1c], ebp
je 0x41dae2
mov eax, ebx
jmp 0x41daee
cmp dword [esp + 0x10], ebp
mov eax, ebx
jne 0x41daee
mov eax, dword [esp + 0x14]
test edi, edi
mov ebx, dword [esi + 0x94]
mov dword [esi + 0x90], eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], ebp
jne 0x41db0a
mov eax, ebx
jmp 0x41db45
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push str.DontSetHooks
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41db2f
mov eax, ebx
jmp 0x41db45
cmp dword [esp + 0x1c], ebp
je 0x41db39
mov eax, ebx
jmp 0x41db45
cmp dword [esp + 0x10], ebp
mov eax, ebx
jne 0x41db45
mov eax, dword [esp + 0x14]
test edi, edi
mov ebx, dword [esi + 0x98]
mov dword [esi + 0x94], eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], ebp
jne 0x41db61
mov eax, ebx
jmp 0x41db9c
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push str.DontUseDriver
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41db86
mov eax, ebx
jmp 0x41db9c
cmp dword [esp + 0x1c], ebp
je 0x41db90
mov eax, ebx
jmp 0x41db9c
cmp dword [esp + 0x10], ebp
mov eax, ebx
jne 0x41db9c
mov eax, dword [esp + 0x14]
test edi, edi
mov ebx, dword [esi + 0x9c]
mov dword [esi + 0x98], eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], ebp
jne 0x41dbb8
mov eax, ebx
jmp 0x41dbf3
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push str.DriverDirectAccess
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41dbdd
mov eax, ebx
jmp 0x41dbf3
cmp dword [esp + 0x1c], ebp
je 0x41dbe7
mov eax, ebx
jmp 0x41dbf3
cmp dword [esp + 0x10], ebp
mov eax, ebx
jne 0x41dbf3
mov eax, dword [esp + 0x14]
test edi, edi
mov ebx, dword [esi + 0xa4]
mov dword [esi + 0x9c], eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], ebp
je 0x41dc38
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push str.LocalInputsPriority
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41dc38
cmp dword [esp + 0x1c], ebp
jne 0x41dc38
cmp dword [esp + 0x10], ebp
je 0x41dc48
pop edi
mov dword [esi + 0xa4], ebx
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov eax, dword [esp + 0x14]
pop edi
mov dword [esi + 0xa4], eax
pop esi
pop ebp
pop ebx
add esp, 8
ret 4