Function at 0x10439aa
Capabilities:
Create process on windows
Delete registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x107fa78]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
cmp dword [0x1081cc4], edi
mov dword [ebp - 0x210], edi
je 0x1043a7b
call fcn.01042119
call fcn.01042358
xor esi, esi
inc esi
cmp dword [0x107fa6c], edi
mov dword [0x1081cd0], esi
je 0x1043a61
mov ecx, dword [0x10813fc]
cmp ecx, edi
je 0x1043a61
call fcn.01045d58
test eax, eax
je 0x1043a61
mov ecx, dword [0x10813fc]
push edi
call fcn.01045d58
mov ecx, eax
call fcn.010489f8
test eax, eax
mov ecx, dword [0x10813fc]
je 0x1043a30
push edi
call fcn.01045d58
mov ecx, eax
call fcn.010489f8
jmp 0x1043a3c
call fcn.01045d58
mov ecx, eax
call fcn.0104894c
mov ecx, dword [0x10813fc]
push eax
call fcn.01045d58
mov ecx, eax
call fcn.0104889e
mov ecx, dword [0x10813fc]
call fcn.01045d58
mov ecx, eax
call fcn.0104a539
cmp dword [ebp + 8], edi
je 0x1043ace
mov ecx, dword [0x10813fc]
cmp ecx, edi
je 0x1043ac8
call fcn.01045d58
test eax, eax
je 0x1043ac8
jmp 0x1043ab0
cmp dword [ebp + 8], edi
je 0x1043ace
cmp dword [0x107fa6c], edi
je 0x1043ace
mov ecx, dword [0x10813fc]
cmp ecx, edi
je 0x1043ace
call fcn.01045d58
test eax, eax
je 0x1043ace
mov ecx, dword [0x10813fc]
xor esi, esi
inc esi
call fcn.01045d58
mov ecx, eax
call fcn.0104a539
mov ecx, dword [0x10813fc]
call fcn.01045d58
mov ecx, eax
call fcn.01048972
test eax, eax
je 0x1043ac8
xor esi, esi
push esi
call fcn.01045b51
push edi
lea eax, [ebp - 0x210]
push eax
push edi
push 2
push edi
push edi
push edi
push 0x1001bd0
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
pop ebx
jne 0x1043b46
cmp dword [0x10813d0], edi
mov dword [ebp - 0x214], 1
jne 0x1043b29
cmp dword [ebp + 8], edi
je 0x1043b3a
push ebx
lea eax, [ebp - 0x214]
push eax
push ebx
push edi
push 0x10021fc
push dword [ebp - 0x210]
call esi
jmp 0x1043b3a
push 0x10021fc
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x220]
call fcn.0107ad29
lea eax, [ebp - 0x220]
push eax
call fcn.0104218f
test eax, eax
jl 0x1043bf6
lea eax, [ebp - 0x210]
push eax
push 3
push edi
push dword [ebp - 0x220]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1043bf6
cmp dword [0x10813d0], edi
mov dword [ebp - 0x214], 1
jne 0x1043bb4
cmp dword [ebp + 8], edi
je 0x1043bca
push ebx
lea eax, [ebp - 0x214]
push eax
push ebx
push edi
push 0x10021fc
push dword [ebp - 0x210]
call esi
jmp 0x1043bc5
push 0x10021fc
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp + 8], edi
jne 0x1043bcf
cmp dword [ebp + 0xc], edi
je 0x1043be4
push ebx
push 0x1081cbc
push ebx
push edi
push 0x1004ab0
push dword [ebp - 0x210]
call esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x210], edi
cmp dword [ebp + 8], edi
jne 0x1043c04
cmp dword [ebp + 0xc], edi
je 0x1043cbd
push edi
lea eax, [ebp - 0x210]
push eax
push edi
push 3
push edi
push edi
push edi
push 0x1001bd0
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1043c9d
push ebx
push 0x1081cac
push ebx
push edi
push 0x1004a68
push dword [ebp - 0x210]
call esi
push 1
push 0x1081cb0
push 3
push edi
push 0x1004b0c
push dword [ebp - 0x210]
call esi
push ebx
push 0x1081cb4
push ebx
push edi
push 0x1004a8c
push dword [ebp - 0x210]
call esi
push ebx
push 0x1081cbc
push ebx
push edi
push 0x1004ab0
push dword [ebp - 0x210]
call esi
push ebx
push 0x1081cc0
push ebx
push edi
push 0x1004af4
push dword [ebp - 0x210]
call esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [0x1081cc8]
push 0x1004c98
call fcn.01057b5d
push dword [0x107fa68]
push 0x1004c70
call fcn.01057b5d
push edi
push edi
push edi
push 6
call fcn.0105989e
test eax, eax
jne 0x1043d3d
cmp dword [0x1081b28], edi
je 0x1043d3d
xor ebx, ebx
cmp dword [ebp + 8], edi
je 0x1043d01
mov eax, dword [ebx*4 + 0x1081b28]
cmp eax, edi
je 0x1043d01
cmp dword [eax + 0x10], edi
je 0x1043d01
cmp dword [0x1081cd0], edi
jne 0x1043cf8
cmp dword [eax + 0xc], 2
jne 0x1043d01
push 1
push dword [eax]
call fcn.0105f365
lea esi, [ebx*4 + 0x1081b28]
mov ecx, dword [esi]
cmp ecx, edi
je 0x1043d17
push 1
call fcn.010420f3
mov dword [esi], edi
inc ebx
cmp ebx, dword [0x1081ccc]
jbe 0x1043cd5
cmp dword [ebp + 8], edi
je 0x1043d37
push edi
push edi
push 0x2000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov dword [0x1081ccc], edi
cmp dword [ebp + 8], edi
je 0x1043d91
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.010590be
test eax, eax
je 0x1043d7e
lea eax, [ebp - 0x20c]
push eax
call fcn.01056f43
test eax, eax
je 0x1043d7e
push 0xa
push edi
push 0x1004ff8
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp + 0xc], edi
jne 0x1043d91
call fcn.01043761
test eax, eax
jne 0x1043d91
call fcn.0105907b
lea ecx, [ebp - 0x220]
call fcn.0107a784
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01047417
leave
ret 8