Function at 0x407c70
Capabilities:
Create process on windows
Get file attributes
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4237e2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x394
push ebp
push esi
lea eax, [esp + 0x4c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov edi, str.regedit__s
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x198]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.updd_extupddclon.reg
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x80], 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov word [esp + 0x84], 0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, eax
or ecx, 0xffffffff
mov edi, 0x42ae60
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebp, [esp + 0x94]
mov eax, ecx
mov esi, edi
mov edi, ebp
lea ebp, [esp + 0x94]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4325ac
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea ebp, [esp + 0x94]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.updd_extupddclon.reg_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
or ebp, 0xffffffff
and ecx, 3
cmp edx, ebp
rep movsb byte es:[edi], byte [esi]
je 0x407e37
lea edi, [esp + 0x94]
mov ecx, ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x198]
mov esi, edi
mov edi, edx
mov edx, ecx
mov ecx, ebp
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x94]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
mov dword [0x432be4], 1
call fcn.00413e2e
push 0x432ab8
lea ecx, [esp + 0x34]
mov dword [esp + 0x3ac], 0
call fcn.00413e2e
lea ecx, [esp + 0x10]
lea edx, [esp + 0x28]
push ecx
push edx
mov ecx, eax
mov byte [esp + 0x3b0], 1
call fcn.004140d9
push eax
mov byte [esp + 0x3ac], 2
call fcn.0040c720
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x3a8], 1
call fcn.00413e8c
lea ecx, [esp + 0x30]
mov byte [esp + 0x3a8], 0
call fcn.00413e8c
mov dword [esp + 0x3a8], ebp
lea ecx, [esp + 0x10]
jmp 0x407f11
mov edi, 0x432ab8
mov ecx, ebp
xor eax, eax
lea edx, [esp + 0x198]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str._tbupdd.reg
mov esi, edi
mov edi, edx
mov edx, ecx
mov ecx, ebp
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x19c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._tbupdd.reg
mov ecx, ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
mov ecx, ebp
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.00413e2e
push 0x432ab8
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3ac], 3
call fcn.00413e2e
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, eax
mov byte [esp + 0x3b0], 4
call fcn.004140d9
push eax
mov byte [esp + 0x3ac], 5
call fcn.0040c720
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x3a8], 4
call fcn.00413e8c
lea ecx, [esp + 0x38]
mov byte [esp + 0x3a8], 3
call fcn.00413e8c
mov dword [esp + 0x3a8], ebp
lea ecx, [esp + 0x18]
call fcn.00413e8c
lea eax, [esp + 0x40]
lea ecx, [esp + 0x50]
push eax
push ecx
push 0
push 0
push 0x200
push 0
push 0
lea edx, [esp + 0x1b4]
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x407f89
mov esi, 0x400
call fcn.00415668
test eax, eax
je 0x407f56
mov esi, 0x100400
mov eax, dword [esp + 0x48]
push eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0xc]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0xc]
test eax, eax
jbe 0x407f89
push 4
call fcn.00419f80
mov ecx, dword [esp + 0x3a0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3a0
ret