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

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
add byte [ecx], al
and al, 1
test ebx, ebx
je 0x4e918b
add byte [0x887bfc], bl
jne 0x4e9176
add byte [ecx], al
add eax, 0x887c00
test dword [eax], 0xf6feb24
mov dh, 3
movzx eax, byte [ebx]
sub al, 0
add dword [esi], eax
dec al
je 0x4e9190
add eax, 0x43b60f00
add dword [ebx], eax
ret
add dword [ebx + 0xfd2eb18], ecx
mov eax, 0xf3030100
cmp dword [esi + 6], 0
add byte [ecx], al
mov ebp, dword [esi + 6]
dec ebp
test dword [edx], ebx
add byte [0x83ff3345], bh
invalid
cmp dword [esi + edi*8], 1
jl 0x4e91a8
add byte [ecx], al
je 0x4e91e5
mov eax, dword [esi + edi*8 - 0x66]
add byte [eax], bl
cmp byte [ebx], 0xd
jne 0x4e91cd
sldt word [ecx]
add dword [ebx], eax
ret
cmp byte [ebx], 0xe
jne 0x4e91ef
add bl, al
call fcn.004e9153
test byte [eax], al
add dword [eax], ecx
inc edi
dec ebp
jne 0x4e91a7
loop 0x4e91e3
and al, 0
movzx eax, byte [esp]
pop edx
add byte [ecx], al
pop esi
pop ebx
ret
push ebx
push esi
xchg ebx, eax
add al, ch
lahf
inc esp
add byte [eax], al
cmp esi, dword [eax + 0x100]
jne 0x4e920e
call fcn.004e92fd
movzx ebx, byte [eax + 0x100000c]
jmp 0x4e922d
mov eax, esi
call fcn.004d92ac
mov ebx, eax
call 0x14ed697
mov dword [eax + 0x7f000008], esi
add byte [eax + 0x44], dh
add byte [eax], al
mov byte [eax + 0x1000c], bl
mov eax, ebx
pop esi
pop ebx
stc
add byte [ebp - 0x75], dl
in al, dx
add esp, 0xffffffdc
push ebx
add byte [ecx], al
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x47], edx
add byte [ebp - 4], al
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add byte [ecx], al
loopne 0x4e91d9
inc ebp
or byte [ebx + 0x7fdb0088], cl
sbb eax, dword [ebp + 0x77ddb]
add eax, ebp
add cl, byte [edi + edi*8 - 0x3ff2201]
mov edx, dword [ebp - 8]
call 0x14e961f
jmp 0x4e94ef
ficom word [esi + ebp*8 - 0x743b5b7c]
hlt
xchg edx, eax
add cl, byte [edx - 0x17]
jecxz 0x4e94f6
lcall 0x55e1, 0x5635fbb4
mov ah, 0xfb
xor eax, 0x4455e156
loope 0x4e9551
inc esp
jle 0x4e9493
xor byte [ecx - 0x35], 0x21
pop ebx
inc esp
adc al, 0x3a
test dword [edi + 0x64], esp
inc esp
and dword [ebp + 0x63720132], edx
sahf
movsd dword es:[edi], dword [esi]
mov ebx, 0xc68f0f31
cmp eax, 0x4ebd183
jp 0x4e94fa
test ecx, 0x6d7411f7
sub ecx, dword [eax - 0x7d64630c]
pop ds
xlatb
jne 0x4e9544
aaa
or al, 0x94
out dx, eax
mov ch, 0x7d
sbb eax, 0x31dae15b
stosd dword es:[edi], eax
sahf
retf
insd dword es:[edi], dx
arpl sp, dx
cmp dword [edx], 0x112fa09d
pop ecx
lodsd eax, dword [esi]
jmp 0xcba29102
sti
push ebx
retf
Function at 0x659a1d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x662398
cmp edx, dword [eax]
je 0x659a3f
add eax, 8
inc ecx
cmp eax, 0x662428
jl 0x659a30
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x662398]
jne 0x659b6d
mov eax, dword [0xa5ccfc]
cmp eax, 1
je 0x659b47
test eax, eax
jne 0x659a70
cmp dword [0x6622c4], 1
je 0x659b47
cmp edx, 0xfc
je 0x659b6d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x659aa7
lea eax, [ebp - 0x1a4]
push 0x65eab0
push eax
call fcn.0065a400
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0065a890
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x659aea
lea eax, [ebp - 0x1a4]
push eax
call fcn.0065a890
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65eaac
push edi
call fcn.0065c760
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65ea90
push eax
call fcn.0065a400
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0065a410
lea eax, [ebp - 0xa0]
push 0x65ea8c
push eax
call fcn.0065a410
push dword [esi + 0x66239c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0065a410
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65ea64
push eax
call fcn.0065c6d4
add esp, 0x2c
pop edi
jmp 0x659b6d
lea eax, [ebp + 8]
lea esi, [esi + 0x66239c]
push 0
push eax
push dword [esi]
call fcn.0065a890
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 0x5e3a89
Capabilities:
Encode data using xor

Disassembly:
inc eax
xor dword [ebp + eax*4 - 0x34941e17], ecx
movsd dword es:[edi], dword [esi]
pop ebp
xor eax, 0xbbd196fa
retf
loope 0x5e3a18
call dword [esi - 0xa1dcd2f]
das
xor edi, edx
and dword [edi], edx
cmp eax, dword [ebp + 0x3abdd9de]
lcall 0x422b, 0xe332b437
jle 0x5e3a17
sal dword [edx], 1
cli
jle 0x5e3abe
xchg edx, eax
cli
xchg esi, eax
xor bh, ah
cld
mov esp, 0x8387d19a
jnp 0x5e3ae2
xchg dword [ebx + 0x31f557b], eax
neg byte [eax - 0x2e690d88]
xor bh, dl
pop ds
add esi, esi
cwde
js 0x5e3a85
xchg esi, eax
sal dword [edx], 1
cli
and dword [edi], edx
cmp eax, dword [ebp - 0x2a481e12]
movsd dword es:[edi], dword [esi]
push ebp
cmp eax, 0xbfd196fa
cmp ah, byte [esi - 0x4b1ccc30]
sal byte [edx], cl
cli
pop ss
xchg ecx, eax
call 0x6441fdbe
sub al, dh
add eax, dword [edx + 0x7f]
sahf
sal dword [edx], 1
cli
xchg ebp, eax
inc edi
cmp esp, edx
and al, 0xd1
xor bh, dl
xchg ebp, eax
inc edi
cmp esp, edx
mov dword [0x1bfa32c9], eax
xchg edx, eax
inc edx
jle 0x5e3a60
sal byte [edx], cl
cli
and dword [edi], edx
cmp eax, ecx
salc
loope 0x5e3b11
cli
xchg esi, eax
sar dword [ebp - 0x74a55da9], 1
adc dl, byte [ebp + 0x29e23b47]
retf 0xfa32
push edi
mov byte [0x95128b5a], al
inc edi
cmp esp, edx
sub edx, ecx
xor bh, dl
sbb edx, dword [edx - 0x2da581be]
xor bh, dl
xchg ebp, eax
inc edi
cmp esp, edx
xchg esi, eax
retf 0xfa32
cmp esp, edx
cmp cl, ah
xor bh, dl
push eax
sal byte [edx], cl
cli
xchg esi, eax
push esi
add eax, 0x32dd1a0a
cli
xor bh, dl
xchg esi, eax
shr byte [eax + 0x2c607e02], 1
cli
xchg ebp, eax
pop ebx
js 0x5e3b21
xchg ebp, eax
inc edi
cmp esp, edx
mov ah, 0xcd
xor bh, dl
sbb edx, dword [edx - 0x2ded81be]
xor bh, dl
jle 0x5e3b99
nop
cli
xchg esi, eax
push edx
repne scasd eax, dword es:[edi]
movsb byte es:[edi], byte [esi]
inc byte [ebx + ebp - 0x3a]
add dword [ebp + 9], esp
sbb ebx, edx
xor bh, dl
xchg esi, eax
shr byte [eax + 0x31cb7e02], 1
cli
xchg ebp, eax
shr dword [eax + 0x2e3a7e02], 1
cli
xchg ebp, eax
push edi
or dword [edx], ebx
and dword [ebx], esi
cli
xchg esi, eax
push edx
repne scasd eax, dword es:[edi]
movsb byte es:[edi], byte [esi]
inc byte [ebx + ebp - 0x3a]
add dword [ebp + 9], esp
sbb esp, edx
xor bh, dl
xchg esi, eax
pop esp
js 0x5e3b81
and dword [edx], edx
inc edi
adc dword [eax + 0x7e4a333c], 0x45
xor ecx, dword [edx + 0x7e]
inc ebp
loope 0x5e3b85
xchg esi, eax
mov esi, dword [ebx]
cli
xchg esi, eax
sal dword [edi + 0x4355a5cc], 1
cli
xchg esi, eax
sar dword [ebx + 0x3b1721f4], 1
mov ebx, 0x3b1721f4
test esi, edx
in eax, 0x9c
cli
out 0xb9, al
and byte [ebp - 0x4632e6a], 0x95
inc edi
cmp esp, edx
push ebx
into
xor bh, dl
sbb edx, dword [edx - 0x2e5780be]
xor bh, dl
and dword [edi], edx
cmp eax, ecx
salc
jmp 0xd1f535f8
Function at 0x5e3dd9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x5e3ec8
mov ecx, eax
mov ebx, dword [ecx + 0x3c]
add ecx, ebx
mov ecx, dword [ecx + 0x7c]
test ecx, ecx
je 0x5e3ec8
mov dword [ebp - 4], ecx
mov ebx, eax
mov ecx, dword [ebx + 0x3c]
add ebx, ecx
mov ebx, dword [ebx + 0x78]
add ebx, eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 0xc]
test eax, 0xffff0000
je 0x5e3e74
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x5e3ec8
dec ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
add eax, dword [ebp - 0xc]
push ecx
shl ecx, 2
add eax, ecx
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
push edi
push dword [ebp + 0xc]
push eax
call dword [edi + 0x124a7e0a]
pop edi
pop ecx
test eax, eax
jne 0x5e3e2d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0xc]
shl ecx, 1
add eax, ecx
movzx ecx, word [eax]
jmp 0x5e3e7a
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebx + 0x10]
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jge 0x5e3ec8
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x1c]
add edx, eax
shl ecx, 2
add edx, ecx
cmp dword [edx], 0
je 0x5e3ec8
mov ebx, dword [edx]
add eax, ebx
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 8]
jle 0x5e3ec8
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x5e3ec8
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.005e3d22
mov dword [ebp - 0x10], eax
popal
mov eax, dword [ebp - 0x10]
leave
ret 8
Function at 0x432002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x7f440d61
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x37fb42c4
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x1378008], 0x8088405
inc edx
mov dword [ebx + 0x1378008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cc40
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cc71
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cc59
add dl, dl
jne 0x41cc7c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cccd
xor eax, eax
add dl, dl
jne 0x41cc89
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cd6a
add dl, dl
jne 0x41cc98
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cca3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41ccae
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41ccb9
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41ccc3
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cc68
mov eax, 1
add dl, dl
jne 0x41ccdb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cce6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ccd2
sub eax, ebx
mov ebx, 1
jne 0x41cd19
mov ecx, 1
add dl, dl
jne 0x41ccff
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cd0a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ccf6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cc68
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cd30
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cd3b
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cd27
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cc68
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41cd8b
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 0x41cc68
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e214
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x13616d3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e2c5
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e2ae
test esi, esi
jbe 0x41e2c5
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088dc
test eax, eax
jne 0x41e2a0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e2c5
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e27d
jmp 0x41e2c5
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e2c5
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x13616da
ret
Function at 0x41eb1c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x13620cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41eb57
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41eb70
lea eax, [ebp - 0x10]
mov edx, dword [0x137a258]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41eb83
lea eax, [ebp - 0x10]
mov edx, dword [0x137a258]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41eb8f
adc edx, 0
mov edx, dword [edx*4 + 0x13790e8]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x41ec9d
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d6c
test eax, eax
je 0x41ec90
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41ec90
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406dcc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d6c
test eax, eax
je 0x41ec90
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41ec90
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41ec90
cmp dx, 0x150
ja 0x41ec90
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d6c
test eax, eax
je 0x41ec90
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41ec90
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41ecb5
inc ebx
cmp ebx, 0x19
jne 0x41eb49
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x13620d2
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret

Function at 0x43b642
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop edi
mov esi, ebx
push ebx
pop esi
dec ebx
call fcn.0043b681
inc esi
sub ebx, ebx
sub ebx, 0xd782af42
xor dword [edx], edi
add ebx, ebx
add edx, 1
and ebx, ebx
push 0x5d135aa0
pop ebx
cmp edx, ecx
jne fcn.0043b642
sub ebx, 0xf17c3ac2
sub esi, esi
ret

Function at 0x401144
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x412008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
call fcn.00401000
push 0x40c
xor ebx, ebx
mov dword [ebp - 0x414], 0x22
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.00401de0
add esp, 0xc
lea eax, [ebp - 0x412]
mov esi, 0x207
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401259
cmp eax, esi
jae 0x401259
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x412]
push eax
call esi
lea eax, [ebp - 0x412]
push eax
call esi
push str.GoogleUpdate.exe
lea eax, [ebp - 0x412]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x401259
push str.___ondemand
push 0x208
lea eax, [ebp - 0x414]
push eax
call fcn.00401046
test eax, eax
js 0x40125e
push edi
push 0x40
lea eax, [ebp - 0x464]
mov dword [ebp - 0x468], 0x44
push ebx
push eax
call fcn.00401de0
xor eax, eax
lea edi, [ebp - 0x424]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x468]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x414]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
test eax, eax
je 0x401259
push dword [ebp - 0x424]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x420]
call esi
xor eax, eax
jmp 0x40125e
call fcn.0040102b
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004014b9
leave
ret 0x10
Function at 0xdf4058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xdf41a8
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 0xdf407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdf406a
add dl, dl
jne 0xdf4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdf40dc
xor eax, eax
add dl, dl
jne 0xdf4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdf417d
add dl, dl
jne 0xdf40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdf40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdf40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdf40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xdf40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xdf4075
mov eax, 1
add dl, dl
jne 0xdf40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdf40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdf40e1
sub eax, ebx
mov ebx, 1
jne 0xdf4128
mov ecx, 1
add dl, dl
jne 0xdf410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xdf4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdf4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdf4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xdf413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xdf414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdf4136
cmp eax, 0x7d00
jae 0xdf416d
cmp eax, 0x500
jb 0xdf4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdf4075
cmp eax, 0x7f
ja 0xdf4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdf4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xdf419e
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 0xdf4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4d4a50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x88000]
push edi
jmp 0x4d4a6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4d4a71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d4a60
mov eax, 1
add ebx, ebx
jne 0x4d4a83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4d4a94
jne 0x4d4ab3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d4ab3
dec eax
add ebx, ebx
jne 0x4d4aa0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4d4a78
add ebx, ebx
jne 0x4d4aaf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4d4b05
xor ecx, ecx
sub eax, 3
jb 0x4d4acb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4d4b3a
sar eax, 1
mov ebp, eax
jmp 0x4d4ad6
add ebx, ebx
jne 0x4d4ad6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d4aa4
inc ecx
add ebx, ebx
jne 0x4d4ae4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d4aa4
add ebx, ebx
jne 0x4d4af1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4d4ae6
jne 0x4d4b02
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4d4ae6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4d4b24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4d4b16
jmp 0x4d4a66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4d4b24
add edi, ecx
jmp 0x4d4a66
pop esi
mov edi, esi
mov ecx, 0x2e5c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4d4b42
cmp byte [edi], 0x1e
jne 0x4d4b42
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 0x4d4b47
lea edi, [esi + 0xd1000]
mov eax, dword [edi]
or eax, eax
je 0x4d4bbf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd5b24]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd5c48]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4d4b74
mov ecx, edi
jns 0x4d4ba3
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 + 0xd5c50]
or eax, eax
je 0x4d4bb9
mov dword [ebx], eax
add ebx, 4
jmp 0x4d4b91
call dword [esi + 0xd5c4c]
mov ebp, dword [esi + 0xd5c54]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4d4bf3
sub esp, 0xffffff80
jmp 0x4630b1
Function at 0x1001dda0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov edx, dword [esp + 0x1c]
mov ecx, 0xcbf29ce4
mov eax, 0x84222325
test edx, edx
je 0x1001de43
mov edi, dword [esp + 0x18]
mov ebx, 0x100
mov esi, 0x1b3
cmp edx, 1
jne 0x1001ddd2
xor ebp, ebp
jmp 0x1001de28
and edx, 0xfffffffe
mov dword [esp], edx
xor ebp, ebp
nop word [eax + eax]
movzx edx, byte [edi + ebp]
xor edx, eax
mov edi, edx
imul edi, ebx
mov eax, edx
mul esi
mov ebx, 0x1b3
mov esi, eax
imul ecx, ebx
add ecx, edx
add ecx, edi
mov edi, dword [esp + 0x18]
movzx eax, byte [edi + ebp + 1]
xor esi, eax
mov eax, esi
mul ebx
imul ecx, ebx
mov ebx, 0x100
add ecx, edx
imul esi, ebx
add ecx, esi
mov esi, 0x1b3
add ebp, 2
cmp dword [esp], ebp
jne 0x1001dde0
mov edx, dword [esp + 0x1c]
test dl, 1
je 0x1001de43
movzx edx, byte [edi + ebp]
xor eax, edx
imul ebx, eax
mul esi
add edx, ebx
imul ecx, esi
add ecx, edx
mov edx, ecx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret