Function at 0x438220
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474bf5
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x4a5010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x16
push str.MainProcessRunLastDate
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
call fcn.00439ab0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xd0]
xorps xmm0, xmm0
mov dword [ebp - 0xbc], 0xf
push 0x1b
push str.SoftwarePhotoViewerReport
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0xc0], 0
movups xmmword [ebp - 0x48], xmm0
mov byte [ebp - 0xd0], 0
movq qword [ebp - 0x38], xmm0
call fcn.00439ab0
push 0xffffffffffffffff
mov byte [ebp - 4], 1
lea eax, [ebp - 0xd0]
push 0
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x58], 0x80000001
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
call fcn.00426a30
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xbc]
cmp eax, 0x10
jb 0x438324
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.00421800
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xbc], 0xf
push eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xc0], 0
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 0xd0], 0
call fcn.0043da30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x14], 0
call fcn.0043aec0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x438377
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x14]
call fcn.004393b0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xd4]
cmp eax, 0x10
jb 0x4383a2
inc eax
lea ecx, [ebp - 0xe8]
push eax
push dword [ebp - 0xe8]
call fcn.00421800
cmp dword [ebp - 0xa4], 0x10
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xe8], 0
jb 0x4383da
mov eax, dword [ebp - 0xb8]
test eax, eax
jne 0x4383e0
push 0x80004005
call fcn.00403340
lea eax, [ebp - 0xb8]
push eax
push dword [ebp - 0x14]
call fcn.0045d6c8
add esp, 8
or ecx, 0xffffffff
test eax, eax
je 0x438767
mov eax, dword [ebp - 0x14]
cmp dword [eax - 4], 1
jle 0x43840e
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
call fcn.004394d0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
cmp byte [eax], 0
jne 0x438432
xor edx, edx
jmp 0x438440
mov edx, eax
lea esi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x438437
sub edx, esi
push edx
push eax
lea ecx, [ebp - 0xd0]
call fcn.00439ab0
lea ecx, [ebp - 0x58]
call fcn.0043db30
test al, al
je 0x438498
cmp dword [ebp - 0xbc], 0x10
lea edx, [ebp - 0xd0]
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0xa0]
cmovae edx, dword [ebp - 0xd0]
cmp dword [ebp - 0x8c], 0x10
cmovae ecx, dword [ebp - 0xa0]
inc eax
push eax
push edx
push 1
push 0
push ecx
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0xbc]
cmp eax, 0x10
jb 0x4384b6
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.00421800
push 0x1b
push str.SoftwarePhotoViewerReport
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.00439ab0
push 0x18
push str.offlineMainProcess.Run
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 8
call fcn.00439e00
push 0x17
push str._2.gif_projkantufood
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
call fcn.00439ab0
mov byte [ebp - 4], 9
call fcn.004035d0
mov ecx, eax
test ecx, ecx
jne 0x43852a
push 0x80004005
call fcn.00403340
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0
mov byte [ebp - 4], 0xa
call fcn.0045d686
push edx
push eax
lea eax, [ebp - 0x18]
push str._I64d
push eax
call fcn.004398f0
add esp, 0x14
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x18]
cmp dword [esi - 4], 1
jle 0x438582
push dword [esi - 0xc]
lea ecx, [ebp - 0x18]
call fcn.004394d0
mov esi, dword [ebp - 0x18]
push 4
push str.ts
lea ecx, [ebp - 0x30]
call fcn.00439e00
test esi, esi
je 0x4385b6
cmp byte [esi], 0
jne 0x43859e
xor ecx, ecx
jmp 0x4385ac
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4385a3
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x30]
call fcn.00439e00
push 5
push str.act
lea ecx, [ebp - 0x30]
call fcn.00439e00
mov edx, 3
lea ecx, [ebp - 0xe8]
call fcn.0043ab60
mov edx, eax
mov byte [ebp - 4], 0xc
cmp dword [edx + 0x14], 0x10
jb 0x4385e3
mov edx, dword [edx]
test edx, edx
je 0x438617
cmp byte [edx], 0
jne 0x4385f0
xor ecx, ecx
jmp 0x43860d
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xec], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438600
sub ecx, dword [ebp - 0xec]
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00439e00
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xd4]
cmp eax, 0x10
jb 0x438639
inc eax
lea ecx, [ebp - 0xe8]
push eax
push dword [ebp - 0xe8]
call fcn.00421800
cmp dword [edi + 0x14], 8
jb 0x438641
mov edi, dword [edi]
mov edx, edi
lea ecx, [ebp - 0xe8]
call fcn.0043abf0
mov edi, eax
push 6
push str.proj
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call fcn.00439e00
cmp dword [edi + 0x14], 0x10
jb 0x43866b
mov edi, dword [edi]
test edi, edi
je 0x438693
cmp byte [edi], 0
jne 0x438678
xor ecx, ecx
jmp 0x438689
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438680
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x30]
call fcn.00439e00
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xd4]
cmp eax, 0x10
jb 0x4386b5
inc eax
lea ecx, [ebp - 0xe8]
push eax
push dword [ebp - 0xe8]
call fcn.00421800
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x70]
call fcn.00437ed0
mov eax, dword [ebp - 0x1c]
add esp, 4
cmp eax, 0x10
jb 0x4386df
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00421800
mov dword [ebp - 0x1c], 0xf
add esi, 0xfffffff0
mov dword [ebp - 0x20], 0
or eax, 0xffffffff
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 9
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43870d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x438728
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00421800
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
cmp eax, 0x10
jb 0x438752
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00421800
mov dword [ebp - 0x5c], 0xf
or ecx, 0xffffffff
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x438783
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xa4]
cmp eax, 0x10
jb 0x4387a1
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.00421800
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
test eax, eax
je 0x4387d1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x4387e6
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.00421800
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
cmp eax, 0x10
jb 0x438816
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00421800
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f53f
mov esp, ebp
pop ebp
ret