Function at 0x4346a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49366f
mov eax, dword fs:[0]
push eax
sub esp, 0x90c
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x908], ecx
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.0040b370
mov byte [ebp - 4], 5
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x30]
call fcn.0042de40
mov byte [ebp - 4], 6
push 0x49b390
lea ecx, [ebp - 0x30]
call fcn.0042e120
lea ecx, [ebp - 0x30]
call fcn.00453990
push eax
lea ecx, [ebp + 0xc]
call fcn.004456b0
cmp eax, 0xffffffff
je 0x434730
push 0x49b3b8
lea ecx, [ebp - 0x30]
call fcn.00453990
push eax
lea ecx, [ebp + 0xc]
call fcn.004453f0
push 0x49b3c4
lea ecx, [ebp - 0x30]
call fcn.0042e120
lea ecx, [ebp - 0x30]
call fcn.00453990
push eax
lea ecx, [ebp + 0xc]
call fcn.004456b0
cmp eax, 0xffffffff
je 0x434769
push 0x49b3f0
lea ecx, [ebp - 0x30]
call fcn.00453990
push eax
lea ecx, [ebp + 0xc]
call fcn.004453f0
push 0x49b408
lea ecx, [ebp - 0x30]
call fcn.0042e120
lea ecx, [ebp - 0x30]
call fcn.00453990
push eax
lea ecx, [ebp + 0x10]
call fcn.004456b0
cmp eax, 0xffffffff
je 0x4347a2
push 0x49b430
lea ecx, [ebp - 0x30]
call fcn.00453990
push eax
lea ecx, [ebp + 0x10]
call fcn.004453f0
lea ecx, [ebp + 0xc]
call fcn.00453990
push eax
lea ecx, [ebp - 0x64]
call fcn.00401c70
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x10]
call fcn.00453990
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401c70
mov byte [ebp - 4], 8
mov eax, dword [0x4c36bc]
mov dword [ebp - 0x34], eax
push 0x49b444
lea ecx, [ebp + 8]
push ecx
call fcn.00445840
movzx edx, al
test edx, edx
je 0x4347f5
mov dword [ebp - 0x38], reloc.OLEAUT32.dll_SysReAllocString
jmp 0x4348b9
push 0x49b450
lea eax, [ebp + 8]
push eax
call fcn.00445840
movzx ecx, al
test ecx, ecx
je 0x434816
mov dword [ebp - 0x38], SysReAllocString
jmp 0x4348b9
mov edx, dword [ebp + 8]
push edx
push str.unknown_key_root:_s
push 0x49b45c
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0xc
mov dword [ebp - 0x8c4], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.00401ce0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x64]
call fcn.00401ce0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.0042ed20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.0040b430
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.0042ed20
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.0042ed20
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.0042ed20
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.0042ed20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.0042ed20
mov eax, dword [ebp - 0x8c4]
jmp 0x435437
mov dword [ebp - 0x48], 0xffffffff
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0042de60
mov byte [ebp - 4], 9
push str.REG_SZ
lea ecx, [ebp + 0x18]
push ecx
call fcn.00445840
movzx edx, al
test edx, edx
je 0x4350a2
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x74]
call fcn.0042de60
mov byte [ebp - 4], 0xa
push str.MemProtect.dll
lea ecx, [ebp - 0x74]
call fcn.00453990
push eax
call fcn.00476593
add esp, 8
test eax, eax
jne 0x4349c0
cmp dword [0x4c36b8], 0
jne 0x4349c0
mov dword [ebp - 0x8c8], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x74]
call fcn.0042ed20
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3c]
call fcn.0042ed20
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.00401ce0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x64]
call fcn.00401ce0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.0042ed20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.0040b430
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.0042ed20
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.0042ed20
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.0042ed20
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.0042ed20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.0042ed20
mov eax, dword [ebp - 0x8c8]
jmp 0x435437
mov ecx, dword [0x4c339c]
and ecx, 1
jne 0x4349fe
mov edx, dword [0x4c339c]
or edx, 1
mov dword [0x4c339c], edx
mov byte [ebp - 4], 0xb
push 0x49b4c0
mov ecx, 0x4c3398
call fcn.0042deb0
push 0x499810
call fcn.004762ba
add esp, 4
mov byte [ebp - 4], 0xa
mov ecx, 0x4c3398
call fcn.0042e1b0
lea ecx, [ebp - 0x74]
call fcn.0042e1b0
mov ecx, 0x4c3398
call fcn.00453990
push eax
lea ecx, [ebp - 0x74]
call fcn.004456b0
cmp eax, 0xffffffff
je 0x434a2f
mov dword [ebp - 0x34], 0
push str.__INSTALLPATH_
lea ecx, [ebp - 0x70]
call fcn.0042deb0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004456b0
cmp eax, 0xffffffff
je 0x434a72
mov ecx, 0x4c36a0
call fcn.00453990
push eax
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004453f0
push str.__MAIN_SERVICE_DESCRIPTION_
lea ecx, [ebp - 0x70]
call fcn.0042e120
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004456b0
cmp eax, 0xffffffff
je 0x434aab
push 0x49b534
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004453f0
push str.__MAIN_SERVICE_DISPLAYNAME_
lea ecx, [ebp - 0x70]
call fcn.0042e120
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004456b0
cmp eax, 0xffffffff
je 0x434ae4
push 0x49b584
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004453f0
push str.__DRV_SERVICE_DISPLAYNAME_
lea ecx, [ebp - 0x70]
call fcn.0042e120
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004456b0
cmp eax, 0xffffffff
je 0x434b1d
push 0x49b5e4
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004453f0
push str.__DRV_SERVICE_DESCRIPTION_
lea ecx, [ebp - 0x70]
call fcn.0042e120
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004456b0
cmp eax, 0xffffffff
je 0x434b56
push 0x49b63c
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004453f0
push str.__DRV_DEVICENAME_
lea ecx, [ebp - 0x70]
call fcn.0042e120
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004456b0
cmp eax, 0xffffffff
je 0x434b8f
push 0x49b680
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004453f0
push str.__DRV_FILTERNAME_
lea ecx, [ebp - 0x70]
call fcn.0042e120
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004456b0
cmp eax, 0xffffffff
je 0x434bc8
push str.ObMgr
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004453f0
push str.__DRV_FILESYSTEMNAME_
lea ecx, [ebp - 0x70]
call fcn.0042e120
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004456b0
cmp eax, 0xffffffff
je 0x434c01
push str.ObMgrCDO
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004453f0
push str.__DRV_OBALTITUDE_
lea ecx, [ebp - 0x70]
call fcn.0042e120
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004456b0
cmp eax, 0xffffffff
je 0x434c3a
push str.321220
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004453f0
push str.__DRV_CMALTITUDE_
lea ecx, [ebp - 0x70]
call fcn.0042e120
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004456b0
cmp eax, 0xffffffff
je 0x434c73
push str.380156
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004453f0
push str.__CONFIGURE_FOLDER_
lea ecx, [ebp - 0x70]
call fcn.0042e120
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004456b0
cmp eax, 0xffffffff
je 0x434d2c
push 0x49b798
push 0x49b7a4
lea ecx, [ebp - 0x8e4]
call fcn.00401c70
mov dword [ebp - 0x90c], eax
mov eax, dword [ebp - 0x90c]
mov dword [ebp - 0x910], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x910]
push ecx
lea edx, [ebp - 0x900]
push edx
call fcn.00444a70
add esp, 0xc
mov dword [ebp - 0x914], eax
mov eax, dword [ebp - 0x914]
mov dword [ebp - 0x918], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x918]
call fcn.00401ff0
push eax
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004453f0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x900]
call fcn.00401ce0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x8e4]
call fcn.00401ce0
push str.__MAIN_SERVICE_NAME_
lea ecx, [ebp - 0x70]
call fcn.0042e120
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004456b0
cmp eax, 0xffffffff
je 0x434d65
push 0x49b7fc
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004453f0
push str.__AUTORUN_KEYNAME_
lea ecx, [ebp - 0x70]
call fcn.0042e120
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004456b0
cmp eax, 0xffffffff
je 0x434d9e
push 0x49b83c
lea ecx, [ebp - 0x70]
call fcn.00453990
push eax
lea ecx, [ebp - 0x3c]
call fcn.004453f0
cmp dword [0x4c36c8], 1
jne 0x434eaa
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x68]
push edx
push 0
mov eax, dword [ebp - 0x34]
neg eax
sbb eax, eax
and eax, 0x100
add eax, 0xf003f
push eax
push 0
push 0x49b850
push 0
lea ecx, [ebp - 0x64]
call fcn.00401ff0
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x434e7d
lea ecx, [ebp - 0x3c]
call fcn.0042e050
lea edx, [eax + eax + 2]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00453990
push eax
push 1
push 0
lea ecx, [ebp - 0x2c]
call fcn.00401ff0
push eax
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x434e60
mov ecx, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00453990
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401ff0
push eax
lea ecx, [ebp - 0x64]
call fcn.00401ff0
push eax
push 0x49b860
push 0x49b854
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0x18
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x68], 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x3c]
call fcn.0042ecd0
jmp 0x434ea5
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
call fcn.00401ff0
push eax
push 0x49b8ac
push 0x49b8a0
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0x10
jmp 0x435085
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x34]
neg edx
sbb edx, edx
and edx, 0x100
add edx, 0xf003f
push edx
push 0
lea ecx, [ebp - 0x64]
call fcn.00401ff0
push eax
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x434f61
xor ecx, ecx
mov word [ebp - 0x494], cx
push 0x40e
push 0
lea edx, [ebp - 0x492]
push edx
call fcn.00472990
add esp, 0xc
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x84], 0x208
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x494]
push ecx
lea edx, [ebp - 0x80]
push edx
push 0
lea ecx, [ebp - 0x2c]
call fcn.00401ff0
push eax
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x434f55
mov dword [ebp - 0x78], 1
mov ecx, dword [ebp - 0x7c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x434f89
mov edx, dword [ebp - 0x48]
push edx
lea ecx, [ebp - 0x64]
call fcn.00401ff0
push eax
push str.RegOpenKeyEx__s_ret:0x_x
push 0x49b8e4
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0x10
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x68]
push ecx
push 0
mov edx, dword [ebp - 0x34]
neg edx
sbb edx, edx
and edx, 0x100
add edx, 0xf003f
push edx
push 0
push 0x49b924
push 0
lea ecx, [ebp - 0x64]
call fcn.00401ff0
push eax
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x43505d
lea ecx, [ebp - 0x3c]
call fcn.0042e050
lea ecx, [eax + eax + 2]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00453990
push eax
push 1
push 0
lea ecx, [ebp - 0x2c]
call fcn.00401ff0
push eax
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x435040
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00453990
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401ff0
push eax
lea ecx, [ebp - 0x64]
call fcn.00401ff0
push eax
push 0x49b940
push 0x49b928
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0x18
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x68], 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x3c]
call fcn.0042ecd0
jmp 0x435085
mov edx, dword [ebp - 0x48]
push edx
lea ecx, [ebp - 0x64]
call fcn.00401ff0
push eax
push 0x49b980
push 0x49b934
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0x10
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x70]
call fcn.0042ed20
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x74]
call fcn.0042ed20
jmp 0x4353ac
cmp dword [0x4c36c8], 1
jne 0x4351ac
lea ecx, [ebp + 0x14]
call fcn.00453990
push eax
call fcn.00474b5c
add esp, 4
mov dword [ebp - 0x498], eax
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x68]
push ecx
push 0
mov edx, dword [ebp - 0x34]
neg edx
sbb edx, edx
and edx, 0x100
add edx, 0xf003f
push edx
push 0
push 0x49b9b8
push 0
lea ecx, [ebp - 0x64]
call fcn.00401ff0
push eax
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x43517f
push 4
lea ecx, [ebp - 0x498]
push ecx
push 4
push 0
lea ecx, [ebp - 0x2c]
call fcn.00401ff0
push eax
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x43516c
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00453990
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401ff0
push eax
lea ecx, [ebp - 0x64]
call fcn.00401ff0
push eax
push 0x49b9c8
push 0x49b9bc
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0x18
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x68], 0
jmp 0x4351a7
mov edx, dword [ebp - 0x48]
push edx
lea ecx, [ebp - 0x64]
call fcn.00401ff0
push eax
push 0x49ba14
push 0x49ba08
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0x10
jmp 0x4353ac
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x49c], 0
lea eax, [ebp - 0x4a0]
push eax
mov ecx, dword [ebp - 0x34]
neg ecx
sbb ecx, ecx
and ecx, 0x100
add ecx, 0xf003f
push ecx
push 0
lea ecx, [ebp - 0x64]
call fcn.00401ff0
push eax
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x43527f
xor eax, eax
mov word [ebp - 0x8bc], ax
push 0x40e
push 0
lea ecx, [ebp - 0x8ba]
push ecx
call fcn.00472990
add esp, 0xc
mov dword [ebp - 0x4a4], 4
mov dword [ebp - 0x4a8], 0x208
lea edx, [ebp - 0x4a8]
push edx
lea eax, [ebp - 0x8bc]
push eax
lea ecx, [ebp - 0x4a4]
push ecx
push 0
lea ecx, [ebp - 0x64]
call fcn.00401ff0
push eax
mov edx, dword [ebp - 0x4a0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x435270
mov dword [ebp - 0x49c], 1
mov eax, dword [ebp - 0x4a0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4352a7
mov ecx, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00401ff0
push eax
push 0x49ba58
push 0x49ba4c
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0x10
cmp dword [ebp - 0x49c], 0
jne 0x4353ac
lea ecx, [ebp + 0x14]
call fcn.00453990
push eax
call fcn.00474b5c
add esp, 4
mov dword [ebp - 0x8c0], eax
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x68]
push eax
push 0
mov ecx, dword [ebp - 0x34]
neg ecx
sbb ecx, ecx
and ecx, 0x100
add ecx, 0xf003f
push ecx
push 0
push 0x49ba90
push 0
lea ecx, [ebp - 0x64]
call fcn.00401ff0
push eax
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x435384
push 4
lea eax, [ebp - 0x8c0]
push eax
push 4
push 0
lea ecx, [ebp - 0x2c]
call fcn.00401ff0
push eax
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x435371
mov edx, dword [ebp - 0x48]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00453990
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401ff0
push eax
lea ecx, [ebp - 0x64]
call fcn.00401ff0
push eax
push str.RegSetValueEx__s__s__s_ret:0x_x
push 0x49ba94
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0x18
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x68], 0
jmp 0x4353ac
mov ecx, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00401ff0
push eax
push str.RegCreateKeyEx__s_ret:0x_x
push 0x49bae0
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0x10
mov dword [ebp - 0x904], 1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3c]
call fcn.0042ed20
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.00401ce0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x64]
call fcn.00401ce0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.0042ed20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.0040b430
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.0042ed20
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.0042ed20
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.0042ed20
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.0042ed20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.0042ed20
mov eax, dword [ebp - 0x904]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472a79
mov esp, ebp
pop ebp
ret 0x14