Function at 0x405f70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x420020]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
push 0
push 0x418728
lea ecx, [ebx + 0x1c]
call fcn.00404050
push 0
lea ecx, [ebx + 0x20]
push 0x418728
call fcn.00404050
push 0
lea ecx, [ebx + 0x24]
push 0x418728
call fcn.00404050
push 0
lea ecx, [ebx + 0x28]
push 0x418728
call fcn.00404050
push 0
lea ecx, [ebx + 0x2c]
push 0x418728
call fcn.00404050
call fcn.00402b10
mov ecx, eax
test ecx, ecx
je 0x406392
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x256]
push eax
movzx eax, word [ebp - 0x25a]
push eax
movzx eax, word [ebp - 0x25c]
push eax
lea eax, [ebp - 0x264]
push str._d__d__d
push eax
call fcn.004029e0
add esp, 0x14
lea ecx, [ebp - 0x264]
push ecx
lea ecx, [ebx + 0x10]
call fcn.00405b50
push str.fday
push str.Softwarejisuoffice
push 0x80000001
lea eax, [ebp - 0x260]
mov ecx, ebx
push eax
call fcn.00406680
push eax
lea ecx, [ebx + 4]
call fcn.00405b50
mov edx, dword [ebp - 0x260]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x406080
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx + 4]
cmp dword [eax - 0xc], 0
jne 0x4060b6
lea eax, [ebx + 0x10]
push eax
lea ecx, [ebx + 4]
call fcn.00405b50
mov ecx, dword [ebx + 4]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push 1
push str.fday
push str.Softwarejisuoffice
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push str.fver
push str.Softwarejisuoffice
push 0x80000001
lea eax, [ebp - 0x260]
mov ecx, ebx
push eax
call fcn.00406680
push eax
lea ecx, [ebx + 8]
call fcn.00405b50
mov edx, dword [ebp - 0x260]
mov ecx, edi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4060fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.setup
push str.Softwarejisuoffice
push 0x80000001
lea eax, [ebp - 0x260]
mov ecx, ebx
push eax
call fcn.00406680
mov esi, dword [ebp - 0x260]
cmp dword [esi - 0xc], 0
je 0x406162
push ecx
lea eax, [esi - 0x10]
mov edi, esp
push eax
call fcn.00405bc0
add esp, 4
add eax, 0x10
mov ecx, ebx
mov dword [edi], eax
call fcn.00405c30
push eax
mov ecx, ebx
call fcn.00406750
mov edi, eax
lea ecx, [ebx + 0x48]
push edi
call fcn.00401950
test edi, edi
je 0x40615f
push edi
call fcn.00406eee
add esp, 4
or edi, 0xffffffff
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x24c], ax
lea eax, [ebp - 0x24a]
push eax
call fcn.00408d80
add esp, 0xc
lea eax, [ebp - 0x24c]
mov ecx, ebx
push 0x104
push eax
call fcn.00405cc0
lea ecx, [ebp - 0x24c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4061a0
sub ecx, edx
lea eax, [ebp - 0x24c]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00404050
mov ecx, dword [ebx]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push 1
push 0x418838
push str.Softwarejisuoffice
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, ebx
call fcn.004063b0
push 0x418840
push str.Softwarejisuoffice
mov dword [ebx + 0x18], eax
mov ecx, ebx
push 0x80000001
lea eax, [ebp - 0x260]
push eax
call fcn.00406680
lea ecx, [ebx + 0xc]
push eax
call fcn.00405b50
mov edx, dword [ebp - 0x260]
mov ecx, edi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40622d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx + 0xc]
lea ecx, [ebx + 0xc]
cmp dword [eax - 0xc], 0
jne 0x406245
push 4
push str.1001
call fcn.00404050
mov ecx, ebx
lea edi, [ebx + 0x14]
call fcn.00405e60
push eax
mov ecx, edi
call fcn.00401950
mov eax, dword [ebx]
mov ecx, edi
push dword [eax - 0xc]
push eax
call fcn.00402270
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.00408d80
mov ecx, dword [edi]
mov eax, 1
add esp, 0xc
sub eax, dword [ecx - 4]
or eax, dword [ecx - 8]
jge 0x40628c
push 0
mov ecx, edi
call fcn.004032e0
mov eax, dword [edi]
mov dword [ebp - 0x268], eax
test eax, eax
je 0x4062f8
mov ecx, eax
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4062a0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 0x260], eax
cmp eax, 0x3fffffff
jg 0x4062f8
add eax, eax
call fcn.00409be0
mov ebx, esp
test ebx, ebx
je 0x4062f8
mov ecx, dword [ebp - 0x260]
push 0
push 0
mov byte [ebx], 0
lea eax, [ecx + ecx]
push eax
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x268]
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, ebx
jmp 0x4062fa
xor eax, eax
push 0x40
lea ecx, [ebp - 0x44]
push ecx
push eax
call fcn.00404ba0
mov eax, dword [edi]
add esp, 0xc
test eax, eax
jne 0x406313
xor ecx, ecx
jmp 0x406325
push dword [eax - 8]
push eax
call fcn.0040915c
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x40639c
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x40639c
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi]
mov word [eax + ecx*2], dx
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
call fcn.00401950
lea edx, [esi - 0x10]
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40635e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x264]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x40637b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea esp, [ebp - 0x274]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408295
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402590
push 0x80070057
call fcn.00402590
int3