joyce8/EMBER2024-capa huggingface dataset:
Function at 0x16a4120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.GVD1
lea edi, [esi - 0x1270000]
push edi
or ebp, 0xffffffff
jmp 0x16a4142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a4149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x16a4138
mov eax, 1
add ebx, ebx
jne 0x16a415d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a416e
jne 0x16a417e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a417e
dec eax
add ebx, ebx
jne 0x16a417a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a4152
xor ecx, ecx
sub eax, 3
jb 0x16a4196
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a420a
sar eax, 1
mov ebp, eax
jmp 0x16a41a1
add ebx, ebx
jne 0x16a41a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x16a41ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x16a41d2
inc ecx
add ebx, ebx
jne 0x16a41be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a41b3
jne 0x16a41cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a41b3
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x16a41f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a41e6
jmp 0x16a413e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a41f4
add edi, ecx
jmp 0x16a413e
pop esi
mov edi, esi
mov ecx, 0x346a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a4212
cmp byte [edi], 0x16
jne 0x16a4212
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x16a4217
lea edi, [esi + 0x12a1000]
mov eax, dword [edi]
or eax, eax
je 0x16a4286
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a57f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a58e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a4244
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a58ec]
or eax, eax
je 0x16a4280
mov dword [ebx], eax
add ebx, 4
jmp 0x16a4261
call dword [esi + 0x12a58f0]
popal
jmp 0x46b748

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

Disassembly:
pushal
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x412c10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x412c69
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004127de
push eax
push esi
push dword [ebp + 8]
call fcn.00412793
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004127ce
sbb eax, 0x88fd0771
popfd
jl 0x412c53
invalid
invalid
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.004127ce
movsb byte es:[edi], byte [esi]
xchg esi, eax
inc edx
lea eax, [ebp - 0x84]
push eax
call fcn.004127de
push eax
push esi
push dword [ebp + 8]
call fcn.00412793
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x412fc7
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.0041273f
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x412d3e
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.0041273f
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x412d0b
call fcn.004127ce
jmp 0x8c0920f0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100014b0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 4], 0
jmp 0x10001522
jmp 0x10001570
mov eax, dword [sym.imp.KERNEL32.dll_GetACP]
call eax
mov ecx, esp
mov dword [ecx], 0xec1bec
mov ecx, dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x10], eax
call ecx
sub esp, 4
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], eax
jmp 0x10001530
jmp 0x100014bf
mov eax, esp
mov dword [eax + 4], 0x2f8
mov dword [eax], 0x4f5679
mov eax, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
call eax
sub esp, 8
mov ecx, dword [sym.imp.GDI32.dll_GdiFlush]
mov dword [ebp - 0x18], eax
call ecx
mov dword [ebp - 0x1c], eax
jmp 0x100014ed
jmp 0x100015ef
jmp 0x10001601
cmp dword [ebp - 4], 0xb1
jne 0x100014c4
jmp 0x10001611
cmp dword [ebp - 8], 0x392
je 0x1000157d
mov eax, dword [ebp - 8]
mov ecx, 0xaaaaaaab
mov dword [ebp - 0x20], eax
mul ecx
shr edx, 3
imul eax, edx, 0xc
mov ecx, dword [ebp - 0x20]
sub ecx, eax
mov eax, ecx
sub eax, 3
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
je 0x100014ef
jmp 0x10001560
mov eax, dword [ebp - 0x24]
sub eax, 0xa
mov dword [ebp - 0x2c], eax
je 0x100014ed
jmp 0x100014bf
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x10001530
mov eax, dword [ebp - 4]
mov ecx, 0xcc29786d
mov dword [ebp - 0x30], eax
mul ecx
shr edx, 8
imul eax, edx, 0x141
mov ecx, dword [ebp - 0x30]
sub ecx, eax
mov eax, ecx
sub eax, 5
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
je 0x100015d4
jmp 0x100015a7
mov eax, dword [ebp - 0x34]
sub eax, 0x54
mov dword [ebp - 0x3c], eax
jne 0x100015d9
jmp 0x100015b4
mov eax, esp
mov dword [eax], 0xedff59
mov eax, dword [sym.imp.ADVAPI32.dll_DeleteService]
call eax
sub esp, 4
mov ecx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
call ecx
mov dword [ebp - 0x44], eax
jmp 0x1000151d
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0xa
jne 0x10001518
jmp 0x100015fc
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x100015e0
jmp 0x1000151d
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x10001522
add esp, 0x4c
pop ebp
ret
Function at 0x10001f80
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x10111c98], 0x214c
mov dword [ebp - 0xc], 0
mov dword [0x10111c98], 0x1a44
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
mov dword [0x10111c98], 0x15d3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
jmp 0x10001ff3
jmp 0x10002103
mov dword [0x10111c94], 0x17a7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
je 0x10002075
jmp 0x10001fcc
cmp dword [ebp - 8], 0x104
jge 0x10002030
mov dword [0x10111c98], 0x178b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + ecx*2]
cmp eax, 0
jne 0x10002019
jmp 0x10002030
mov dword [0x10111c94], 0x2527
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x10001ff3
mov dword [0x10111c98], 0x2695
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
jne 0x10002105
mov dword [0x10111c94], 0x1b7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + ecx*2 - 0x18]
cmp eax, 0x6f
je 0x10001fd1
jmp 0x10002103
mov eax, dword [0x10111c94]
sub eax, 0xc08
mov dword [0x10111c94], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
jne 0x100020fe
mov dword [0x10111c94], 0xa9c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + ecx*2 - 0x12]
cmp eax, 0x64
jne 0x100020fc
mov dword [0x10111c94], 0x553
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
jne 0x100020fa
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx eax, word [ecx + eax*2 - 0xe]
cmp eax, 0x6c
jne 0x100020f8
mov eax, dword [0x10111c98]
sub eax, 0x136c
mov dword [0x10111c98], eax
mov dword [ebp - 4], 1
jmp 0x10002116
jmp 0x100020fa
jmp 0x100020fc
jmp 0x100020fe
jmp 0x10001fcc
jmp 0x10002105
mov dword [0x10111c94], 0x21c9
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 0x10
pop ebp
ret

Function at 0x10002410
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.10002410]
mov dword [ebp - 8], eax
jmp 0x1000244b
mov eax, dword [ebp - 4]
add esp, 8
pop ebp
ret
jmp 0x1000246c
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x10002421
mov eax, dword [0x10111c94]
add eax, 0x218a
mov dword [0x10111c98], eax
mov dword [ebp - 4], 0
jmp 0x10002421
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1000246c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
je 0x1000242b
jmp 0x10002429
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov dword [0x10111c98], 0xe24
mov al, 1
test al, 1
jne 0x1000244b
jmp 0x10002433
Function at 0x401440
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0xbbeaf81f
xor ebx, 0xbfeaf81f
jmp 0x4014f0
mov edx, 0xa919783e
xor edx, 0xa919783a
mov ecx, 0x25135daf
xor ecx, 0x25136daf
mov eax, 0x500
ror eax, 0x1c
push edx
push ecx
push eax
mov edx, dword [ebp - 0xb4]
rol edx, 4
rol edx, 0xa
mov dword [ebp - 8], edx
push ebx
call fcn.00401644
push esi
pop ecx
mov ebx, eax
test ebx, ebx
je 0x4014f0
sub ebx, 0x86b78ac7
mov dword [ebp - 0x10], ebx
ret

Function at 0x40f080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40f0a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f098
mov eax, 1
add ebx, ebx
jne 0x40f0bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f0b0
jne 0x40f0cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0b0
xor ecx, ecx
sub eax, 3
jb 0x40f0e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f152
mov ebp, eax
add ebx, ebx
jne 0x40f0eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f0f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f11c
inc ecx
add ebx, ebx
jne 0x40f108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f0fd
jne 0x40f119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f13c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f12d
jmp 0x40f09e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f13c
add edi, ecx
jmp 0x40f09e
pop esi
mov edi, esi
mov ecx, 0x265
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f15a
cmp byte [edi], 2
jne 0x40f15a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x40f15f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f1ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f18c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf068]
or eax, eax
je 0x40f1c8
mov dword [ebx], eax
add ebx, 4
jmp 0x40f1a9
call dword [esi + 0xf06c]
popal
jmp 0x40354a
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x499c52b5
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2e0506a4
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x319e6eac
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x10ae28a5
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x42e410
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c000]
push edi
jmp 0x42e42a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42e431
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42e420
mov eax, 1
add ebx, ebx
jne 0x42e443
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42e438
jne 0x42e454
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42e438
xor ecx, ecx
sub eax, 3
jb 0x42e468
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42e4da
mov ebp, eax
add ebx, ebx
jne 0x42e473
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42e480
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42e4a4
inc ecx
add ebx, ebx
jne 0x42e490
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42e485
jne 0x42e4a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42e485
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42e4c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42e4b5
jmp 0x42e426
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42e4c4
add edi, ecx
jmp 0x42e426
pop esi
mov edi, esi
mov ecx, 0xa88
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42e4e2
cmp byte [edi], 0x12
jne 0x42e4e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x42e4e7
lea edi, [esi + 0x2c000]
mov eax, dword [edi]
or eax, eax
je 0x42e55f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x330f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x331d8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42e514
mov ecx, edi
jns 0x42e543
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x331e0]
or eax, eax
je 0x42e559
mov dword [ebx], eax
add ebx, 4
jmp 0x42e531
call dword [esi + 0x331dc]
mov ebp, dword [esi + 0x331e4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42e593
sub esp, 0xffffff80
jmp 0x41c35f
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
mov esi, str.Simple_file_encryptor_r_nVersion_1.0_by_Vortex_r_n_r_nUsage_:_encrypt_sourcefile.exe_destfile.ext_encryption_byte_r_n_r_n
cmp dword [ebp + 8], 4
jne 0x4010c7
mov esi, dword [ebp + 0xc]
push dword [esi + 0xc]
call fcn.004012c0
mov ah, al
mov ecx, eax
shl eax, 0x10
mov ax, cx
mov dword [ebp - 4], eax
push 0x402224
push 0x402220
push dword [esi + 4]
call fcn.00401150
mov esi, str.Source_file_read_error
cmp eax, 3
jne 0x4010c7
mov esi, dword [0x402220]
mov edi, dword [ebp - 4]
mov ebx, dword [0x402224]
cmp ebx, 4
jb 0x401076
shr ebx, 2
xor dword [esi], edi
add esi, 4
dec ebx
jne 0x401060
mov edi, dword [ebp - 4]
mov ebx, dword [0x402224]
and ebx, 3
je 0x40107e
xor byte [esi], dl
add esi, 1
dec ebx
jne 0x401076
mov esi, dword [ebp + 0xc]
push dword [0x402224]
push dword [0x402220]
push dword [esi + 8]
call fcn.00401210
mov esi, str.Destination_file_write_error
cmp eax, 1
jne 0x4010bc
push dword [0x402224]
push str.Source_file_size___d_byte_s_
push 0x402228
call sub.user32.dll_wsprintfA
add esp, 0xc
mov esi, 0x402228
push dword [0x402220]
call fcn.00401270
push esi
call fcn.004012f8
leave
ret

Function at 0x4010d0
Capabilities:
Accept command line arguments

Disassembly:
push esi
push edi
push ebx
mov esi, 0x402268
lea edi, [esi + 0x100]
call sub.kernel32.dll_GetCommandLineA
lea edx, [eax - 1]
xor eax, eax
mov ch, 0x20
mov bl, 9
inc edx
mov cl, byte [edx]
or cl, cl
je 0x40112a
cmp cl, 0x20
je 0x4010ec
cmp cl, 9
je 0x4010ec
inc eax
mov dword [esi], edi
add esi, 4
mov cl, byte [edx]
or cl, cl
je 0x40112a
cmp cl, ch
je 0x401124
cmp cl, bl
je 0x401124
cmp cl, 0x22
jne 0x40111e
xor ch, 0x20
xor bl, 9
jmp 0x401121
mov byte [edi], cl
inc edi
inc edx
jmp 0x401103
mov byte [edi], 0
inc edi
jmp 0x4010ec
pop ebx
pop edi
pop esi
push 0x402268
push eax
call section..text
add esp, 8
push eax
call sub.kernel32.dll_ExitProcess
int3

Function at 0x401150
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x10
push 0
push pe_nt_image_headers32
push 3
push 0
push 0
push 0x80000000
push dword [esp + 0x2c]
call sub.kernel32.dll_CreateFileA
cmp eax, 0xffffffff
je 0x401206
push esi
mov dword [esp + 0x10], eax
push 0
push eax
call sub.kernel32.dll_GetFileSize
mov esi, 1
cmp eax, 0xffffffff
je 0x4011fa
mov dword [esp + 4], eax
push 4
push 0x1000
push eax
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
test eax, eax
je 0x4011fa
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x1c]
mov dword [edx], eax
lea edx, [esp + 8]
push 0
push edx
push dword [esp + 0xc]
push eax
push dword [esp + 0x20]
call sub.kernel32.dll_ReadFile
mov esi, 2
test eax, eax
je 0x4011ea
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 8]
mov dword [edx], eax
mov esi, 3
jmp 0x4011fa
push 0x8000
push 0
push dword [esp + 0x14]
call sub.kernel32.dll_VirtualFree
push dword [esp + 0x10]
call sub.kernel32.dll_CloseHandle
mov eax, esi
pop esi
add esp, 0x10
ret 0xc
Function at 0x401210
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push 0
push pe_nt_image_headers32
push 2
push 0
push 0
push 0x40000000
push dword [esp + 0x24]
call sub.kernel32.dll_CreateFileA
cmp eax, 0xffffffff
je 0x401264
push esi
mov dword [esp + 4], eax
lea edx, [esp + 8]
push 0
push edx
push dword [esp + 0x20]
push dword [esp + 0x20]
push eax
call sub.kernel32.dll_WriteFile
mov esi, eax
test eax, eax
je 0x401258
mov esi, 1
push dword [esp + 4]
call sub.kernel32.dll_CloseHandle
mov eax, esi
pop esi
add esp, 8
ret 0xc

Function at 0x4012f8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
mov dword [ebp - 4], eax
push dword [ebp + 8]
call fcn.00401330
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_WriteFile
mov eax, dword [ebp - 8]
leave
ret 4
Function at 0x10009807
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 8], edx
mov esi, ecx
mov dword [ebp - 0x14], 0x36
mov ebx, 0x4b4
mov dword [ebp - 0x10], 0x1b
mov dword [ebp - 0xc], 0x40d
mov eax, edi
sub ebx, dword [ebp + eax*4 - 0x14]
inc eax
cmp eax, 3
jl 0x10009833
mov al, byte [str.CAMELLIA_128_GCM]
mov ecx, str.CAMELLIA_128_GCM
jmp 0x10009852
sub al, 0x30
cmp al, 9
ja 0x10009858
inc ecx
mov al, byte [ecx]
test al, al
jne 0x10009849
jmp 0x10009862
and dword [0x10026bf0], 0x965197b8
push ecx
push ecx
call fcn.10009531
pop ecx
pop ecx
mov dword [ebp - 0x14], 0x59
mov eax, edi
mov dword [ebp - 0x10], 0x22
mov dword [ebp - 0xc], 0xffffff85
sub edi, dword [ebp + eax*4 - 0x14]
inc eax
cmp eax, 3
jl 0x10009882
and dword [0x1002695c], 0x48dfebe8
mov byte [ebp - 1], bl
mov ebx, dword [ebp + 8]
cmp edi, dword [ebp - 8]
jae 0x10009906
sub esi, ebx
mov dword [ebp - 0x18], 0x49
mov dword [ebp - 0x14], 0x3e
mov dword [ebp - 0x10], 0x14
mov dword [ebp - 0xc], 0xffffff70
movups xmm2, xmmword [ebp - 0x18]
mov dword [ebp + 8], esi
xorps xmm1, xmm1
lea esi, [edi + ebx]
psubd xmm1, xmm2
mov eax, edi
movaps xmm0, xmm1
cdq
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd ecx, xmm1
add ecx, 0xc
idiv ecx
mov eax, dword [ebp + 8]
mov cl, byte [ebp + edx - 1]
xor cl, byte [eax + esi]
inc edi
mov byte [esi], cl
cmp edi, dword [ebp - 8]
jb 0x100098c6
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret