Function at 0x4233f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546c53
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x5ec938]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x25c], ecx
call fcn.00436219
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x423444
push 0x80004005
call fcn.00401ed0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], 0
call fcn.00436219
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x423477
push 0x80004005
call fcn.00401ed0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x23c], ebx
push 0x200
lea eax, [esi + 0x402]
push 0
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x244], 0
call fcn.0052c850
push 0x208
lea eax, [esi + 0x602]
push 0
push eax
call fcn.0052c850
push 0x200
lea eax, [esi + 0x202]
push 0
push eax
call fcn.0052c850
push 0x200
lea eax, [esi + 2]
push 0
push eax
call fcn.0052c850
add esp, 0x30
cmp word [edi], 0
jne 0x423536
or edi, 0xffffffff
lea eax, [ebx - 0x10]
mov edx, edi
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42350b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov dword [ebp - 4], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x423b43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x423b43
test esi, esi
je 0x4234e9
push edi
lea ecx, [ebp - 0x220]
call fcn.00404fe0
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 2
call fcn.00414840
lea ecx, [ebp - 0x220]
call fcn.004232d0
mov ecx, dword [ebp - 0x220]
mov eax, dword [ecx - 0xc]
or edi, 0xffffffff
test eax, eax
js 0x4235b8
push str._SUBINSTALL
push ecx
call fcn.0052d906
mov ecx, dword [ebp - 0x220]
add esp, 8
test eax, eax
je 0x4235b8
sub eax, ecx
sar eax, 1
cmp eax, edi
je 0x4235b8
lea eax, [ecx - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4234ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4234ec
cmp dword [ecx - 0xc], 0
jl 0x4235dc
push str.SOFTWARECANON_
push ecx
call fcn.0052d906
mov ecx, dword [ebp - 0x220]
add esp, 8
test eax, eax
je 0x4235dc
sub eax, ecx
sar eax, 1
je 0x423604
lea eax, [ecx - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4234ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4234ec
mov edi, dword [ecx - 0xc]
push 0x10
push str.SOFTWARECANON_
call fcn.0052ceda
add esp, 8
cmp edi, eax
jle 0x423b22
push 0x10
push str.SOFTWARECANON_
call fcn.0052ceda
add esp, 8
mov ebx, eax
push ebx
push 0x22
lea ecx, [ebp - 0x220]
call fcn.00422c60
mov edi, eax
test edi, edi
jle 0x4237a2
push edi
lea ecx, [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00414710
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 3
call fcn.00402930
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.00402480
lea ecx, [ebp - 0x224]
call fcn.00423250
inc edi
push edi
push 0x22
lea ecx, [ebp - 0x220]
call fcn.00422c60
mov ebx, eax
test ebx, ebx
js 0x4236e8
sub ebx, edi
push ebx
push edi
lea edx, [ebp - 0x230]
push edx
lea ecx, [ebp - 0x220]
call fcn.00404800
push eax
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 4
call fcn.00402930
lea ecx, [ebp - 0x230]
call fcn.00402480
push ebx
push str._NOEULA
lea ecx, [ebp - 0x220]
call fcn.004097f0
xor ecx, ecx
test eax, eax
sets cl
mov dword [ebp - 0x244], ecx
xor ebx, ebx
lea ecx, [ebp - 0x240]
call fcn.00402450
lea ecx, [ebp - 0x238]
call fcn.00402450
lea ecx, [ebp - 0x248]
call fcn.00402450
mov edx, dword [ebp - 0x224]
lea ecx, [ebp - 0x234]
push ecx
push 1
push ebx
push edx
push 0x80000002
mov byte [ebp - 4], 8
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x234], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423b01
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x22c]
push edx
push ebx
push str.PRIMARY_LANGID
push eax
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x228], 4
mov dword [ebp - 0x22c], ebx
call edi
test eax, eax
je 0x42382e
push ebx
push ebx
call fcn.00423000
movzx ecx, ax
mov dword [ebp - 0x24c], ecx
jmp 0x423886
push ebx
push str._NOEULA
lea ecx, [ebp - 0x220]
call fcn.004097f0
xor ebx, ebx
cmp eax, ebx
jl 0x423802
dec eax
push eax
lea edx, [ebp - 0x230]
push edx
lea ecx, [ebp - 0x220]
call fcn.00414710
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 5
call fcn.00402930
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.00402480
lea ecx, [ebp - 0x224]
call fcn.00423250
mov dword [ebp - 0x244], ebx
jmp 0x4236ea
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x224]
call fcn.00402930
lea ecx, [ebp - 0x224]
call fcn.00423250
mov dword [ebp - 0x244], 1
jmp 0x4236ea
lea edx, [ebp - 0x228]
push edx
mov edx, dword [ebp - 0x234]
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x22c]
push ecx
push ebx
push str.SUB_LANGID
push edx
mov dword [ebp - 0x228], 4
mov dword [ebp - 0x22c], ebx
call edi
test eax, eax
je 0x42386a
push ebx
push ebx
jmp 0x423878
mov ecx, dword [ebp - 0x254]
mov edx, dword [ebp - 0x258]
push ecx
push edx
call fcn.00423000
movzx eax, ax
mov dword [ebp - 0x24c], eax
add esp, 8
push 0x20a
lea ecx, [ebp - 0x21c]
push ebx
push ecx
mov dword [ebp - 0x22c], 1
call fcn.0052c850
add esp, 0xc
lea edx, [ebp - 0x228]
push edx
mov edx, dword [ebp - 0x234]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x22c]
push ecx
push ebx
push str.REGION
push edx
mov dword [ebp - 0x228], 0x104
call edi
test eax, eax
jne 0x4238ec
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call fcn.00402bd0
push 0x555eb0
lea ecx, [ebp - 0x238]
call fcn.00409630
test eax, eax
jne 0x423907
push str.asia
jmp 0x42394a
lea ecx, [ebp - 0x228]
push ecx
mov ecx, dword [ebp - 0x234]
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x22c]
push eax
push ebx
push str.RESIDENCE
push ecx
mov dword [ebp - 0x22c], 1
mov dword [ebp - 0x228], 0x104
call edi
test eax, eax
jne 0x423955
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x240]
call fcn.00402bd0
push 0x20a
lea eax, [ebp - 0x21c]
push ebx
push eax
mov dword [ebp - 0x22c], 1
call fcn.0052c850
add esp, 0xc
lea ecx, [ebp - 0x228]
push ecx
mov ecx, dword [ebp - 0x234]
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x22c]
push eax
push ebx
push 0x55a1c8
push ecx
mov dword [ebp - 0x228], 0x104
call edi
test eax, eax
jne 0x4239b8
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x248]
call fcn.00402bd0
mov eax, 4
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x22c]
push edx
push ebx
push str.SEND_INFO_AGREE
push eax
mov dword [ebp - 0x230], ebx
call edi
mov edi, dword [ebp - 0x230]
test eax, eax
je 0x423a03
mov edi, dword [ebp - 0x250]
lea ecx, [ebp - 0x240]
call fcn.004047e0
push eax
lea eax, [esi + 2]
push 0x100
push eax
call fcn.0052cd4a
add esp, 0xc
lea ecx, [ebp - 0x238]
call fcn.004047e0
push eax
lea eax, [esi + 0x202]
push 0x100
push eax
call fcn.0052cd4a
add esp, 0xc
lea ecx, [ebp - 0x248]
call fcn.004047e0
push eax
lea eax, [esi + 0x402]
push 0x100
push eax
call fcn.0052cd4a
mov cx, word [ebp - 0x24c]
mov edx, dword [ebp - 0x244]
mov word [esi], cx
add esp, 0xc
lea ecx, [ebp - 0x23c]
mov dword [esi + 0x80c], edx
call fcn.004047e0
push eax
lea eax, [esi + 0x602]
push 0x104
push eax
call fcn.0052cd4a
mov ecx, dword [ebp - 0x25c]
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
add ecx, 4
call fcn.00402930
xor ecx, ecx
cmp edi, ebx
setne cl
mov dword [esi + 0x810], ecx
lea ecx, [ebp - 0x248]
call fcn.00402480
lea ecx, [ebp - 0x238]
call fcn.00402480
lea ecx, [ebp - 0x240]
call fcn.00402480
lea ecx, [ebp - 0x220]
call fcn.00402480
lea ecx, [ebp - 0x23c]
call fcn.00402480
lea ecx, [ebp - 0x224]
call fcn.00402480
mov eax, 1
jmp 0x423b45
lea ecx, [ebp - 0x248]
call fcn.00402480
lea ecx, [ebp - 0x238]
call fcn.00402480
lea ecx, [ebp - 0x240]
call fcn.00402480
lea ecx, [ebp - 0x220]
call fcn.00402480
lea ecx, [ebp - 0x23c]
call fcn.00402480
lea ecx, [ebp - 0x224]
call fcn.00402480
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c2ec
mov esp, ebp
pop ebp
ret 8