Function at 0x4499b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58d832
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x602c90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x54]
push eax
call fcn.0043eb70
xor edi, edi
push str.IsWow64Process
mov dword [ebp - 4], edi
push str.kernel32
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov esi, eax
cmp esi, edi
je 0x449a15
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call esi
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
neg esi
sbb esi, esi
sub eax, 0x10
and esi, 0xffffff00
push eax
add esi, 0x200
call fcn.00405370
lea edi, [eax + 0x10]
add esp, 4
mov dword [ebp + 8], edi
lea eax, [edi - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00405370
add eax, 0x10
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x14], SysReAllocStringLen
test eax, eax
js 0x449a89
push str.HKEY_LOCAL_MACHINE
push edi
call fcn.00560268
add esp, 8
test eax, eax
je 0x449a89
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
jle 0x449a89
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysReAllocString
push 0x5c20fc
push 0x5c44fc
lea ecx, [ebp + 8]
call fcn.00404af0
push 0x5c20fc
push 0x5c64e8
lea ecx, [ebp + 8]
call fcn.00404af0
push 0x5c232c
push str.HKEY_CURRENT_USER_
lea ecx, [ebp + 8]
call fcn.00404af0
push 0x5c232c
push str.HKEY_LOCAL_MACHINE_
lea ecx, [ebp + 8]
call fcn.00404af0
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 3
mov edi, dword [ebp + 8]
mov eax, dword [edi - 0xc]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x449af7
call fcn.004022b0
mov edx, dword [ebp - 0x14]
mov ecx, esi
or ecx, 0x2001f
push ecx
push eax
push edx
lea ecx, [ebp - 0x3c]
call fcn.00421ff0
test eax, eax
je 0x449d7f
mov eax, dword [edi - 0xc]
push eax
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
call edi
test eax, eax
jne 0x449b2b
call fcn.004022b0
push 0
push 0
or esi, 0xf003f
push esi
push 0
push 0
push eax
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00449240
test eax, eax
je 0x449d85
push str._value:
lea ecx, [ebp - 0x30]
call fcn.00401d80
mov esi, eax
push str._Key:
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00401d80
mov edi, eax
push str.Error_adding_registry_entry._the_location_does_not_exist._Location:
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00401d80
lea ecx, [ebp - 0x10]
push ecx
push eax
lea edx, [ebp - 0x24]
push edx
mov byte [ebp - 4], 6
call fcn.00420d00
add esp, 0xc
push edi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 7
call fcn.00420d00
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
push eax
lea edx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], 8
call fcn.00420d00
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 9
call fcn.00420d00
add esp, 0xc
push ebx
push eax
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 0xa
call fcn.00420d00
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0xb
call fcn.0043f300
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x449c10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449c33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449c56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449c79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449c9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449cbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449ce2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449d05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x449d13
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449d36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449d59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x54]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.004075a0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call edi
mov esi, eax
test esi, esi
jne 0x449d99
call fcn.004022b0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call edi
mov edi, eax
test edi, edi
jne 0x449db0
call fcn.004022b0
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov ecx, dword [ebp - 0x3c]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str._value:
lea ecx, [ebp - 0x14]
test eax, eax
je 0x449f93
call fcn.00401d80
mov esi, eax
push str._Key:
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.00401d80
mov edi, eax
push str.Error_adding_registry_entry._Location:
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
call fcn.00401d80
lea edx, [ebp - 0x10]
push edx
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xe
call fcn.00420d00
add esp, 0xc
push edi
push eax
lea ecx, [ebp - 0x24]
push ecx
mov byte [ebp - 4], 0xf
call fcn.00420d00
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x10
call fcn.00420d00
add esp, 0xc
push esi
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0x11
call fcn.00420d00
add esp, 0xc
push ebx
push eax
lea edx, [ebp - 0x30]
push edx
mov byte [ebp - 4], 0x12
call fcn.00420d00
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0x13
call fcn.0043f300
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449e95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449eb8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449edb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449efe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449f21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449f44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449f67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449f8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp + 0xf], 0
jmp 0x44a145
call fcn.00401d80
mov esi, eax
push str._Key:
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x14
call fcn.00401d80
mov edi, eax
push str.____Added_registry_entry._Location:
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x15
call fcn.00401d80
lea ecx, [ebp - 0x10]
push ecx
push eax
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 0x16
call fcn.00420d00
add esp, 0xc
push edi
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0x17
call fcn.00420d00
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
push eax
lea edx, [ebp - 0x28]
push edx
mov byte [ebp - 4], 0x18
call fcn.00420d00
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x19
call fcn.00420d00
add esp, 0xc
push ebx
push eax
lea ecx, [ebp - 0x30]
push ecx
mov byte [ebp - 4], 0x1a
call fcn.00420d00
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0x1b
call fcn.0043f300
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44a04c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44a06f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44a092
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44a0b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44a0d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44a0fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44a11e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44a141
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp + 0xf], 1
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x44a153
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44a176
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44a199
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [ebp - 0x4c]
mov dword [ebp - 4], 0x1d
call fcn.00421170
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44a1cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44a1f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [ebp + 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8