Function at 0x42fc49
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
movzx eax, byte [ebp + 0x38]
test eax, eax
je 0x42fd82
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x108], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x90], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x42fd37
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xb8]
movzx eax, byte [eax]
test eax, eax
je 0x42fd1a
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x42fcfb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 2
jge 0x42fd18
mov eax, dword [ebp - 0x10]
push dword [eax]
mov ecx, dword [ebp - 0x70]
call fcn.00434f4e
mov dword [eax], 1
jmp 0x42fcf0
jmp 0x42fd35
push 0x7b5
push 0
push 0x649
push 0xf41
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x42fd7d
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xc8]
movzx eax, byte [eax]
test eax, eax
je 0x42fd75
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
jmp 0x42fd7d
push 0
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
jmp 0x43011c
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xb0], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xd0], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x42fe29
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x110], eax
push 0x140d
push dword [ebp - 0x110]
push dword [ebp - 0x98]
push 0
push 0xe75
call fcn.0042a15c
add esp, 0x14
jmp 0x43011c
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x4300b9
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x42ff2a
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0
je 0x42ff2a
mov dword [ebp - 0x20], 1
jmp 0x42ff2e
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jne 0x42ff49
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x42ff49
mov dword [ebp - 0x30], 1
jmp 0x42ff4d
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x30]
jg 0x42ff6a
mov dword [ebp - 0x40], 1
jmp 0x42ff6e
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0x946b43d2
jne 0x42ff80
mov dword [ebp - 0x1c], 1
jmp 0x42ff84
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
cmp dword [ebp - 0x1c], 0
je 0x42ffa6
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x42ffa6
mov dword [ebp - 0x24], 1
jmp 0x42ffaa
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
add eax, 0x14ab653b
je 0x42ffc6
mov eax, 0x1046
test eax, eax
je 0x42ffc6
mov dword [ebp - 0x2c], 1
jmp 0x42ffca
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jle 0x42ffdd
mov dword [ebp - 0x34], 1
jmp 0x42ffe1
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 4
jg 0x42fff0
mov dword [ebp - 0x44], 1
jmp 0x42fff4
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x44]
add ecx, 7
cmp dword [eax], ecx
jl 0x430017
mov dword [ebp - 0xd4], 1
jmp 0x43001e
and dword [ebp - 0xd4], 0
mov eax, 0xd25bb086
test eax, eax
je 0x43004a
mov byte [ebp - 1], 0
push 0
push 0x561e
lea eax, [ebp - 1]
push eax
push 0x4e07
push 0x7a5e
call fcn.0041f191
add esp, 0x14
jmp 0x4300b7
mov dword [ebp - 0xe4], 0x38991f3
mov dword [ebp - 0xdc], 0x2ea6ae20
mov eax, dword [ebp - 8]
mov dword [eax], 2
jmp 0x430074
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jl 0x430086
push 0
call fcn.0040bb80
pop ecx
jmp 0x430069
lea eax, [ebp - 0xdc]
push eax
push 1
push 0x2350
push dword [ebp - 8]
push 0x2c05
push 1
lea eax, [ebp - 0xe4]
push eax
push 0x6538
push dword [ebp - 0x18]
push 0
call fcn.00414bf1
add esp, 0x28
jmp 0x43011c
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x4300fc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 1
jge 0x43011c
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x10c]
call fcn.00434f4e
mov dword [eax], 0xa8ea
jmp 0x4300f1
mov esp, ebp
pop ebp
ret