Function at 0x407610
Capabilities:
Create process on windows
Get common file path
Get startup folder

Disassembly:
push ebp
lea ebp, [esp - 0x254]
sub esp, 0x254
push 0xffffffffffffffff
push 0x4c8345
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4e7744]
xor eax, ebp
mov dword [ebp + 0x250], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 7
mov word [ebp + 0x30], ax
push 0x3c
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x48]
push eax
call fcn.004ac5e0
add esp, 0xc
lea eax, [ebp + 0x48]
push eax
push 0
push dword [0x4e85f0]
push 0x24
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x407808
lea ecx, [ebp + 0x48]
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x28], eax
lea edx, [ecx + 2]
mov dword [ebp + 0x2c], 7
mov word [ebp + 0x18], ax
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4076b0
sub ecx, edx
lea eax, [ebp + 0x48]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x18]
call fcn.00409f70
push 0x4c98b0
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp]
push eax
call fcn.00401400
mov esi, eax
add esp, 0xc
lea eax, [ebp + 0x30]
cmp eax, esi
je 0x407776
mov edx, dword [ebp + 0x44]
cmp edx, 8
jb 0x40772c
mov ecx, dword [ebp + 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407722
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40785f
push edx
push ecx
call fcn.004aa4d8
add esp, 8
mov dword [ebp + 0x40], 0
xor eax, eax
mov word [ebp + 0x30], ax
mov dword [ebp + 0x44], 7
mov eax, dword [esi]
mov dword [ebp + 0x30], eax
mov eax, dword [esi + 4]
mov dword [ebp + 0x34], eax
mov eax, dword [esi + 8]
mov dword [ebp + 0x38], eax
mov eax, dword [esi + 0xc]
mov dword [ebp + 0x3c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp + 0x40], eax
mov eax, dword [esi + 0x14]
mov dword [ebp + 0x44], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp]
call fcn.004022d0
mov edx, dword [ebp + 0x2c]
cmp edx, 8
jb 0x4077b8
mov ecx, dword [ebp + 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4077ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40785f
push edx
push ecx
call fcn.004aa4d8
add esp, 8
cmp dword [ebp + 0x44], 8
lea eax, [ebp + 0x30]
mov dword [ebp - 0x48], 0x3c
cmovae eax, dword [ebp + 0x30]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x44], 0x40
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], str.open
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edx, dword [ebp + 0x44]
cmp edx, 8
jb 0x40783e
mov ecx, dword [ebp + 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407834
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407864
push edx
push ecx
call fcn.004aa4d8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.004aa4f4
lea esp, [ebp + 0x254]
pop ebp
ret
call fcn.004aeecf
call fcn.004aeecf
int3