joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40adc0
Capabilities:
Check if file exists
Create directory
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x42a040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0040fb70
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, 2
imul ecx, eax, 3
mov dword [ebp - 0x418], ecx
cmp dword [ebp - 0x418], 0x208
jae 0x40ae16
jmp 0x40ae1b
call fcn.0040e982
xor edx, edx
mov eax, dword [ebp - 0x418]
mov word [ebp + eax - 0x20c], dx
push str.IimeFile
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40ae6c
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 2
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x208
push 0
lea edx, [ebp - 0x414]
push edx
call fcn.0040fb70
add esp, 0xc
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.SHELL32.dll_PathYetAnotherMakeUniqueName]
mov dword [ebp - 0x41c], 0
push 3
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x40aef2
push 2
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 4
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x40aef2
mov dword [ebp - 0x41c], 1
push 4
push 0
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e852
mov esp, ebp
pop ebp
ret

Function at 0x40af20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40af3f
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040adc0
add esp, 4
jmp 0x40af44
mov eax, 1
pop ebp
ret
Function at 0x40af50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x42a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 2
imul ecx, eax, 0
xor edx, edx
mov eax, dword [ebp + 8]
mov word [eax + ecx], dx
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40af87
jmp 0x40afe1
push str.SHGetKnownFolderPath
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40afcf
mov dword [ebp - 8], 0
lea edx, [ebp - 8]
push edx
push 0
push 0
lea eax, [ebp + 0xc]
push eax
call dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x40afe1
push 0
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e852
mov esp, ebp
pop ebp
ret

Function at 0x40b130
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x42a040]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00404f20
movzx eax, al
test eax, eax
je 0x40b1f5
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x40b1f3
push 0x3c
push 0
lea ecx, [ebp - 0x44]
push ecx
call fcn.0040fb70
add esp, 0xc
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x40], 0x440
mov dword [ebp - 0x38], 0x4244c4
mov edx, dword [ebp + 8]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40b1b5
jmp 0x40b1f5
cmp dword [ebp - 0xc], 0
je 0x40b1f3
mov dword [ebp - 8], 0x103
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 8], 0x103
je 0x40b1e9
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x40b1d0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40b213
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e852
mov esp, ebp
pop ebp
ret
Function at 0x40b5d0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x42a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0xffffffff
jne 0x40b5f2
xor eax, eax
jmp 0x40b699
mov dword [ebp - 8], 2
push 0
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x40b618
xor eax, eax
jmp 0x40b699
mov dword [ebp - 0xc], 0
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40b641
xor eax, eax
jmp 0x40b699
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp + 0xc]
push eax
push 0x800
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40b67b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x40b67b
jmp 0x40b681
cmp dword [ebp - 0x14], 0
je 0x40b648
cmp dword [ebp - 0x14], 0
je 0x40b68f
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], ecx
jmp 0x40b696
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e852
mov esp, ebp
pop ebp
ret 8

Function at 0x40f2f7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40f336
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40f336
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40f336
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40f336
cmp dword [ecx + 0x74], 0xe
jbe 0x40f336
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x413879
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41ecb4
push 0x41ecac
push str.FlsAlloc
push 0x1f
call fcn.004137b4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4138ad
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d310]
call esi
jmp 0x4138b3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4138f7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41ecc4
push 0x41ecbc
push str.FlsGetValue
push 0x21
call fcn.004137b4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41392e
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d310]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x413936
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41eccc
push 0x41ecc4
push str.FlsSetValue
push 0x22
call fcn.004137b4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x413970
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41d310]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x413f52
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x42a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x413f9d
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041416f
test al, al
jne 0x413f97
sub edx, 2
cmp edx, edi
jne 0x413f7d
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x413fbf
lea eax, [edi + 2]
cmp edx, eax
je 0x413fbf
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00413e9e
add esp, 0x10
jmp 0x4140b9
push esi
lea ecx, [ebp - 0x255]
call fcn.0041416f
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x414002
push dword [ebp - 0x25c]
jmp 0x413faf
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41403f
cmp word [ebp - 0x226], 0
je 0x414060
cmp word [ebp - 0x226], ax
jne 0x41403f
cmp word [ebp - 0x224], 0
je 0x414060
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00413e9e
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4140ac
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x414019
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x414094
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4140b9
push 0x413cce
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004168b0
add esp, 0x10
jmp 0x414089
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040e852
leave
ret
Function at 0x41a4c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41a4ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41a4ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x405a4d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov byte [esi], bl
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405abe
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x400
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405aad
cmp dword [ebp + 0x14], 1
je 0x405aaf
jmp loc.00434708
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x3ff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x405ef0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f27
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f01
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405efc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f58
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3a
pop edi
not eax
pop esi
ret 0xc

Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x406cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
call fcn.00406cc9
Function at 0x41dc1e
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x41dc52
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, esi
call fcn.0041dc60
lea eax, [ebx + 1]
cmp eax, 2
jb 0x41dc4b
mov dword [esi], ebx
call fcn.004b63a0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x4222ae
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [0x674014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
call fcn.00438444
add esp, 4
test al, al
je 0x422315
xor ebx, ebx
dec ebx
lea ecx, [ebp - 0x18]
mov dword [ecx + 4], ebx
mov dword [ecx], ebx
call fcn.0043a6ec
cmp byte [esi + 0xb], 0
jns 0x4222ec
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [edi], eax
cmp eax, ebx
je 0x422322
xor esi, esi
push eax
call fcn.00438676
add esp, 4
test al, al
jne 0x42232a
mov dword [edi], 0xffffffff
mov esi, 2
jmp 0x42232a
mov dword [edi], 0xffffffff
mov esi, 0x10000011
jmp 0x422332
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x18]
call fcn.0043a954
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005dd6f3
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x422451
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb0
mov edi, dword [ebp + 8]
mov eax, dword [0x674014]
xor eax, ebp
mov dword [ebp - 0x10], eax
test edi, edi
je 0x4224be
mov ecx, edi
push 0x200
call fcn.00422528
lea eax, [ebp - 0x14]
mov dword [eax], 0xffffffff
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 1
mov ecx, edi
push eax
call fcn.00422528
mov eax, dword [edi]
mov ebx, dword [edi + 4]
sub ebx, eax
lea ecx, [ebp - 0x14]
push ecx
push ebx
push eax
call sub.KERNEL32.dll_K32EnumProcesses
mov esi, eax
test eax, eax
je 0x4224c2
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x422483
shr eax, 2
mov ecx, edi
push eax
call fcn.00422528
jmp 0x42250c
xor ebx, ebx
jmp 0x422511
push 2
call fcn.004b68d0
add esp, 4
test al, al
je 0x42250c
call fcn.004b7210
lea edi, [ebp - 0xbc]
mov ecx, edi
push eax
push 2
push 0x156
push str.....chromechrome_cleanerengines_broker_scanner_sandbox_interface.cc
call fcn.004b73b0
lea eax, [ebp - 0xb4]
push 0x1d
push str.Failed_to_enumerate_processes
push eax
call fcn.0041482a
add esp, 0xc
mov ecx, edi
call fcn.004b7460
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005dd6f3
mov eax, ebx
add esp, 0xb0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x424cc2
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, edx
cmp edx, 4
jb 0x424cfa
imul esi, dword [ecx], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x424cd4
cmp edx, 1
je 0x424d1b
cmp edx, 2
je 0x424d12
cmp edx, 3
jne 0x424d26
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 8
Function at 0x433020
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xac
mov ecx, dword [ebp + 8]
mov eax, dword [0x674014]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.005026ac
movzx ecx, byte [eax + 0xb]
test cl, cl
jns 0x43304b
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea esi, [ebp - 0xb8]
push ecx
push eax
push esi
call fcn.004c19f0
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x433068
mov esi, dword [ebp - 0xb8]
push 0
push 1
push esi
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
mov esi, eax
cmp byte [ebp - 0xad], 0
jns 0x43308c
push dword [ebp - 0xb8]
call fcn.005dc756
add esp, 4
test esi, esi
jne 0x4330d7
push 0
call fcn.004b68d0
add esp, 4
test al, al
je 0x4330d7
call fcn.004b7210
lea edi, [ebp - 0xb8]
mov ecx, edi
push eax
push 0
push 0x65
push str.....chromechrome_cleanerlogging_safe_browsing_reporter.cc
call fcn.004b73b0
lea eax, [ebp - 0xb0]
push 0x1e
push str.Safe_Browsing_is_not_reachable
push eax
call fcn.0041482a
add esp, 0xc
mov ecx, edi
call fcn.004b7460
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005dd6f3
mov eax, ebx
add esp, 0xac
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x4352c8
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xb]
test cl, cl
mov esi, dword [eax]
mov edx, dword [eax + 4]
lea edi, [esi + edx*2]
lea edx, [eax + ecx*2]
cmovs edx, edi
cmovs eax, esi
sub edx, eax
mov ecx, edx
cmp edx, 4
jb 0x435316
imul esi, dword [eax], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x4352f0
cmp edx, 1
je 0x435337
cmp edx, 2
je 0x43532e
cmp edx, 3
jne 0x435342
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 4

Function at 0x437e00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0xa8
mov edi, dword [ebp + 8]
mov eax, dword [0x674014]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 2
call fcn.004b68d0
add esp, 4
test al, al
je 0x437e61
lea esi, [ebp - 0xb0]
mov ecx, esi
push 2
push 0x10
push str.....chromechrome_cleanerosearly_exit.cc
call fcn.004b6940
lea eax, [ebp - 0xa8]
push 0x15
push str.Early_exit_with_code
push eax
call fcn.0041482a
add esp, 0xc
mov ecx, eax
push edi
call fcn.00411030
mov ecx, esi
call fcn.004b6d50
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.005dd6f3
add esp, 0xa8
pop esi
pop edi
pop ebp
ret

Function at 0x438685
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov edi, dword [ebp + 8]
mov eax, dword [0x674014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x4386a8
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4386be
test eax, 0x441000
sete bl
jmp 0x43873c
push 2
call fcn.004b68d0
add esp, 4
test al, al
je 0x43873a
call fcn.004b7210
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x143
push str.....chromechrome_cleaneros_file_path_sanitization.cc
call fcn.004b73b0
lea eax, [ebp - 0xb0]
push 0x2f
push str.IsFilePresentLocally_failed_to_get_attributes:
push eax
call fcn.0041482a
add esp, 0xc
mov esi, eax
lea ebx, [ebp - 0xc4]
push edi
push ebx
call fcn.00438050
add esp, 8
push ebx
push esi
call fcn.004b7530
add esp, 8
cmp byte [ebx + 0xb], 0
jns 0x43872f
push dword [ebp - 0xc4]
call fcn.005dc756
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.004b7460
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005dd6f3
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret