Function at 0x4095d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x248]
push ebx
sub esp, 0x27c
mov dword [ebp - 0x260], ecx
lea ecx, [ebp - 0x250]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x14], ecx
lea ecx, [ebp - 0x24c]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
mov dword [esp + 0x10], edi
mov dword [esp + 8], 0
mov dword [esp], eax
mov dword [ebp - 0x250], 0x104
mov byte [ebp - 0x248], 0
call sub.advapi32.dll_RegQueryValueExA
mov esi, eax
mov eax, dword [ebp + 0x10]
sub esp, 0x18
mov dword [esp], str..._wine_dlls_msi_tests_action.c
mov dword [esp + 4], eax
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.Failed_to_query_value__error__u_n
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp + 0x10]
mov dword [esp], str..._wine_dlls_msi_tests_action.c
mov dword [esp + 4], eax
call fcn.0052ae70
mov eax, dword [ebp - 0x24c]
mov dword [esp + 4], str.Got_wrong_type__u_n
mov dword [esp + 8], eax
sub eax, 1
cmp eax, 1
setbe al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
test ebx, ebx
je 0x4096b6
mov esi, dword [str.windows]
mov edi, 0x52e054
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
xor ebx, ebx
test al, al
sete bl
mov dword [esp], ebx
call fcn.0052b250
lea eax, [ebp - 0x248]
shr eax, 0x10
mov dword [ebp - 0x264], eax
call fcn.0052b280
test eax, eax
je 0x40982f
lea esi, [esi]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [esp], str..._wine_dlls_msi_tests_action.c
test edx, edx
mov dword [esp + 4], eax
je 0x409865
call fcn.0052ae70
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x409aa0
lea eax, [ebp - 0x248]
mov dword [esp + 4], 0xffffffff
mov ebx, 0x52f0ef
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrA]
sub esp, 8
test eax, eax
jne 0x4097e8
cmp byte [ebp - 0x248], 0
je 0x40974d
lea esi, [esi]
add eax, 1
cmp byte [ebp + eax - 0x248], 0
jne 0x409740
lea ebx, [ebp - 0x21]
mov byte [ebp - 0x144], 0x22
lea edx, [ebp - 0x143]
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x25c], ebx
lea esi, [eax - 1]
cmp edx, dword [ebp - 0x25c]
ja 0x4097bb
test eax, eax
jle 0x4097bb
add ecx, 1
movzx ebx, byte [ecx - 1]
cmp bl, 0xd
je 0x409a85
jg 0x409840
cmp bl, 9
je 0x409a72
cmp bl, 0xa
jne 0x409a33
mov eax, 0x6e5c
add edx, 2
mov word [edx - 2], ax
mov eax, esi
nop
lea esi, [eax - 1]
cmp edx, dword [ebp - 0x25c]
jbe 0x409774
mov byte [edx], 0x22
lea eax, [edx + 1]
test esi, esi
jle 0x4097d5
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x144]
mov dword [esp], eax
call fcn.0052c0c0
mov ebx, eax
mov eax, dword [ebp - 0x260]
mov dword [esp + 4], eax
lea eax, [ebp - 0x248]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_strcmp]
test eax, eax
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x52f113
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
call fcn.0052b2a0
call fcn.0052b280
test eax, eax
jne 0x4096e0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp bl, 0x22
je 0x409a20
cmp bl, 0x5c
jne 0x409a33
mov eax, 0x5c5c
add edx, 2
mov word [edx - 2], ax
mov eax, esi
jmp 0x4097b0
call fcn.0052ae70
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x409ad0
lea eax, [ebp - 0x248]
mov dword [esp + 4], 0xffffffff
mov ebx, 0x52f0ef
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrA]
sub esp, 8
test eax, eax
jne 0x409958
cmp byte [ebp - 0x248], 0
je 0x4098bd
lea esi, [esi]
nop
add eax, 1
cmp byte [ebp + eax - 0x248], 0
jne 0x4098b0
lea ebx, [ebp - 0x21]
mov byte [ebp - 0x144], 0x22
lea edx, [ebp - 0x143]
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x25c], ebx
lea esi, [eax - 1]
cmp edx, dword [ebp - 0x25c]
ja 0x40992b
test eax, eax
jle 0x40992b
add ecx, 1
movzx ebx, byte [ecx - 1]
cmp bl, 0xd
je 0x4099a0
jg 0x409980
cmp bl, 9
je 0x4099f2
cmp bl, 0xa
jne 0x4099b3
mov eax, 0x6e5c
add edx, 2
mov word [edx - 2], ax
mov eax, esi
nop
lea esi, [eax - 1]
cmp edx, dword [ebp - 0x25c]
jbe 0x4098e4
mov byte [edx], 0x22
lea eax, [edx + 1]
test esi, esi
jle 0x409945
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x144]
mov dword [esp], eax
call fcn.0052c0c0
mov ebx, eax
mov eax, dword [ebp - 0x260]
mov dword [esp + 4], eax
lea eax, [ebp - 0x248]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__stricmp]
jmp 0x409801
cmp bl, 0x22
je 0x409a05
cmp bl, 0x5c
jne 0x4099b3
mov eax, 0x5c5c
add edx, 2
mov word [edx - 2], ax
mov eax, esi
jmp 0x409920
mov eax, 0x725c
add edx, 2
mov word [edx - 2], ax
mov eax, esi
jmp 0x409920
lea eax, [ebx - 0x20]
cmp al, 0x5e
jbe 0x409b00
mov eax, ebx
mov edi, 0x785c
add edx, 4
shr al, 4
mov word [edx - 4], di
mov edi, ebx
movzx eax, al
and edi, 0xf
movzx eax, byte [eax + str.0123456789abcdef_d_02d_02d]
mov byte [edx - 2], al
movzx eax, byte [edi + str.0123456789abcdef_d_02d_02d]
mov byte [edx - 1], al
mov eax, esi
jmp 0x409920
mov eax, 0x745c
add edx, 2
mov word [edx - 2], ax
mov eax, esi
jmp 0x409920
mov eax, 0x225c
add edx, 2
mov word [edx - 2], ax
mov eax, esi
jmp 0x409920
mov eax, 0x225c
add edx, 2
mov word [edx - 2], ax
mov eax, esi
jmp 0x4097b0
lea eax, [ebx - 0x20]
cmp al, 0x5e
jbe 0x409b10
mov eax, ebx
mov edi, 0x785c
add edx, 4
shr al, 4
mov word [edx - 4], di
mov edi, ebx
movzx eax, al
and edi, 0xf
movzx eax, byte [eax + str.0123456789abcdef_d_02d_02d]
mov byte [edx - 2], al
movzx eax, byte [edi + str.0123456789abcdef_d_02d_02d]
mov byte [edx - 1], al
mov eax, esi
jmp 0x4097b0
mov eax, 0x745c
add edx, 2
mov word [edx - 2], ax
mov eax, esi
jmp 0x4097b0
mov eax, 0x725c
add edx, 2
mov word [edx - 2], ax
mov eax, esi
jmp 0x4097b0
lea eax, [ebp - 0x248]
mov dword [esp], 0x52f0e9
mov dword [ebp - 0x25c], eax
movzx eax, word [ebp - 0x25c]
mov dword [esp + 4], eax
call fcn.00409200
mov ebx, eax
jmp 0x4097e8
lea eax, [ebp - 0x248]
mov dword [esp], 0x52f0e9
mov dword [ebp - 0x25c], eax
movzx eax, word [ebp - 0x25c]
mov dword [esp + 4], eax
call fcn.00409200
mov ebx, eax
jmp 0x409958
mov byte [edx], bl
mov eax, esi
add edx, 1
jmp 0x409920
mov byte [edx], bl
mov eax, esi
add edx, 1
jmp 0x4097b0