Function at 0x43d1b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57de90
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x5ebdb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x18]
push eax
call fcn.00434830
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 0x43d215
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.00405320
lea edi, [eax + 0x10]
mov dword [ebp + 8], edi
lea eax, [edi - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00405320
add eax, 0x10
add esp, 8
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x14], SysReAllocStringLen
test eax, eax
js 0x43d286
push str.HKEY_LOCAL_MACHINE
push edi
call fcn.0055125b
add esp, 8
test eax, eax
je 0x43d286
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
jle 0x43d286
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysReAllocString
push 0x5b097c
push 0x5b4d60
lea ecx, [ebp + 8]
call fcn.00404aa0
push 0x5b097c
push 0x5b38c8
lea ecx, [ebp + 8]
call fcn.00404aa0
push 0x5b0bc8
push str.HKEY_CURRENT_USER_
lea ecx, [ebp + 8]
call fcn.00404aa0
push 0x5b0bc8
push str.HKEY_LOCAL_MACHINE_
lea ecx, [ebp + 8]
call fcn.00404aa0
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 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 0x43d2f4
call fcn.004022c0
mov edx, dword [ebp - 0x14]
mov ecx, esi
or ecx, 0x2001f
push ecx
push eax
push edx
lea ecx, [ebp - 0x40]
call fcn.0041cb50
test eax, eax
je 0x43d586
mov eax, dword [edi - 0xc]
push eax
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
call edi
test eax, eax
jne 0x43d328
call fcn.004022c0
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 - 0x40]
call fcn.0043ca40
test eax, eax
je 0x43d58c
push str._value:
lea ecx, [ebp - 0x34]
call fcn.00401d90
mov esi, eax
push str._Key:
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00401d90
mov edi, eax
push str.Error_adding_registry_entry._the_location_does_not_exist._Location:
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00401d90
lea ecx, [ebp - 0x10]
push ecx
push eax
lea edx, [ebp - 0x28]
push edx
mov byte [ebp - 4], 6
call fcn.0041bac0
push edi
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 7
call fcn.0041bac0
mov ecx, dword [ebp + 0xc]
push ecx
push eax
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 8
call fcn.0041bac0
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 9
call fcn.0041bac0
push ebx
push eax
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 0xa
call fcn.0041bac0
add esp, 0x3c
mov esi, eax
mov byte [ebp - 4], 0xb
call fcn.00434f10
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 0x43d401
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 - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d424
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 - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d447
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 - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d46a
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 - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d48d
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 - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d4b0
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 - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d4d3
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 - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d4f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x43d504
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 0x43d527
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 0x43d54a
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 - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d570
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x43d5a0
call fcn.004022c0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call edi
mov edi, eax
test edi, edi
jne 0x43d5b7
call fcn.004022c0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [ebp - 0x40]
push edx
push esi
push 1
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str._value:
lea ecx, [ebp - 0x14]
test eax, eax
je 0x43d78c
call fcn.00401d90
mov esi, eax
push str._Key:
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.00401d90
mov edi, eax
push str.Error_adding_registry_entry._Location:
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call fcn.00401d90
lea ecx, [ebp - 0x10]
push ecx
push eax
lea edx, [ebp - 0x24]
push edx
mov byte [ebp - 4], 0xe
call fcn.0041bac0
push edi
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0xf
call fcn.0041bac0
mov ecx, dword [ebp + 0xc]
push ecx
push eax
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 0x10
call fcn.0041bac0
push esi
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x11
call fcn.0041bac0
push ebx
push eax
lea ecx, [ebp - 0x34]
push ecx
mov byte [ebp - 4], 0x12
call fcn.0041bac0
add esp, 0x3c
mov esi, eax
mov byte [ebp - 4], 0x13
call fcn.00434f10
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43d690
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 - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d6b3
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 - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d6d6
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 - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d6f9
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 - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d71c
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 - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d73f
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 - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d762
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 0x43d785
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor bl, bl
jmp 0x43d930
call fcn.00401d90
mov esi, eax
push str._Key:
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x14
call fcn.00401d90
mov edi, eax
push str.____Added_registry_entry._Location:
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x15
call fcn.00401d90
lea ecx, [ebp - 0x10]
push ecx
push eax
lea edx, [ebp - 0x24]
push edx
mov byte [ebp - 4], 0x16
call fcn.0041bac0
push edi
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x17
call fcn.0041bac0
mov ecx, dword [ebp + 0xc]
push ecx
push eax
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 0x18
call fcn.0041bac0
push esi
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x19
call fcn.0041bac0
push ebx
push eax
lea ecx, [ebp - 0x34]
push ecx
mov byte [ebp - 4], 0x1a
call fcn.0041bac0
add esp, 0x3c
mov esi, eax
mov byte [ebp - 4], 0x1b
call fcn.00434f10
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43d839
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 - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d85c
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 - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d87f
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 - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d8a2
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 - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d8c5
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 - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d8e8
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 - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d90b
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 0x43d92e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, 1
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x43d93e
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 0x43d961
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 0x43d984
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 - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d9aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
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