Function at 0x4169b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ba08
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x60c9c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
lea ecx, [esi + 0x158]
mov dword [ebp - 0x1c], ebx
call fcn.0040ae00
test eax, eax
je 0x416a57
call fcn.0043e2f8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x416a0c
push 0x80004005
call fcn.00402a80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [esi + 0x158]
mov dword [ebp - 4], ebx
call fcn.0040ff40
test eax, eax
jne 0x416a6b
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416a57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], ebx
mov edi, 1
cmp eax, 5
ja 0x416a82
jne 0x416a93
cmp dword [esi + 0x18], edi
jb 0x416a93
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
mov eax, 0x20006
cmp dword [ebp - 0x18], ebx
je 0x416aa2
mov eax, 0x20106
lea edx, [ebp - 0x24]
push edx
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
push ebx
push eax
push ebx
push 0x55c8ac
push ebx
push edx
push 0x80000001
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x416aeb
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x416a4b
cmp dword [ebp - 0x1c], ebx
je 0x416b5e
mov dword [ebp - 0x20], edi
cmp dword [esi + 4], ebx
je 0x416b03
cmp dword [esi + 0xe224], ebx
jne 0x416b03
mov dword [ebp - 0x20], ebx
mov edx, dword [ebp - 0x14]
push 4
lea ecx, [ebp - 0x20]
push ecx
push 4
push ebx
push str.SEND_INFO_AGREE
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x416b45
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
call fcn.00402e70
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
push str.SEND_INFO_AGREE
push ecx
push 0x55fe1c
lea ecx, [esi + 0xd9b8]
call fcn.0042c3a0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
push 0x55e8f0
push 0x55c8ac
push eax
push 0x55fe1c
lea ecx, [esi + 0xd9b8]
call fcn.0042c110
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416bac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret