Function at 0x4269c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov eax, dword [0x49803c]
mov edi, edx
mov esi, ecx
xor eax, ebp
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], 0
push edx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
mov ebx, eax
cmp eax, 7
ja 0x426a21
mov ecx, ebx
lea eax, [esp + 0x30]
add ecx, ebx
mov dword [eax + 0x10], ebx
push ecx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov word [esp + ebx*2 + 0x30], 0
jmp 0x426a3c
sub esp, 0xc
mov al, byte [esp + 0x14]
lea ecx, [esp + 0x3c]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], ebx
call fcn.00424520
movsd xmm0, qword [esp + 0x38]
xor eax, eax
movzx ecx, word [esp + 0x30]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
lea edi, [esp + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x26], eax
mov dword [esp + 0x20], eax
mov dword [edi + 0x10], eax
movsd qword [esp + 0x26], xmm0
movsd xmm0, qword [esp + 0x32]
mov word [esp + 0x30], cx
mov ecx, 7
mov dword [edi + 0x14], ecx
mov word [edi], 0
movsd qword [esp + 0x20], xmm0
movsd xmm0, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x26]
movsd qword [esp + 0x32], xmm0
movsd qword [esp + 0x38], xmm1
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
sub esp, 0xc
mov al, byte [esp + 0x10]
mov ecx, edi
mov byte [esp + 4], al
mov dword [esp + 8], str.SOFTWAREMozillaFirefoxDefault_Browser_Agent
mov dword [esp], 0x2e
call fcn.00424520
cmp dword [ebp + 8], 0
je 0x426b51
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
je 0x426c49
lea edx, [eax + 1]
cmp ecx, 7
mov dword [esp + 0x18], edx
jbe 0x426af3
mov edi, dword [esp + 8]
mov word [edi + eax*2], 0x5c
mov word [edi + eax*2 + 2], 0
push dword [ebp + 8]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edi, edx
sub edi, ecx
cmp edi, eax
jb 0x426c74
lea edi, [ecx + eax]
cmp edx, 7
mov dword [esp + 0x18], edi
jbe 0x426b31
mov ebx, dword [esp + 8]
jmp 0x426b35
lea ebx, [esp + 8]
add eax, eax
lea ecx, [ebx + ecx*2]
push eax
push dword [ebp + 8]
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov word [ebx + edi*2], 0
mov ebx, dword [esp + 0x44]
cmp ebx, 7
mov dword [esp], 4
jbe 0x426b63
mov eax, dword [esp + 0x30]
jmp 0x426b67
lea eax, [esp + 0x30]
cmp dword [esp + 0x1c], 7
jbe 0x426b74
mov ecx, dword [esp + 8]
jmp 0x426b78
lea ecx, [esp + 8]
mov edx, esp
lea edi, [esp + 4]
push edx
push edi
push 0
push 0x18
push eax
push ecx
push SysReAllocString
call dword [sym.imp.advapi32.dll_RegGetValueW]
test eax, eax
je 0x426ba4
cmp eax, 2
jne 0x426bba
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 4], eax
jmp 0x426bb6
mov eax, dword [esp + 4]
mov dword [esi + 8], 0
mov dword [esi + 4], 1
mov dword [esi], eax
jmp 0x426be6
movzx edi, ax
mov edx, str.RegistryGetValueDword
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
push 0x125
call fcn.00428eb0
add esp, 4
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], edi
mov ecx, dword [esp + 0x1c]
cmp ecx, 8
jb 0x426c0d
mov eax, dword [esp + 8]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jae 0x426c9b
push edx
push eax
call fcn.0045fd21
add esp, 8
mov ecx, dword [esp + 0x44]
cmp ecx, 8
jb 0x426c34
mov eax, dword [esp + 0x30]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jae 0x426cb6
push edx
push eax
call fcn.0045fd21
add esp, 8
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.0045fb40
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
mov al, byte [esp + 0x14]
lea ecx, [esp + 0x18]
mov byte [esp + 4], al
xor eax, eax
mov dword [esp + 8], 0x493a50
inc eax
mov dword [esp + 0xc], eax
mov dword [esp], eax
call fcn.00423e40
jmp 0x426b00
sub esp, 0x10
mov cl, byte [esp + 0x14]
mov byte [esp + 4], cl
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp], eax
mov dword [esp + 8], ecx
lea ecx, [esp + 0x18]
call fcn.00423e40
jmp 0x426b4d
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x426cd1
add ecx, ecx
add ecx, 0x25
mov edx, ecx
jmp 0x426c03
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x426cd1
add ecx, ecx
add ecx, 0x25
mov edx, ecx
jmp 0x426c2a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3