joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5dffc7
Capabilities:
Encode data using xor

Disassembly:
push 0xd75685b7
sahf
int3
pop edx
push eax
dec eax
in al, dx
cmpsd dword [esi], dword es:[edi]
mov dh, 0x21
xchg esi, eax
or eax, 0x44fcf00e
fstp xword [edx - 0x7a00c45c]
mov dword [0x8bc4b3f5], eax
cli
pop esi
test dword [ebx], edx
sar esi, 0x8f
outsb dx, byte [esi]
mov al, byte [0xf4be8b7a]
xor eax, 0x86bf6a14
ja 0x5dffdd
adc al, 0x6a
mov edi, 0x27367786
daa
or eax, dword [ebx + 0x40]
push es
or byte [edi], cl
push esi
out 0xf, eax
movsd dword es:[edi], dword [esi]
add cl, cl
and ch, byte [ecx]
and ebp, dword [edx + 0x75dd15f]
jge 0x5dff7b
aad 0xba
lodsb al, byte [esi]
lahf
fst dword [ecx + 0x7d04e1dc]
jge 0x5dffa1
mov cs, word [esi + 0x74fffbe9]
invalid
jge 0x5dffa1
mov cs, word [esi + 0x74fffbe9]
adc al, 0x24
pop ss
and al, 0x17
fiadd word [ebp - 0x2f34c0b]
jbe 0x5dff5b
or al, 0xf7
paddq mm4, qword cs:[ebp - 0x63]
paddq mm4, qword [ebp - 0x63]
invalid
lahf
int1
not byte [ebx]
jmp 0xc29396c5

Function at 0x5e6d37
Capabilities:
Encode data using xor

Disassembly:
mul bh
not ch
ret 0xfb67
cmovp ecx, dword [edi + esi*4 - 0x43755b06]
mov dword [esp + ebp*4 + 0x1fc07419], ecx
psubusb mm4, qword [edi]
test dword [edi], 0xaecddc8
adc al, 0x94
add dh, byte [edi + 0x65d5752e]
add dword [edi + 0x75], edx
outsb dx, byte [esi]
dec eax
add al, 0x39
mov dword [eax - 0x4b], ebp
scasb al, byte es:[edi]
mov cl, 0xe9
jne 0x5e6d5d
add eax, edi
out dx, eax
jmp 0x5e6cfb
hlt
js 0x5e6cc8
mov esp, 0x724d464f
dec esi
jp 0x5e6daf
inc esi
loop 0x5e6cca
add esi, dword [eax - 0x3c]
xchg esp, eax
invalid
mov esi, 0x1466f19d
sub eax, 0x31443018
adc eax, 0x7596e1a3
int1
adc al, 0x2d
sbb byte [eax], dh
inc esp
xor dword [0x7596e1a3], edx
dec ebx
xor esp, dword [esi - 0x60]
xchg esi, eax
xchg esi, eax
mov al, byte [0x99d99792]
daa
adc byte [ebp - 9], al
jo 0x5e6d33
cmc
pop ecx
je 0x5e6d27
paddd mm5, mm7
fdivrp st(5)
sbb dl, byte [edx*2 - 0x3902b92b]
push esp
xor dword [esi - 0x3e], esi
ja 0x5e6d74
aam 0xe5
cmc
and eax, 0xc0dbe9a8
lodsd eax, dword [esi]
sbb dword [bx + di - 0x73e0], eax
jo 0x5e6d4f
push cs
jp 0x5e6d4d
sub ebp, dword [ecx + 0x7019768f]
invalid
inc eax
and al, 5
mov al, byte [0x30bf390a]
cmp eax, 0x4ba51cef
inc ebx
lcall 0x8842, 0x8a6605fa
sbb dh, cl
shl dword [eax + 0x75f0c5d2], 0xdc
idiv dh
inc esi
loop 0x5e6de5
add eax, 0x5404820e
push ebx
sub ah, byte [esi + 0x4a]
inc esi
mov ecx, 0x37bb9583
jae 0x5e6d74
sbb dword [ebp - 0x92a8044], esp
ror esi, 0xf5
adc edi, ebx
dec ecx
add eax, 0x7a0a2248
popal
outsd dx, dword [esi]
add dword [edx + 0x42332790], eax
arpl si, si
das
xchg esp, eax
hlt
Function at 0x10004b70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x100053a0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
test byte [esi + 0x3c], 1
je 0x10004be9
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x10004bb3
lea ecx, [esi + 0x30]
jmp 0x10004bbb
mov eax, dword [esi + 0x1c]
mov eax, dword [eax]
lea ecx, [esi + 0x2c]
mov ecx, dword [ecx]
add eax, dword [ecx]
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx]
sub eax, ecx
cmp eax, 0x1000
jb 0x10004bdf
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10004c3b
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.101029f8
add esp, 8
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov dword [eax], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov dword [esi + 0x38], 0
and byte [esi + 0x3c], 0xfe
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop dword [eax + eax]
push ebp
sub esp, 8
add ebp, 0xc
call sub.VCRUNTIME140.dll___std_terminate
int3
Function at 0x101009e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x10102770
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
mov eax, dword [eax]
mov dword [esi], eax
lea eax, [esi + 4]
mov dword [ebp - 0x24], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x10
call fcn.101029c3
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x28], eax
mov dword [esi + 4], eax
lea eax, [esi + 0xc]
mov dword [ebp - 0x20], eax
movaps xmm0, xmmword [0x101061a0]
movups xmmword [esi + 0xc], xmm0
mov dword [esi + 0x1c], 8
mov dword [ebp - 0x2c], esi
mov dword [esi], 0x3f800000
mov dword [ebp - 0x10], 1
push 0x40
call fcn.101029c3
add esp, 4
mov esi, eax
mov edi, dword [ebp - 0x2c]
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
sub eax, ecx
je 0x10100aa4
cmp eax, 0x1000
jb 0x10100a9a
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10100ae4
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.101029f8
add esp, 8
mov dword [edi + 0xc], esi
mov eax, esi
add eax, 0x40
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
movd xmm0, dword [ebp - 0x28]
pshufd xmm0, xmm0, 0
movdqu xmmword [esi], xmm0
movdqu xmmword [esi + 0x10], xmm0
movdqu xmmword [esi + 0x20], xmm0
movdqu xmmword [esi + 0x30], xmm0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov dword [ebp - 0x10], 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop word cs:[eax + eax]
push ebp
sub esp, 8
add ebp, 0xc
call sub.VCRUNTIME140.dll___std_terminate
nop dword [eax]
push ebp
sub esp, 8
add ebp, 0xc
mov ecx, dword [ebp - 0x20]
call fcn.100ff8a0
mov ecx, dword [ebp - 0x24]
call fcn.10100b30
add esp, 8
pop ebp
ret
Function at 0x10100b80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x10102780
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
mov eax, dword [eax]
mov dword [esi], eax
lea eax, [esi + 4]
mov dword [ebp - 0x24], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x18
call fcn.101029c3
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x28], eax
mov dword [esi + 4], eax
lea eax, [esi + 0xc]
mov dword [ebp - 0x20], eax
movaps xmm0, xmmword [0x101061a0]
movups xmmword [esi + 0xc], xmm0
mov dword [esi + 0x1c], 8
mov dword [ebp - 0x2c], esi
mov dword [esi], 0x3f800000
mov dword [ebp - 0x10], 1
push 0x40
call fcn.101029c3
add esp, 4
mov esi, eax
mov edi, dword [ebp - 0x2c]
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
sub eax, ecx
je 0x10100c44
cmp eax, 0x1000
jb 0x10100c3a
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10100c84
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.101029f8
add esp, 8
mov dword [edi + 0xc], esi
mov eax, esi
add eax, 0x40
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
movd xmm0, dword [ebp - 0x28]
pshufd xmm0, xmm0, 0
movdqu xmmword [esi], xmm0
movdqu xmmword [esi + 0x10], xmm0
movdqu xmmword [esi + 0x20], xmm0
movdqu xmmword [esi + 0x30], xmm0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov dword [ebp - 0x10], 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop word cs:[eax + eax]
push ebp
sub esp, 8
add ebp, 0xc
call sub.VCRUNTIME140.dll___std_terminate
nop dword [eax]
push ebp
sub esp, 8
add ebp, 0xc
mov ecx, dword [ebp - 0x20]
call fcn.100ff8a0
mov ecx, dword [ebp - 0x24]
call fcn.10100cd0
add esp, 8
pop ebp
ret
Function at 0x10100da0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x101027a0
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
mov eax, dword [eax]
mov dword [esi], eax
lea eax, [esi + 4]
mov dword [ebp - 0x24], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0xc
call fcn.101029c3
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x28], eax
mov dword [esi + 4], eax
lea eax, [esi + 0xc]
mov dword [ebp - 0x20], eax
movaps xmm0, xmmword [0x101061a0]
movups xmmword [esi + 0xc], xmm0
mov dword [esi + 0x1c], 8
mov dword [ebp - 0x2c], esi
mov dword [esi], 0x3f800000
mov dword [ebp - 0x10], 1
push 0x40
call fcn.101029c3
add esp, 4
mov esi, eax
mov edi, dword [ebp - 0x2c]
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
sub eax, ecx
je 0x10100e64
cmp eax, 0x1000
jb 0x10100e5a
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10100ea4
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.101029f8
add esp, 8
mov dword [edi + 0xc], esi
mov eax, esi
add eax, 0x40
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
movd xmm0, dword [ebp - 0x28]
pshufd xmm0, xmm0, 0
movdqu xmmword [esi], xmm0
movdqu xmmword [esi + 0x10], xmm0
movdqu xmmword [esi + 0x20], xmm0
movdqu xmmword [esi + 0x30], xmm0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov dword [ebp - 0x10], 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop word cs:[eax + eax]
push ebp
sub esp, 8
add ebp, 0xc
call sub.VCRUNTIME140.dll___std_terminate
nop dword [eax]
push ebp
sub esp, 8
add ebp, 0xc
mov ecx, dword [ebp - 0x20]
call fcn.100ff8a0
mov ecx, dword [ebp - 0x24]
call fcn.10100ef0
add esp, 8
pop ebp
ret
Function at 0x10101050
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x101027c0
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
mov eax, dword [eax]
mov dword [esi], eax
lea eax, [esi + 4]
mov dword [ebp - 0x24], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x2c
call fcn.101029c3
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x28], eax
mov dword [esi + 4], eax
lea eax, [esi + 0xc]
mov dword [ebp - 0x20], eax
movaps xmm0, xmmword [0x101061a0]
movups xmmword [esi + 0xc], xmm0
mov dword [esi + 0x1c], 8
mov dword [ebp - 0x2c], esi
mov dword [esi], 0x3f800000
mov dword [ebp - 0x10], 1
push 0x40
call fcn.101029c3
add esp, 4
mov esi, eax
mov edi, dword [ebp - 0x2c]
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
sub eax, ecx
je 0x10101114
cmp eax, 0x1000
jb 0x1010110a
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10101154
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.101029f8
add esp, 8
mov dword [edi + 0xc], esi
mov eax, esi
add eax, 0x40
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
movd xmm0, dword [ebp - 0x28]
pshufd xmm0, xmm0, 0
movdqu xmmword [esi], xmm0
movdqu xmmword [esi + 0x10], xmm0
movdqu xmmword [esi + 0x20], xmm0
movdqu xmmword [esi + 0x30], xmm0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov dword [ebp - 0x10], 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop word cs:[eax + eax]
push ebp
sub esp, 8
add ebp, 0xc
call sub.VCRUNTIME140.dll___std_terminate
nop dword [eax]
push ebp
sub esp, 8
add ebp, 0xc
mov ecx, dword [ebp - 0x20]
call fcn.100ff8a0
mov ecx, dword [ebp - 0x24]
call fcn.101011a0
add esp, 8
pop ebp
ret
Function at 0x101012d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x101027e0
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
mov eax, dword [eax]
mov dword [esi], eax
lea eax, [esi + 4]
mov dword [ebp - 0x24], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x14
call fcn.101029c3
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x28], eax
mov dword [esi + 4], eax
lea eax, [esi + 0xc]
mov dword [ebp - 0x20], eax
movaps xmm0, xmmword [0x101061a0]
movups xmmword [esi + 0xc], xmm0
mov dword [esi + 0x1c], 8
mov dword [ebp - 0x2c], esi
mov dword [esi], 0x3f800000
mov dword [ebp - 0x10], 1
push 0x40
call fcn.101029c3
add esp, 4
mov esi, eax
mov edi, dword [ebp - 0x2c]
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
sub eax, ecx
je 0x10101394
cmp eax, 0x1000
jb 0x1010138a
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x101013d4
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.101029f8
add esp, 8
mov dword [edi + 0xc], esi
mov eax, esi
add eax, 0x40
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
movd xmm0, dword [ebp - 0x28]
pshufd xmm0, xmm0, 0
movdqu xmmword [esi], xmm0
movdqu xmmword [esi + 0x10], xmm0
movdqu xmmword [esi + 0x20], xmm0
movdqu xmmword [esi + 0x30], xmm0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov dword [ebp - 0x10], 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop word cs:[eax + eax]
push ebp
sub esp, 8
add ebp, 0xc
call sub.VCRUNTIME140.dll___std_terminate
nop dword [eax]
push ebp
sub esp, 8
add ebp, 0xc
mov ecx, dword [ebp - 0x20]
call fcn.100ff8a0
mov ecx, dword [ebp - 0x24]
call fcn.10101420
add esp, 8
pop ebp
ret
Function at 0x101018f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [esp + 0x24]
cmp eax, 0x10000001
jae 0x10101a75
mov ebx, ecx
dec eax
or eax, 1
bsr ecx, eax
xor ecx, 0x1f
neg cl
mov esi, 1
shl esi, cl
lea eax, [ebx + 0xc]
mov edi, dword [ebx + 4]
mov edx, 2
shl edx, cl
mov ecx, eax
push edi
push edx
call fcn.10101470
lea eax, [esi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], esi
mov eax, dword [ebx + 4]
mov eax, dword [eax]
cmp eax, edi
je 0x10101a6b
mov dword [esp + 4], ebx
mov dword [esp], edi
jmp 0x10101964
mov dword [edx + ebx*4], ecx
mov dword [edx + esi*4], ecx
mov ebx, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x10101a6b
mov ecx, eax
mov eax, dword [eax]
mov dword [esp + 0xc], eax
movzx edx, byte [ecx + 8]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
movzx esi, byte [ecx + 9]
xor esi, edx
imul edx, esi, 0x1000193
movzx esi, byte [ecx + 0xa]
xor esi, edx
imul edx, esi, 0x1000193
movzx esi, byte [ecx + 0xb]
xor esi, edx
imul edi, esi, 0x1000193
and edi, dword [ebx + 0x18]
mov edx, dword [ebx + 0xc]
mov eax, ebx
lea ebx, [edi + edi]
lea esi, [edi*2 + 1]
mov ebp, dword [edx + edi*8]
mov edi, dword [esp]
cmp ebp, edi
je 0x10101950
mov dword [esp + 8], ebx
mov edi, dword [edx + esi*4]
mov ebx, dword [ecx + 8]
cmp ebx, dword [edi + 8]
je 0x10101a10
mov eax, dword [esp + 0xc]
nop
cmp ebp, edi
je 0x10101a3d
mov edi, dword [edi + 4]
cmp ebx, dword [edi + 8]
jne 0x101019d0
mov edx, dword [edi]
mov esi, dword [ecx + 4]
mov dword [esi], eax
mov edi, dword [eax + 4]
mov dword [edi], edx
mov ebx, dword [edx + 4]
mov dword [ebx], ecx
mov dword [edx + 4], edi
mov dword [eax + 4], esi
mov dword [ecx + 4], ebx
mov ebx, dword [esp + 4]
mov edi, dword [esp]
cmp eax, edi
jne 0x10101964
jmp 0x10101a6b
mov edi, dword [edi]
cmp edi, ecx
mov eax, dword [esp + 0xc]
je 0x10101a59
mov ebx, dword [ecx + 4]
mov dword [esp + 8], ebx
mov dword [ebx], eax
mov ebp, dword [eax + 4]
mov dword [ebp], edi
mov ebx, dword [edi + 4]
mov dword [ebx], ecx
mov dword [edi + 4], ebp
mov edi, dword [esp + 8]
mov dword [eax + 4], edi
mov dword [ecx + 4], ebx
jmp 0x10101a59
mov esi, dword [ecx + 4]
mov dword [esi], eax
mov edi, dword [eax + 4]
mov dword [edi], ebp
mov ebx, dword [ebp + 4]
mov dword [ebx], ecx
mov dword [ebp + 4], edi
mov dword [eax + 4], esi
mov dword [ecx + 4], ebx
mov esi, dword [esp + 8]
mov dword [edx + esi*4], ecx
mov ebx, dword [esp + 4]
mov edi, dword [esp]
cmp eax, edi
jne 0x10101964
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
push str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3
Function at 0x40187a
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x408004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x408128]
push ebx
push edi
push 2
xor ebx, ebx
mov word [ebp - 8], 0x500
pop edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
cmp eax, edi
jne 0x4019a0
lea ecx, [ebp - 0x10]
call fcn.004017c0
test eax, eax
jne 0x40198f
lea eax, [ebp - 0x18]
push eax
push 8
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4019a0
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push edi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x401981
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x401981
push esi
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.DLL_LocalAlloc]
mov esi, eax
test esi, esi
je 0x401980
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push esi
push edi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x401979
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push edi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x401979
cmp dword [esi], ebx
jbe 0x401970
lea edi, [esi + 4]
push dword [ebp - 0x1c]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x401965
inc ebx
add edi, 8
cmp ebx, dword [esi]
jb 0x40194c
jmp 0x401970
xor eax, eax
inc eax
mov dword [0x408128], eax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push esi
call dword [sym.imp.KERNEL32.DLL_LocalFree]
pop esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x10]
jmp 0x4019a0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4019a0
mov dword [0x408128], 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00406e20
mov esp, ebp
pop ebp
ret
Function at 0x402269
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x348
mov eax, dword [0x408004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x408530], 0
je 0x402384
push esi
lea eax, [ebp - 0x344]
xor esi, esi
push eax
push 0x2001f
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402383
push ebx
lea eax, [ebp - 0x348]
mov ebx, 0x238
push eax
lea eax, [ebp - 0x340]
mov dword [ebp - 0x348], ebx
push eax
push esi
push esi
push 0x408530
push dword [ebp - 0x344]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402376
push edi
mov edi, 0x104
lea eax, [ebp - 0x108]
push edi
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x108]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
test eax, eax
je 0x402323
push 0x401120
mov edx, edi
lea ecx, [ebp - 0x108]
call fcn.00406659
push 0x4091e4
lea eax, [ebp - 0x108]
push eax
push str.rundll32.exe__sadvpack.dll_DelNodeRunDLL32___s_
lea eax, [ebp - 0x340]
push ebx
push eax
call fcn.004016e6
add esp, 0x14
lea ecx, [ebp - 0x340]
lea edx, [ecx + 1]
pop edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40234e
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x340]
push eax
push 1
push esi
push 0x408530
push dword [ebp - 0x344]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x344]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406e20
mov esp, ebp
pop ebp
ret
Function at 0x402397
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
mov eax, dword [0x408004]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x4024d2
cmp byte [esi], 0
je 0x4024d2
mov ebx, 0x104
lea ecx, [esp + 0x150]
push esi
mov edx, ebx
call fcn.00401645
push 0x4011d4
mov edx, ebx
lea ecx, [esp + 0x154]
call fcn.0040167d
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4024d2
push esi
mov edx, ebx
lea ecx, [esp + 0x154]
call fcn.00401645
test byte [esp + 0x10], 0x10
lea eax, [esp + 0x3c]
je 0x402480
push 0x4011d8
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpA]
test eax, eax
je 0x4024b0
push 0x4011dc
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpA]
test eax, eax
je 0x4024b0
lea eax, [esp + 0x3c]
mov edx, ebx
push eax
lea ecx, [esp + 0x154]
call fcn.0040167d
push 0x401120
mov edx, ebx
lea ecx, [esp + 0x154]
call fcn.00406659
lea ecx, [esp + 0x150]
call fcn.00402397
jmp 0x4024b0
push eax
mov edx, ebx
lea ecx, [esp + 0x154]
call fcn.0040167d
push 0x80
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
lea eax, [esp + 0x150]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x40240e
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
push esi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00406e20
mov esp, ebp
pop ebp
ret

Function at 0x4024ec
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x408004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, 0x104
lea eax, [ebp - 0x108]
push edi
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
test eax, eax
je 0x402567
push 0x4011e0
mov edx, edi
lea ecx, [ebp - 0x108]
call fcn.00406659
lea eax, [ebp - 0x108]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringA]
push 0x40
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.DLL__lopen]
mov edi, eax
cmp edi, 0xffffffff
je 0x402567
push 2
push esi
push edi
call dword [sym.imp.KERNEL32.DLL__llseek]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.DLL__lclose]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00406e20
mov esp, ebp
pop ebp
ret