Function at 0x409ea0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c5c5
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x461fec]
xor eax, ebp
mov dword [ebp - 0x4c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x98], ecx
mov eax, dword [ebp - 0x98]
movzx ecx, byte [eax + 0x154]
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x2c], ecx
push 5
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x150]
push eax
call fcn.0041d980
add esp, 8
mov dword [ebp - 0x68], eax
push 4
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx + 0x150]
push edx
call fcn.0041d980
add esp, 8
mov dword [ebp - 0x64], eax
push 8
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x150]
push ecx
call fcn.0041d980
add esp, 8
mov dword [ebp - 0x44], eax
push 7
mov edx, dword [ebp - 0x98]
mov eax, dword [edx + 0x150]
push eax
call fcn.0041d980
add esp, 8
mov dword [ebp - 0x30], eax
push 0
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx + 0x150]
push edx
call fcn.0041db30
add esp, 8
mov dword [ebp - 0x6c], eax
push 0xa
lea ecx, [ebp - 0x28]
call fcn.0043032f
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00401880
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00401880
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.00401880
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00401880
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
call fcn.00401880
mov byte [ebp - 4], 5
push 0
mov eax, dword [ebp - 0x6c]
push eax
call fcn.0041f370
add esp, 8
test eax, eax
jne 0x40a025
mov ecx, 0x46
mov word [ebp - 0x76], cx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
call fcn.004018a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.004018a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004018a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.004018a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004018a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00430460
mov ax, word [ebp - 0x76]
jmp 0x40a69b
push 1
mov edx, dword [ebp - 0x6c]
push edx
call fcn.0041d8e0
add esp, 8
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x40a099
mov eax, 0x46
mov word [ebp - 0x78], ax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
call fcn.004018a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.004018a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004018a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.004018a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004018a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00430460
mov ax, word [ebp - 0x78]
jmp 0x40a69b
mov ecx, dword [ebp - 0x6c]
push ecx
push 3
mov ecx, dword [ebp - 0x98]
call fcn.00409160
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.004215e0
add esp, 8
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x60]
call fcn.00403530
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x7c]
call fcn.004018a0
mov ecx, dword [ebp - 0x98]
mov ecx, dword [ecx + 0x4c8]
call fcn.0040cbb0
test eax, eax
jne 0x40a126
lea ecx, [ebp - 0x60]
call fcn.00401920
push eax
push 1
call fcn.0041d850
add esp, 4
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c050
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x4c8]
call fcn.0040cbe0
test eax, eax
jne 0x40a157
lea ecx, [ebp - 0x60]
call fcn.00401920
push eax
push 0
call fcn.0041d850
add esp, 4
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c050
cmp dword [ebp - 0x30], 0
je 0x40a231
cmp dword [ebp - 0x44], 0
je 0x40a231
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x4c8]
call fcn.0040cbb0
test eax, eax
jne 0x40a231
push 0x680c
lea ecx, [ebp - 0x48]
call fcn.004018e0
movzx ecx, byte [0x45445d]
push ecx
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x4c8]
call fcn.0040ce00
movzx eax, ax
push eax
lea ecx, [ebp - 0x48]
call fcn.00401920
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0042d681
lea edx, [ebp - 0x80]
push edx
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x4c8]
call fcn.0040cda0
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
push 0x6814
lea edx, [ebp - 0x48]
push edx
call fcn.0040bf10
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.004018a0
lea ecx, [ebp - 0x48]
call fcn.00401920
push eax
push 6
call fcn.0041d850
add esp, 4
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c050
cmp dword [ebp - 0x44], 0
je 0x40a30c
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x4c8]
call fcn.0040cbb0
test eax, eax
jne 0x40a30c
lea ecx, [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x4c8]
call fcn.0040cce0
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xb0]
call fcn.00401920
push eax
push 7
call fcn.0041d850
add esp, 4
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c050
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x84]
call fcn.004018a0
lea ecx, [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x4c8]
call fcn.0040cd40
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xb8]
call fcn.00401920
push eax
push 8
call fcn.0041d850
add esp, 4
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c050
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
call fcn.004018a0
lea ecx, [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x4c8]
call fcn.0040cc40
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xc0]
call fcn.00401920
push eax
push 3
call fcn.0041d850
add esp, 4
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c050
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8c]
call fcn.004018a0
cmp dword [ebp - 0x30], 0
je 0x40a3d0
mov ecx, dword [ebp - 0x98]
mov ecx, dword [ecx + 0x4c8]
call fcn.0040cbb0
test eax, eax
jne 0x40a3d0
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x4c8]
call fcn.0040ce00
movzx eax, ax
add eax, 1
mov word [ebp - 0x74], ax
movzx ecx, word [ebp - 0x74]
push ecx
push 0x450f70
lea edx, [ebp - 0x3c]
push edx
call fcn.004048e0
add esp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.00401920
push eax
push 2
call fcn.0041d850
add esp, 4
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c050
cmp dword [ebp - 0x44], 0
je 0x40a481
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x4c8]
call fcn.0040cbb0
test eax, eax
jne 0x40a481
mov ecx, dword [ebp - 0x98]
mov ecx, dword [ecx + 0x4c8]
call fcn.0040ce30
mov word [ebp - 0x74], ax
movzx edx, word [ebp - 0x74]
push edx
push 0x450f74
lea eax, [ebp - 0x3c]
push eax
call fcn.004048e0
add esp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.00401920
push eax
push 9
call fcn.0041d850
add esp, 4
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c050
mov ecx, dword [ebp - 0x98]
mov ecx, dword [ecx + 0x4c8]
call fcn.0040ce60
mov word [ebp - 0x74], ax
movzx edx, word [ebp - 0x74]
push edx
push 0x450f78
lea eax, [ebp - 0x3c]
push eax
call fcn.004048e0
add esp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.00401920
push eax
push 0xa
call fcn.0041d850
add esp, 4
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c050
cmp dword [ebp - 0x64], 0
jne 0x40a48d
cmp dword [ebp - 0x68], 0
je 0x40a4f0
mov ecx, dword [ebp - 0x98]
mov ecx, dword [ecx + 0x4c8]
call fcn.0040cbb0
test eax, eax
jne 0x40a4f0
push 1
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + 0x4c8]
call fcn.0040ce90
push eax
push 4
call fcn.0041d850
add esp, 4
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c050
push 0
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x4c8]
call fcn.0040ce90
push eax
push 5
call fcn.0041d850
add esp, 4
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c050
lea ecx, [ebp - 0x28]
call fcn.0040c080
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x40a5b1
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.0043046b
lea ecx, [ebp - 0x34]
call fcn.00401db0
add eax, 1
push eax
lea ecx, [ebp - 0x34]
call fcn.00401920
push eax
push 1
push 0
lea ecx, [ebp - 0x38]
call fcn.00401920
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40a5ac
mov edx, 0x47
mov word [ebp - 0x8e], dx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
call fcn.004018a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.004018a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004018a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.004018a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004018a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00430460
mov ax, word [ebp - 0x8e]
jmp 0x40a69b
jmp 0x40a4fb
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
push 0
push 0
push 0
call fcn.00420fd0
add esp, 0x10
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x40a5e0
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40a640
mov edx, 0x48
mov word [ebp - 0x90], dx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
call fcn.004018a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.004018a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004018a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.004018a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004018a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00430460
mov ax, word [ebp - 0x90]
jmp 0x40a69b
xor eax, eax
mov word [ebp - 0x92], ax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
call fcn.004018a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.004018a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004018a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.004018a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004018a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00430460
mov ax, word [ebp - 0x92]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x4c]
xor ecx, ebp
call fcn.00435c3d
mov esp, ebp
pop ebp
ret