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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
mov edx, eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, eax
shr esi, 5
inc esi
mov edi, dword [edi + 0x10]
mov dword [ebp - 4], edi
mov ebx, dword [edi + 0x38]
xor ebx, eax
cmp eax, esi
jb 0x42d5ae
mov edi, dword [ebp + 0xc]
lea esp, [esp]
movzx ecx, byte [edi + edx - 1]
mov eax, ebx
shl eax, 5
sub edx, esi
add ecx, eax
mov eax, ebx
shr eax, 2
add ecx, eax
xor ebx, ecx
cmp edx, esi
jae 0x42d590
mov edi, dword [ebp - 4]
mov edx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
mov dword [ebp - 0xc], edx
lea ecx, [edx - 1]
and ecx, ebx
mov edi, dword [eax + ecx*4]
lea eax, [eax + ecx*4]
mov dword [ebp - 8], eax
test edi, edi
je 0x42d647
mov esi, dword [ebp + 0x10]
lea esp, [esp]
movzx eax, byte [edi + 7]
cmp esi, eax
jne 0x42d63d
mov ecx, dword [ebp + 0xc]
lea edx, [edi + 0x10]
sub esi, 4
jb 0x42d5f4
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x42d5fd
add ecx, 4
add edx, 4
sub esi, 4
jae 0x42d5e3
cmp esi, 0xfffffffc
je 0x42d6c0
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x42d63a
cmp esi, 0xfffffffd
je 0x42d6c0
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x42d63a
cmp esi, 0xfffffffe
je 0x42d6c0
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x42d63a
cmp esi, 0xffffffff
je 0x42d6c0
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x42d6c0
mov esi, dword [ebp + 0x10]
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x42d5d0
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
cmp dword [edi + 0x1c], edx
jl 0x42d675
cmp edx, 0x3fffffff
jg 0x42d675
lea eax, [edx + edx]
push eax
push dword [ebp + 8]
call fcn.0042dae0
mov ecx, dword [edi + 0x20]
add esp, 8
mov eax, dword [edi + 0x18]
dec ecx
and ecx, ebx
lea eax, [eax + ecx*4]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
add eax, 0x11
push eax
push 4
push dword [ebp + 8]
call fcn.0042a070
mov esi, eax
mov dword [esi + 8], ebx
lea ecx, [esi + 0x10]
mov ebx, dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
mov byte [esi + 6], 0
push ecx
mov byte [esi + ebx + 0x10], 0
call sub.MSVCR120.dll_memcpy
mov ecx, dword [ebp - 8]
add esp, 0x18
mov byte [esi + 7], bl
mov eax, dword [ecx]
mov dword [esi + 0xc], eax
mov eax, esi
mov dword [ecx], esi
inc dword [edi + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [edi + 5]
xor al, 3
mov cl, byte [ecx + 0x3c]
xor cl, 3
test al, cl
jne 0x42d6d5
mov byte [edi + 5], al
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42d7e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
xor eax, dword [ebp + 0x10]
push edi
mov edi, esi
shr edi, 5
inc edi
cmp esi, edi
jb 0x42d81c
push ebx
mov ebx, dword [ebp + 8]
jmp 0x42d800
movzx edx, byte [ebx + esi - 1]
mov ecx, eax
shl ecx, 5
sub esi, edi
add edx, ecx
mov ecx, eax
shr ecx, 2
add edx, ecx
xor eax, edx
cmp esi, edi
jae 0x42d800
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x42d820
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 6], 0
jne 0x42d86a
mov edx, dword [edi + 8]
push ebx
push esi
mov esi, dword [edi + 0xc]
mov ebx, esi
shr ebx, 5
xor edx, esi
inc ebx
cmp esi, ebx
jb 0x42d85c
movzx ecx, byte [edi + esi + 0xf]
mov eax, edx
shl eax, 5
sub esi, ebx
add ecx, eax
mov eax, edx
shr eax, 2
add ecx, eax
xor edx, ecx
cmp esi, ebx
jae 0x42d841
pop esi
pop ebx
mov dword [edi + 8], edx
mov eax, edx
mov byte [edi + 6], 1
pop edi
pop ebp
ret
mov eax, dword [edi + 8]
pop edi
pop ebp
ret

Function at 0x42f950
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
call dword [sym.imp.MSVCR120.dll_localeconv]
mov edx, dword [ebp + 8]
xor edi, edi
xor esi, esi
xorps xmm1, xmm1
mov eax, dword [eax]
movsx eax, byte [eax]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
movzx eax, byte [edx]
test byte [eax + 0x4605a9], 8
je 0x42f99e
lea esp, [esp]
movzx eax, byte [edx + 1]
inc edx
test byte [eax + 0x4605a9], 8
jne 0x42f990
mov al, byte [edx]
cmp al, 0x2d
jne 0x42f9ae
inc edx
mov dword [ebp - 0xc], 1
jmp 0x42f9b6
cmp al, 0x2b
jne 0x42f9b3
inc edx
mov dword [ebp - 0xc], esi
cmp byte [edx], 0x30
jne 0x42fae6
mov al, byte [edx + 1]
cmp al, 0x78
je 0x42f9ce
cmp al, 0x58
jne 0x42fae6
movsd xmm2, qword [0x45e638]
add edx, 2
lea esp, [esp]
mov al, byte [edx]
movsx ecx, al
mov byte [ebp + 0xb], al
cmp ecx, dword [ebp - 0x10]
jne 0x42f9fd
cmp dword [ebp - 4], 0
jne 0x42fa4f
mov dword [ebp - 4], 1
inc edx
jmp 0x42f9e0
movzx eax, al
test byte [eax + 0x4605a9], 0x10
je 0x42fa4f
test edi, edi
jne 0x42fa18
cmp byte [ebp + 0xb], 0x30
jne 0x42fa18
inc dword [ebp - 8]
jmp 0x42fa45
inc edi
cmp edi, 0x1e
jg 0x42fa44
test byte [ecx + 0x4605a9], 2
je 0x42fa2c
add ecx, 0xffffffd0
jmp 0x42fa32
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x42fa45
inc esi
cmp dword [ebp - 4], 0
je 0x42fa4c
dec esi
inc edx
jmp 0x42f9e0
mov eax, dword [ebp - 8]
add eax, edi
je 0x42fae6
mov eax, dword [ebp + 0xc]
shl esi, 2
mov dword [eax], edx
mov al, byte [edx]
cmp al, 0x70
je 0x42fa6c
cmp al, 0x50
jne 0x42fac0
mov al, byte [edx + 1]
inc edx
xor ecx, ecx
cmp al, 0x2d
jne 0x42fa7c
inc edx
lea edi, [ecx + 1]
jmp 0x42fa83
cmp al, 0x2b
jne 0x42fa81
inc edx
xor edi, edi
mov al, byte [edx]
mov byte [ebp + 0xb], al
movzx eax, al
test byte [eax + 0x4605a9], 2
je 0x42fae6
movsx eax, byte [ebp + 0xb]
lea ecx, [ecx + ecx*4]
inc edx
lea ecx, [ecx - 0x18]
lea ecx, [eax + ecx*2]
mov al, byte [edx]
mov byte [ebp + 0xb], al
movzx eax, al
test byte [eax + 0x4605a9], 2
jne 0x42fa94
test edi, edi
je 0x42fab9
neg ecx
mov eax, dword [ebp + 0xc]
add esi, ecx
mov dword [eax], edx
cmp dword [ebp - 0xc], 0
je 0x42face
xorpd xmm1, xmmword [0x45e640]
push esi
sub esp, 8
movsd qword [esp], xmm1
call dword [sym.imp.MSVCR120.dll_ldexp]
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
fldz
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4373c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
call fcn.00424b90
mov edi, dword [ebp + 0x10]
add esp, 4
mov esi, 1
sub eax, edi
je 0x437496
dec eax
push edi
push ebx
mov dword [ebp - 4], eax
call fcn.00425c50
add esp, 8
cmp eax, 3
jne 0x437466
push edi
push ebx
call fcn.00424cd0
add esp, 8
push 0
push edi
push ebx
test eax, eax
je 0x437422
call fcn.00425a50
push edx
push eax
push str._lld
push dword [ebp + 0xc]
call dword [sym.imp.MSVCR120.dll_fprintf]
add esp, 0x1c
jmp 0x43743e
call fcn.00425b40
add esp, 4
fstp qword [esp]
push str._.14g
push dword [ebp + 0xc]
call dword [sym.imp.MSVCR120.dll_fprintf]
add esp, 0x10
test esi, esi
je 0x437446
test eax, eax
jg 0x43748f
xor esi, esi
mov eax, dword [ebp - 4]
inc edi
test eax, eax
jne 0x4373e3
test esi, esi
jne 0x437496
push esi
push esi
push ebx
call fcn.00426830
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0x10]
push eax
push edi
push ebx
call fcn.00426450
add esp, 0xc
test esi, esi
je 0x437446
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp eax, dword [ebp + 0x10]
jne 0x437446
mov esi, 1
jmp 0x437448
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4379c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00445a80
push esi
push edi
lea eax, [ebp - 0x1010]
push eax
push dword [ebp + 8]
call fcn.004262f0
mov esi, dword [ebp + 0xc]
add esp, 8
mov edi, dword [sym.imp.MSVCR120.dll_fread]
lea ebx, [ebx]
lea eax, [ebp - 0x1010]
push 0x1000
push eax
call fcn.00426ee0
push esi
push 0x1000
push 1
push eax
call edi
add dword [ebp - 0x1008], eax
add esp, 0x18
cmp eax, 0x1000
je 0x4379f0
lea eax, [ebp - 0x1010]
push eax
call fcn.00426f70
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x437a40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00445a80
push esi
lea eax, [ebp - 0x1010]
push eax
push dword [ebp + 8]
call fcn.004262f0
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.00426ee0
push dword [ebp + 0xc]
push esi
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fread]
mov esi, eax
lea eax, [ebp - 0x1010]
add dword [ebp - 0x1008], esi
push eax
call fcn.00426f70
xor eax, eax
add esp, 0x24
cmp eax, esi
sbb eax, eax
neg eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43efd0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push str._5_3
push esi
push str._s_s
push edi
call fcn.00425050
push eax
call dword [sym.imp.MSVCR120.dll_getenv]
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x43f00d
push esi
call dword [sym.imp.MSVCR120.dll_getenv]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x43f06d
push str.LUA_NOENV
push 0xfff0b9d8
push edi
call fcn.004249b0
push 0xffffffffffffffff
push edi
call fcn.004259f0
push 0xfffffffffffffffe
push edi
mov esi, eax
call fcn.00425850
add esp, 0x1c
test esi, esi
jne 0x43f06d
push 0x460014
push 0x460018
push ebx
push edi
call fcn.00426980
push dword [ebp + 0x14]
push 0x46001c
push eax
push edi
call fcn.00426980
push 0xffffffffffffffff
push 0xfffffffffffffffe
push edi
call fcn.00425550
push 0xfffffffffffffffe
push edi
call fcn.00425850
add esp, 0x34
jmp 0x43f079
push dword [ebp + 0x14]
push edi
call fcn.00425180
add esp, 8
push edi
call fcn.0043f0a0
push dword [ebp + 0xc]
push 0xfffffffffffffffd
push edi
call fcn.00425610
push 0xfffffffffffffffe
push edi
call fcn.00425850
add esp, 0x18
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40653b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push 0x20019
push edi
movzx eax, cl
mov esi, edx
push 0x405ac0
sub eax, 0x7fffffff
mov dword [ebp - 4], edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x406578
jle 0x4065d5
movzx eax, ax
or eax, 0x80070000
jmp 0x4065d5
or dword [ebp - 0x10], 0xffffffff
mov ecx, esi
push 0x32
pop eax
push eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esi
call fcn.00406936
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x14], eax
push ecx
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x405aac
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00406910
test esi, esi
je 0x4065c8
jle 0x4065c4
movzx esi, si
or esi, 0x80070000
mov eax, esi
jmp 0x4065d5
mov eax, dword [ebp - 8]
dec eax
neg eax
sbb eax, eax
and eax, 0x8000ffff
pop edi
pop esi
leave
ret

Function at 0x40a1f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040882f
add esp, 0xc
mov dword [ebp - 0x730], eax
and dword [ebp - 0x6fc], 0
push 1
pop eax
test eax, eax
je 0x40a910
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x40a3e5
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
cmp dword [ebp - 0x6fc], 1
jne 0x40a496
and byte [ebp - 0x78c], 0
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.0040887a
cmp dword [ebp - 0x6fc], 2
jne 0x40a553
and byte [ebp - 0x79c], 0
and byte [ebp - 0x79b], 0
mov byte [ebp - 0x79a], 0x10
and byte [ebp - 0x799], 0
mov byte [ebp - 0x798], 0xb3
mov byte [ebp - 0x797], 0x8c
mov byte [ebp - 0x796], 0x80
mov byte [ebp - 0x795], 0x81
mov byte [ebp - 0x794], 0x9d
mov byte [ebp - 0x793], 0x8a
mov byte [ebp - 0x792], 0x9c
mov byte [ebp - 0x791], 0xc1
mov byte [ebp - 0x790], 0x8b
mov byte [ebp - 0x78f], 0x83
test dword [ecx - 8], esi
invalid
inc dword [ebx - 0x78d7a3a]
invalid
invalid
add esi, 0xffffff85
invalid
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x156b04da
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, str._T
nop
mov ebx, 0x4304d8
mov ecx, 0x54f43321
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40c071
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x49f390]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov word [ebp - 0x1c], 0x2f
mov word [ebp - 0x1a], 0x2f2f
mov word [ebp - 0x18], 0x2f22
mov word [ebp - 0x16], 0x3a
mov word [ebp - 0x14], 0x2a
mov word [ebp - 0x12], 0x3f
mov word [ebp - 0x10], 0x3c
mov word [ebp - 0xe], 0x3e
mov word [ebp - 0xc], 0x7c
mov word [ebp - 0xa], 0x2f74
mov word [ebp - 8], 0x22
xor esi, esi
movzx eax, word [ebp + esi*2 - 0x1c]
push eax
push edi
call fcn.004604ef
test eax, eax
pop ecx
pop ecx
jne 0x40c0ed
inc esi
cmp esi, 0xb
jb 0x40c0c6
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045f105
leave
ret
xor al, al
jmp 0x40c0e0

Function at 0x419b5b
Capabilities:
Encode data using xor

Disassembly:
arpl word [eax], ax
outsd dx, dword [esi]
add byte [eax], dh
add byte gs:[0x6c006100], bh
add byte [eax + eax + 0x55], ch
add byte [ebx], dh
add byte gs:[edx], dh
jae 0x419b75
pop esp
add byte [ebp], ch
add byte gs:[eax + eax + 0x61], dh
add byte [eax + eax + 0x61], ah
add byte [eax + eax + 0x61], dh
add byte [eax + eax + 0x65], bl
add byte [eax + eax + 0x65], ch
add byte [ebp], ch
add byte gs:[esi], ch
je 0x419b97
jae 0x419b99
pop esp
add byte [eax], cl
dec ebx
add byte [ebx], al
push edx
add byte [edi], bl
push 0x6d007400
add byte [eax + eax + 0x66], ch
add byte [ecx], ch
insb byte es:[edi], dx
add byte [ebp], ah
pop edi
add byte [ebx], dh
push 0x6c006500
add byte [eax + eax + 0x5f], ch
add byte [eax], dh
jb 0x419bc7
imul eax, dword [eax], 0x74006e
je 0x419bcf
outsd dx, dword [esi]
add byte [edi], bl
arpl word [eax], ax
outsd dx, dword [esi]
add byte [ebp], ch
insd dword es:[edi], dx
add byte [ecx], ah
add byte [esi], ch
add byte fs:[ebx], dh
xor dword [edx + 0x66], esp
xor edi, dword [eax]
xor eax, 0x33646136
xor al, 0x65
xor esi, dword [0x3c647cde]
add byte [eax], al
add byte [eax + 0x726d05c6], al
outsd dx, dword [esi]
arpl word [ebx + 0x2e], bp
imul ebp, dword [esi + 0x66], 0x464e492d
sub eax, 0x65737341
insd dword es:[edi], dx
bound ebp, qword [ecx + edi*2 + 0x2c]
and byte [ecx + edi*2 + 0x70], dl
cmp eax, 0x76697264
jb 0x419c4b
and byte [esi + 0x65], dl
jb 0x419c97
arpl word [ebx + 0x65], cx
jns 0x419cf0
outsd dx, dword [esi]
add byte [eax + eax + 0x4e], ch
add byte [ecx], ah

Function at 0x43938a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [ebp + 8]
push eax
push eax
call fcn.00463732
add esp, 0x18
leave
ret

Function at 0x43988f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 4
push dword [ebp + 0xc]
mov edi, eax
lea eax, [ebp - 4]
push eax
call fcn.0040dfc2
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 0x14b
div ecx
add esp, 0xc
xor eax, eax
inc dl
cmp dword [ebp + 8], eax
jbe 0x4398c9
mov cl, al
add cl, dl
xor byte [eax + edi], cl
inc eax
cmp eax, dword [ebp + 8]
jb 0x4398bc
push dword [ebp + 8]
call fcn.00439ada
pop ecx
xor ecx, ecx
cmp dword [ebp - 4], eax
pop edi
sete cl
mov al, cl
leave
ret
Function at 0x439ada
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor edx, edx
push 0xa
pop ebx
div ebx
or esi, 0xffffffff
xor ecx, ecx
mov edx, 0xff
test eax, eax
mov dword [ebp - 4], eax
jbe 0x439b27
xor eax, eax
cmp ecx, 0xa
jae 0x439b27
mov ebx, dword [ecx*4 + 0x4893d0]
add ebx, eax
movzx ebx, byte [ebx + edi]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x488fd0]
inc ecx
add eax, 0xa
cmp ecx, dword [ebp - 4]
jb 0x439afe
cmp dword [ebp + 8], 0
je 0x439b4a
mov eax, edi
movzx ecx, byte [eax]
dec dword [ebp + 8]
xor ecx, esi
and ecx, edx
shr esi, 8
xor esi, dword [ecx*4 + 0x488fd0]
inc eax
cmp dword [ebp + 8], 0
jne 0x439b2f
mov eax, esi
pop esi
not eax
pop ebx
leave
ret

Function at 0x439b52
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x453175
Capabilities:
Encode data using xor

Disassembly:
xor bh, al
push cs
or byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edx - 0x30], dl
nop
inc eax
loop 0x453155
iretd

Function at 0x476450
Capabilities:
Encode data using xor

Disassembly:
add byte [eax + eax + 0x57], bl
add byte [ecx], ch
outsb dx, byte [esi]
add byte [eax + eax + 0x6f], ah

Function at 0x408d8d
Capabilities:
Get disk information

Disassembly:
xor eax, eax
lea eax, [eax + 0x40a51c]
call dword [eax]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ecx - 0x3ca214], cl
jmp dword [sym.imp.kernel32.dll_OpenMutexW]
Function at 0xcff058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xcff1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xcff07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcff06a
add dl, dl
jne 0xcff089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcff0dc
xor eax, eax
add dl, dl
jne 0xcff096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcff17d
add dl, dl
jne 0xcff0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcff0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcff0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcff0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xcff0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xcff075
mov eax, 1
add dl, dl
jne 0xcff0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcff0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcff0e1
sub eax, ebx
mov ebx, 1
jne 0xcff128
mov ecx, 1
add dl, dl
jne 0xcff10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcff119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcff105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcff075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xcff13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcff14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcff136
cmp eax, 0x7d00
jae 0xcff16d
cmp eax, 0x500
jb 0xcff168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcff075
cmp eax, 0x7f
ja 0xcff170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcff075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xcff19e
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 0xcff075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4765c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4b000]
push edi
or ebp, 0xffffffff
jmp 0x4765e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4765e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4765d8
mov eax, 1
add ebx, ebx
jne 0x4765fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47660c
jne 0x47662b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47662b
dec eax
add ebx, ebx
jne 0x476618
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4765f0
add ebx, ebx
jne 0x476627
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x47667d
xor ecx, ecx
sub eax, 3
jb 0x476643
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4766b2
sar eax, 1
mov ebp, eax
jmp 0x47664e
add ebx, ebx
jne 0x47664e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47661c
inc ecx
add ebx, ebx
jne 0x47665c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47661c
add ebx, ebx
jne 0x476669
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47665e
jne 0x47667a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47665e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47669c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47668e
jmp 0x4765de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47669c
add edi, ecx
jmp 0x4765de
pop esi
mov edi, esi
mov ecx, 0x2aee
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4766ba
cmp byte [edi], 0x26
jne 0x4766ba
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 0x4766bf
lea edi, [esi + 0x73000]
mov eax, dword [edi]
or eax, eax
je 0x476737
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x77abc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x77bd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4766ec
mov ecx, edi
jns 0x47671b
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 + 0x77bd8]
or eax, eax
je 0x476731
mov dword [ebx], eax
add ebx, 4
jmp 0x476709
call dword [esi + 0x77be0]
mov ebp, dword [esi + 0x77bdc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x47676b
sub esp, 0xffffff80
jmp 0x4422e4
Function at 0x4043d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4043fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040a830
add esp, 4
or eax, 0xffffffff
jmp 0x40442a
mov ecx, dword [ebp - 4]
and ecx, 1
test ecx, ecx
je 0x404428
mov edx, dword [ebp + 0xc]
and edx, 2
test edx, edx
je 0x404428
mov dword [0x429c7c], 0xd
mov dword [0x429c80], 5
or eax, 0xffffffff
jmp 0x40442a
xor eax, eax
mov esp, ebp
pop ebp
ret