joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100031e0
Capabilities:
Get common file path
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3100
call fcn.100b5ba0
mov eax, dword [0x100fb074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
mov edi, ecx
push 0
push eax
mov dword [ebp - 0x3100], edi
call fcn.100b7060
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100b7060
add esp, 0x18
lea eax, [ebp - 0x108]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movsx eax, byte [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push str.._c:
push eax
call fcn.100038c0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000328a
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b47d2
mov esp, ebp
pop ebp
ret
push ebx
push 0x2710
lea eax, [ebp - 0x30ec]
mov dword [ebp - 0x30fc], 0
push 0
push eax
xor bl, bl
call fcn.100b7060
push 0x3e8
lea eax, [ebp - 0x9dc]
push 0
push eax
call fcn.100b7060
push 0x3e8
lea eax, [ebp - 0x5f4]
push 0
push eax
call fcn.100b7060
add esp, 0x24
mov dword [ebp - 0x30f0], 0
lea eax, [ebp - 0x30fc]
mov dword [ebp - 0x30f8], 0
mov dword [ebp - 0x30f4], 0
push 0
push eax
push 0x2710
lea eax, [ebp - 0x30ec]
push eax
push 0xc
lea eax, [ebp - 0x30f8]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10003326
mov bl, 2
jmp 0x100033ae
mov edx, dword [ebp - 0x30dc]
lea eax, [ebp - 0x5f4]
push eax
push 0
lea ecx, [ebp - 0x30ec]
call fcn.10003060
mov edx, dword [ebp - 0x30d4]
lea eax, [ebp - 0x9dc]
push eax
push 1
lea ecx, [ebp - 0x30ec]
call fcn.10003060
lea ecx, [ebp - 0x5f4]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003366
sub ecx, edx
lea edx, [ebp - 0x5f4]
push ecx
mov ecx, edi
call fcn.10004250
lea edx, [ebp - 0x9dc]
add esp, 4
lea edi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10003390
mov ecx, dword [ebp - 0x3100]
sub edx, edi
push edx
lea edx, [ebp - 0x9dc]
call fcn.10004250
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.100b47d2
mov esp, ebp
pop ebp
ret
Function at 0x100043d0
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.100b5ba0
mov eax, dword [0x100fb074]
xor eax, ebp
mov dword [ebp - 8], eax
push str.c:zftest.txt
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10004434
push 0x1000
lea eax, [ebp - 0x100c]
push 0
push eax
call fcn.100b7060
add esp, 0xc
lea eax, [ebp + 0xc]
mov edx, 0xfff
push eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x100c]
call fcn.10003880
add esp, 0xc
lea eax, [ebp - 0x100c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100b47d2
mov esp, ebp
pop ebp
ret

Function at 0x10004450
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.100b5ba0
mov eax, dword [0x100fb074]
xor eax, ebp
mov dword [ebp - 8], eax
push str.c:zftest.txt
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100044bc
push 0x1000
lea eax, [ebp - 0x100c]
push 0
push eax
call fcn.100b7060
add esp, 0xc
lea eax, [ebp + 0xc]
mov edx, 0xfff
push eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x100c]
call fcn.10003880
add esp, 0xc
mov byte [ebp + eax - 0x100c], 0
lea eax, [ebp - 0x100c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100b47d2
mov esp, ebp
pop ebp
ret
Function at 0x10009fd0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100fb074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x228
lea eax, [ebp - 0x22c]
mov ebx, ecx
push 0
push eax
call fcn.100b7060
add esp, 0xc
xor edi, edi
test ebx, ebx
je 0x1000a088
push esi
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000a075
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1000a06e
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.100bea76
add esp, 8
test eax, eax
jne 0x1000a058
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0x228]
cmp ecx, eax
jne 0x1000a06c
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1000a034
jmp 0x1000a06e
mov edi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b47d2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.100b47d2
mov esp, ebp
pop ebp
ret
Function at 0x1000fe40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d8630
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100fb074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100b47e3
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.100b379a
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10019ec0
Capabilities:
Check if file exists
Get file attributes
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d9348
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100fb074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x30], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x10019f16
xor al, al
jmp 0x1001a04a
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x10019f2c
and eax, 0xfffffffe
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push str.d:hudsonjobscoupon_1.0.1.1workspacecouponcomponentinjectlogicalcrxinstobj_basebrowser.cpp
push 0x10
push str._DEBUGINFO__SETCRX__line_d_file_s_n
call fcn.100043d0
add esp, 0xc
push dword [0x100fe28c]
push dword [0x100fe288]
push dword [ebp - 0x30]
push str.1.0.0.0
push edi
push esi
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
push str.var_userId__s____r_var_instTime_s___r_var_browserType_d___r_var_exId__s____r_var_version__s____r_var_exName__s___var_exGId_d__r_var_softId_d__r
call fcn.100045b0
mov esi, eax
add esp, 0x24
mov dword [ebp - 0x2c], esi
push str.d:hudsonjobscoupon_1.0.1.1workspacecouponcomponentinjectlogicalcrxinstobj_basebrowser.cpp
push esi
push 0x14
push str._DEBUGINFO__SETCRX__line_d__mjs_s_file_s_n
mov dword [ebp - 4], 0
call fcn.100043d0
mov edi, esi
add esp, 0x10
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x10019f90
sub edi, ecx
mov dword [ebp - 0x18], 0
mov ecx, ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10019fb0
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.10001800
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x100ed218
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.100bed8c
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10019fe6
xor bl, bl
jmp 0x10019ffb
push ebx
push edi
push 1
push esi
call fcn.100befdb
push ebx
call fcn.100bf0a9
add esp, 0x14
mov bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1001a02b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a021
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a066
push edx
push ecx
call fcn.100b4813
add esp, 8
push 1
push esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.100b4813
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b47d2
mov esp, ebp
pop ebp
ret
call fcn.100ba02c
int3
Function at 0x1001a140
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x100fb074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x10
mov esi, edx
mov dword [ebp - 0x64], ecx
call fcn.100bd8fa
add esp, 4
mov ebx, eax
push 0x21
call fcn.100bd8fa
mov edi, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x68], edi
movups xmmword [edi], xmm0
movups xmmword [edi + 0x10], xmm0
mov byte [edi + 0x20], 0
movups xmmword [ebx], xmm0
test esi, esi
jle 0x1001a1e5
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x60]
push esi
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0x67452301
mov dword [ebp - 0x14], 0xefcdab89
mov dword [ebp - 0x10], 0x98badcfe
mov dword [ebp - 0xc], 0x10325476
call fcn.10004250
add esp, 4
lea ecx, [ebp - 0x60]
mov edx, ebx
call fcn.10004310
xor esi, esi
movzx eax, byte [ebx + esi]
push eax
push str._02x
push edi
call fcn.100038c0
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x10
jl 0x1001a1c4
mov edi, dword [ebp - 0x68]
jmp 0x1001a202
movups xmm0, xmmword [str.00000000000000000000000000000000]
movups xmmword [edi], xmm0
movups xmm0, xmmword [0x100ededc]
movups xmmword [edi + 0x10], xmm0
mov al, byte [0x100edeec]
mov byte [edi + 0x20], al
push ebx
call fcn.100bd905
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100b47d2
mov esp, ebp
pop ebp
ret
Function at 0x1001a900
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100fb074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x108]
mov esi, ecx
push 0
push eax
call fcn.100b7060
push esi
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.100c3c1c
push str.hihistory
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.100c3c76
add esp, 0x24
lea eax, [ebp - 0x108]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
pop esi
cmp eax, 0xffffffff
jne 0x1001a98c
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b47d2
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.100b47d2
mov esp, ebp
pop ebp
ret
Function at 0x1001e8d0
Capabilities:
Check if file exists
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [0x100fb074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x110]
mov edi, ecx
push 0
push eax
call fcn.100b7060
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push 0
push eax
call fcn.100b7060
lea edx, [ebp - 0x110]
add esp, 0xc
mov ecx, edi
sub edx, edi
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x1001e920
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea eax, [ebp - 0x110]
push eax
call esi
test eax, eax
je 0x1001ea6d
lea ecx, [ebp - 0x110]
dec ecx
nop dword [eax + eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x1001e950
mov ax, word [0x100edf8c]
mov word [ecx], ax
mov al, byte [0x100edf8e]
mov byte [ecx + 2], al
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
mov edx, 0x100edcf4
lea ecx, [ebp - 0x32c]
nop dword [eax]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1001e9b0
test al, al
je 0x1001e9ac
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1001e9b0
add ecx, 2
add edx, 2
test al, al
jne 0x1001e990
xor eax, eax
jmp 0x1001e9b5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001ea39
mov eax, 0x100edfb8
lea ecx, [ebp - 0x32c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1001e9e8
test dl, dl
je 0x1001e9e4
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1001e9e8
add ecx, 2
add eax, 2
test dl, dl
jne 0x1001e9c8
xor eax, eax
jmp 0x1001e9ed
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001ea39
test byte [ebp - 0x358], 0x10
je 0x1001ea39
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100b7060
add esp, 0xc
lea eax, [ebp - 0x32c]
push eax
push edi
lea eax, [ebp - 0x218]
push str._s_seacl.dat
push eax
call fcn.100038c0
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
jne 0x1001ea60
lea eax, [ebp - 0x358]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1001e981
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b47d2
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b47d2
mov esp, ebp
pop ebp
ret
Function at 0x100267b0
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [0x100fb074]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x468], eax
push edi
mov ebx, edx
mov dword [ebp - 0x470], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x100269b8
push 0x104
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.100b7060
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.100b7060
push edi
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.100c3c1c
push str..
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.100c3c76
add esp, 0x30
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x46c], esi
cmp esi, 0xffffffff
je 0x100269b8
nop
test byte [ebp - 0x464], 0x10
je 0x1002699b
cmp byte [ebp - 0x438], 0x2e
je 0x1002699b
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.100b7060
push edi
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.100c3c1c
push 0x100edfbc
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.100c3c76
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.100c3c76
push 0x100edfbc
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.100c3c76
push dword [ebp - 0x468]
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.100c3c76
add esp, 0x48
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1002699b
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push 0x104
lea eax, [ebp - 0x324]
push 0
push eax
call fcn.100b7060
lea eax, [ebp - 0x114]
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10026940
sub eax, edx
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x324]
push eax
call fcn.100b6ae0
mov eax, dword [ebx + 4]
add esp, 0xc
cmp dword [ebx + 8], eax
je 0x1002698c
mov ecx, 0x41
lea esi, [ebp - 0x324]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
add dword [ebx + 4], 0x104
mov esi, dword [ebp - 0x46c]
mov edi, dword [ebp - 0x470]
jmp 0x1002699b
lea ecx, [ebp - 0x324]
push ecx
push eax
mov ecx, ebx
call fcn.10028ef0
lea eax, [ebp - 0x464]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10026860
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b47d2
mov esp, ebp
pop ebp
ret
Function at 0x100269d0
Capabilities:
Encode data using xor
Hash data with crc32
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100fb074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x34], edx
push esi
mov esi, ebx
mov dword [ebp - 0xc], 0
xorps xmm0, xmm0
mov byte [ebp - 8], 0
movups xmmword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x1c], xmm0
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10026a02
sub esi, ecx
mov eax, 0xffffffff
push edi
mov edi, ebx
test esi, esi
jle 0x10026a31
movzx edx, byte [edi]
lea edi, [edi + 1]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100fbbc0]
sub esi, 1
jne 0x10026a17
not eax
push eax
lea eax, [ebp - 0x2c]
push 0x100eeac0
push eax
call fcn.100038c0
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x30]
push 0
push eax
push 0
push dword [ebp - 0x34]
push 0
push 0
push 0
push str.SOFTWAREPoliciesGoogleChromeExtensionInstallWhitelist
push 0x80000002
call edi
test eax, eax
jne 0x10026aaa
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10026a77
sub ecx, edx
lea eax, [ebp - 0xc]
push ecx
push ebx
push 1
push 0
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x30]
xor esi, esi
test eax, eax
mov eax, 1
cmove esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10026aac
xor esi, esi
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push dword [ebp - 0x34]
push 0
push 0
push 0
push str.SOFTWAREPoliciesGoogleChromeExtensionInstallWhitelist
push 0x80000001
call edi
pop edi
test eax, eax
jne 0x10026b02
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10026ad3
sub ecx, edx
lea eax, [ebp - 0xc]
push ecx
push ebx
push 1
push 0
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x30]
test eax, eax
mov eax, 1
cmove esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b47d2
mov esp, ebp
pop ebp
ret
Function at 0x1002f740
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x100fb074]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x108], 0
mov ebx, 2
lea esi, [ebp - 0x100]
add eax, ebx
mov dword [edi], 0xc
nop dword [eax + eax]
movzx edx, byte [eax + 1]
lea eax, [eax + 8]
movzx ecx, byte [eax - 8]
lea esi, [esi + 8]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 9]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 0xa]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 5]
mov dword [esi - 0xc], edx
movzx edx, byte [eax - 4]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 6]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 3]
shl ecx, 0x18
or ecx, edx
mov dword [esi - 8], ecx
sub ebx, 1
jne 0x1002f780
mov dword [edi + 4], 0xb7e15163
mov ecx, 1
nop dword [eax + eax]
mov eax, dword [edi + ecx*4]
sub eax, 0x61c88647
mov dword [edi + ecx*4 + 4], eax
inc ecx
cmp ecx, 0x1a
jl 0x1002f7e0
xor edx, edx
mov dword [ebp - 0x110], 0x4e
xor ebx, ebx
mov dword [ebp - 0x10c], edx
xor ecx, ecx
mov eax, dword [edi + ebx*4 + 4]
add eax, ecx
add eax, edx
push 3
push eax
call fcn.1002f700
mov edx, dword [ebp - 0x10c]
lea esi, [ebp - 0x104]
mov ecx, eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x114], ecx
mov dword [edi + ebx*4 + 4], ecx
lea esi, [esi + eax*4]
lea eax, [ecx + edx]
and eax, 0x1f
push eax
mov eax, dword [esi]
add eax, ecx
add eax, edx
push eax
call fcn.1002f700
mov edx, eax
xor ecx, ecx
mov eax, dword [ebp - 0x108]
inc ebx
inc eax
mov dword [esi], edx
add esp, 0x10
mov dword [ebp - 0x10c], edx
cmp ebx, 0x1a
cmovge ebx, ecx
mov ecx, dword [ebp - 0x110]
dec ecx
xor esi, esi
cmp eax, 4
mov dword [ebp - 0x110], ecx
cmovge eax, esi
test ecx, ecx
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x108], eax
jne 0x1002f808
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b47d2
mov esp, ebp
pop ebp
ret
Function at 0x10037bd0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
xor eax, eax
mov cl, byte [esi]
test cl, cl
je 0x10037bfe
nop dword [eax + eax]
movzx ecx, cl
lea esi, [esi + 1]
movzx edx, byte [ecx + 0x100eac28]
lea ecx, [eax*8]
xor edx, ecx
mov cl, byte [esi]
xor eax, edx
test cl, cl
jne 0x10037be0
pop esi
ret

Function at 0x10037c70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov eax, ecx
push esi
push edi
mov edi, edx
mov dword [ebp - 8], eax
mov ebx, dword [eax + 0xc]
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x10037cd6
mov eax, edx
xor esi, esi
mov al, byte [eax]
test al, al
je 0x10037cbe
nop word [eax + eax]
movzx eax, al
lea ecx, [esi*8]
lea edi, [edi + 1]
movzx edx, byte [eax + 0x100eac28]
mov al, byte [edi]
xor edx, ecx
xor esi, edx
test al, al
jne 0x10037ca0
mov ecx, dword [ebp - 8]
mov eax, esi
xor edx, edx
mov edi, dword [ebp - 4]
div dword [ecx]
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebx + edx*8 + 4]
mov ecx, dword [ecx + edx*8]
jmp 0x10037cde
mov ebx, dword [eax + 8]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [eax], edx
test ecx, ecx
je 0x10037d46
movzx eax, byte [edi]
movzx edx, byte [eax + 0x100eac28]
mov dword [ebp + 8], edx
mov esi, dword [ebx + 0xc]
dec ecx
mov dword [ebp - 0xc], ecx
mov al, byte [esi]
movzx ecx, al
movzx ecx, byte [ecx + 0x100eac28]
sub ecx, edx
jne 0x10037d3d
sub edi, esi
nop dword [eax]
test al, al
je 0x10037d33
movzx ecx, byte [edi + esi + 1]
inc esi
movzx edx, byte [ecx + 0x100eac28]
mov al, byte [esi]
movzx ecx, al
movzx ecx, byte [ecx + 0x100eac28]
sub ecx, edx
je 0x10037d10
jmp 0x10037d37
test ecx, ecx
je 0x10037d4f
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ecx, ecx
jne 0x10037cf4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10048540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], edx
xor ebx, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
test edi, edi
je 0x1004866a
cmp byte [edi + 9], bl
je 0x10048576
inc dword [edi + 0xc]
cmp byte [edi + 0xa], bl
jne 0x10048576
call fcn.10044950
mov esi, dword [edi + 4]
mov esi, dword [esi + 8]
test esi, esi
je 0x10048657
cmp dword [ebp + 8], 0
je 0x100485e0
test byte [esi + 0x40], 1
jne 0x100485e0
mov al, byte [esi + 0x42]
cmp al, 1
je 0x100485a1
cmp al, 2
jne 0x100485fd
mov byte [esi + 0x42], 1
jmp 0x100485a8
mov dword [esi + 0x3c], 0
mov ecx, esi
call fcn.10044b40
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x100485c4
mov ecx, esi
call fcn.10044ae0
mov byte [esi + 0x42], 3
and byte [esi + 0x40], 0xf1
test ebx, ebx
je 0x100485fd
mov edi, dword [esp + 0x14]
mov edx, ebx
push 0
mov ecx, edi
call fcn.10048540
add esp, 4
jmp 0x10048657
push dword [esi + 0x30]
call fcn.10033830
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0x30], 0
mov byte [esi + 0x42], 4
mov dword [esi + 0x3c], eax
xor ebx, ebx
cmp byte [esi + 0x44], bl
jl 0x10048644
lea edi, [esi + 0x78]
mov ecx, dword [edi]
test ecx, ecx
je 0x10048632
mov ecx, dword [ecx + 0x48]
test byte [ecx + 0x18], 0x40
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x1c], eax
je 0x10048624
call fcn.1003f710
jmp 0x10048629
call fcn.1003bef0
mov ecx, dword [esp + 0x1c]
call fcn.100409e0
mov dword [edi], 0
inc ebx
movsx eax, byte [esi + 0x44]
add edi, 4
cmp ebx, eax
jle 0x10048607
mov esi, dword [esi + 8]
test esi, esi
jne 0x10048584
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
cmp byte [edi + 9], 0
je 0x1004866a
add dword [edi + 0xc], 0xffffffff
jne 0x1004866a
mov ecx, edi
call fcn.10044910
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret