joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406f10
Capabilities:
Check if file exists
Create service
Persist via windows service
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7545
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push edi
mov ecx, 0x524e73
mov dword [ebp - 4], 1
call fcn.004e6414
push 0x50fad0
lea edx, [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.004079d0
push str.GptChromeService.exe
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.004079d0
add esp, 8
mov byte [ebp - 4], 4
or edi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406f84
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
push esi
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x407025
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x407025
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00408b90
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x10]
lea esi, [eax + 0x10]
push 1
push 2
push 0x110
push 0xf01ff
push esi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 0x18], eax
lea ebx, [esi - 0x10]
test eax, eax
jne 0x406ff6
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x407011
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp - 0x14]
call esi
mov eax, edi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x407025
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40703f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
pop esi
pop ebx
test eax, eax
jg 0x40705b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
pop edi
jg 0x407074
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40a4f0
Capabilities:
Set registry value

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 0x4e774b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x54
push esi
mov ecx, 0x524e73
mov dword [ebp - 4], 1
call fcn.004e6414
push str.UserChoice
lea ecx, [ebp - 0x48]
call fcn.004038f0
mov byte [ebp - 4], 2
mov eax, accept
mov ecx, dword [ebx + 0x18]
sub eax, ecx
cmp eax, 1
jb 0x40a6e1
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
push 1
cmovae eax, dword [ebx + 8]
push 0x50fad0
push ecx
push eax
lea eax, [ebx + 8]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.00409310
mov byte [ebp - 4], 3
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x60]
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
push eax
call fcn.004087c0
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x20], xmm0
mov word [eax], cx
lea ecx, [ebp - 0x60]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.00403830
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push 0xf003f
push 0
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40a66d
mov esi, dword [ebp - 0x14]
push 0x1a
push str.TSBrowserHTM
push 1
push eax
push str.ProgId
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebx + 0x34], 8
lea edx, [ebx + 0x20]
jb 0x40a62a
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x40a65b
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0x18], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a632
sub eax, dword [ebp - 0x18]
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push str.Hash
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
test esi, esi
je 0x40a66d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x40a6a3
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a699
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a6e6
push ecx
push edx
call fcn.004b8e2a
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.00403830
lea ecx, [ebx + 8]
call fcn.00403830
lea ecx, [ebx + 0x20]
call fcn.00403830
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00402650
call fcn.004c05a0
int3
Function at 0x40aac0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e77dd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push edi
mov ecx, 0x524e73
call fcn.004e6414
xor edi, edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
push eax
push 0xf003f
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionApplicationAssociationToasts
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ab0c
mov edi, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
test eax, eax
jne 0x40ab5a
push 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push str.AppX90nv6nhay5n6a98fnetv7tpk64pp35es_https
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 4
push 0
push str.AppXq0fevzme2pys62n3e0fbqa7peapykr8v_http
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
test edi, edi
jne 0x40ab5e
jmp 0x40ab65
test edi, edi
je 0x40ab65
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5102b4
lea ecx, [ebp - 0x2c]
call fcn.004038f0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.0040a6f0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00403830
push str..htm
lea ecx, [ebp - 0x2c]
call fcn.004038f0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 2
call fcn.0040a6f0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00403830
push str..shtml
lea ecx, [ebp - 0x2c]
call fcn.004038f0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 3
call fcn.0040a6f0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00403830
push str..xhtml
lea ecx, [ebp - 0x2c]
call fcn.004038f0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 4
call fcn.0040a6f0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00403830
push str..xht
lea ecx, [ebp - 0x2c]
call fcn.004038f0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 5
call fcn.0040a6f0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00403830
push str..svg
lea ecx, [ebp - 0x2c]
call fcn.004038f0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 6
call fcn.0040a6f0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00403830
push str..webp
lea ecx, [ebp - 0x2c]
call fcn.004038f0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 7
call fcn.0040a6f0
lea ecx, [ebp - 0x2c]
call fcn.00403830
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40b800
Capabilities:
Hash data via bcrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e78ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
mov ecx, 0x524e73
push edi
mov dword [ebp - 0x1c], esi
mov edi, edx
mov dword [ebp - 0x18], 0
call fcn.004e6414
mov dword [esi], 0
push 0
push 0
push 0x510d7c
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
js 0x40b907
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [ebp - 0x14]
call dword [sym.imp.bcrypt.dll_BCryptCreateHash]
test eax, eax
js 0x40b8fc
push 0
push dword [ebp + 8]
push edi
push dword [ebp - 0x10]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
test eax, eax
js 0x40b8f3
push 0x10
call fcn.004b90e1
lea ecx, [ebp - 0x20]
add esp, 4
xorps xmm0, xmm0
movups xmmword [eax], xmm0
cmp esi, ecx
je 0x40b8c2
mov ecx, dword [esi]
mov dword [esi], eax
test ecx, ecx
je 0x40b8cb
push ecx
jmp 0x40b8c3
push eax
call fcn.004b8e5b
add esp, 4
push 0
push 0x10
push dword [esi]
push dword [ebp - 0x10]
call dword [sym.imp.bcrypt.dll_BCryptFinishHash]
test eax, eax
jns 0x40b8f3
mov eax, dword [esi]
mov dword [esi], 0
test eax, eax
je 0x40b8f3
push eax
call fcn.004b8e5b
add esp, 4
push dword [ebp - 0x10]
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
push 0
push dword [ebp - 0x14]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40d030
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push ebx
mov ebx, ecx
mov ecx, 0x524e73
push esi
call fcn.004e6414
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.WS2_32.dll_bind
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40d1ce
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ecx, dword [ebp - 8]
test eax, eax
mov edx, 0x64
cmovne ecx, edx
xor edi, edi
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x40d1cd
push 0x104
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004bc490
push 0x104
lea eax, [ebp - 0x120]
mov dword [ebp - 0x14], 0
push 0
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0x104
call fcn.004bc490
push edi
push str._04u
lea eax, [ebp - 0x120]
push 0x104
push eax
call fcn.0040dc30
add esp, 0x28
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d1a9
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.NetCfgInstanceId
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40d1a4
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x40d169
mov eax, dword [ebx]
lea ecx, [ebp - 0x224]
push ecx
push eax
call fcn.004c61b2
add esp, 8
test eax, eax
jne 0x40d1a4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.Characteristics
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40d1c2
push dword [ebp - 4]
call esi
inc edi
cmp edi, dword [ebp - 8]
jb 0x40d0c1
pop edi
push dword [ebp - 0xc]
call esi
mov eax, dword [ebp - 0x1c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
push dword [ebp - 4]
mov dword [ebp - 0x1c], eax
call esi
pop edi
push dword [ebp - 0xc]
call esi
mov eax, dword [ebp - 0x1c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f520
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7d55
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov ecx, 0x524e73
call fcn.004e6414
mov esi, dword [ebp + 8]
push 8
call fcn.004b8e60
add esp, 4
mov dword [ebp + 8], eax
mov dword [eax], esi
mov dword [eax + 4], edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x414e80
push 0
push 0
call fcn.004c6685
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40f5b0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.0040e360
cmp dword [ebp - 0x14], 0
jne 0x40f5ab
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.004c6716
push 6
mov dword [ebp - 0x14], 0
call fcn.004ba6f5
int3
Function at 0x40f5c0
Capabilities:
Check if file exists
Enumerate gui resources
Enumerate processes
Terminate process

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 0x4e7d7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x250
push esi
push edi
mov edi, ecx
mov ecx, 0x524e73
mov dword [ebp - 0x14], edi
call fcn.004e6414
mov ax, word [0x511138]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0xa
movq xmm0, qword [0x511130]
mov dword [ebp - 0x18], 0xf
movq qword [ebp - 0x2c], xmm0
mov word [ebp - 0x24], ax
mov byte [ebp - 0x22], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [edi + 4]
push 0
push 0x469
push dword [eax]
call esi
mov eax, dword [edi + 4]
push 0
push 1
push 0x46a
push dword [eax]
call esi
push str.sp_sharedmem_quickstart_control
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
test eax, eax
je 0x40f694
push 0
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x40f694
mov dword [eax], 0
push str.SPChrome_FrameWin_
push 0x4045f0
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x260], 0x22c
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40f74a
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [eax]
mov eax, str.GptBrowser.exe
lea ecx, [ebp - 0x23c]
nop dword [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x40f716
test dx, dx
je 0x40f712
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x40f716
add ecx, 4
add eax, 4
test dx, dx
jne 0x40f6f0
xor eax, eax
jmp 0x40f71b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40f73c
push dword [ebp - 0x258]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp eax, 1
jne 0x40f74a
lea eax, [ebp - 0x260]
push eax
push esi
call edi
test eax, eax
jne 0x40f6e0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor esi, esi
nop dword [eax]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
add ecx, 4
call fcn.00405b60
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 4]
push dword [eax + 4]
call edi
test eax, eax
jne 0x40f783
inc esi
cmp esi, 0x14
jl 0x40f760
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x40f7b3
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f7a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f7c6
push ecx
push edx
call fcn.004b8e2a
add esp, 8
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
call fcn.004c05a0
int3
Function at 0x410330
Capabilities:
Check if file exists
Create thread

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 0x4e7e80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x140
push esi
push edi
mov esi, ecx
mov ecx, 0x524e73
mov dword [ebp - 4], 0
call fcn.004e6414
push 0x108
lea eax, [ebp - 0x14c]
push 0
push eax
call fcn.004bc490
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov eax, dword [eax]
push 0
push 0
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x150]
push eax
push 0x40fee0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xorps xmm0, xmm0
mov dword [ebp - 0x30], eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 1
call fcn.00405840
lea ecx, [ebp - 0x2c]
push 0x40
cmp eax, 0x40
jne 0x41041d
call fcn.00403440
movups xmm0, xmmword [str.http:__dw.gptchrome.net_bropkg_GInstallerx64_155.exe]
mov ecx, eax
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x5111e8]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x5111f8]
movups xmmword [ecx + 0x20], xmm0
mov eax, dword [0x511208]
jmp 0x410449
call fcn.00403440
movups xmm0, xmmword [str.http:__dw.gptchrome.net_bropkg_GInstallerx86_155.exe]
mov ecx, eax
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x511220]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x511230]
movups xmmword [ecx + 0x20], xmm0
mov eax, dword [0x511240]
mov dword [ecx + 0x30], eax
xor edi, edi
mov dword [ebp - 0x2c], ecx
mov byte [ecx + 0x34], 0
mov dword [ebp - 0x18], 0x3f
mov dword [ebp - 0x1c], 0x34
push ecx
mov ecx, dword [ebx + 8]
mov esi, esp
mov dword [ebp - 0x38], esp
mov dword [ebp - 0x34], esi
lea ecx, [ecx - 0x10]
call fcn.00408b90
add eax, 0x10
mov dword [esi], eax
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.00407700
xor edx, edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x148]
call fcn.0040c7b0
add esp, 0x1c
test al, al
jne 0x4104b7
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 5
jl 0x410463
push 0xffffffffffffffff
push dword [ebp - 0x30]
mov dword [ebp - 0x44], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebx + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x18]
test eax, eax
setne byte [ebp - 0x11]
cmp ecx, 0x10
jb 0x410508
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4104fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41053b
push ecx
push edx
call fcn.004b8e2a
add esp, 8
mov esi, dword [ebx + 8]
or eax, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x410523
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.004c05a0
int3
Function at 0x413500
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e70fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
push esi
mov esi, ecx
mov ecx, 0x524e73
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
call fcn.004e6414
mov dword [ebp - 4], 1
call fcn.00404150
mov ecx, eax
test ecx, ecx
je 0x4135dd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x800
lea eax, [ebp - 0x814]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x10], 1
call fcn.004bc490
add esp, 0xc
lea eax, [ebp - 0x814]
push 0
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4135cc
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4135a0
sub ecx, edx
lea eax, [ebp - 0x814]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00408c90
push 1
push 0x50fad0
mov ecx, esi
call fcn.00408e20
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403bc0
int3
Function at 0x414b90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e8435
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push esi
mov esi, ecx
mov ecx, 0x524e73
call fcn.004e6414
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x414cef
push 0x208
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.004bc490
add esp, 0xc
lea eax, [ebp - 0x258]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x38
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], 0x3c
push 0
push eax
call fcn.004bc490
lea eax, [ebp - 0x258]
mov dword [ebp - 0x44], str.runas
add esp, 0xc
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], 1
mov dword [ebp - 4], 0
call fcn.00404150
mov ecx, eax
test ecx, ecx
je 0x414d29
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
mov edx, 8
mov cl, byte [esi]
mov eax, 0x13
test cl, cl
lea ecx, [ebp - 0x14]
cmove eax, edx
mov edx, str._upprivi__can_ins_d
push eax
mov eax, str._upprivi
cmovne eax, edx
push eax
call fcn.00408c90
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x3c], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x414d00
push str.GPT_Chrome
lea ecx, [ebp - 0x10]
call fcn.00408580
push 0x11
push 0x511aa4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00408e20
push 4
push str.GPT_Chrome
push dword [ebp - 0x10]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x414d33
mov edx, dword [ebp - 0x10]
push edi
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414cd9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
pop edi
jg 0x414cef
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x414d18
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
xor al, al
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403bc0
push 0
call fcn.004c78b8
int3
Function at 0x4171b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e73b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov ebx, ecx
mov ecx, 0x52492a
push edi
mov dword [ebp - 0x10], ebx
call fcn.004e6414
push 8
mov dword [ebx], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004b8e60
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004baa20
mov dword [esi + 4], eax
add esp, 8
mov eax, ebx
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
pop edi
pop esi
mov dword [edx], 0
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret