Function at 0x413a20
Capabilities:
Create process on windows
Create shortcut via ishelllink
Delete service
Enumerate gui resources
Get common file path
Get session user name
Stop service

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e839d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xa78
push esi
push edi
mov edi, ecx
mov ecx, 0x524e73
mov dword [ebp - 0x2c], edi
call fcn.004e6414
mov edx, dword [edi + 4]
lea ecx, [ebp - 0x28]
push 0x50fad0
add edx, 4
call fcn.004079d0
add esp, 4
push 0xe
push str.GptBrowser.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00408e20
call fcn.004110e0
mov ecx, edi
call fcn.00411740
mov ecx, edi
call fcn.00412a50
mov eax, dword [edi + 4]
cmp dword [eax + 0xc], 0
je 0x413ac0
push 0
push 0
push 2
push 6
call fcn.00404550
add esp, 0x10
call fcn.0040aca0
xorps xmm0, xmm0
mov dword [ebp - 0x54], 8
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x64], 0xb0d7b2b0
mov dword [ebp - 0x60], 0xc9b3eacd
mov byte [ebp - 0x5c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ecx
push 0
push 0x469
push dword [eax]
call esi
mov eax, dword [edi + 4]
push 0
push 0
push 0x46a
push dword [eax]
call esi
mov eax, dword [edi + 4]
push 0
push 0x64
push 0x466
push dword [eax]
call esi
mov eax, dword [edi]
or edi, 0xffffffff
cmp byte [eax + 2], 0
jne 0x413cb1
cmp byte [eax + 7], 0
lea ecx, [ebp - 0x20]
lea eax, [ebp - 0x28]
mov edx, 0x50fc24
push eax
je 0x413ba1
call fcn.00407840
add esp, 4
push 0x50fc24
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004079d0
add esp, 4
mov byte [ebp - 4], 4
mov eax, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413b80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 1
push 1
push 0
push ecx
mov ecx, esp
mov byte [ebp - 0x11], 0
push str.explorer.exe
lea esi, [ebp - 0x18]
call fcn.00408410
mov dl, byte [ebp - 0x11]
jmp 0x413bfc
call fcn.00407840
add esp, 4
push 0x50fc24
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.004079d0
add esp, 4
mov byte [ebp - 4], 7
mov eax, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413bdd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 1
push 1
push 0
push ecx
mov ecx, esp
mov byte [ebp - 0x11], 0
push str.explorer.exe
lea esi, [ebp - 0x18]
call fcn.00408410
mov dl, byte [ebp - 0x11]
mov ecx, esi
call fcn.00406800
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
add esp, 0x14
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413c20
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 8
call fcn.00404150
mov ecx, eax
test ecx, ecx
je 0x414426
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x24], eax
push 0x12
push str.SPChrome_FrameWin_
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.00408c90
lea eax, [ebp - 0x24]
push eax
push 0x413900
call dword [sym.imp.USER32.dll_EnumWindows]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
cmp byte [ebp - 0x20], 0
jne 0x413c9f
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413c97
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc esi
cmp esi, 0x50
jl 0x413c22
jmp 0x413cb1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413cb1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2c]
push 0
push 0
push 0x46b
mov eax, dword [eax + 4]
push dword [eax]
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.004135f0
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x413ce4
lea ecx, [ebp - 0x34]
call fcn.00404850
jmp 0x413d95
mov byte [ebp - 4], 0xa
call fcn.00404150
mov ecx, eax
test ecx, ecx
je 0x414426
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push 0x800
lea eax, [ebp - 0xa88]
mov byte [ebp - 4], 0xb
push 0
push eax
call fcn.004bc490
add esp, 0xc
lea eax, [ebp - 0xa88]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x413d71
lea ecx, [ebp - 0xa88]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413d40
sub ecx, edx
lea eax, [ebp - 0xa88]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00408c90
push 1
push 0x50fad0
lea ecx, [ebp - 0x18]
call fcn.00408e20
mov esi, dword [ebp - 0x18]
add esi, 0xfffffff0
mov ecx, esi
call fcn.00408b90
add eax, 0x10
mov dword [ebp - 0x34], eax
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x413d95
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push str.GPT_Chrome.lnk
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x30]
call fcn.004079d0
mov ecx, esp
mov byte [ebp - 4], 0xd
push 0x511184
call fcn.00408580
lea ecx, [ebp - 0x4c]
call fcn.004062c0
add esp, 4
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x3c], 0
je 0x413ff0
sub esp, 0x18
xorps xmm0, xmm0
mov esi, esp
mov dword [ebp - 0x20], esp
mov ecx, esi
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00403440
mov dword [esi], eax
mov dword [esi + 0x10], 0x10
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.1234njio9876123d]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
sub esp, 0x18
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x4c]
mov ecx, esp
push eax
call fcn.00407700
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xe
call fcn.00402b40
mov esi, eax
add esp, 0x30
lea eax, [ebp - 0x4c]
cmp eax, esi
je 0x413ea7
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x413e73
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x413e69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414430
push ecx
push edx
call fcn.004b8e2a
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x3c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x68]
cmp ecx, 0x10
jb 0x413edb
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x413ed1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414430
push ecx
push edx
call fcn.004b8e2a
add esp, 8
push ecx
mov esi, esp
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00408b90
add eax, 0x10
lea ecx, [ebp - 0x4c]
mov dword [esi], eax
call fcn.00406170
add esp, 4
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0x4f7840
push 1
push 0
push 0x4f78b0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x413fea
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], 0
push 0x4f7860
mov eax, dword [ecx]
push ecx
call dword [eax]
test eax, eax
js 0x413fe1
mov ecx, dword [ebp - 0x18]
push 2
push dword [ebp - 0x30]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
test eax, eax
js 0x413fd8
push 0x5c
push dword [ebp - 0x28]
call fcn.004bc029
add esp, 8
test eax, eax
jne 0x413f73
or eax, 0xffffffff
jmp 0x413f78
sub eax, dword [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x28]
call fcn.00407ce0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0x28]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
push esi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x1c]
push 0
push dword [ebp - 0x28]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x44]
mov ecx, dword [ebp - 0x18]
push 1
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov byte [ebp - 4], 0xe
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x413fd8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, dword [ebp - 0x2c]
mov eax, dword [esi + 4]
cmp dword [eax + 0x10], 0
je 0x414035
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.GPT_Chrome.lnk
call fcn.00408580
push ecx
mov byte [ebp - 4], 0x11
mov esi, esp
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00408b90
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xe
call fcn.00406c70
mov esi, dword [ebp - 0x2c]
add esp, 8
push str.GptChromeSrv
lea ecx, [ebp - 0x18]
call fcn.00408580
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x4140a5
push 0xf01ff
push dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x41407c
push dword [ebp - 0x20]
mov eax, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call eax
jmp 0x4140a5
lea ecx, [ebp - 0x80]
push ecx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push dword [ebp - 0x1c]
mov eax, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4140bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.GptChromeSrv
call fcn.00408580
mov byte [ebp - 4], 0x12
mov ecx, dword [esi + 4]
add ecx, 4
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
mov ecx, dword [ecx]
sub ecx, 0x10
call fcn.00408b90
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xe
call fcn.00406f10
mov eax, dword [ebp - 0x2c]
add esp, 8
mov eax, dword [eax + 4]
cmp dword [eax + 0x14], 0
je 0x4142fd
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x414260
lea ecx, [ebp - 0x1c]
call fcn.00404cf0
push 0x208
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 0x13
push 0
push eax
call fcn.004bc490
add esp, 0xc
mov dword [ebp - 0x20], 0x104
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x18]
call fcn.00408580
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
je 0x414228
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x41422b
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x1c]
call fcn.004077c0
test al, al
je 0x414228
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4141a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov eax, edi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4141c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x4142fd
push 0xf01ff
push str.GptChromeSrv
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x414203
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4142fd
lea ecx, [ebp - 0x80]
push ecx
push 0x80
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4142fd
mov eax, dword [ebp - 0x18]
lea edx, [eax - 0x10]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414242
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov eax, edi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414260
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00408b90
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
push 0
push 0
push 0
push 0xa
mov byte [ebp - 4], 0x14
call fcn.00404550
add esp, 0x10
test al, al
je 0x4142b9
sub esp, 0x18
mov byte [ebp - 0x11], 0
mov ecx, esp
push esi
call fcn.004038f0
mov cl, byte [ebp - 0x11]
call fcn.0040e050
mov ecx, esp
mov byte [ebp - 0x11], 1
push esi
call fcn.004038f0
mov cl, byte [ebp - 0x11]
call fcn.0040e050
add esp, 0x18
jmp 0x4142e2
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
push 0
push 0
push esi
push str.taskbarunpin
push 0
call edi
push 0
push 0
push 0
push esi
push str.taskbarpin
push 0
call edi
or edi, 0xffffffff
mov byte [ebp - 4], 0xe
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4142fd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0040eec0
mov ecx, dword [ebp - 0x68]
cmp ecx, 0x10
jb 0x41433f
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x414335
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414435
push ecx
push edx
call fcn.004b8e2a
add esp, 8
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x414373
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x414369
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414435
push ecx
push edx
call fcn.004b8e2a
add esp, 8
mov edx, dword [ebp - 0x30]
mov eax, edi
mov dword [ebp - 0x3c], 0
add edx, 0xfffffff0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41439f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x34]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4143b9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x4143e9
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4143df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414435
push ecx
push edx
call fcn.004b8e2a
add esp, 8
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x54], 0
add edx, 0xfffffff0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x414413
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.00403bc0
call fcn.004c05a0
call fcn.004c05a0
int3