Function at 0x477810
Capabilities:
Create directory
Create process on windows

Disassembly:
mov eax, 0x111c
call fcn.004ac5b0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1118], eax
mov eax, dword [esp + 0x1120]
push ebx
push esi
push edi
mov dword [esp + 0x18], eax
mov ebx, ecx
mov eax, dword [esp + 0x1134]
push str.Kernel32.dll
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, eax
test esi, esi
jne 0x477877
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x477891
push str.Wow64DisableWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47788e
lea ecx, [esp + 0xc]
push ecx
call eax
push esi
call edi
xor eax, eax
push 0xc6
push eax
mov word [esp + 0x64], ax
lea eax, [esp + 0x66]
push eax
call fcn.0048fb10
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x938], ax
lea eax, [esp + 0x93a]
push eax
call fcn.0048fb10
add esp, 0x18
lea eax, [esp + 0x924]
push 0x4e6040
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x924]
push str.undo_
push eax
call esi
push dword [esp + 0x10]
lea eax, [esp + 0x928]
push eax
call esi
lea eax, [esp + 0x924]
push eax
call fcn.0049d8e9
lea eax, [esp + 0x928]
push eax
call fcn.00493613
mov eax, dword [0x4c5af8]
movq xmm0, qword [str._A__E]
mov dword [esp + 0x134], eax
mov ax, word [0x4c5afc]
push 0x7f2
mov word [esp + 0x13c], ax
lea eax, [esp + 0x13e]
push 0
push eax
movq qword [esp + 0x138], xmm0
call fcn.0048fb10
add esp, 0x14
lea eax, [esp + 0x124]
push dword [esp + 0x18]
push eax
call esi
push 0
call fcn.00493a5c
push 0xa
push 0x64
lea ecx, [esp + 0x68]
push ecx
push eax
call fcn.0049099e
add esp, 0x14
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x128]
push eax
call esi
push 0x4b5b9c
lea eax, [esp + 0x128]
push eax
call esi
push 0xa
push 0x64
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x113c]
call fcn.0049099e
add esp, 0x10
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x128]
push eax
call esi
push str..reg__
lea eax, [esp + 0x128]
push eax
call esi
cmp ebx, 0x80000000
jne 0x4779e4
push str.HKEY_CLASSES_ROOT_
jmp 0x477a0f
cmp ebx, 0x80000002
jne 0x4779f3
push str.HKEY_LOCAL_MACHINE_
jmp 0x477a0f
cmp ebx, 0x80000001
jne 0x477a02
push str.HKEY_CURRENT_USER_
jmp 0x477a0f
cmp ebx, 0x80000003
jne 0x477a19
push str.HKEY_USERS_
lea eax, [esp + 0x128]
push eax
call esi
push dword [esp + 0x14]
lea eax, [esp + 0x128]
push eax
call esi
push 0x4bac28
lea eax, [esp + 0x128]
push eax
call esi
mov eax, dword [0x4e6030]
xorps xmm0, xmm0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x124]
mov dword [esp + 0x34], eax
mov eax, dword [0x4e5c0c]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x20]
push eax
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
mov dword [esp + 0x24], 0x3c
mov dword [esp + 0x28], 0x40
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], str.regedit.exe
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0xffffffffffffffff
push dword [esp + 0x5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x477aef
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
jne 0x477ad9
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x477aef
push str.Wow64RevertWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x477aec
push ebx
call eax
push esi
call edi
mov ecx, dword [esp + 0x1124]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048ea75
add esp, 0x111c
ret