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

Disassembly:
call fcn.00499f2f
call fcn.00508569
call fcn.004e6f6e
mov dh, 0xd0
test al, 6
or al, byte [eax]
or dl, ah
invalid
jne 0x4a0c90
jb 0x523590
inc edi
dec ebx
push ss
sbb al, 0x91
scasb al, byte es:[edi]
pop ebx
sub al, 0x76
cmp eax, 0x121a737b
xchg ebp, eax
scasd eax, dword es:[edi]
push ebx
push edi
dec edx
les edi, ds:[eax - 0x25]
ljmp 0xc5c
mov dword [esp + eax - 0x3fc109f], eax
sal ax, 0x4c
lea edx, [esp + edx + 8]
cmovb eax, dword [esp + eax*8 - 0x1fe17ffc]
lea eax, [eax*8 + 0x4c1cd994]
rol eax, 0x8f
mov ax, word [edx + eax - 0x2cca35ff]
push 0x68269aaa
sub ebp, 2
jmp 0x53d36e
push 0xb1a862b9
mov word [ebp], ax
call fcn.005332ca
push esi
pushfd
mov esi, 0x93a05a0
call fcn.004eda85
mov eax, 0x451b1dbc
mov ecx, dword [ebp + eax - 0x451b1dbc]
or eax, eax
not eax
mov al, byte [ebp + 4]
jno 0x523585
xchg ecx, eax
and byte [edi - 0x20], 0x41
sbb eax, 0x8273c116
pop ds
dec edi
adc eax, 0xa9aef130
enter 0xffffffffffff9784, 0
invalid

Function at 0x54b015
Capabilities:
Encode data using xor

Disassembly:
xor dl, al
xchg ecx, eax
in al, 0x99
mov edi, edi
mov ecx, 0xa7a28b61
cmpsd dword [esi], dword es:[edi]
xchg byte [eax + eax*4 - 0x2a3bd13a], cl
scasb al, byte es:[edi]
fucompp
pushal
push ds
popal
sbb eax, 0x26155958
scasb al, byte es:[edi]
lcall 0x6c6c, 0x5a217230
sub eax, 0x22ecde30
cdq
or dword [esi + 0x19fc2350], esi
mov eax, 0x24d57912
lcall 0xe059, 0xa8049721
js 0x54afce
push ebp
cmc
pop eax
jecxz 0x54b084
int 0xdd
mov dword [ebp], edx
call fcn.004abfb8
aaa
jne 0x54b09e
fcmovnbe st(0), st(7)
cdq
loope 0x54afd9
dec edi
dec ebp
inc ebp
scasd eax, dword es:[edi]
mov bl, 0xa1
test eax, 0x1911434f
sti
out 0xb1, eax
or eax, 0x4c36faef
int1
push ss
dec ebx
bound ecx, qword [eax + esi*2 - 0x71]
adc edi, dword [eax - 0x1d]
lcall 0xd24b, 0x64b445eb
daa
sbb al, 0x3e
js 0x54afe6
mov ch, 0x66
dec ebx
mov bh, 3
mov ah, 0x45
sub edi, 6
into
fldcw word [esi]
outsb dx, byte [esi]
retf
aam 0xa8
or dl, byte [esi]
js 0x54b08a
idiv dl
pushfd
in al, 0xe
adc bl, byte [esp - 0x5a]
cli
mov esp, 0x44064ac4
dec esp
sar byte [ecx], cl
insb byte es:[edi], dx
das
dec esp
sbb al, 0x79
mov ss, word [esi]
pushal
aaa
mov ecx, 0x3be3581a
sub byte ds:[eax + 0x4d06f8cb], al
push ecx
aam 0x62
mov ebx, 0x224816a5
push edi
adc dh, byte [eax - 0x6d]
sub eax, 0xa9374f21
in eax, 0xaf
cmpsd dword [esi], dword es:[edi]
pop ecx
push ebp
pop es
psraw mm5, mm5
stosd dword es:[edi], eax
rcr dword [ebp + 0x11], cl
mov edi, 0xef0da147
dec ebp
xchg edi, eax
dec esp
add al, 0x7c
ret
Function at 0x403060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [esp + 0x34], 0x5f61b6a6
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0x41424fb
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x30], 0x41a8a702
add ebx, ebx
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x2c], 0x59ab309e
cmp ebx, 0x793c21c8
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
jne 0x40314c
mov eax, dword [esp + 0x34]
mov ecx, eax
xor ecx, 0x5f61b6a7
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0x393f43a3
add eax, 0xa09e4969
mov edx, dword [esp + 0x2c]
mov esi, edx
and esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov edi, dword [esp + 0x24]
mov dword [esp + 4], edi
mov dword [esp + 8], edx
movzx esi, byte [esi + 0x42a8ef]
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
call fcn.004012b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add eax, ecx
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x28]
imul edx, ecx, 0x85878fd
mov dword [esp + 0x40], edx
cmp eax, ecx
jne 0x4030cf
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x40], 0x3f7eb714
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x28]
cmp eax, 0
je 0x403144
jmp 0x4030cf
Function at 0x401000
Capabilities:
Create process on windows
Create process suspended

Disassembly:
sub esp, 0x854
push ebx
push esi
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x60]
push 0x400
push eax
push 0
mov dword [esp + 0x28], 0x44
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edi, [esp + 0x60]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
test ecx, ecx
jle 0x401056
mov al, byte [esp + ecx + 0x60]
mov byte [esp + ecx + 0x60], 0
cmp al, 0x5c
je 0x401056
dec ecx
test ecx, ecx
jg 0x401044
lea edi, [esp + 0x60]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
test ecx, ecx
jle 0x40107b
cmp byte [esp + ecx + 0x60], 0x5c
je 0x40107b
mov byte [esp + ecx + 0x60], 0
dec ecx
test ecx, ecx
jg 0x40106a
or ecx, 0xffffffff
mov edi, str.FSCOMMAND_
xor eax, eax
lea edx, [esp + 0x60]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x460]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x60]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x460]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [str.setup.exe]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x64]
push ecx
push edx
push 0
push 0x4000020
push 0
push 0
push 0
lea eax, [esp + 0x480]
push 0x4054d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x854
ret 0x10
Function at 0x401d85
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x405120
cmp edx, dword [eax]
je 0x401da7
add eax, 8
inc ecx
cmp eax, 0x4051b0
jl 0x401d98
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x405120]
jne 0x401ed5
mov eax, dword [0x4054dc]
cmp eax, 1
je 0x401eaf
test eax, eax
jne 0x401dd8
cmp dword [0x405070], 1
je 0x401eaf
cmp edx, 0xfc
je 0x401ed5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x401e0f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402330
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004024a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x401e52
lea eax, [ebp - 0x1a4]
push eax
call fcn.004024a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x404378
push edi
call fcn.00403130
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00402330
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402340
lea eax, [ebp - 0xa0]
push 0x404358
push eax
call fcn.00402340
push dword [esi + 0x405124]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402340
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040309e
add esp, 0x2c
pop edi
jmp 0x401ed5
lea eax, [ebp + 8]
lea esi, [esi + 0x405124]
push 0
push eax
push dword [esi]
call fcn.004024a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40bafa
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [edx + 0x14], 8
mov ebx, ecx
mov edi, dword [edx + 0x10]
jb 0x40bb12
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add edi, edi
je 0x40bb2e
movzx eax, byte [ecx + edx]
xor eax, esi
imul esi, eax, 0x1000193
inc ecx
cmp ecx, edi
jb 0x40bb1d
mov eax, dword [ebx + 0x18]
pop edi
and eax, esi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x40f4f3
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x10]
test esi, esi
je 0x40f6b7
mov ax, word [edi + 2]
xor ecx, ecx
mov word [ebp - 0x20], ax
add esi, 0xa
mov al, byte [edi + 4]
mov bh, cl
mov byte [ebp - 0x1e], al
xor eax, eax
mov dword [ebp - 0x1c], ecx
mov word [ebp - 0x18], ax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov byte [ebp - 1], bh
jmp 0x40f560
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
push dword [ebp + 8]
call fcn.0040ed0d
test eax, eax
js 0x40f63d
lea eax, [ebp - 0x20]
mov ecx, edi
je 0x40f614
push dword [ebp - 8]
push eax
call fcn.0040f464
mov esi, eax
push dword [edi + 0x14]
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
lea ecx, [ebp - 0x20]
call fcn.0040ee61
mov bl, al
test bl, bl
jne 0x40f534
mov esi, dword [ebp - 8]
mov dword [edi + 0x14], esi
xor edx, edx
test bh, bh
jne 0x40f5a5
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
and dword [ebp - 0x14], edx
mov word [ebp - 0x18], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], eax
call fcn.0040ed74
mov edx, eax
mov ax, word [edi + 6]
lea ecx, [ebp - 0x34]
and dword [ebp - 0x28], 0
mov word [ebp - 0x34], ax
mov al, byte [edi + 8]
mov byte [ebp - 0x32], al
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov word [ebp - 0x2c], ax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
call fcn.0040ed74
mov ebx, dword [edi + 0x18]
add eax, edx
mov dword [ebp - 0xc], eax
mov edx, ebx
mov eax, dword [edi + 0x14]
sub edx, eax
cmp eax, ebx
sbb ecx, ecx
and ecx, edx
mov edx, dword [ebp - 0xc]
cmp ecx, edx
jb 0x40f6b7
sub ebx, edx
lea ecx, [edx + esi]
sub ebx, esi
sub eax, esi
je 0x40f66e
test ecx, ecx
jne 0x40f64d
call dword [0x435208]
mov dword [eax], 0x16
call fcn.0042c1a0
jmp 0x40f66e
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 8]
push eax
call fcn.0040f333
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
jne 0x40f636
mov al, 1
jmp 0x40f6b9
mov bh, 1
mov byte [ebp - 1], bh
jmp 0x40f640
mov dword [ebp - 8], esi
test bl, bl
jne 0x40f57e
jmp 0x40f57b
test esi, esi
je 0x40f601
cmp ebx, eax
jae 0x40f663
call dword [0x435208]
mov dword [eax], 0x22
jmp 0x40f60d
push eax
push esi
push ecx
call fcn.0042c747
add esp, 0xc
mov eax, dword [edi + 0x14]
add eax, dword [ebp - 0xc]
cmp byte [ebp - 1], 0
mov dword [edi + 0x14], eax
jne 0x40f68c
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040ed98
jmp 0x40f69f
cmp byte [ebp - 0x1e], 0
je 0x40f69f
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
inc eax
push eax
call fcn.0040ed34
push dword [edi + 0x14]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040ed98
mov byte [edi + 0x20], 1
jmp 0x40f62f
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x42b85c
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x7180a11
rol byte [ebx], 1
add eax, 0x2048c56b
mov byte [0xac371d92], al
push esi
js 0x42b873
sbb dword [edx - 0x57], ebx
xchg ebp, eax
out dx, al
adc esp, dword [ebx - 0x3d]
jno 0x42b8f7
in eax, dx
call 0xb046dc3b
or byte [ebp - 0x6fe5af74], dl
xchg edx, eax
cmpsd dword [esi], dword es:[edi]
mov edx, 0xab67d3ce
xchg ecx, eax
pop eax
xor bl, al
sbb eax, 0x565353fb
clc
cld
mov byte [0x38d8fe56], al
cmp eax, 0x9e14920a
lea edx, [edi + 0x40]
lahf
cld
mov ecx, 0x69080faa
wait
xor eax, dword [eax + 0x5a]
cmpsb byte [esi], byte es:[edi]
mov dl, 0x2d
mov bl, 0x5d
push esi
and byte [edi - 0x69], al
aaa
js 0x42b87b
popfd
aam 0x87
sbb al, byte [esi + 0x6de1889f]
fistp qword [esi + 0xe3f7808]
pop edi
les ebx, ss:[eax]
fnstcw word [ebp + 0xcecbb43]
cmp edx, dword [ecx + 0x19]
adc al, 0x62
adc byte [eax], ah
out 0xc0, eax
mov al, 0x40
fst qword [eax]
inc edx
stc
pushal
popfd
invalid
imul ebp, esi, 0x56607602
adc byte [edx - 0x512315c7], cl
movsd dword es:[edi], dword [esi]
test byte [ecx], 0x25
mov es, word [0x163227f8]
rdtsc
sbb ebx, ecx
add ebx, ebx
xchg ecx, eax
nop
iretd
Function at 0x47f220
Capabilities:
Encode data using xor

Disassembly:
adc al, 0xa1
push ebp
cmp cl, dh
invalid
push ebx
mov ds, ebx
shl byte [ecx + 0x13], 0x18
sub al, 0x3f
cmp edx, dword [esi + ebp*2 + 0x32]
scasd eax, dword es:[edi]
xlatb
mov al, 0x8a
sbb byte [eax - 0x75], ch
pop es
xchg esi, eax
and eax, 0x4a96a98
or byte [esi], 0xcb
jle 0x47f1c6
int1
or eax, dword [0xa2d0617d]
aad 0x5c
aad 0x7f
inc esp
mov esi, 0xb21acecc
out 0x29, al
loopne 0x47f1f5
push edi
jo 0x47f2af
invalid
xchg esi, eax
retf
and eax, 0x70d62de8
jecxz 0x47f278
ror byte [ebx], 1
rcr dword [eax + 0x34], cl
jmp 0xb4bdf084

Function at 0x48a900
Capabilities:
Encode data using xor

Disassembly:
dec ecx
xor dword [ecx + 0x4921c564], 0xffffffb1
mov dl, 0x47
mov dl, 0x64
or edi, ebx
popfd
jmp 0x562848ce
push edx
mov ebx, 0x97ca7695
and bh, byte [esi + edi*4 - 0x28]
out 0x42, al
pop ecx
inc ebp
adc byte [ebp + 0x6c], ah
jno 0x48a8b8
lea eax, [esi - 0x1f068c84]
push ebx
mov bl, 0x93
insd dword es:[edi], dx
pop edi
enter 0x6fb0, 0xffffffffffffffda
jns 0x48a98e
insb byte es:[edi], dx
push ds
xor eax, 0xaebc992
dec edx
xchg ecx, eax
cmpsd dword [esi], dword es:[edi]
cwde
pop ds
jne 0x48a8ed
insd dword es:[edi], dx
push esi
les edi, [ebp + 0x29]
mov edx, 0xfafe64c5
dec eax
pop esi
invalid
mov edi, 0x5f5a036a
or byte [ebx + 0x1ce4617], ah
jo 0x48a9db
pop ds
mov bh, 0xca
jmp 0x48aa1c
sahf
popfd
sbb edx, dword [0x4d7e9d38]
std
int3
mov al, 0xf8
in al, 0x1d
Function at 0x498bf0
Capabilities:
Encode data using xor

Disassembly:
push edi
pop ecx
mov dl, 0xb4
fdiv dword [edx]
add al, 0x84
or byte [edx], ch
or dword [edi + 0x70], esp
sub cl, byte [ecx]
jo 0x498c21
invalid
xor byte [ecx], bl
push eax
pop esi
sbb dword [eax + 0x5e], edx
dec esi
fiadd dword [ebp - 0x771f3c6d]
jo 0x498c59
outsd dx, dword [esi]
popfd
pop esp
push edx
push ebx
inc ebp
pop ebx
call 0xfc883f9a
lahf
xor al, 0xee
pop ds
dec esp
jl 0x498c03
stosd dword es:[edi], eax
xchg ecx, eax
add cl, byte [edi + 0xc]
xor byte cs:[ebx - 0x5e], ah
mov esi, 0xb59d5c42
jecxz 0x498c6f
add dh, byte [edx + 0x13]
mov esp, 0x3b469637
salc
insd dword es:[edi], dx
or dword [eax - 0x300d63ff], esp
clc
add ch, byte [edi - 0x42]
mov ah, 9
das
dec edx
jge 0x498c53
fucomi st(5)
xor dword [edx + esi*2], 0x5b76b5c0
cmp eax, 0x59517bdf
jge 0x498bff
adc byte [esi], bl
in al, dx
dec edx
invalid
and edi, edi
jno 0x498bec
ja 0x498be3
int 0x80
jle 0x498c63
lea ebp, [edx - 4]
fidiv word [ecx + 0x786a8a5]
test al, 0x86
pop es
and eax, 0xb24c149f
arpl word [ecx + 0x6f], cx
cld
fistp dword [ecx + 0x79]
wait
out 0xaa, al
lcall 0xd7d8, 0xb000fab4
mov eax, 0x53334e97
stc
loopne 0x498cbd
pop edi
dec ebx
push 0x7f012ea3
jle 0x498c8d
call dword [ebx + edx*8 + 0x7296c1c2]
in eax, dx
sub byte [ecx], bh
jns 0x498cef
xchg esp, eax
rol edx, cl
rcl dword [esi + 0x3928ed72], 0x79
push esi
add ebp, dword [edi + 0x5a]
mov ch, 0x92
sar dword [ebx + 0x7c], 0x5d
push 0x57a217e
jle 0x498cc6
jp 0x498cac
jle 0x498cb0
push ebx
mov bh, 0x15
loop 0x498cf6
insb byte es:[edi], dx
pop esp
pop edi
mov edi, cr6
mov gs, eax
leave
add dh, byte [ebx + 0x51]
jmp 0xe1926dfb
dec eax
loope 0x498d28
dec ecx
xor eax, 0x50e23786
insb byte es:[edi], dx
push ebx
push esi
mov cl, 8
sar byte [edi + 0x48], cl
push ds
sbb cl, byte [esi]
push ebx
xor dl, al
jle 0x498d21
outsd dx, dword [esi]
into
mov word [ebx], es
outsb dx, byte [esi]
outsb dx, byte [esi]
movsb byte es:[edi], byte [esi]
popal
dec esi
adc ch, byte [edi]
mov dl, 0x3c
pop ss
add ebx, dword [edi + 0x69]
rcr dword [esi], 0xbc
adc al, 0x8a
sbb ebp, dword [ebp - 0x7b]
dec edi
int3
pop edx
cwde
sbb ebp, esp
dec esp
bound eax, qword [ebp - 0x10]
js 0x498d2e
cmp eax, 0x67afcce
movsb byte es:[edi], byte [esi]
sti
in eax, dx
jle 0x498cef
cmp eax, 0xaa1e6d08
sbb byte [esp + eax*8 + 0x67631678], ch
jle 0x498ca3
sbb ecx, dword [edx - 0x39]
aad 9
dec eax
scasb al, byte es:[edi]
pop edx
xchg edx, ebp
add edi, dword [eax + eax*8 - 0x2f]
in eax, dx
xor al, 0xc9
cmp eax, 0xdb45d5a7
xor ch, byte [ebp + edx*4 + 0x42f7fbcc]
jbe 0x498ccf
invalid
invalid
Function at 0x30023c44
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [section..cdata]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
push edi
mov word [ebp - 0x1c], 0x3a
mov word [ebp - 0x1a], 0x5c
mov word [ebp - 0x18], 0x2f
mov word [ebp - 0x16], 0x3c
mov word [ebp - 0x14], 0x3e
mov word [ebp - 0x12], 0x22
mov word [ebp - 0x10], 0x7c
mov word [ebp - 0xe], 0x2a
mov word [ebp - 0xc], 0x3f
mov word [ebp - 0xa], 0x26
mov word [ebp - 8], 0x2c
mov word [ebp - 6], 0x25
mov dword [ebp - 0x78], 0x300032e0
mov dword [ebp - 0x74], 0x300032d8
mov dword [ebp - 0x70], 0x300032d0
mov dword [ebp - 0x6c], 0x300032c0
mov dword [ebp - 0x68], 0x300032b8
mov dword [ebp - 0x64], 0x300032ac
mov dword [ebp - 0x60], 0x300032a0
mov dword [ebp - 0x5c], 0x30003294
mov dword [ebp - 0x58], 0x30003288
mov dword [ebp - 0x54], 0x3000327c
mov dword [ebp - 0x50], 0x30003270
mov dword [ebp - 0x4c], 0x30003264
mov dword [ebp - 0x48], 0x30003258
mov dword [ebp - 0x44], 0x3000324c
mov dword [ebp - 0x40], 0x30003240
mov dword [ebp - 0x3c], 0x30003234
mov dword [ebp - 0x38], 0x30003228
mov dword [ebp - 0x34], 0x3000321c
mov dword [ebp - 0x30], 0x30003210
mov dword [ebp - 0x2c], 0x30003204
mov dword [ebp - 0x28], 0x300031f8
mov dword [ebp - 0x24], 0x300031ec
mov dword [ebp - 0x20], 0x300031e0
xor ebx, ebx
jmp 0x30023d6f
mov ax, word [ecx]
xor edx, edx
cmp ax, word [ebp + edx*2 - 0x1c]
jne 0x30023d54
push 0x5f
pop eax
inc edx
cmp edx, 0xc
jl 0x30023d4a
cmp ax, bx
mov word [ecx], ax
jbe 0x30023d6d
cmp ax, 0x20
jae 0x30023d6d
mov word [ecx], 0x5f
inc ecx
inc ecx
cmp word [ecx], bx
jne 0x30023d45
mov esi, dword [ebp + ebx*4 - 0x78]
push esi
call fcn.3004e99c
mov edi, eax
push edi
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.30032aba
test eax, eax
jne 0x30023d9e
mov di, word [esi + edi*2]
test di, di
je 0x30023da6
cmp di, 0x2e
je 0x30023da6
inc ebx
cmp ebx, 0x17
jl 0x30023d74
jmp 0x30023dab
mov word [esi], 0x58
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.30062f67
leave
ret 4
Function at 0x3002f364
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [section..cdata]
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
xor eax, eax
mov word [ebp - 0x61c], si
mov ecx, 0x103
lea edi, [ebp - 0x61a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x20c], si
mov ecx, 0x81
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 8]
cmp edi, esi
mov dword [ebp - 0x620], esi
je 0x3002f4c2
call fcn.3002f302
test eax, eax
je 0x3002f3dc
cmp dword [ebp + 0xc], esi
je 0x3002f3dc
call fcn.30022c4c
test eax, eax
je 0x3002f4c2
push 0x30004a1c
jmp 0x3002f421
mov eax, dword [edi]
push esi
lea ecx, [ebp - 0x620]
push ecx
push esi
push 0x2001f
and eax, 0x10000000
push esi
neg eax
push esi
sbb eax, eax
push esi
neg eax
add eax, 0x80000001
push 0x300047e0
push eax
call dword [0x3000100c]
test eax, eax
je 0x3002f42b
call fcn.30022c4c
test eax, eax
je 0x3002f4c2
push 0x300049fc
call fcn.30022ce6
jmp 0x3002f4c2
cmp dword [ebp + 0xc], esi
jne 0x3002f443
push 0x30004784
push dword [ebp - 0x620]
call dword [0x3000103c]
jmp 0x3002f4c2
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [0x30001124]
cmp eax, esi
je 0x3002f4c2
dec eax
cmp word [ebp + eax*2 - 0x20c], 0x5c
jne 0x3002f456
push 0x74
mov word [ebp + eax*2 - 0x20c], si
push 0x300049e0
lea eax, [ebp - 0x20c]
push eax
push 0x300049c8
lea eax, [ebp - 0x61c]
push 0x208
push eax
call dword [fcn.300013f0]
add esp, 0x18
lea eax, [ebp - 0x61c]
push eax
call fcn.3004e99c
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x61c]
push eax
push 1
push esi
push 0x30004784
push dword [ebp - 0x620]
call dword [0x30001038]
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.30062f67
leave
ret 8

Function at 0x30036256
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [ebp + 0x10]
jle 0x30036293
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x30036270
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x300362af
dec esi
je 0x300362a8
dec esi
jne 0x300362b4
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x3004befc
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30063558
push 0x300632f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 8], 0
je 0x3004bfe2
cmp dword [ebp + 8], 0xffffffff
je 0x3004bfe2
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x3004bfc2
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0x4550
jne 0x3004bf88
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx + 0x18]
cmp eax, 0x10b
je 0x3004bf91
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + 0x18]
cmp edx, 0x20b
je 0x3004bf91
mov dword [ebp - 0x1c], 0
jmp 0x3004bfc2
cmp dword [ebp + 0xc], 0
je 0x3004bfc2
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
jne 0x3004bfb5
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.3004bcf4
jmp 0x3004bfc2
mov ecx, 0x42
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], 0xffffffff
jmp 0x3004bfe2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x3004bff8
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x3004c023
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 6]
cmp dword [ebp - 8], eax
jae 0x3004c05b
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ecx + 0xc]
jb 0x3004c050
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x10]
cmp dword [ebp + 0x10], ecx
jae 0x3004c050
mov eax, dword [ebp - 4]
jmp 0x3004c05d
mov eax, dword [ebp - 4]
add eax, 0x28
mov dword [ebp - 4], eax
jmp 0x3004c01a
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x3004e915
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, 3
je 0x3004e949
cmp byte [eax], 0
je 0x3004e98d
lea eax, [eax + 1]
test eax, 3
je 0x3004e949
cmp byte [eax], 0
je 0x3004e98d
lea eax, [eax + 1]
test eax, 3
je 0x3004e949
cmp byte [eax], 0
je 0x3004e98d
lea eax, [eax + 1]
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x1010101
xor edx, ecx
and edx, 0x80808080
je 0x3004e949
test cl, cl
lea eax, [eax - 4]
je 0x3004e98d
test ecx, 0xff00
lea eax, [eax + 1]
je 0x3004e98d
test ecx, 0xff0000
lea eax, [eax + 1]
je 0x3004e98d
test ecx, 0xff000000
lea eax, [eax + 1]
je 0x3004e98d
lea eax, [eax + 1]
jmp 0x3004e949
sub eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4