Function at 0x42db90
Capabilities:
Create process on windows
Get common file path
Hide graphical window
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48902f
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x230], ebx
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0
call fcn.0046a870
test eax, eax
jne 0x42dbf2
push 0x30
push 0x497944
push 0x49c570
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x42e079
mov dword [ebp - 0x224], 0
xor ebx, ebx
mov byte [ebp - 4], 1
xor edi, edi
mov ecx, dword [edi + 0x49c5ec]
mov esi, ecx
lea edx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42dc10
sub esi, edx
sar esi, 1
push esi
push ecx
lea ecx, [ebp + 0xc]
call fcn.0046a2c0
push eax
call fcn.0047277b
add esp, 0xc
test eax, eax
je 0x42dc44
add edi, 0xc
inc ebx
cmp edi, 0x3c
jb 0x42dc04
jmp 0x42dda1
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x21c], 0
call fcn.0046a2c0
lea edi, [ebx + ebx*2]
lea esi, [eax + esi*2]
lea eax, [ebp - 0x21c]
push eax
lea eax, [esi + 2]
push eax
push dword [edi*4 + 0x49c5f4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
push esi
mov ebx, eax
call fcn.0046a680
push eax
push esi
call fcn.0046a810
mov dword [ebp - 0x220], eax
mov esi, dword [edi*4 + 0x49c5f0]
push esi
mov byte [ebp - 4], 2
call fcn.0046a680
push eax
push esi
call fcn.0046a810
add esp, 0x18
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x228]
call fcn.0046a380
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.0046a200
mov ecx, dword [ebp - 0x22c]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x42dce7
call fcn.0046a850
mov ecx, dword [ebp - 0x228]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x42dcfa
call fcn.0046a850
mov ecx, dword [ebp - 0x220]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x42dd0d
call fcn.0046a850
test ebx, ebx
jne 0x42dd2c
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x49c504
lea ecx, [ebp + 0xc]
call fcn.0046a4e0
jmp 0x42dda1
push 0x5c
lea ecx, [ebp + 0xc]
call fcn.0046a2c0
push eax
call fcn.004715e5
add esp, 8
lea ecx, [ebp - 0x224]
add eax, 2
push eax
call fcn.0046a240
lea ecx, [ebp - 0x224]
call fcn.0046a870
or esi, 0xffffffff
lea ecx, [ebp + 0xc]
sub esi, eax
call fcn.0046a870
add eax, esi
lea ecx, [ebp + 0xc]
push eax
call fcn.0046a2c0
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00434aa0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.0046a200
mov ecx, dword [ebp - 0x22c]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x42dda1
call fcn.0046a850
push 0x38
lea eax, [ebp - 0x268]
mov dword [ebp - 0x26c], 0
push 0
push eax
call fcn.00470180
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
add esp, 0xc
push 0
push 0x49c71c
call ebx
mov edi, dword [sym.imp.USER32.dll_WaitForInputIdle]
mov esi, eax
mov dword [ebp - 0x220], esi
test esi, esi
jne 0x42de5a
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], 0x3c
push eax
mov dword [ebp - 0x268], 0x40
mov dword [ebp - 0x260], 0x497148
mov dword [ebp - 0x25c], 0x49c73c
mov dword [ebp - 0x250], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0xffffffffffffffff
push dword [ebp - 0x234]
call edi
push 0
push 0x49c71c
call ebx
mov esi, eax
mov dword [ebp - 0x220], esi
jmp 0x42de7e
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x22c]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x234], eax
test esi, esi
jne 0x42de9f
push 0x10
push 0x497944
push 0x49c758
push dword [ebp - 0x230]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x42e066
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x42deae
push 1
jmp 0x42deb0
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push 0x49c7b4
push 0
push esi
call dword [sym.imp.USER32.dll_FindWindowExW]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffffffffffffffff
push dword [ebp - 0x234]
call edi
push 0
push 0x10288
push 0x111
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
push 0xffffffffffffffff
push dword [ebp - 0x234]
call edi
mov dword [ebp - 0x21c], 0x1e
push 0
push 0x25
push 0x100
push ebx
call esi
push 0xffffffffffffffff
push dword [ebp - 0x234]
call edi
dec dword [ebp - 0x21c]
jne 0x42df11
lea ecx, [ebp + 0xc]
call fcn.0046a2c0
mov dword [ebp - 0x21c], eax
movzx ecx, word [eax]
test cx, cx
je 0x42df8e
cmp cx, 0x5c
jne 0x42df56
push 0
push 0x27
push 0x100
jmp 0x42df6a
movzx eax, cx
push eax
call fcn.004728f5
add esp, 4
push 0
push eax
push 0x102
push ebx
call esi
push 0xffffffffffffffff
push dword [ebp - 0x234]
call edi
mov eax, dword [ebp - 0x21c]
add eax, 2
mov dword [ebp - 0x21c], eax
movzx ecx, word [eax]
test cx, cx
jne 0x42df45
push 0xffffffffffffffff
push dword [ebp - 0x234]
call edi
lea ecx, [ebp - 0x224]
call fcn.0046a870
mov ebx, dword [ebp - 0x220]
test eax, eax
je 0x42e058
push 0
push 0x49903c
push 0
push ebx
call dword [sym.imp.USER32.dll_FindWindowExW]
push eax
mov dword [ebp - 0x228], eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [ebp - 0x228]
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffffffffffffffff
push dword [ebp - 0x234]
call edi
push 0
push 0x24
push 0x100
push dword [ebp - 0x228]
call esi
push 0xffffffffffffffff
push dword [ebp - 0x234]
call edi
lea ecx, [ebp - 0x224]
call fcn.0046a2c0
mov dword [ebp - 0x230], eax
movzx eax, word [eax]
test ax, ax
je 0x42e058
mov ebx, dword [ebp - 0x230]
mov edi, edi
movzx ecx, ax
push ecx
call fcn.004728f5
add esp, 4
push 0
push eax
push 0x102
push dword [ebp - 0x228]
call esi
push 0xffffffffffffffff
push dword [ebp - 0x234]
call edi
movzx eax, word [ebx + 2]
lea ebx, [ebx + 2]
test ax, ax
jne 0x42e020
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0x224]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x42e079
call fcn.0046a850
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x42e08c
call fcn.0046a850
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f8ce
mov esp, ebp
pop ebp
ret