Function at 0x43daa0
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x452818
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x48e050]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48e050]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x54], edx
mov edx, dword [0x491d10]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x48], ecx
mov ecx, 0x491d10
mov dword [esp + 0x3c], ebp
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov edx, dword [0x491d10]
mov eax, dword [edx + 0xc]
xor ebx, ebx
mov ecx, 0x491d10
mov dword [esp + 0x68], ebx
mov dword [esp + 0x20], ebx
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x68], 2
cmp dword [0x491d00], ebx
jne 0x43dc2d
push 1
push ebx
lea ecx, [esp + 0x2c]
call fcn.0043d280
mov ecx, dword [esp + 0x24]
push ebx
push ebx
push ebx
push 3
push 4
push ebx
push ebx
push 0xffffffffffffffff
push ecx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, ebx
jge 0x43dc23
push eax
push ebp
push str.CoInitializeSecurity__ws_error__08X
call fcn.00404c20
mov edx, dword [esp + 0x30]
push edx
call fcn.0043e4bc
mov eax, dword [esp + 0x38]
push eax
call fcn.0043e85d
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0043e85d
mov edx, dword [esp + 0x48]
push edx
call fcn.0043e85d
mov eax, dword [esp + 0x50]
push eax
call fcn.0043e85d
add esi, 0xfffffff0
add esp, 0x20
mov byte [esp + 0x68], bl
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43dbf8
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add edi, 0xfffffff0
mov dword [esp + 0x68], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43dc1c
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
xor eax, eax
jmp 0x43def4
mov dword [0x491d00], 1
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.ole32.dll_StringFromCLSID]
cmp eax, ebx
jl 0x43de68
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push str.AppID_s
push ecx
call fcn.0041c5e0
mov edi, dword [esp + 0x28]
add esp, 0xc
cmp dword [edi - 4], 1
jle 0x43dc77
mov edx, dword [edi - 0xc]
push edx
lea ecx, [esp + 0x20]
call fcn.00401710
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edi
push bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43de68
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [esp + 0x18], ebx
je 0x43dda8
mov edx, dword [esp + 0x3c]
push edx
lea eax, [esp + 0x18]
push 0x479110
push eax
call fcn.0041c5e0
mov eax, dword [esp + 0x20]
mov esi, dword [eax - 0xc]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x43dce2
mov ecx, esi
push ecx
lea ecx, [esp + 0x18]
call fcn.00401710
mov eax, dword [esp + 0x14]
lea edx, [esi + esi]
push edx
push eax
mov eax, dword [esp + 0x20]
push 1
push ebx
push 0x457780
push eax
call ebp
push str.Interactive_User
lea ecx, [esp + 0x18]
push 0x479110
push ecx
call fcn.0041c5e0
mov esi, dword [esp + 0x20]
mov edi, dword [esi - 0xc]
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x43dd2a
mov edx, edi
push edx
lea ecx, [esp + 0x18]
call fcn.00401710
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea eax, [edi + edi]
push eax
push esi
push 1
push ebx
push str.RunAs
push ecx
call ebp
cmp dword [esp + 0x84], ebx
je 0x43dd8a
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x43dd8a
push eax
lea edx, [esp + 0x18]
push 0x479110
push edx
call fcn.0041c5e0
mov eax, dword [esp + 0x20]
mov eax, dword [eax - 0xc]
lea ecx, [eax + eax]
add esp, 0xc
push ecx
lea ecx, [esp + 0x18]
call fcn.004244a0
mov edx, dword [esp + 0x1c]
push eax
push 1
push ebx
push str.LocalService
push edx
call ebp
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 4
lea eax, [esp + 0x48]
push eax
push 4
push ebx
push 0x4559ec
push ecx
mov dword [esp + 0x5c], 1
call ebp
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push str.AppID_s
push ecx
mov dword [esp + 0x24], ebx
call fcn.0041c5e0
mov edi, dword [esp + 0x28]
add esp, 0xc
cmp dword [edi - 4], 1
jle 0x43dde9
mov edx, dword [edi - 0xc]
push edx
lea ecx, [esp + 0x20]
call fcn.00401710
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edi
push bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43de68
cmp dword [esp + 0x18], ebx
je 0x43de51
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push 0x479110
push eax
call fcn.0041c5e0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
add esp, 0xc
lea edx, [eax + eax]
push edx
lea ecx, [esp + 0x18]
call fcn.004244a0
push eax
mov eax, dword [esp + 0x20]
push 1
push ebx
push str.AppID
push eax
call ebp
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], 1
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x43de77
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edx, dword [esp + 0x24]
push edx
call fcn.0043e4bc
mov eax, dword [esp + 0x2c]
push eax
call fcn.0043e85d
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0043e85d
mov edx, dword [esp + 0x3c]
push edx
call fcn.0043e85d
mov eax, dword [esp + 0x44]
push eax
call fcn.0043e85d
lea eax, [esi - 0x10]
add esp, 0x14
mov byte [esp + 0x68], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43decc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov dword [esp + 0x68], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43def0
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0043e4c7
add esp, 0x58
ret