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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dbeb0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100ff008]
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.1000dd10
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 0x1000e19e
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.100044d0
jmp 0x1000e24d
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 0x1000e1ed
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.1000b250
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.1000e810
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.1000e810
add esp, 4
mov ecx, edi
call fcn.1000dd70
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.100080a0
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 0x1000e3c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov di, word [ebp + 0xc]
mov esi, ecx
mov dword [esp + 0x1c], eax
nop
cmp ebx, dword [ebp + 0x10]
jne 0x1000e3ef
cmp di, word [ebp + 0x14]
je 0x1000e50a
mov eax, dword [ebp + 0xc]
movzx edx, di
mov ecx, edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x10], eax
and ecx, 7
shr edx, 3
mov eax, 1
shl ax, cl
test byte [edx + esi + 6], al
je 0x1000e4dd
mov edx, dword [esp + 0x10]
lea ecx, [esi + 6]
call fcn.1000dd10
movzx ebx, ax
movzx eax, word [esi + 4]
cmp eax, 1
jne 0x1000e439
mov dword [esp + 0xc], 0
jmp 0x1000e4a5
dec eax
xor ecx, ecx
movzx edi, ax
mov edx, 0x1c
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x1000e4e8
mov ecx, ebx
push eax
lea ebx, [ecx*8]
sub ebx, ecx
mov ecx, dword [esi]
shl ebx, 2
lea edx, [ecx + ebx]
call fcn.1000e810
movzx ecx, word [esi + 4]
add esp, 4
mov eax, dword [esp + 0xc]
mov edi, dword [esi]
add eax, ebx
push eax
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [edi + 0x1c]
add ecx, ebx
lea edx, [edi + eax*4]
call fcn.1000e810
add esp, 4
mov ecx, esi
call fcn.1000dd70
mov eax, dword [esp + 0xc]
mov dword [esi], eax
mov eax, 0xffff
add word [esi + 4], ax
mov eax, dword [esp + 0x10]
movzx edx, ax
mov ecx, edx
and edx, 7
shr ecx, 3
movzx eax, byte [ecx + esi + 6]
btr eax, edx
mov byte [ecx + esi + 6], al
mov di, word [ebp + 0xc]
mov ebx, dword [ebp + 8]
inc di
mov word [ebp + 0xc], di
jmp 0x1000e3e0
push edi
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.1000b250
add esp, 0xc
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1000e5e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
movzx esi, word [ebp + 8]
xor ecx, ecx
mov eax, esi
mov edx, 0x1c
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]
add esp, 4
test eax, eax
jne 0x1000e62a
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.1000b250
add esp, 0xc
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
pop esi
pop ebp
ret 4
Function at 0x1000ef40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x100ff008]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [esp + 0x18], edi
call fcn.1000d440
push ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x18], 0
mov ecx, edi
mov dword [esp + 0x14], 0
call fcn.1000f320
add esp, 4
test al, al
je 0x1000efb6
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
jb 0x1000efa8
push ecx
lea edx, [esp + 0x18]
mov ecx, edi
call fcn.1000f3a0
add esp, 4
test al, al
je 0x1000efb6
mov eax, dword [esp + 0x14]
cmp eax, 0x24687531
je 0x1000efcc
mov ecx, ebx
call fcn.1000d440
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100d8362
mov esp, ebp
pop ebp
ret 8
lea edx, [ebx + 0xc]
mov ecx, edi
call fcn.1000f270
test al, al
je 0x1000efb6
lea edx, [ebx + 0x10]
mov ecx, edi
call fcn.1000f270
test al, al
je 0x1000efb6
push dword [ebx + 0xc]
mov ecx, ebx
call fcn.1000e2b0
mov esi, dword [ebx]
mov eax, dword [ebx + 4]
cmp esi, eax
je 0x1000f05a
nop dword [eax + eax]
mov ecx, esi
call fcn.1000dd70
xor ecx, ecx
lea eax, [esi + 4]
mov dword [esi + 6], ecx
mov edx, eax
mov word [esi + 0xa], cx
mov word [eax], cx
push ecx
mov ecx, edi
call fcn.1000f420
add esp, 4
test al, al
je 0x1000efb6
push edi
push 1
lea eax, [esi + 6]
push 6
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x1000efb6
movzx eax, word [esi + 4]
push eax
call fcn.1000e5e0
mov dword [esi], eax
add esi, 0xc
mov eax, dword [ebx + 4]
cmp esi, eax
jne 0x1000f000
mov esi, dword [ebx]
xor edi, edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
cmp esi, eax
je 0x1000f090
mov eax, dword [esi]
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x1c]
call fcn.1000d8d0
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
nop
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebx + 4]
cmp ecx, dword [ebx]
jne 0x1000f0ab
cmp eax, edx
jne 0x1000f0ab
cmp esi, edx
jne 0x1000f0ab
cmp esi, eax
je 0x1000f0c6
test edi, edi
je 0x1000f0c6
push edi
push dword [esp + 0x1c]
call fcn.1000b6f0
test al, al
je 0x1000efb6
add edi, 0x1c
mov dword [esp + 0x28], edi
jmp 0x1000f07a
mov ecx, dword [esp + 0x2c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100d8362
mov esp, ebp
pop ebp
ret 8
Function at 0x1000f0e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0xc]
mov edx, 0x24687531
push esi
push edi
mov edi, ecx
mov dword [esp + 0x24], ebx
push 4
mov ecx, ebx
mov dword [esp + 0x14], edi
call fcn.1000f4a0
add esp, 4
test al, al
je 0x1000f262
mov esi, dword [edi + 0xc]
mov ecx, ebx
push 4
cmp esi, 0xffffffff
jb 0x1000f135
or edx, 0xffffffff
call fcn.1000f4a0
add esp, 4
test al, al
je 0x1000f262
push 8
mov ecx, ebx
mov edx, esi
call fcn.1000f4a0
add esp, 4
test al, al
je 0x1000f262
mov edx, dword [edi + 0x10]
mov ecx, ebx
call fcn.1000f2d0
test al, al
je 0x1000f262
mov esi, dword [edi]
mov edi, dword [edi + 4]
mov dword [esp + 0xc], esi
cmp esi, edi
je 0x1000f1ac
mov dx, word [esi + 4]
push ecx
mov ecx, ebx
call fcn.1000f530
add esp, 4
test al, al
je 0x1000f262
push ebx
push 1
lea eax, [esi + 6]
push 6
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp eax, 1
jne 0x1000f262
mov eax, dword [esp + 0x10]
add esi, 0xc
mov edi, dword [eax + 4]
cmp esi, edi
jne 0x1000f166
mov esi, dword [eax]
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0xc]
xor ebx, ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
cmp eax, edi
je 0x1000f1e5
mov eax, dword [esi]
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], eax
call fcn.1000d8d0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 4]
cmp eax, dword [edx]
jne 0x1000f200
cmp edi, ecx
jne 0x1000f200
cmp esi, ecx
jne 0x1000f200
cmp esi, edi
je 0x1000f257
test ebx, ebx
je 0x1000f257
push ebx
push dword [esp + 0x28]
call fcn.1000b550
test al, al
je 0x1000f262
movzx eax, word [esi + 4]
add ebx, 0x1c
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi]
lea eax, [eax + ecx*4]
cmp ebx, eax
mov eax, dword [esp + 0xc]
jne 0x1000f1e5
nop dword [eax + eax]
mov eax, dword [esp + 0xc]
add esi, 0xc
cmp esi, edi
je 0x1000f1e5
movzx eax, word [esi + 4]
mov ebx, dword [esi]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ebx + ecx*4]
cmp ebx, eax
je 0x1000f230
mov eax, dword [esp + 0xc]
jmp 0x1000f1e5
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1000f320
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100ff008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
xor esi, esi
mov dword [edi], 0
nop
push ebx
push 1
lea eax, [ebp - 5]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x1000f382
movzx eax, byte [ebp - 5]
mov ecx, 3
sub ecx, esi
inc esi
shl ecx, 3
shl eax, cl
or dword [edi], eax
cmp esi, 4
jb 0x1000f340
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d8362
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d8362
mov esp, ebp
pop ebp
ret
Function at 0x1000f3a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100ff008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
xor esi, esi
mov dword [edi], 0
nop
push ebx
push 1
lea eax, [ebp - 5]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x1000f402
movzx eax, byte [ebp - 5]
mov ecx, 7
sub ecx, esi
inc esi
shl ecx, 3
shl eax, cl
or dword [edi], eax
cmp esi, 8
jb 0x1000f3c0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d8362
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d8362
mov esp, ebp
pop ebp
ret

Function at 0x1000f420
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100ff008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
mov ebx, edx
xor ecx, ecx
mov dword [ebp - 0xc], eax
push esi
push edi
mov word [ebx], cx
xor edi, edi
lea esi, [ecx + 8]
push eax
push 1
lea eax, [ebp - 5]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x1000f488
movzx eax, byte [ebp - 5]
mov ecx, esi
shl ax, cl
add edi, 8
or word [ebx], ax
sub esi, 8
mov eax, dword [ebp - 0xc]
cmp edi, 0x10
jb 0x1000f444
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d8362
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d8362
mov esp, ebp
pop ebp
ret

Function at 0x1000f4a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100ff008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0xc], edx
mov edx, ecx
mov dword [ebp - 0x10], edx
test edi, edi
je 0x1000f506
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
nop word [eax + eax]
mov eax, edi
sub eax, esi
lea ecx, [eax - 1]
cmp ecx, 4
jb 0x1000f4e0
xor al, al
jmp 0x1000f4e8
mov eax, dword [ebp - 0xc]
shl ecx, 3
shr eax, cl
push edx
push 1
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000f519
mov edx, dword [ebp - 0x10]
inc esi
cmp esi, edi
jb 0x1000f4d0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d8362
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d8362
mov esp, ebp
pop ebp
ret
Function at 0x1000f530
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100ff008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
push edi
mov dword [ebp - 0xc], edx
mov edi, ecx
xor esi, esi
mov eax, 1
sub eax, esi
cmp eax, 2
jb 0x1000f560
xor dl, dl
jmp 0x1000f570
mov eax, 1
sub eax, esi
shl al, 3
mov cx, ax
shr dx, cl
push edi
push 1
lea eax, [ebp - 5]
mov byte [ebp - 5], dl
push 1
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000f5a2
mov edx, dword [ebp - 0xc]
inc esi
cmp esi, 2
jb 0x1000f550
pop edi
pop esi
mov al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d8362
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d8362
mov esp, ebp
pop ebp
ret
Function at 0x1000f750
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dc0d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100ff008]
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, 0x10103149
mov edi, dword [ebp + 0xc]
call fcn.100d96c4
mov eax, dword [esi + 4]
test eax, eax
je 0x1000f890
test ebx, ebx
jne 0x1000f894
mov eax, dword [eax]
test eax, eax
je 0x1000f7b4
push eax
call fcn.100d8373
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.10007c90
mov cl, al
mov byte [ebp - 0x29], cl
test cl, cl
je 0x1000f7e5
mov ecx, dword [esi + 4]
cmp dword [ecx + 4], 0
jne 0x1000f884
call ebx
sub eax, dword [ebp - 0x30]
cmp eax, 0x1388
jbe 0x1000f884
push 3
mov ecx, 0x10101274
call fcn.10034d10
mov ebx, eax
test ebx, ebx
je 0x1000f879
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.10004530
push 0x71
push str.RC::RCQuarantineList::GetAllItems
push str.f:_branches6.1.5_rhinoprotect_virusscan_srcgdoperate_rcquarantinelist.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10101274
push eax
push 3
call fcn.10034d60
cmp ebx, 1
jbe 0x1000f86a
lea eax, [ebp - 0x28]
mov ecx, 0x10101274
push eax
call fcn.10035090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100044d0
mov ecx, dword [esi + 4]
add ecx, 8
call fcn.100068a0
cmp byte [ebp - 0x29], 0
jne 0x1000f8bd
mov dword [edi], 0
xor eax, eax
jmp 0x1000f8c3
mov ecx, dword [eax]
test ecx, ecx
je 0x1000f88a
mov edx, dword [edi]
mov eax, dword [eax + 4]
cmp edx, eax
jbe 0x1000f8ac
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.100d8362
mov esp, ebp
pop ebp
ret 8
Function at 0x100129a0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dc6f0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100ff008]
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, 0x10103149
call fcn.100d96c4
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
call fcn.1002a300
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.10004530
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.1002a490
mov bl, al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.100044d0
mov esi, dword [ebp - 0x14]
test bl, bl
jne 0x10012a51
xor bl, bl
jmp 0x10012a9e
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 0x10012a9e
mov eax, dword [esi + 4]
test eax, eax
je 0x10012a9e
push 0x100ebe50
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10012a9e
push edi
call eax
mov dword [ebp - 4], 0xffffffff
push 8
push esi
call fcn.100d83a8
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.100d8362
mov esp, ebp
pop ebp
ret
Function at 0x10012d50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dc791
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100ff008]
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, 0x10103149
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0
call fcn.100d96c4
lea ecx, [ebp - 0x18]
mov dword [ebx], 0
mov dword [ebp - 0x18], 0
call fcn.1002a300
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.10004530
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 0x10012e40
push 0x100ebdf0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10012e40
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 0x10012e40
cmp dword [ebp - 0x28], eax
je 0x10012e40
xor bl, bl
jmp 0x10012e42
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.100044d0
test bl, bl
je 0x10012e67
xor bl, bl
jmp 0x10012ed6
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 0x10012ea8
mov ecx, dword [ebp - 0x30]
mov bl, 1
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
cmp dword [ebp - 0x28], 0
je 0x10012ed6
mov eax, dword [esi + 4]
test eax, eax
je 0x10012ed6
push 0x100ebe50
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10012ed6
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x10012ed6
push ecx
call eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
push 8
push esi
call fcn.100d83a8
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.100d8362
mov esp, ebp
pop ebp
ret 4
Function at 0x10015d00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dcc62
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x100ff008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x10103149
call fcn.100d96c4
push 0x10100e80
push 0x40
call fcn.100d872d
mov edi, eax
add esp, 8
test edi, edi
jne 0x10015d67
mov esi, dword [ebp + 0xc]
mov ecx, esi
push 0x20
push 0x100e19f4
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.10004530
jmp 0x10015ee6
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 0x10015da8
mov byte [ebp + 0xb], 0
push 0x100e19f4
jmp 0x10015dad
mov byte [ebp + 0xb], 1
push edi
xor eax, eax
mov word [esi], ax
call fcn.10004530
push edi
call fcn.100d8373
add esp, 4
cmp byte [ebp + 0xb], 0
je 0x10015ee6
push 0x430
call fcn.100d8378
add esp, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.10015c80
mov edi, eax
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10015ee6
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 0x10015ed8
cmp dword [edi], 0x62647635
jne 0x10015ed8
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 0x10015ed8
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 0x10015ed8
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 0x10015ed8
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 0x10015ed8
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 0x10015ed8
mov eax, dword [edi + 4]
cmp eax, 0x430
jbe 0x10015ebf
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.100d83a8
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