joyce8/EMBER2024-capa huggingface dataset:
Function at 0x528440
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, esp
mov dword [esi + 0x68], ebp
lea ecx, [esi + 0x70]
mov dword [ecx - 4], esp
xor edi, edi
dec edi
mov dword [ecx + 8], edi
mov dword [ecx + 4], 0x4675b0
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
xor edx, edx
lea eax, [esi + 0x19]
mov dword [eax + 3], edx
mov dword [eax - 1], 0x25
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x1c]
push dword [ebx + 4]
push edx
push ecx
push eax
call fcn.00532a10
add esp, 0x10
mov dword [esi + 8], esp
lea ebx, [esi + 0x20]
mov dword [ebx + 8], edi
mov dword [ebx + 4], edi
mov dword [ebx], edi
mov byte [ebx + 0xc], 0xff
sub esp, 0x1c
mov edi, esp
lea eax, [edi + 8]
push eax
call fcn.004b0540
add esp, 4
mov dword [edi], ebx
mov dword [edi + 4], 0xd
lea eax, [esi + 0x18]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x18], eax
call fcn.00469e70
add esp, 0x1c
mov esp, dword [esi + 8]
lea edi, [esi + eax]
add edi, 0x20
push dword [ebp + 0x10]
push edi
push ebx
call fcn.00527dc0
add esp, 0xc
mov dword [esi + 8], eax
pcmpeqd xmm0, xmm0
lea ebx, [esi + 0x30]
movdqu xmmword [ebx + 0x1e], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea ecx, [esi + 0x14]
xor eax, eax
dec eax
mov dword [ecx], eax
lea ecx, [esi + 0x10]
mov dword [ecx], eax
lea eax, [esi + 0xc]
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004afe20
lea eax, [esi + 0x70]
xor ecx, ecx
mov dword [eax + 8], ecx
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x14]
push eax
push ebx
push edi
push dword [esi + 8]
lea eax, [esi + 0x20]
push eax
call fcn.00529010
add esp, 0x1c
mov ebx, dword [esi + 0xc]
xor eax, eax
dec eax
lock xadd dword [ebx + 4], eax
mov edi, dword [ebp + 8]
movzx edx, word [ebp + 0x14]
test eax, eax
jne 0x52857a
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0x78], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
movzx edx, word [ebp + 0x14]
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x78], 0xffffffff
movzx edx, dx
push edx
push dword [ebp + 0x10]
push eax
push ecx
lea eax, [esi + 0x30]
push eax
push dword [ebp + 0xc]
push edi
call fcn.00528e90
add esp, 0x1c
mov eax, dword [esi + 0x70]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
Function at 0x528620
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov esi, esp
mov dword [esi + 0xa8], ebp
lea ecx, [esi + 0xb0]
mov dword [ecx - 4], esp
xor edi, edi
dec edi
mov dword [ecx + 8], edi
mov dword [ecx + 4], 0x4675c0
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
xor edx, edx
lea eax, [esi + 0x19]
mov dword [eax + 3], edx
mov dword [eax - 1], 0x25
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x20]
push dword [ebx + 4]
push edx
push ecx
push eax
call fcn.00532a10
add esp, 0x10
mov dword [esi + 8], esp
lea eax, [esi + 0x20]
mov dword [eax + 0x14], edi
mov dword [eax + 0x10], edi
pcmpeqd xmm0, xmm0
movdqa xmmword [eax], xmm0
mov ebx, eax
sub esp, 0x20
mov edi, esp
lea eax, [edi + 8]
push eax
call fcn.004b0540
add esp, 4
mov dword [edi], ebx
mov dword [edi + 4], 0x18
lea eax, [esi + 0x18]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x18], eax
call fcn.00469e70
add esp, 0x20
mov esp, dword [esi + 8]
lea ebx, [esi + eax]
add ebx, 0x20
push dword [ebp + 0x10]
push ebx
lea eax, [esi + 0x20]
push eax
call fcn.00527dc0
add esp, 0xc
mov dword [esi + 8], eax
lea edi, [esi + 0x40]
pcmpeqd xmm0, xmm0
movdqu xmmword [edi + 0x4a], xmm0
movdqa xmmword [edi + 0x40], xmm0
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea ecx, [esi + 0x14]
xor eax, eax
dec eax
mov dword [ecx], eax
lea ecx, [esi + 0x10]
mov dword [ecx], eax
lea eax, [esi + 0xc]
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004afe20
lea eax, [esi + 0xb0]
xor ecx, ecx
mov dword [eax + 8], ecx
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x14]
push eax
push edi
push ebx
push dword [esi + 8]
lea eax, [esi + 0x20]
push eax
call fcn.00529010
add esp, 0x1c
mov ebx, dword [esi + 0xc]
xor eax, eax
dec eax
lock xadd dword [ebx + 4], eax
mov edi, dword [ebp + 8]
movzx edx, word [ebp + 0x14]
test eax, eax
jne 0x528782
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0xb8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
movzx edx, word [ebp + 0x14]
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xb8], 0xffffffff
movzx edx, dx
push edx
push dword [ebp + 0x10]
push eax
push ecx
lea eax, [esi + 0x40]
push eax
push dword [ebp + 0xc]
push edi
call fcn.00528e90
add esp, 0x1c
mov eax, dword [esi + 0xb0]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
Function at 0x535d20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
push 8
call fcn.004eca5e
add esp, 4
mov dword [eax], ebx
mov dword [eax + 4], edi
xor ecx, ecx
push ecx
push ecx
push eax
push 0x535d70
push ecx
push ecx
call fcn.004fc38a
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x535d5f
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
pop esi
pop edi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x538d60
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.004b3b80
test al, al
jne 0x538d7e
mov ecx, esi
call fcn.004b3b80
test al, al
je 0x538d83
xor eax, eax
pop esi
pop ebp
ret
pop esi
pop ebp
jmp fcn.0053df60
Function at 0x539020
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x59d024]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov bl, 1
cmp dword [0x5a2e20], 0
je 0x539058
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed092
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [0x5a2e0c]
test esi, esi
je 0x5390f2
test byte [0x59ebc0], 1
je 0x539041
cmp byte [esi + 0xb], 0
jns 0x539077
mov esi, dword [esi]
sub esp, 0x1c
movaps xmm0, xmmword [0x58d390]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x5a2e20], eax
inc eax
cmp eax, 1
ja 0x539041
lea esi, [ebp - 0x216]
push 0x206
push 0xff
push esi
call fcn.004f0310
add esp, 0xc
mov word [esi - 2], 0
lea edi, [ebp - 0x218]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x539197
xor ebx, ebx
jmp 0x539041
push 0xc
call fcn.004eca5e
add esp, 4
mov esi, eax
lea edi, [ebp - 0x218]
push 0x208
push 0xff
push edi
call fcn.004f0310
add esp, 0xc
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
dec eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, esi
push edi
call fcn.0051d070
movzx eax, byte [esi + 0xb]
test al, al
jns 0x539147
mov eax, dword [esi + 4]
mov ecx, dword [esi]
jmp 0x53914c
and eax, 0x7f
mov ecx, esi
test eax, eax
jne 0x539169
mov ecx, esi
push 9
push str.debug.log
call fcn.004691c0
mov dword [0x5a2e0c], esi
jmp 0x539066
lea edi, [eax + eax]
test edi, edi
je 0x539150
lea edx, [edi - 2]
cmp word [ecx + edi - 2], 0x5c
mov edi, edx
jne 0x53916c
cmp edx, 0xfffffffe
je 0x539150
sar edx, 1
inc edx
cmp eax, edx
jb 0x539237
mov ecx, esi
push edx
call fcn.00520d10
jmp 0x539150
mov esi, dword [0x5a2e0c]
push edi
call fcn.00508f54
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.00468e50
mov ecx, dword [0x5a2e0c]
call fcn.00466de0
cmp word [eax], 0x5c
je 0x5391d2
mov ecx, dword [0x5a2e0c]
push 1
push 0x586e96
call fcn.004691c0
mov ecx, dword [0x5a2e0c]
push 9
push str.debug.log
call fcn.004691c0
mov eax, dword [0x5a2e0c]
cmp byte [eax + 0xb], 0
jns 0x5391f1
mov eax, dword [eax]
sub esp, 0x1c
movaps xmm0, xmmword [0x58d390]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x5a2e20], eax
inc eax
cmp eax, 1
ja 0x539041
mov dword [0x5a2e20], 0
jmp 0x5390eb
call fcn.00501b50
int3
Function at 0x53d6e0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, dword [ebp + 8]
mov eax, dword [0x59d024]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x18a
push str....._base_files_file_util_win.cc
push str.DeleteFileAfterReboot
push ebx
call fcn.004b4450
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.004be2f0
mov al, byte [edi + 0xb]
test al, al
jns 0x53d74d
cmp dword [edi + 4], 0x103
jbe 0x53d74d
xor ebx, ebx
jmp 0x53d763
test al, al
jns 0x53d753
mov edi, dword [edi]
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne bl
lea ecx, [esp + 0x10]
call fcn.004be370
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.004ed092
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x53de00
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov dword [esp + 0xc], edx
mov edi, ecx
mov eax, dword [0x59d024]
xor eax, ebp
mov dword [esp + 0x78], eax
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0x30]
movdqa xmmword [ebx + 0x30], xmm0
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea esi, [esp + 0x20]
push 0x7e
push str....._base_files_file_util_win.cc
push str.DoCopyFile
push esi
call fcn.004b4450
add esp, 0x10
mov ecx, ebx
mov ebx, edi
push 0
push esi
call fcn.004be2f0
mov ecx, edi
call fcn.004b3b80
test al, al
jne 0x53de7a
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.004b3b80
test al, al
je 0x53de9a
xor ebx, ebx
lea ecx, [esp + 0x30]
call fcn.004be370
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.004ed092
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp byte [ebx + 0xb], 0
jns 0x53dea9
cmp dword [ebx + 4], 0x103
ja 0x53de7a
cmp byte [edi + 0xb], 0
jns 0x53deb8
cmp dword [edi + 4], 0x103
ja 0x53de7a
mov dword [esp + 8], ebx
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0x20]
movdqa xmmword [ebx], xmm0
lea esi, [esp + 0x10]
push 0x8b
push str....._base_files_file_util_win.cc
push str.DoCopyFile
push esi
call fcn.004b4450
add esp, 0x10
mov ecx, ebx
push 0x5a3b5c
push esi
mov esi, edi
call fcn.00494450
cmp byte [edi + 0xb], 0
jns 0x53defb
mov esi, dword [esi]
mov ecx, dword [esp + 8]
mov al, byte [ebp + 8]
movzx eax, al
cmp byte [ecx + 0xb], 0
jns 0x53df0d
mov ecx, dword [ecx]
push eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x53df50
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
je 0x53df3c
mov eax, edi
and eax, 1
je 0x53df3c
mov eax, edi
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp edi, 0xffffffff
setne bl
lea ecx, [esp + 0x20]
call fcn.00494570
jmp 0x53de7c
xor ebx, ebx
jmp 0x53df42
Function at 0x53df60
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov edi, dword [ebp + 8]
mov eax, dword [0x59d024]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x20]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea ebx, [esp + 0x10]
push 0x438
push str....._base_files_file_util_win.cc
push str.MoveUnsafe
push ebx
call fcn.004b4450
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.004be2f0
mov al, byte [edi + 0xb]
test al, al
jns 0x53dfeb
cmp dword [edi + 4], 0x103
jbe 0x53dfeb
xor ebx, ebx
lea ecx, [esp + 0x20]
call fcn.004be370
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.004ed092
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [ebp + 0xc]
mov dl, byte [esi + 0xb]
test dl, dl
jns 0x53dffe
cmp dword [esi + 4], 0x103
ja 0x53dfcb
mov ecx, esi
test dl, dl
jns 0x53e006
mov ecx, dword [esi]
mov edx, edi
test al, al
jns 0x53e00e
mov edx, dword [edi]
push 3
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov bl, 1
test eax, eax
jne 0x53dfcd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
push edi
call fcn.0047b650
add esp, 4
test al, al
jne 0x53e041
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x53dfcb
push esi
push edi
call fcn.0053e060
add esp, 8
test al, al
jne 0x53dfcd
jmp 0x53e035
Function at 0x53f0b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
lea edi, [ecx + 0xc]
lea eax, [ecx + 0x10]
push 0x228
push 0
push eax
call fcn.004f0310
add esp, 0xc
mov dword [esi + 0xc], 0x22c
cmp byte [esi + 8], 0
je 0x53f0ec
push edi
push dword [esi + 4]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
setne al
pop esi
pop edi
pop ebp
ret
mov byte [esi + 8], 1
push edi
push dword [esi + 4]
call sub.KERNEL32.dll_Process32FirstW
jmp 0x53f0e3

Function at 0x53f170
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x59d024]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 4], 0
je 0x53f1e2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x53f1e6
cmp byte [ebp + 0xc], 0
je 0x53f1c2
cmp byte [esi + 4], 0
je 0x53f237
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, esi
push edi
call fcn.0047d850
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed092
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [esi]
jmp 0x53f194
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 4], 0
je 0x53f20c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x53f210
xor ebx, ebx
jmp 0x53f1cc
mov eax, dword [esi]
jmp 0x53f1f8
mov dword [ebp - 0x14], 0xffffffff
cmp byte [esi + 4], 0
je 0x53f23e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x53f1c2
mov edi, dword [ebp - 0x14]
jmp 0x53f1c2
mov eax, dword [esi]
jmp 0x53f1b6
mov eax, dword [esi]
jmp 0x53f223
Function at 0x542eb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, dword [ebp + 8]
mov eax, dword [0x59d024]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x7f
push str.....operadesktopchrome_importschromeinstallerutil_taskbar_util.cc
push str.PinShortcutToTaskbar
push ebx
call fcn.004b4450
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.004be2f0
call fcn.004c34d0
cmp eax, 0xd
jl 0x542f7d
mov esi, esp
mov dword [esi], 0xffffffff
mov ecx, esi
call fcn.00486170
cmp dword [esi], 0
je 0x542fbb
cmp byte [edi + 0xb], 0
jns 0x542f30
mov edi, dword [edi]
push edi
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov esi, eax
mov edi, dword [esp]
mov eax, dword [edi]
mov ecx, dword [eax + 0x40]
call dword [section..00cfg]
push 4
push esi
push 0
push edi
call ecx
test eax, eax
setns bl
test esi, esi
je 0x542f5f
push esi
call dword [sym.imp.SHELL32.dll_ILFree]
mov esi, dword [esp]
test esi, esi
je 0x542f9d
mov dword [esp], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push esi
call ecx
jmp 0x542f9d
cmp byte [edi + 0xb], 0
jns 0x542f85
mov edi, dword [edi]
xor eax, eax
push eax
push eax
push eax
push edi
push str.taskbarpin
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x21
setge bl
lea ecx, [esp + 0x10]
call fcn.004be370
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.004ed092
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x542f9d
Function at 0x542fc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, dword [ebp + 8]
mov eax, dword [0x59d024]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x8b
push str.....operadesktopchrome_importschromeinstallerutil_taskbar_util.cc
push str.UnpinShortcutFromTaskbar
push ebx
call fcn.004b4450
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.004be2f0
call fcn.004c34d0
cmp eax, 0xd
jl 0x54308f
mov esi, esp
mov dword [esi], 0xffffffff
mov ecx, esi
call fcn.00486170
cmp dword [esi], 0
je 0x54308f
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x543041
mov eax, dword [edi]
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov ebx, eax
mov esi, dword [esp]
mov eax, dword [esi]
mov ecx, dword [eax + 0x40]
call dword [section..00cfg]
push 4
push 0
push ebx
push esi
call ecx
mov esi, eax
test ebx, ebx
je 0x54306d
push ebx
call dword [sym.imp.SHELL32.dll_ILFree]
mov ebx, dword [esp]
test ebx, ebx
je 0x543089
mov dword [esp], 0
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push ebx
call ecx
mov bl, 1
test esi, esi
jns 0x5430af
cmp byte [edi + 0xb], 0
jns 0x543097
mov edi, dword [edi]
xor eax, eax
push eax
push eax
push eax
push edi
push str.taskbarunpin
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x21
setge bl
lea ecx, [esp + 0x10]
call fcn.004be370
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.004ed092
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x55e6a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, edx
mov edi, ecx
mov eax, dword [0x59d024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x18], eax
add esi, edi
cmp edi, esi
jae 0x55e6fa
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov eax, esi
sub eax, edi
push ebx
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
sete dl
mov ecx, dword [ebp - 0x14]
test ecx, ecx
sete al
or al, dl
jne 0x55e6f4
mov ebx, ecx
add edi, ebx
cmp al, 1
jne 0x55e6c4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed092
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4012c0
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
call fcn.0040ad04
mov dword [ebp - 4], 0xf
mov dword [ebp - 8], 0xa
add esp, 0xfffffff8
push 0x402c20
add esp, 0xfffffff8
push 0x402c20
add esp, 0xfffffff8
push 0x401210
push 0x412028
call main
add esp, 0x10
mov eax, eax
push eax
call fcn.00410714
add esp, 0x10
mov eax, eax
push eax
call fcn.00410714
add esp, 0x10
add esp, 0xfffffff8
push 0x402c20
add esp, 0xfffffff8
push 0x401231
add esp, 0xfffffff8
push 0xf
add esp, 0xfffffff8
push 0x40124b
add esp, 0xfffffff8
push 0xa
add esp, 0xfffffff8
push 0x401250
push 0x412028
call main
add esp, 0x10
mov eax, eax
push eax
call fcn.00402528
add esp, 0x10
mov eax, eax
push eax
call main
add esp, 0x10
mov eax, eax
push eax
call fcn.00402528
add esp, 0x10
mov eax, eax
push eax
call main
add esp, 0x10
mov eax, eax
push eax
call fcn.00410714
add esp, 0x10
mov dword [ebp - 0xc], 0xa
lea esi, [esi]
cmp dword [ebp - 0xc], 0xf
jle 0x401398
jmp 0x4013c4
add esp, 0xfffffff8
push 0x401262
add esp, 0xfffffff8
mov eax, dword [ebp - 0xc]
push eax
push 0x412028
call fcn.00402528
add esp, 0x10
mov eax, eax
push eax
call main
add esp, 0x10
inc dword [ebp - 0xc]
jmp 0x401390
add esp, 0xfffffff8
push 0x402c20
add esp, 0xfffffff8
push 0x402c20
push 0x412028
call fcn.00410714
add esp, 0x10
mov eax, eax
push eax
call fcn.00410714
add esp, 0x10
add esp, 0xfffffff8
push 0x402c20
add esp, 0xfffffff8
push 0x401264
add esp, 0xfffffff8
push 0xf
add esp, 0xfffffff8
push 0x40124b
add esp, 0xfffffff8
push 0xa
add esp, 0xfffffff8
push 0x40127e
push 0x412028
call main
add esp, 0x10
mov eax, eax
push eax
call fcn.00402528
add esp, 0x10
mov eax, eax
push eax
call main
add esp, 0x10
mov eax, eax
push eax
call fcn.00402528
add esp, 0x10
mov eax, eax
push eax
call main
add esp, 0x10
mov eax, eax
push eax
call fcn.00410714
add esp, 0x10
mov dword [ebp - 0xc], 0xf
cmp dword [ebp - 0xc], 9
jg 0x401470
jmp 0x4014a0
add esp, 0xfffffff8
push 0x401262
add esp, 0xfffffff8
mov eax, dword [ebp - 0xc]
push eax
push 0x412028
call fcn.00402528
add esp, 0x10
mov eax, eax
push eax
call main
add esp, 0x10
dec dword [ebp - 0xc]
jmp 0x401461
add esp, 0xfffffff8
push 0x402c20
add esp, 0xfffffff8
push 0x402c20
push 0x412028
call fcn.00410714
add esp, 0x10
mov eax, eax
push eax
call fcn.00410714
add esp, 0x10
add esp, 0xfffffff8
push 0x1000
push 0x41202c
call fcn.00411bbc
add esp, 0x10
add esp, 0xfffffff8
push 0x100
push 0x41202c
call fcn.00411bbc
add esp, 0x10
add esp, 0xfffffff8
push 1
push 0x41202c
call fcn.004119bc
add esp, 0x10
fld qword [0x4012b8]
fstp qword [ebp - 0x18]
add esp, 0xfffffffc
fld qword [ebp - 0x18]
sub esp, 8
fstp qword [esp]
add esp, 0xfffffff8
push 0x401290
push 0x412028
call main
add esp, 0x10
mov eax, eax
push eax
call fcn.004026f4
add esp, 0x10
add esp, 0xfffffff8
push 0x402c20
push 0x412028
call fcn.00410714
add esp, 0x10
add esp, 0xfffffff4
push 0x4012b1
call sub.msvcrt.dll_system
add esp, 0x10
xor eax, eax
jmp 0x401566
leave
ret
Function at 0x407710
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
add esp, 0xfffffffc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax + 0x38]
call sub.msvcrt.dll__read
leave
ret

Function at 0x40ade4
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40ae09
mov dword [0x413164], eax
add esp, 0xfffffff8
push 0x40ada8
push eax
call fcn.0040f614
jmp 0x40ae0e
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x40ae24
mov dword [0x41231c], 0x40af08
jmp 0x40ae2e
mov dword [0x41231c], 0x40aebc
leave
ret