Function at 0x638c308a
Capabilities:
Query or enumerate registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x888
mov eax, dword [ecx]
test byte [0x638c8018], 8
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 0x84c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x850], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x858], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x854], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x85c], eax
jne 0x638c3190
test ebx, ebx
je 0x638c317a
xor eax, eax
mov esi, 0x824
mov dword [esp + 0x18], eax
xor eax, eax
xor edi, edi
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x840]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x850]
mov dword [ebp - 0x840], esi
lea esi, [ebp - 0x83c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0xc], esi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x84c]
mov dword [esp], eax
call dword [sym.imp.shlwapi.dll_SHRegGetUSValueA]
sub esp, 0x20
test eax, eax
jne 0x638c35a0
mov edi, dword [ebp - 0x854]
cmp edi, 1
jbe 0x638c3170
lea edi, [ebx + edi - 1]
mov edx, esi
jmp 0x638c3158
mov byte [ebx], cl
inc ebx
inc edx
cmp ebx, edi
je 0x638c315f
movzx ecx, byte [edx]
test cl, cl
jne 0x638c3150
mov byte [ebx], 0
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x18
mov ecx, dword [ebp - 0x854]
test ecx, ecx
jne 0x638c315f
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x18
mov eax, dword [ebp - 0x850]
test eax, eax
je 0x638c355c
shr eax, 0x10
je 0x638c3270
mov esi, dword [ebp - 0x850]
mov eax, 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrA]
sub esp, 8
test eax, eax
jne 0x638c3542
cmp byte [esi], 0
je 0x638c356c
mov ecx, esi
lea esi, [esi]
lea esi, [esi]
mov edx, eax
cmp byte [ecx + edx + 1], 0
lea eax, [eax + 1]
jne 0x638c31e0
mov byte [ebp - 0x83c], 0x22
mov edi, dword [ebp - 0x850]
lea esi, [ebp - 0x83b]
mov dword [ebp - 0x860], ebx
lea ecx, [ebp - 0x719]
jmp 0x638c3245
cmp al, 9
je 0x638c33d0
cmp al, 0xa
jne 0x638c33eb
mov word [esi], 0x6e5c
add esi, 2
lea esi, [esi]
nop
lea eax, [edx - 1]
test edx, edx
jle 0x638c3430
cmp esi, ecx
ja 0x638c3430
mov edx, eax
movzx eax, byte [edi]
inc edi
cmp al, 0xd
je 0x638c33c0
jle 0x638c3210
cmp al, 0x22
je 0x638c3420
cmp al, 0x5c
lea esi, [esi]
jne 0x638c33dd
mov word [esi], 0x5c5c
add esi, 2
jmp 0x638c3230
mov dword [esp], 0x638ca029
movzx eax, word [ebp - 0x850]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
mov dword [ebp - 0x860], eax
mov eax, dword [ebp - 0x84c]
test eax, eax
je 0x638c3552
shr eax, 0x10
je 0x638c3500
mov esi, dword [ebp - 0x84c]
mov ecx, 0xffffffff
mov dword [esp + 4], ecx
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrA]
sub esp, 8
test eax, eax
jne 0x638c3538
cmp byte [esi], 0
je 0x638c3586
mov ecx, esi
lea esi, [esi]
lea esi, [esi]
mov edx, eax
cmp byte [ecx + edx + 1], 0
lea eax, [eax + 1]
jne 0x638c32e0
mov byte [ebp - 0x83c], 0x22
mov edi, dword [ebp - 0x84c]
lea esi, [ebp - 0x83b]
mov dword [ebp - 0x864], ebx
lea ecx, [ebp - 0x719]
jmp 0x638c3335
cmp al, 9
je 0x638c3368
cmp al, 0xa
jne 0x638c3380
mov word [esi], 0x6e5c
add esi, 2
lea eax, [edx - 1]
cmp esi, ecx
ja 0x638c3470
test edx, edx
jle 0x638c3470
mov edx, eax
movzx eax, byte [edi]
inc edi
cmp al, 0xd
je 0x638c3358
jle 0x638c3310
cmp al, 0x22
je 0x638c33b0
cmp al, 0x5c
jne 0x638c3372
mov word [esi], 0x5c5c
add esi, 2
jmp 0x638c3320
mov word [esi], 0x725c
add esi, 2
jmp 0x638c3320
mov word [esi], 0x745c
add esi, 2
jmp 0x638c3320
mov bl, al
sub bl, 0x20
cmp bl, 0x5e
jbe 0x638c3530
mov word [esi], 0x785c
mov bl, al
and al, 0xf
shr bl, 4
movzx eax, al
movzx ebx, bl
movzx eax, byte [eax + str.0123456789abcdefIEWinMain]
add esi, 4
movzx ebx, byte [ebx + str.0123456789abcdefIEWinMain]
mov byte [esi - 1], al
mov byte [esi - 2], bl
jmp 0x638c3320
mov word [esi], 0x225c
add esi, 2
jmp 0x638c3320
mov word [esi], 0x725c
add esi, 2
jmp 0x638c3230
mov word [esi], 0x745c
add esi, 2
jmp 0x638c3230
mov bl, al
sub bl, 0x20
cmp bl, 0x5e
jbe 0x638c3520
mov word [esi], 0x785c
mov bl, al
and al, 0xf
shr bl, 4
movzx eax, al
movzx ebx, bl
movzx eax, byte [eax + str.0123456789abcdefIEWinMain]
add esi, 4
movzx ebx, byte [ebx + str.0123456789abcdefIEWinMain]
mov byte [esi - 1], al
mov byte [esi - 2], bl
jmp 0x638c3230
mov word [esi], 0x225c
add esi, 2
jmp 0x638c3230
mov byte [esi], 0x22
test eax, eax
mov ebx, dword [ebp - 0x860]
jle 0x638c357e
mov word [esi + 1], 0x2e2e
lea eax, [esi + 4]
mov byte [esi + 3], 0x2e
mov byte [eax], 0
lea eax, [ebp - 0x83c]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov dword [ebp - 0x860], eax
jmp 0x638c328d
mov byte [esi], 0x22
test eax, eax
mov ebx, dword [ebp - 0x864]
jle 0x638c3598
mov word [esi + 1], 0x2e2e
lea eax, [esi + 4]
mov byte [esi + 3], 0x2e
mov byte [eax], 0
lea eax, [ebp - 0x83c]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov dword [esp + 0x10], eax
mov esi, dword [ebp - 0x85c]
mov eax, str.__s___s___ld___p___ld___ld__n
mov dword [esp + 0xc], eax
mov edx, 0x638c8018
mov eax, str.URLSubRegQueryA
mov dword [esp + 0x1c], ebx
mov dword [esp + 8], eax
mov dword [esp + 0x24], esi
mov esi, dword [ebp - 0x854]
mov dword [esp + 4], edx
mov dword [esp], 3
mov dword [esp + 0x20], esi
mov esi, dword [ebp - 0x858]
mov dword [esp + 0x18], esi
mov esi, dword [ebp - 0x860]
mov dword [esp + 0x14], esi
call sym._wine_dbg_log.constprop.0
jmp 0x638c30d3
mov dword [esp], 0x638ca029
movzx eax, word [ebp - 0x84c]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
jmp 0x638c349f
mov byte [esi], al
inc esi
jmp 0x638c3230
mov byte [esi], al
inc esi
jmp 0x638c3320
mov eax, 0x638ca01f
jmp 0x638c349f
mov esi, 0x638ca01f
mov dword [ebp - 0x860], esi
jmp 0x638c328d
mov eax, 0x638ca018
jmp 0x638c349f
mov edi, 0x638ca018
mov dword [ebp - 0x860], edi
jmp 0x638c328d
lea esi, [ebp - 0x83b]
mov eax, 0x2222
mov word [ebp - 0x83c], ax
lea eax, [esi + 1]
jmp 0x638c344e
lea esi, [ebp - 0x83b]
mov edx, 0x2222
mov word [ebp - 0x83c], dx
lea eax, [esi + 1]
jmp 0x638c348e
mov eax, 0x80004005
jmp 0x638c317c