Function at 0x5f5e10
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6428a8
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x6ccc30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
xorps xmm0, xmm0
mov dword [ebp - 4], eax
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], vtable.PDFHandlerBrowserSwitcher.0
push 0x44
push str._REINSTALLMODEomus_DISABLE_FIU_CHECK1_IGNOREAAM1_REPAIRFROMAPP1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
call fcn.005d2810
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.005f91a0
lea ecx, [ebp - 0x80]
test al, al
je 0x5f615a
push 0x10
push str.INSTALLUWPAPP1
call fcn.005d7ff0
push 3
push 0x65073c
lea ecx, [ebp - 0x80]
call fcn.005d7ff0
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x38]
call fcn.005fa890
test al, al
je 0x5f6166
push 3
xor eax, eax
mov dword [ebp - 0x58], 0
push 0x650744
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
call fcn.005d2810
cmp dword [ebp - 0x84], 8
lea eax, [ebp - 0x98]
push dword [ebp - 0x88]
cmovae eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x68]
push eax
mov byte [ebp - 4], 3
call fcn.005d7ff0
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
push dword [ebp - 0x70]
cmovae eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x68]
push eax
call fcn.005d7ff0
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
push eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
push 0x105
lfence
call fcn.005fa4d0
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push eax
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x5f6112
cmp eax, dword [ebp - 0x40]
ja 0x5f6112
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
push 0x105
lfence
call fcn.005fa4d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x5f60e5
cmp eax, dword [ebp - 0x18]
ja 0x5f60e5
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x5f60e5
push 0x38
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xd4], 0x3c
push 0
push eax
call fcn.0061e8c0
add esp, 0xc
mov dword [ebp - 0xb8], 0
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
mov dword [ebp - 0xc4], 0x65074c
cmovae eax, dword [ebp - 0x68]
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x17
cmp eax, 8
jb 0x5f6082
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.005d31d0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x18
cmp eax, 8
jb 0x5f60af
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.005d31d0
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0x19
cmp eax, 8
jb 0x5f6166
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.005d31d0
jmp 0x5f6166
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x11
cmp eax, 8
jb 0x5f60fe
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.005d31d0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x12
cmp eax, 8
jb 0x5f612b
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.005d31d0
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0x13
cmp eax, 8
jb 0x5f6166
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.005d31d0
jmp 0x5f6166
push 3
push 0x65073c
call fcn.005d7ff0
mov eax, dword [ebp - 0x6c]
mov byte [ebp - 4], 0x1a
cmp eax, 8
jb 0x5f617f
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.005d31d0
mov dword [ebp - 0x38], vtable.PDFHandlerSwitcher.0
mov esi, dword [ebp - 0x34]
mov byte [ebp - 4], 0x1b
test esi, esi
je 0x5f61de
mov edi, dword [ebp - 0x30]
cmp esi, edi
je 0x5f61a9
mov ecx, esi
call fcn.005d6b70
add esi, 0x30
cmp esi, edi
jne 0x5f6198
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x34]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.005fa680
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 4], 0x1c
cmp eax, 8
jb 0x5f6203
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.005d31d0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ce525
mov esp, ebp
pop ebp
ret