joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x762f3c01
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x79ff5909
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x13535ce
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, 0x5a4d
push ebx
push esi
mov esi, edx
push edi
mov edi, ecx
cmp word [esi], ax
jne 0x1353731
mov ebx, dword [esi + 0x3c]
add ebx, esi
cmp dword [ebx], 0x4550
jne 0x1353731
mov eax, dword [edi + 0x684]
test eax, eax
je 0x1353731
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push 0xffffffffffffffff
call eax
test eax, eax
je 0x1353731
mov eax, 0x1c0
cmp word [ebp - 4], ax
je 0x1353636
mov eax, 0xaa64
cmp word [ebp - 4], ax
jne 0x1353731
cmp dword [ebx + 8], 0x27debf2c
jne 0x1353661
push 0x4b2e8f83
push 0x4b2e8de3
push 0x4b280000
mov edx, esi
mov ecx, edi
call fcn.01353548
add esp, 0xc
xor eax, eax
jmp 0x1353736
cmp dword [ebx + 8], 0x88330560
jne 0x1353676
push 0x4b3fabde
push 0x4b3fa92b
jmp 0x1353649
cmp dword [ebx + 8], 0xe892dd44
jne 0x135368b
push 0x4b406b8e
push 0x4b4068db
jmp 0x1353649
and dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push 0
push 1
push ecx
push 0x2bcd03a7
push esi
mov ecx, edi
call fcn.01354000
test eax, eax
js 0x1353736
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1353731
lea eax, [ebx - 0x140]
mov dword [ebp - 0x1c], 0x3f3f3fe8
push 8
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x18], 0x843f
push ecx
mov edx, 0x140
mov byte [ebp - 0x16], 0xc0
mov ecx, eax
mov dword [ebp - 0x24], 0x1b8
mov word [ebp - 0x20], 0x8400
mov byte [ebp - 0x1e], 0xc0
mov dword [ebp - 0x10], eax
call fcn.01354598
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1353701
mov ecx, dword [ebp - 0x10]
mov edx, 0x140
jmp 0x135371e
push 7
lea eax, [ebp - 0x1c]
mov edx, 0x200
push eax
mov ecx, ebx
call fcn.01354598
test eax, eax
jne 0x135373b
mov edx, 0x200
mov ecx, ebx
push 8
lea eax, [ebp - 0x24]
push eax
call fcn.01354598
test eax, eax
jne 0x135365a
mov eax, 0xe0010001
pop edi
pop esi
pop ebx
leave
ret
push eax
push dword [ebp - 0x14]
push esi
jmp 0x135364e

Function at 0x1354420
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x135443e
mov eax, dword [ecx + 0x3c]
cmp eax, 0x400
jg 0x135443e
add eax, ecx
cmp dword [eax], 0x4550
je 0x1354440
xor eax, eax
ret
Function at 0x1357800
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov edx, 1
push ebx
push esi
push edi
xor esi, esi
mov eax, edx
mov dword [ebp + esi*4 - 0x808], edx
and al, 0x80
mov dword [ebp + edx*4 - 0x408], esi
movzx ecx, al
lea eax, [edx + edx]
neg ecx
sbb ecx, ecx
inc esi
and ecx, 0x1b
xor ecx, eax
xor ecx, edx
movzx edx, cl
cmp esi, 0x100
jl 0x1357813
mov esi, 1
mov edx, 0x135eab8
nop dword [eax]
mov eax, esi
mov dword [edx], esi
and al, 0x80
movzx ecx, al
lea eax, [esi + esi]
neg ecx
sbb ecx, ecx
add edx, 4
and ecx, 0x1b
xor ecx, eax
movzx esi, cl
cmp edx, 0x135eae0
jl 0x1357850
mov eax, 1
mov byte [0x135c8b8], 0x63
mov byte [0x135da1b], 0
mov dword [ebp - 4], eax
nop dword [eax]
mov ecx, dword [ebp + eax*4 - 0x408]
lea eax, [ebp - 0x40c]
shl ecx, 2
sub eax, ecx
mov ebx, dword [eax]
mov ecx, ebx
sar ecx, 7
lea eax, [ebx + ebx]
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
shr ecx, 7
add eax, eax
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
add eax, eax
shr ecx, 7
or ecx, eax
movzx edx, cl
mov ecx, edx
shr ecx, 7
lea eax, [edx + edx]
or ecx, eax
xor ecx, 0x63
movzx eax, cl
xor eax, edx
xor ebx, eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x135c8b8], bl
mov byte [ebx + 0x135d9b8], al
inc eax
mov dword [ebp - 4], eax
cmp eax, 0x100
jl 0x1357890
mov ebx, 0xff
xor esi, esi
mov dword [ebp - 8], ebx
movzx edx, byte [esi + 0x135c8b8]
mov eax, edx
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx eax, cl
mov ecx, eax
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, eax
mov dword [esi*4 + 0x135c9b8], ecx
rol ecx, 8
mov dword [esi*4 + 0x135cdb8], ecx
rol ecx, 8
mov dword [esi*4 + 0x135d1b8], ecx
rol ecx, 8
mov dword [esi*4 + 0x135d5b8], ecx
movzx ecx, byte [esi + 0x135d9b8]
test ecx, ecx
je 0x13579bf
mov ecx, dword [ebp + ecx*4 - 0x408]
mov eax, dword [ebp - 0x3d0]
add eax, ecx
cdq
idiv ebx
mov eax, dword [ebp - 0x3e4]
add eax, ecx
mov edi, dword [ebp + edx*4 - 0x808]
cdq
idiv ebx
mov eax, dword [ebp - 0x3d4]
add eax, ecx
mov ebx, dword [ebp + edx*4 - 0x808]
cdq
idiv dword [ebp - 8]
mov eax, dword [ebp + edx*4 - 0x808]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x3dc]
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov eax, dword [ebp + edx*4 - 0x808]
jmp 0x13579c8
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ebx
xor eax, eax
shl eax, 8
xor eax, dword [ebp - 4]
shl eax, 8
xor eax, ebx
mov ebx, 0xff
shl eax, 8
xor eax, edi
mov dword [esi*4 + 0x135dab8], eax
rol eax, 8
mov dword [esi*4 + 0x135deb8], eax
rol eax, 8
mov dword [esi*4 + 0x135e2b8], eax
rol eax, 8
mov dword [esi*4 + 0x135e6b8], eax
inc esi
cmp esi, 0x100
jl 0x1357905
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1357a20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x18
test al, 0xf
je 0x1357a36
mov eax, 0xffffffde
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x1357b8a
cmp dword [ebp + 0xc], 0
mov ecx, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
jne 0x1357ad2
mov ebx, dword [ebp + 0x18]
lea edx, [ecx + 0xf]
dec eax
mov dword [ebp - 8], edx
mov edi, ecx
shr eax, 4
sub edi, esi
inc eax
mov dword [ebp + 0x10], eax
movups xmm0, xmmword [ebx]
push esi
push ebx
push dword [ebp + 8]
movups xmmword [ebp - 0x18], xmm0
call fcn.01358d60
add esp, 0xc
cmp esi, dword [ebp - 8]
ja 0x1357aa3
lea eax, [esi + 0xf]
cmp eax, dword [ebp + 0x14]
jb 0x1357aa3
mov ecx, esi
mov edx, 0x10
nop
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x1357a90
mov eax, dword [ebp + 0x14]
jmp 0x1357ab3
mov eax, dword [ebp + 0x14]
movups xmm0, xmmword [esi]
movups xmm1, xmmword [eax]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
movups xmm0, xmmword [ebp - 0x18]
add esi, 0x10
add ebx, 0x10
sub edi, 0x10
sub dword [ebp + 0x10], 1
movups xmmword [eax], xmm0
jne 0x1357a66
pop edi
pop esi
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x18]
lea edx, [eax - 1]
mov ebx, ecx
shr edx, 4
sub ebx, edi
mov dword [ebp - 4], esi
inc edx
mov dword [ebp + 0x10], ebx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
nop dword [eax]
lea eax, [edi + 0xf]
cmp esi, eax
ja 0x1357afe
lea eax, [esi + 0xf]
cmp eax, edi
jae 0x1357b0c
lea eax, [ecx + 0xf]
cmp esi, eax
ja 0x1357b3d
lea eax, [esi + 0xf]
cmp eax, ecx
jb 0x1357b3d
mov ebx, esi
mov ecx, edi
mov esi, dword [ebp + 0x10]
sub ebx, edi
mov edx, 0x10
nop word [eax + eax]
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub edx, 1
jne 0x1357b20
mov esi, dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
jmp 0x1357b4a
movups xmm1, xmmword [ecx]
movups xmm0, xmmword [edi]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
cmp dword [ebp + 0xc], 1
push esi
push esi
push edx
jne 0x1357b5a
call fcn.013592f0
jmp 0x1357b5f
call fcn.01358d60
movups xmm0, xmmword [esi]
mov ecx, dword [ebp + 0x14]
sub ebx, 0x10
mov edx, dword [ebp + 8]
add esi, 0x10
add esp, 0xc
mov dword [ebp + 0x10], ebx
add edi, 0x10
mov dword [ebp - 4], esi
sub dword [ebp - 8], 1
movups xmmword [ecx], xmm0
jne 0x1357af0
pop edi
pop esi
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1357bd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
push edi
push dword [ebp + 0x10]
xor eax, eax
lea edi, [ebp - 0x118]
push dword [ebp + 0xc]
mov ecx, 0x46
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x118]
push eax
lea esi, [edi + 8]
mov dword [edi + 4], esi
call fcn.01357dd0
add esp, 0xc
mov dword [ebp + 8], eax
test eax, eax
jne 0x1357dc4
mov ecx, dword [ebp - 0x118]
mov dword [edi], ecx
shl ecx, 4
add ecx, dword [ebp - 0x114]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
sub ecx, 0x10
mov dword [esi + 0xc], eax
add esi, 0x10
mov edi, dword [edi]
dec edi
test edi, edi
jle 0x1357dab
push ebx
nop dword [eax]
movzx eax, byte [ecx + 3]
dec edi
movzx edx, byte [eax + 0x135c8b8]
movzx eax, byte [ecx + 2]
mov edx, dword [edx*4 + 0x135e6b8]
movzx eax, byte [eax + 0x135c8b8]
xor edx, dword [eax*4 + 0x135e2b8]
movzx eax, byte [ecx + 1]
movzx eax, byte [eax + 0x135c8b8]
xor edx, dword [eax*4 + 0x135deb8]
movzx eax, byte [ecx]
movzx eax, byte [eax + 0x135c8b8]
xor edx, dword [eax*4 + 0x135dab8]
mov dword [esi], edx
mov ebx, dword [ecx + 4]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x135c8b8]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x135e2b8]
movzx eax, byte [eax + 0x135c8b8]
xor edx, dword [eax*4 + 0x135deb8]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x135c8b8]
xor edx, dword [eax*4 + 0x135e6b8]
movzx eax, bl
movzx eax, byte [eax + 0x135c8b8]
xor edx, dword [eax*4 + 0x135dab8]
mov dword [esi + 4], edx
mov ebx, dword [ecx + 8]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x135c8b8]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x135e2b8]
movzx eax, byte [eax + 0x135c8b8]
xor edx, dword [eax*4 + 0x135deb8]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x135c8b8]
xor edx, dword [eax*4 + 0x135e6b8]
movzx eax, bl
movzx eax, byte [eax + 0x135c8b8]
xor edx, dword [eax*4 + 0x135dab8]
mov dword [esi + 8], edx
mov ebx, dword [ecx + 0xc]
mov eax, ebx
shr eax, 0x10
sub ecx, 0x10
movzx eax, al
movzx edx, byte [eax + 0x135c8b8]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x135e2b8]
movzx eax, byte [eax + 0x135c8b8]
xor edx, dword [eax*4 + 0x135deb8]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x135c8b8]
xor edx, dword [eax*4 + 0x135e6b8]
movzx eax, bl
movzx eax, byte [eax + 0x135c8b8]
xor edx, dword [eax*4 + 0x135dab8]
mov dword [esi + 0xc], edx
add esi, 0x10
test edi, edi
jg 0x1357c50
pop ebx
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1359880
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x3c], 0x6b25
mov edx, 0x6b41
mov word [ebp - 0x38], dx
mov eax, 0x6b47
mov word [ebp - 0x36], ax
mov ecx, 0x6b49
mov eax, 0x6b42
mov word [ebp - 0x34], ax
mov eax, 0x6b4d
mov word [ebp - 0x32], ax
mov eax, 0x6b40
mov word [ebp - 0x30], ax
mov eax, 0x6b55
mov word [ebp - 0x2e], cx
mov word [ebp - 0x2c], ax
mov eax, 0x6b0b
mov word [ebp - 0x2a], ax
xor eax, eax
mov word [ebp - 0x28], dx
xor edx, edx
mov word [ebp - 0x26], cx
mov word [ebp - 0x24], cx
mov word [ebp - 0x22], ax
mov ax, word [ebp - 0x38]
nop dword [eax]
mov ax, word [ebp + edx*2 - 0x38]
movzx ecx, ax
movzx eax, word [ebp - 0x3c]
xor ecx, eax
mov word [ebp + edx*2 - 0x38], cx
inc edx
cmp edx, 0xb
jb 0x13598f0
push esi
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [edi + 0x6a0]
call eax
mov edx, eax
test edx, edx
jne 0x1359931
pop edi
mov eax, 0xe0d00721
pop esi
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x1e], 0x55
xor ecx, ecx
mov byte [ebp - 0x1d], 0x71
mov byte [ebp - 0x1c], 0x76
mov byte [ebp - 0x1b], 0x71
mov byte [ebp - 0x1a], 0x4c
mov byte [ebp - 0x19], 0x7d
mov byte [ebp - 0x18], 0x75
mov byte [ebp - 0x17], 0x78
mov byte [ebp - 0x16], 0x5f
mov byte [ebp - 0x15], 0x7a
mov byte [ebp - 0x14], 0x71
mov byte [ebp - 0x13], 0x7c
mov byte [ebp - 0x12], 0x6d
mov byte [ebp - 0x11], 0x4c
mov byte [ebp - 0x10], 0x7d
mov byte [ebp - 0xf], 0x75
mov byte [ebp - 0xe], 0x78
mov byte [ebp - 0xd], 0
mov al, byte [ebp - 0x1e]
nop
mov al, byte [ebp + ecx - 0x1e]
movsx eax, al
sub eax, 8
mov byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 0x11
jb 0x1359980
lea eax, [ebp - 0x1e]
push eax
mov eax, dword [edi + 0x6a8]
push edx
call eax
mov esi, eax
test esi, esi
jne 0x13599b2
pop edi
mov eax, 0xe0d00728
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x68c]
push ebx
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push dword [ebp + 0xc]
call eax
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x13599e3
pop ebx
pop edi
mov eax, 0xe0d00751
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x748]
call eax
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0xc], eax
test ecx, ecx
push 0
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 8], ecx
cmove eax, edx
mov dword [ebp - 4], 1
push eax
push dword [ebp + 0x14]
mov eax, dword [edi + 0x75c]
push ebx
call eax
push eax
push 0xffffffffffffffff
call esi
mov ecx, dword [edi + 0x698]
mov esi, eax
push ebx
call ecx
xor ecx, ecx
mov eax, 0xe0d00770
pop ebx
test esi, esi
pop edi
cmovne eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x135bc90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
xor ecx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x24]
mov word [edi], cx
test eax, eax
je 0x135be8d
push ebx
mov ebx, dword [esi + 0x24]
test ebx, ebx
je 0x135be8c
mov ecx, 0x27
mov edx, 0x32
nop word [eax + eax]
mov word [ebp - 0x26], cx
mov eax, 0x34
mov word [ebp - 0x24], dx
mov word [ebp - 0x22], ax
mov eax, 0x5a
mov word [ebp - 0x20], ax
xor eax, eax
mov word [ebp - 0x1e], ax
xor ecx, ecx
mov ax, word [ebp - 0x26]
nop word [eax + eax]
mov ax, word [ebp + ecx*2 - 0x26]
movzx eax, ax
add eax, 0xfffffffe
mov word [ebp + ecx*2 - 0x26], ax
inc ecx
cmp ecx, 4
jb 0x135bd00
movsx eax, byte [esi + ebx + 0x28]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [esi + 0x770]
call eax
add esp, 0xc
cmp word [edi], 0
jne 0x135bd87
mov dword [ebp - 0x1c], 0x951e
mov eax, 0x953b
mov word [ebp - 0x18], ax
mov eax, 0x9572
mov word [ebp - 0x16], ax
mov eax, 0x956d
mov word [ebp - 0x14], ax
xor eax, eax
mov word [ebp - 0x12], ax
xor edx, edx
mov ax, word [ebp - 0x18]
mov ax, word [ebp + edx*2 - 0x18]
movzx ecx, ax
movzx eax, word [ebp - 0x1c]
xor ecx, eax
mov word [ebp + edx*2 - 0x18], cx
inc edx
cmp edx, 3
jb 0x135bd63
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x18]
jmp 0x135bdf3
mov dword [ebp - 0x10], 0x65c3
mov eax, dword [ebp - 0x10]
xor eax, 0x25
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0x10]
inc eax
xor eax, 0x6c
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x10]
add eax, 2
xor eax, 0x73
mov word [ebp - 8], ax
mov eax, dword [ebp - 0x10]
add eax, 3
xor eax, 0x2d
mov word [ebp - 6], ax
xor eax, eax
mov word [ebp - 4], ax
mov ax, word [ebp - 0xc]
xor eax, eax
nop dword [eax]
mov cx, word [ebp + eax*2 - 0xc]
mov edx, dword [ebp - 0x10]
add edx, eax
movzx ecx, cx
xor edx, ecx
mov word [ebp + eax*2 - 0xc], dx
inc eax
cmp eax, 4
jb 0x135bdd0
xor eax, eax
mov word [ebp - 4], ax
lea eax, [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 0x450]
push eax
mov eax, dword [esi + 0x770]
call eax
mov dword [ebp - 0x3c], 0x882e
mov eax, 0x880b
mov word [ebp - 0x38], ax
mov ecx, 0x8842
mov word [ebp - 0x36], cx
mov edx, 0x885d
mov word [ebp - 0x34], dx
add esp, 0xc
mov word [ebp - 0x32], ax
xor eax, eax
mov word [ebp - 0x30], cx
mov word [ebp - 0x2e], dx
xor edx, edx
mov word [ebp - 0x2c], ax
mov ax, word [ebp - 0x38]
mov ax, word [ebp + edx*2 - 0x38]
movzx ecx, ax
movzx eax, word [ebp - 0x3c]
xor ecx, eax
mov word [ebp + edx*2 - 0x38], cx
inc edx
cmp edx, 6
jb 0x135be41
xor eax, eax
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [esi + 0x770]
push edi
call eax
mov ecx, 0x27
add esp, 0x10
lea edx, [ecx + 0xb]
sub ebx, 1
jne 0x135bcd0
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401cd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x401d28
cmp byte [esi + ebx - 1], 0xa
je 0x401cfc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4030f8], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x402300
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40891d
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4085d8
call fcn.00408935
mov ecx, esi
sub ecx, esi
xor dword [eax], edi
inc eax
cmp eax, ebx
jne fcn.0040891d
ret

Function at 0x8ccbb4
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x8cc92e
add eax, 1
sub edi, eax
sub edi, 1
call fcn.008ccbf9
add edi, edi
add edi, 0x60fb093e
xor dword [ebx], edx
dec eax
or eax, eax
add ebx, 1
add edi, eax
and edi, edi
sub edi, 0xdef15b36
cmp ebx, esi
jne fcn.008ccbb4
add eax, eax
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x72552fe5
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..rdata
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x1e81614d
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x403640
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x63aa18]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403810
mov eax, dword [esp + 8]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x61707865
mov dword [eax + 8], 0x61707865
mov dword [eax + 0xc], 0x61707865
mov dword [eax + 0x10], 0x3320646e
mov dword [eax + 0x14], 0x3320646e
mov dword [eax + 0x18], 0x3320646e
mov dword [eax + 0x1c], 0x3320646e
mov dword [eax + 0x20], 0x79622d32
mov dword [eax + 0x24], 0x79622d32
mov dword [eax + 0x28], 0x79622d32
mov dword [eax + 0x2c], 0x79622d32
mov dword [eax + 0x30], 0x6b206574
mov dword [eax + 0x34], 0x6b206574
mov dword [eax + 0x38], 0x6b206574
mov dword [eax + 0x3c], 0x6b206574
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc0], ecx
lea edx, [ecx + 1]
mov dword [eax + 0xc4], edx
lea edx, [ecx + 2]
mov dword [eax + 0xc8], edx
add ecx, 3
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
ret
call sym.runtime.morestack_noctxt
jmp sym.internal_chacha8rand.setup