Function at 0x7593c895
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x7594d0ac]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0xffffffffffffffeb
push ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0x80c], ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 3
pop esi
mov edi, eax
push ebx
mov dword [ebp - 0x818], edi
call fcn.75927acd
mov eax, dword [edi + 0x4ac]
xor ebx, ebx
cmp word [eax], bx
lea eax, [edi + 0x98]
push eax
jne 0x7593c96e
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
push 0x200
lea eax, [ebp - 0x404]
push eax
jne 0x7593c933
push 0x64e
push dword [0x7594d0b8]
call dword [sym.imp.USER32.dll_LoadStringW]
push dword [edi + 0x4a0]
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.7593c78b
add esp, 0x10
jmp 0x7593c9e2
jmp 0x75a37778
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.7593c78b
add esp, 0x14
jmp 0x7593c9e2
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
push 0x200
lea eax, [ebp - 0x404]
push eax
jne 0x7593c9a3
push 0x60f
push dword [0x7594d0b8]
call dword [sym.imp.USER32.dll_LoadStringW]
push dword [edi + 0x4a0]
push dword [edi + 0x4ac]
jmp 0x7593c951
push 0x5ef
push dword [0x7594d0b8]
call dword [sym.imp.USER32.dll_LoadStringW]
push dword [edi + 0x4a0]
lea eax, [edi + 0x98]
push dword [edi + 0x4ac]
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.7593c78b
add esp, 0x18
lea eax, [ebp - 0x804]
push eax
push 0x70e
push dword [ebp - 0x80c]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea eax, [edi + 0x58]
push ebx
push eax
call fcn.75923884
mov dword [ebp - 0x820], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
and eax, 0x3ff
cmp ax, 1
je 0x7593ca27
cmp ax, 0xd
jne 0x7593ca54
push 0x70f
push dword [ebp - 0x80c]
call edi
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, eax
shr esi, 9
xor esi, eax
and esi, 0x2000
neg esi
sbb esi, esi
and esi, 4
add esi, 7
push esi
push 0x200
lea eax, [ebp - 0x404]
push eax
mov eax, dword [ebp - 0x818]
add eax, 0x4d0
push eax
call fcn.7593fec7
cmp dword [ebp - 0x820], ebx
je 0x7593ca85
push dword [ebp - 0x820]
call fcn.759237a6
lea eax, [ebp - 0x404]
push eax
push 0x70f
push dword [ebp - 0x80c]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea eax, [ebp - 0x814]
push eax
push 0x20019
push ebx
push 0x75926438
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
jne 0x7593cb20
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x81c]
push eax
push ebx
push 0x7592db38
push dword [ebp - 0x814]
mov dword [ebp - 0x808], ebx
mov dword [ebp - 0x810], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x808], ebx
je 0x7593cb14
push ebx
push 0x708
push dword [ebp - 0x80c]
call edi
push eax
call esi
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x818]
mov eax, dword [eax + 0x4e0]
cmp eax, ebx
je 0x7593cb47
test byte [eax + 0x6a], 4
je 0x7593cb47
push ebx
push 0x70b
push dword [ebp - 0x80c]
call edi
push eax
call esi
push dword [ebp - 0x818]
call fcn.75923741
test eax, eax
je 0x7593cdbf
lea eax, [ebp - 0x814]
push eax
mov eax, dword [ebp - 0x818]
push 0x20019
push ebx
push 0x75925ec0
push dword [eax + 0x8c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7593cc97
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x81c]
push eax
push ebx
push 0x7592db38
push dword [ebp - 0x814]
mov dword [ebp - 0x808], ebx
mov dword [ebp - 0x810], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x808], ebx
je 0x7593cbd6
push ebx
push 0x708
push dword [ebp - 0x80c]
call edi
push eax
call esi
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x81c]
push eax
push ebx
push 0x7593ce14
push dword [ebp - 0x814]
mov dword [ebp - 0x808], ebx
mov dword [ebp - 0x810], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x808], ebx
je 0x7593cc3b
push ebx
push 0x70c
push dword [ebp - 0x80c]
call edi
push eax
call esi
push ebx
push 0x70d
push dword [ebp - 0x80c]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x81c]
push eax
push ebx
push 0x7593cde8
push dword [ebp - 0x814]
mov dword [ebp - 0x808], ebx
mov dword [ebp - 0x810], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x808], ebx
je 0x7593cc8b
push ebx
push 0x70b
push dword [ebp - 0x80c]
call edi
push eax
call esi
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x814]
push eax
mov eax, dword [ebp - 0x818]
push 0x20019
push ebx
push 0x759344e8
push dword [eax + 0x8c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7593cdb4
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x81c]
push eax
push ebx
push 0x759344d0
push dword [ebp - 0x814]
mov dword [ebp - 0x808], ebx
mov dword [ebp - 0x810], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x808], ebx
je 0x7593cd13
push ebx
push 0x709
push dword [ebp - 0x80c]
call edi
push eax
call esi
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x81c]
push eax
push ebx
push 0x759345ac
push dword [ebp - 0x814]
mov dword [ebp - 0x808], ebx
mov dword [ebp - 0x810], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [0x7594d118], ebx
jne 0x7593cd8f
mov eax, dword [ebp - 0x818]
push 0x13
add eax, 0x58
push dword [eax]
call fcn.759403b6
test eax, eax
jne 0x7593cd8f
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x81c]
push eax
push ebx
push 0x75934590
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x808], ebx
je 0x7593cda8
push ebx
push 0x70a
push dword [ebp - 0x80c]
call edi
push eax
call esi
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x818]
call fcn.75923abb
push ebx
push dword [ebp - 0x80c]
call fcn.75926058
push dword [ebp - 0x80c]
call fcn.75925f39
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
call fcn.75921930
leave
ret 4