Function at 0x425638
Capabilities:
Set registry value

Disassembly:
push ebp
mov eax, 0x1124
lea ebp, [esp - 0x10a4]
call fcn.0042ed80
mov eax, dword [0x438060]
and dword [ebp - 0x68], 0
xor eax, ebp
push ebx
mov ebx, dword [ebp + 0x10ac]
mov dword [ebp + 0x10a0], eax
mov eax, dword [ebp + 0x10b0]
push esi
push edi
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0xa0]
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
call fcn.00425030
test eax, eax
jl 0x42592d
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0xa0]
push eax
call fcn.0042594d
test eax, eax
pop ecx
pop ecx
jne 0x4256ad
mov eax, 0x80020009
jmp 0x42592d
call fcn.00425cb0
mov ecx, dword [ebp - 0x74]
lea eax, [ebp + 0xa0]
call fcn.00425030
test eax, eax
jl 0x42592d
movzx eax, word [ebp - 0x68]
sub eax, 8
je 0x4258fd
sub eax, 9
je 0x425847
dec eax
dec eax
je 0x425791
sub eax, 0x3ff5
jne 0x42591c
lea eax, [ebp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp - 0x64], 0
inc eax
push eax
lea esi, [ebp - 0x64]
call fcn.00425a65
mov edi, dword [ebp - 0x64]
test edi, edi
je 0x425775
cmp byte [ebp + 0xa0], 0
lea esi, [ebp + 0xa0]
je 0x425760
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
push esi
call ebx
mov cl, byte [esi]
cmp cl, 0x5c
jne 0x425742
cmp byte [eax], 0x30
jne 0x425742
mov byte [edi], 0
push eax
inc edi
call ebx
mov esi, eax
jmp 0x42575b
xor eax, eax
mov byte [edi], cl
mov al, byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x425759
inc edi
inc esi
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
cmp byte [esi], 0
jne 0x425728
mov byte [edi], 0
push dword [ebp - 0x64]
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
call fcn.00425a10
mov esi, eax
jmp 0x425778
push 0xe
pop esi
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x64], eax
je 0x42590f
lea eax, [ebp - 0x64]
call fcn.00425a07
jmp 0x42590f
call dword [0x438090]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0xa0]
xor edi, edi
push eax
mov dword [ebp - 0x68], edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
inc ebx
lea esi, [ebx + ebx]
cmp esi, 0x400
ja 0x4257d6
push esi
call fcn.00424854
test al, al
pop ecx
je 0x4257d6
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.0042ed80
mov eax, esp
jmp 0x4257e3
mov eax, esi
lea esi, [ebp - 0x68]
call fcn.004248ad
mov edi, dword [ebp - 0x68]
push dword [ebp - 0x78]
lea ecx, [ebp + 0xa0]
push ebx
push ecx
mov esi, eax
call fcn.00424822
test eax, eax
je 0x425825
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
push dword [ebp - 0x7c]
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
call fcn.00425a47
mov esi, eax
jmp 0x42583e
mov eax, edi
mov edi, dword [edi]
push eax
call fcn.0042dddb
pop ecx
test edi, edi
jne 0x42581a
mov eax, 0x8007000e
jmp 0x42592d
mov eax, edi
mov edi, dword [edi]
push eax
call fcn.0042dddb
pop ecx
test edi, edi
jne 0x425833
jmp 0x42590f
lea eax, [ebp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test al, 1
mov dword [ebp - 0x68], eax
jne 0x425883
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
xor edi, edi
push ebx
lea esi, [ebp - 0x64]
mov dword [ebp - 0x64], edi
call fcn.00425a65
cmp dword [ebp - 0x64], edi
jne 0x42588d
lea eax, [ebp - 0x60]
test eax, eax
je 0x425883
mov eax, esi
call fcn.00425a07
mov eax, 0x80004005
jmp 0x42592d
push ebx
push edi
push dword [ebp - 0x64]
call fcn.0042e270
add esp, 0xc
cmp dword [ebp - 0x68], 0
jle 0x4258d2
mov ecx, dword [ebp - 0x64]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + ecx]
mov al, byte [ebp + edi + 0xa0]
call fcn.00425a85
mov ecx, edi
and ecx, 1
shl ecx, 2
mov edx, ecx
push 4
pop ecx
sub ecx, edx
shl al, cl
or byte [esi], al
inc edi
cmp edi, dword [ebp - 0x68]
jl 0x4258a0
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
push ebx
push dword [ebp - 0x64]
push 3
push 0
push dword [ebp - 0x70]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x64], eax
je 0x42590f
lea eax, [ebp - 0x64]
call fcn.00425a07
jmp 0x42590f
push 1
lea eax, [ebp + 0xa0]
push eax
push ebx
push edi
call fcn.004259df
mov esi, eax
test esi, esi
je 0x42591c
mov eax, esi
call fcn.00425ca1
jmp 0x42592d
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x74]
call fcn.00425030
test eax, eax
jl 0x42592d
xor eax, eax
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x10a0]
xor ecx, ebp
call fcn.0042e08a
add ebp, 0x10a4
leave
ret 8