joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000e660
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e0750
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10104008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov esi, dword [ebp + 8]
mov eax, 0xaaaaaaab
mov edi, dword [ecx]
mul esi
shr edx, 5
lea ebx, [edx + edx*2]
shl ebx, 2
add edi, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], edi
movzx eax, word [edi + 4]
lea ecx, [edi + 6]
mov dword [ebp - 0x24], eax
lea eax, [edx + edx*2]
shl eax, 4
sub esi, eax
movzx esi, si
mov edx, esi
call fcn.1000e280
movzx ebx, ax
lea edx, [edi + 6]
mov eax, esi
mov ecx, esi
shr eax, 3
add edx, eax
and ecx, 7
mov eax, 1
mov dword [ebp - 0x14], ecx
shl ax, cl
mov dword [ebp - 0x10], edx
test byte [edx], al
je 0x1000e70e
mov ecx, dword [edi]
mov eax, ebx
lea ebx, [eax*8]
sub ebx, eax
shl ebx, 2
add ecx, ebx
mov dword [ebp + 8], ecx
mov dword [ebp - 4], 0xffffffff
call fcn.10004b70
jmp 0x1000e7bd
movzx eax, word [edi + 4]
xor ecx, ecx
inc eax
mov edx, 0x1c
movzx esi, ax
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, eax
add esp, 4
mov dword [ebp + 8], edx
test edx, edx
jne 0x1000e75d
push esi
push str.sparsehash_FATAL_ERROR:_failed_to_allocate__lu_groups_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.1000b7c0
add esp, 0xc
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov ecx, dword [edi]
mov eax, ebx
push edx
lea ebx, [eax*8]
sub ebx, eax
shl ebx, 2
lea edx, [ebx + ecx]
call fcn.1000ed80
movzx ecx, word [edi + 4]
add esp, 4
mov eax, dword [ebp + 8]
mov esi, dword [edi]
add eax, 0x1c
add eax, ebx
push eax
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [ebx + esi]
lea edx, [esi + eax*4]
call fcn.1000ed80
add esp, 4
mov ecx, edi
call fcn.1000e2e0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
inc word [edi + 4]
mov ecx, dword [ebp - 0x14]
mov dword [edi], eax
movzx eax, byte [edx]
bts eax, ecx
mov byte [edx], al
mov edi, dword [edi]
mov esi, dword [ebp + 0xc]
add edi, ebx
push esi
mov ecx, edi
mov dword [ebp + 8], edi
call fcn.10008640
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi]
mov eax, dword [eax]
add eax, ebx
movzx edx, word [edx + ecx + 4]
mov ecx, dword [ebp - 0x24]
movzx ecx, cx
sub edx, ecx
add dword [esi + 0x10], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000fcc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e0978
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10104008]
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, ecx
mov ebx, dword [ebp + 8]
mov ecx, 0x101080e7
mov edi, dword [ebp + 0xc]
call fcn.100de193
mov eax, dword [esi + 4]
test eax, eax
je 0x1000fe00
test ebx, ebx
jne 0x1000fe04
mov eax, dword [eax]
test eax, eax
je 0x1000fd24
push eax
call fcn.100dcb71
mov eax, dword [esi + 4]
add esp, 4
mov dword [eax], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov edx, dword [esi + 4]
mov dword [ebp - 0x30], eax
lea ecx, [edx + 4]
push ecx
push edx
lea ecx, [edx + 8]
call fcn.10008230
mov cl, al
mov byte [ebp - 0x29], cl
test cl, cl
je 0x1000fd55
mov ecx, dword [esi + 4]
cmp dword [ecx + 4], 0
jne 0x1000fdf4
call ebx
sub eax, dword [ebp - 0x30]
cmp eax, 0x1388
jbe 0x1000fdf4
push 3
mov ecx, 0x101063a0
call fcn.10035760
mov ebx, eax
test ebx, ebx
je 0x1000fde9
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
push 0x1b
push str.rebuild_quarantine_database
call fcn.10004bd0
push 0x71
push str.RC::RCQuarantineList::GetAllItems
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_virusscan_srcgdoperate_rcquarantinelist.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101063a0
push eax
push 3
call fcn.100357b0
cmp ebx, 1
jbe 0x1000fdda
lea eax, [ebp - 0x28]
mov ecx, 0x101063a0
push eax
call fcn.10035ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004b70
mov ecx, dword [esi + 4]
add ecx, 8
call fcn.10006fa0
cmp byte [ebp - 0x29], 0
jne 0x1000fe2d
mov dword [edi], 0
xor eax, eax
jmp 0x1000fe33
mov ecx, dword [eax]
test ecx, ecx
je 0x1000fdfa
mov edx, dword [edi]
mov eax, dword [eax + 4]
cmp edx, eax
jbe 0x1000fe1c
mov dword [edi], eax
mov edx, eax
mov eax, dword [esi + 4]
mov ecx, dword [eax]
imul eax, edx, 0x648
push eax
push ecx
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
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.100dcb60
mov esp, ebp
pop ebp
ret 8
Function at 0x10012f10
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e0f90
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10104008]
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 ecx, 0x101080e7
call fcn.100de193
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
call fcn.1002ade0
mov dword [ebp - 4], 0
xor eax, eax
push 0x37
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 0
push str.SYSTEMCurrentControlSet_services2345DumpBlockSection
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
call fcn.10004bd0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.1002af70
mov bl, al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.10004b70
mov esi, dword [ebp - 0x14]
test bl, bl
jne 0x10012fc1
xor bl, bl
jmp 0x1001300e
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push 4
push eax
push 3
push 0
push str.DFlag
push edi
mov dword [ebp - 0x18], 0
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
test edi, edi
je 0x1001300e
mov eax, dword [esi + 4]
test eax, eax
je 0x1001300e
push 0x100f0848
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001300e
push edi
call eax
mov dword [ebp - 4], 0xffffffff
push 8
push esi
call fcn.100dcba6
add esp, 8
mov dword [ebp - 0x14], 0
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.100dcb60
mov esp, ebp
pop ebp
ret
Function at 0x100132c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e1031
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10104008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov ecx, 0x101080e7
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0
call fcn.100de193
lea ecx, [ebp - 0x18]
mov dword [ebx], 0
mov dword [ebp - 0x18], 0
call fcn.1002ade0
mov dword [ebp - 4], 0
xor eax, eax
push 0x37
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0
push str.SYSTEMCurrentControlSet_services2345DumpBlockSection
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.10004bd0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 1
mov eax, dword [esi + 4]
test eax, eax
je 0x100133b0
push 0x100f0824
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100133b0
mov edx, dword [esi]
lea ebx, [ebp - 0x28]
push ebx
or edx, 0x20019
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
push edx
cmovae ecx, dword [ebp - 0x48]
push 0
push ecx
push 0x80000002
call eax
test eax, eax
jne 0x100133b0
cmp dword [ebp - 0x28], eax
je 0x100133b0
xor bl, bl
jmp 0x100133b2
mov bl, 1
mov dword [ebp - 4], 0
mov eax, 1
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x48]
and eax, 0xfffffffe
mov dword [ebp - 0x2c], eax
call fcn.10004b70
test bl, bl
je 0x100133d7
xor bl, bl
jmp 0x10013446
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 4
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 3
push eax
push 0
push str.DFlag
push dword [ebp - 0x28]
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10013418
mov ecx, dword [ebp - 0x30]
mov bl, 1
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
cmp dword [ebp - 0x28], 0
je 0x10013446
mov eax, dword [esi + 4]
test eax, eax
je 0x10013446
push 0x100f0848
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10013446
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x10013446
push ecx
call eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
push 8
push esi
call fcn.100dcba6
add esp, 8
mov dword [ebp - 0x18], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100dcb60
mov esp, ebp
pop ebp
ret 4
Function at 0x10016270
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e1502
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x10104008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x101080e7
call fcn.100de193
push 0x10105ef0
push 0x40
call fcn.100dcf2b
mov edi, eax
add esp, 8
test edi, edi
jne 0x100162d7
mov esi, dword [ebp + 0xc]
mov ecx, esi
push 0x20
push 0x100e6b24
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.10004bd0
jmp 0x10016456
push 0x40
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [ebp + 8]
push ebx
push 1
push 0x40
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov esi, dword [ebp + 0xc]
add esp, 0x1c
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
push 0x20
cmp eax, 1
je 0x10016318
mov byte [ebp + 0xb], 0
push 0x100e6b24
jmp 0x1001631d
mov byte [ebp + 0xb], 1
push edi
xor eax, eax
mov word [esi], ax
call fcn.10004bd0
push edi
call fcn.100dcb71
add esp, 4
cmp byte [ebp + 0xb], 0
je 0x10016456
push 0x430
call fcn.100dcb76
add esp, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.100161f0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10016456
push ebx
push 1
push 4
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x10016448
cmp dword [edi], 0x62647635
jne 0x10016448
push ebx
push 1
lea eax, [edi + 4]
push 4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x10016448
push ebx
push eax
lea eax, [edi + 8]
push 0x208
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x10016448
push ebx
push eax
lea eax, [edi + 0x210]
push 0x10
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x10016448
push ebx
push eax
lea eax, [edi + 0x220]
push 0x208
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x10016448
push ebx
push eax
lea eax, [edi + 0x428]
push 8
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x10016448
mov eax, dword [edi + 4]
cmp eax, 0x430
jbe 0x1001642f
push 1
add eax, 0xfffffbd0
push eax
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
mov dword [esi + 0x18], edi
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x430
push edi
call fcn.100dcba6
add esp, 8
xor al, al
mov dword [esi + 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10016a70
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100feaa0
push 0x100dd140
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10104008]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 0x20], esi
mov ecx, 0x101080e7
call fcn.100de193
xor bl, bl
mov ecx, esi
call fcn.10016820
mov dword [ebp - 0x28], eax
test eax, eax
je 0x10016b29
push 0x100ed6e4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
add esp, 8
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
je 0x10016b1c
mov dword [ebp - 4], 0
push edi
mov ecx, esi
call fcn.10016620
mov bl, al
mov byte [ebp - 0x19], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x10016b12
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test bl, bl
je 0x10016b3d
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
test eax, eax
je 0x10016b4d
push eax
lea ecx, [esi + 8]
call fcn.1000d580
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10017060
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100feae8
push 0x100dd140
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10104008]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, ecx
mov ecx, 0x101080e7
call fcn.100de193
mov ecx, ebx
call fcn.10016820
mov edi, eax
mov dword [ebp - 0x20], edi
push 0x100ed714
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
add esp, 8
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x10017124
mov dword [ebp - 4], 0
push esi
mov ecx, ebx
call fcn.10016b70
mov bl, al
mov byte [ebp - 0x19], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x100170fb
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test bl, bl
je 0x10017110
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10019cb0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e1a48
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10104008]
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, dword [ebp + 8]
mov ecx, 0x101080e7
call fcn.100de193
test esi, esi
je 0x10019dfc
cmp word [esi], 0
je 0x10019dfc
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10019d27
xor al, al
jmp 0x10019ea7
push esi
lea ecx, [ebp - 0x40]
call fcn.10004b00
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x10019de4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
mov ecx, 0x101063a0
mov edi, eax
call fcn.10035760
mov esi, eax
test esi, esi
je 0x10019de4
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push edi
push str.RegDeleteValue_failed__error___d
push eax
call fcn.10035c70
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x101063a0
push 0x254
push str.RC::RCTrojaneOperator::RemoveStartUpReg
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_virusscan_srcgdoperate_rctrojaneoperator.cpp
push eax
push 2
call fcn.100357b0
cmp esi, 1
jbe 0x10019dd8
lea eax, [ebp - 0x28]
mov ecx, 0x101063a0
push eax
call fcn.10035ae0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10004b70
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10004b70
cmp dword [0x101063a0], 0
je 0x10019ea5
push 0
mov ecx, 0x101063a0
call fcn.10034e30
mov eax, dword [0x101063a0]
cmp byte [eax + 0x54], 0
je 0x10019ea5
cmp dword [eax + 0x58], 4
jb 0x10019ea5
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x28]
push 0x2b
push str.RCAvOperatorQuarantineStartUp::OperatorImpl
call fcn.10004bd0
push 0x258
push str.RC::RCTrojaneOperator::RemoveStartUpReg
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_virusscan_srcgdoperate_rctrojaneoperator.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101063a0
push eax
push 4
call fcn.100357b0
test bl, bl
je 0x10019e96
lea eax, [ebp - 0x28]
mov ecx, 0x101063a0
push eax
call fcn.10035ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004b70
mov al, 1
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.100dcb60
mov esp, ebp
pop ebp
ret 4
Function at 0x1001b5c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e10c0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10104008]
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, ecx
mov ecx, 0x101080e7
call fcn.100de193
mov eax, dword [esi + 4]
test eax, eax
je 0x1001b768
cmp dword [0x101063a0], 0
lea edi, [eax + 0x24]
je 0x1001b6a6
push 0
mov ecx, 0x101063a0
call fcn.10034e30
mov eax, dword [0x101063a0]
cmp byte [eax + 0x54], 0
je 0x1001b6a6
cmp dword [eax + 0x58], 4
jb 0x1001b6a6
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
push 0x2a
push str.RCAvOperatorDeleteQuarantine::OperatorImpl
call fcn.10004bd0
push 0x3d5
push str.RC::RCTrojaneOperator::DeleteQuarantine
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_virusscan_srcgdoperate_rctrojaneoperator.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101063a0
push eax
push 4
call fcn.100357b0
test bl, bl
je 0x1001b697
lea eax, [ebp - 0x28]
mov ecx, 0x101063a0
push eax
call fcn.10035ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004b70
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
push 1
push dword [ebp + 8]
mov ecx, edi
mov ebx, eax
call fcn.10007aa0
test al, al
je 0x1001b6c7
mov al, 1
jmp 0x1001b76a
call esi
sub eax, ebx
cmp eax, 0x1388
jbe 0x1001b768
push 3
mov ecx, 0x101063a0
call fcn.10035760
mov esi, eax
test esi, esi
je 0x1001b761
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0x1b
push str.rebuild_quarantine_database
call fcn.10004bd0
push 0x3de
push str.RC::RCTrojaneOperator::DeleteQuarantine
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_virusscan_srcgdoperate_rctrojaneoperator.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101063a0
push eax
push 3
call fcn.100357b0
cmp esi, 1
jbe 0x1001b752
lea eax, [ebp - 0x28]
mov ecx, 0x101063a0
push eax
call fcn.10035ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004b70
mov ecx, edi
call fcn.10006fa0
xor al, al
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.100dcb60
mov esp, ebp
pop ebp
ret 4
Function at 0x10025c30
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
push edi
mov ecx, 0x101080e7
call fcn.100de193
mov ebp, dword [esp + 0x18]
xor edi, edi
mov bh, byte [esi + 0x100]
mov cl, byte [esi + 0x101]
test ebp, ebp
je 0x10025c98
nop dword [eax + eax]
inc bh
movzx edx, bh
mov bl, byte [edx + esi]
add cl, bl
mov byte [esp + 0x18], cl
movzx ecx, cl
movzx eax, byte [ecx + esi]
mov byte [edx + esi], al
mov byte [ecx + esi], bl
movzx eax, byte [edx + esi]
mov ecx, dword [esp + 0x10]
add al, bl
movzx eax, al
movzx eax, byte [eax + esi]
xor byte [edi + ecx], al
inc edi
mov cl, byte [esp + 0x18]
cmp edi, ebp
jb 0x10025c60
pop edi
mov byte [esi + 0x101], bh
mov byte [esi + 0x100], bh
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x10025d50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebx
mov ebx, ecx
mov ecx, 0x101080e7
mov dword [esp + 4], ebx
call fcn.100de193
cmp dword [esp + 0xc], 0
je 0x10025ddc
push ebp
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x10025ddb
push esi
push edi
mov edi, dword [ebx]
xor dl, dl
xor cl, cl
xor eax, eax
nop dword [eax]
mov byte [eax + edi], al
inc eax
cmp eax, 0x100
jb 0x10025d80
mov word [edi + 0x100], 0
xor ebx, ebx
mov eax, dword [esp + 0x18]
movzx esi, dl
mov dl, byte [ebx + edi]
movzx eax, byte [esi + eax]
add al, dl
add cl, al
mov byte [esp + 0x1c], cl
movzx ecx, cl
add ecx, edi
movzx eax, byte [ecx]
mov byte [ebx + edi], al
lea eax, [esi + 1]
mov byte [ecx], dl
inc ebx
mov cl, byte [esp + 0x1c]
xor edx, edx
div ebp
cmp ebx, 0x100
jb 0x10025d96
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov eax, dword [eax]
mov dword [eax + 0x104], ebp
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x10029ba0
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xfffffffffffffffe
push 0x10100bf8
push 0x100dd140
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10104008]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
mov dword [ebp - 0x20], esi
mov ecx, 0x101080e7
call fcn.100de193
mov dword [ebp - 4], 0
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10029c0b
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
mov edx, esi
call fcn.10029ce0
mov bl, al
mov byte [ebp - 0x19], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x10029c3d
test bl, bl
jne 0x10029cad
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10029c52
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
push 0x410
push ecx
lea eax, [ebp]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x207
lea eax, [ebp]
push eax
push 0x100f1370
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [ebp]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10029c83
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.10004bd0
movzx ebx, bl
mov eax, 1
cmp dword [esi + 0x10], 0
cmovne ebx, eax
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.100dcb60
lea esp, [ebp + 0x414]
pop ebp
ret

Function at 0x1002aa70
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, 0x101080e7
call fcn.100de193
mov eax, dword [esi]
test eax, eax
je 0x1002aa90
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov eax, dword [esp + 8]
mov word [esi + 4], 0
cmp dword [eax + 0x10], 0
je 0x1002aaaa
cmp dword [eax + 0x14], 8
jb 0x1002aaac
mov eax, dword [eax]
jmp 0x1002aaac
xor eax, eax
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
je 0x1002aace
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1002aace
mov byte [esi + 5], 1
cmp dword [esi], 0
pop esi
setne al
ret 4