Function at 0x40764a
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0x14c
mov eax, 0x42b9b7
call fcn.0041533e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x108], eax
test eax, eax
je 0x407a05
lea eax, [ebp - 0x158]
call fcn.00407092
and dword [ebp - 4], 0
lea eax, [ebp - 0x100]
push eax
call fcn.00407f48
lea edi, [ebp - 0x158]
mov byte [ebp - 4], 1
call fcn.00406f2c
and dword [ebp - 0x84], 0
push eax
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
call fcn.00402b7d
mov esi, 0x432738
push esi
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], 2
call fcn.00403375
mov ecx, edi
call fcn.00406a77
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00403375
push esi
lea eax, [ebp - 0x94]
push eax
call fcn.00403375
push str.SoftInfoConfig.cfg
lea eax, [ebp - 0x94]
push eax
call fcn.00403375
cmp dword [ebp - 0x80], 0x10
mov eax, dword [ebp - 0x94]
jae 0x407718
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00402b7d
lea eax, [ebp - 0x100]
push eax
call fcn.004085e8
push dword [ebp - 0x108]
mov ecx, str.dll_path
push str.config
lea edx, [ebp - 0x100]
call fcn.00408cdd
lea edi, [ebp - 0x100]
call fcn.00408a63
mov esi, 0x400
push esi
call fcn.0041117c
and dword [ebp - 0x10c], 0
mov ebx, eax
pop ecx
lea eax, [ebp - 0x158]
push eax
mov dword [ebp - 0x110], ebx
call fcn.00406c19
push esi
push 0
push ebx
cmp al, 1
jne 0x40784e
call fcn.00417670
mov eax, dword [ebp - 0x104]
mov eax, dword [eax + 0x18]
add esp, 0xc
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40779c
sub eax, esi
lea edi, [ebx - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4077a8
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4077c1
mov eax, dword [ebp - 0x108]
mov esi, str..exe__
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4077da
sub eax, esi
lea edi, [ebx - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4077e6
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4077ff
mov eax, dword [ebp - 0x104]
mov esi, 0x432f18
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 0x10]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40781a
sub eax, esi
lea edi, [ebx - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x407826
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call fcn.0041300c
pop ecx
mov dword [ebp - 0x10c], eax
jmp 0x4079c1
call fcn.00417670
add esp, 0xc
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407859
mov eax, dword [ebp - 0x108]
mov esi, str.__s__
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407871
sub eax, esi
lea edi, [ebx - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40787d
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407896
mov eax, dword [ebp - 0x104]
mov esi, 0x432f18
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 0x10]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4078b1
sub eax, esi
lea edi, [ebx - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4078bd
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 0x100
push esi
call fcn.0041117c
pop ecx
push esi
mov ebx, eax
push 0
push ebx
call fcn.00417670
mov eax, dword [ebp - 0x104]
mov eax, dword [eax + 0x18]
add esp, 0xc
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4078f8
sub eax, esi
lea edi, [ebx - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x407904
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40791d
mov ebx, str..exe
mov esi, ebx
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0x63
mov byte [ebp - 0x78], al
lea eax, [ebp - 0x77]
push 0
push eax
call fcn.00417670
add esp, 0xc
push 0x64
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [ebp - 0x78]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407951
mov eax, dword [ebp - 0x104]
mov eax, dword [eax + 0x18]
mov esi, 0x432738
movsw word es:[edi], word [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40796b
lea edi, [ebp - 0x78]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x407978
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x78]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407994
push 1
push 0
push dword [ebp - 0x110]
lea eax, [ebp - 0x78]
mov esi, ebx
push eax
movsd dword es:[edi], dword [esi]
push str.runas
push 0
movsb byte es:[edi], byte [esi]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ebx, dword [ebp - 0x110]
test ebx, ebx
je 0x4079cc
push ebx
call fcn.00411fba
pop ecx
xor edi, edi
cmp dword [ebp - 0x10c], 1
jne 0x4079d8
inc edi
push 0
push 1
lea ecx, [ebp - 0x94]
call fcn.00402b9e
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0
call fcn.00407fef
lea esi, [ebp - 0x158]
call fcn.00406f90
mov eax, edi
jmp 0x407a07
xor eax, eax
call fcn.00415388
ret 8