joyce8/EMBER2024-capa huggingface dataset:
Function at 0xaa2770
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push edi
push esi
push ebx
sub esp, 0x120
mov ebx, dword [esp + 0x130]
call sub.msvcrt.dll__errno
mov dword [eax], 0
test ebx, ebx
je 0xaa29a0
cmp byte [ebx], 0
je 0xaa296b
mov dword [esp], ebx
call sub.KERNEL32.dll_GetFileAttributesA
sub esp, 4
cmp eax, 0xffffffff
je 0xaa2991
test al, 0x10
je 0xaa296b
mov dword [esp + 4], ebx
mov eax, 0x104
lea esi, [esp + 0x10]
mov dword [esp + 8], eax
mov dword [esp], esi
call sub.msvcrt.dll__fullpath
mov ecx, esi
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
and edx, 0x80808080
je 0xaa27e0
test edx, 0x8080
jne 0xaa2805
shr edx, 0x10
add ecx, 2
add dl, dl
sbb ecx, 3
sub ecx, esi
lea eax, [ecx + 0x233]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov ebx, eax
je 0xaa2982
mov dword [esp + 4], esi
lea esi, [eax + 0x22c]
mov dword [esp], esi
call sub.msvcrt.dll_strcpy
cmp byte [ebx + 0x22c], 0
je 0xaa2900
mov dword [esp], esi
mov eax, 0x2f
mov dword [esp + 4], eax
call sub.msvcrt.dll_strrchr
mov edi, eax
mov ecx, esi
nop
lea esi, [esi]
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
and edx, 0x80808080
je 0xaa2860
test edx, 0x8080
jne 0xaa2885
shr edx, 0x10
add ecx, 2
add dl, dl
sbb ecx, 3
sub ecx, esi
lea eax, [ecx + ebx + 0x22b]
cmp edi, eax
je 0xaa2900
mov dword [esp], esi
mov edi, 0x5c
mov dword [esp + 4], edi
call sub.msvcrt.dll_strrchr
mov edi, eax
mov ecx, esi
lea esi, [esi]
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
and edx, 0x80808080
je 0xaa28b0
test edx, 0x8080
jne 0xaa28d5
shr edx, 0x10
add ecx, 2
add dl, dl
sbb ecx, 3
sub ecx, esi
lea eax, [ecx + ebx + 0x22b]
cmp edi, eax
je 0xaa2900
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov ecx, 0x5c
mov word [ebx + eax + 0x22c], cx
lea esi, [esi]
mov dword [esp], esi
xor edi, edi
xor esi, esi
call sub.msvcrt.dll_strlen
mov edx, 0x2a
mov ecx, 0x104
mov word [ebx + eax + 0x22c], dx
mov eax, 0xffffffff
mov word [ebx + 0x11c], di
xor edx, edx
mov dword [ebx + 0x224], eax
xor eax, eax
mov dword [ebx + 0x228], eax
xor eax, eax
mov dword [ebx + 0x118], eax
lea eax, [ebx + 0x120]
mov word [ebx + 0x11e], si
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memset
add esp, 0x120
mov eax, ebx
pop ebx
pop esi
pop edi
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0x14
xor eax, eax
add esp, 0x120
pop ebx
pop esi
pop edi
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0xc
xor eax, eax
jmp 0xaa2978
call sub.msvcrt.dll__errno
mov dword [eax], 2
xor eax, eax
jmp 0xaa2978
call sub.msvcrt.dll__errno
mov dword [eax], 0xe
xor eax, eax
jmp 0xaa2978
Function at 0xe26414
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe2641e
pushal
call 0xe26424
pop ebp
sub ebp, 0x10
sub ebp, 0xa26414
jmp 0xe2643a
mov eax, 0xa26414
add eax, ebp
add eax, 0x4c
mov ecx, 0x5bb
mov edx, 0xffe5576c
xor byte [eax], dl
inc eax
dec ecx
jne 0xe26451
jmp 0xe26464
out 0xa1, eax
out 0xe5, eax
push eax
insb byte es:[edi], dx
insb byte es:[edi], dx
insb byte es:[edi], dx
in eax, dx
lodsd eax, dword [esi]
xchg esp, eax
insb byte es:[edi], dx
insb byte es:[edi], dx
insb byte es:[edi], dx
outsd dx, dword [esi]
mov eax, dword [0x6c6c68d4]
insb byte es:[edi], dx
salc
inc esp
insb byte es:[edi], dx
insb byte es:[edi], dx
insb byte es:[edi], dx
wait
mov gs, word [edi - 0x5c]
out 0xed, eax
pushal
insb byte es:[edi], dx
insb byte es:[edi], dx
insb byte es:[edi], dx
outsd dx, dword [esi]
test eax, 0x4808e13c
nop
in eax, 0x68
dec eax
add al, 0x78
int3
Function at 0x49d940
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x86000]
push edi
or ebp, 0xffffffff
jmp 0x49d962
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x49d969
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49d958
mov eax, 1
add ebx, ebx
jne 0x49d97b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x49d98c
jne 0x49d9ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49d9ab
dec eax
add ebx, ebx
jne 0x49d998
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x49d970
add ebx, ebx
jne 0x49d9a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x49d9fd
xor ecx, ecx
sub eax, 3
jb 0x49d9c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x49da32
sar eax, 1
mov ebp, eax
jmp 0x49d9ce
add ebx, ebx
jne 0x49d9ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49d99c
inc ecx
add ebx, ebx
jne 0x49d9dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49d99c
add ebx, ebx
jne 0x49d9e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x49d9de
jne 0x49d9fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x49d9de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x49da1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x49da0e
jmp 0x49d95e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x49da1c
add edi, ecx
jmp 0x49d95e
pop esi
mov edi, esi
mov ecx, 0xae1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x49da3a
cmp byte [edi], 7
jne 0x49da3a
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 0x49da3f
lea edi, [esi + 0x9a000]
mov eax, dword [edi]
or eax, eax
je 0x49daae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x101dfc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x101e40]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x49da6c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x101e48]
or eax, eax
je 0x49daa8
mov dword [ebx], eax
add ebx, 4
jmp 0x49da89
call dword [esi + 0x101e44]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x49dadf
cmp al, 0xef
ja 0x49dad2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x49dab4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x49dac1
mov ebp, dword [esi + 0x101e4c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x49db13
sub esp, 0xffffff80
jmp 0x409e40
Function at 0x429e60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1f000]
push edi
or ebp, 0xffffffff
jmp 0x429e82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x429e89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x429e78
mov eax, 1
add ebx, ebx
jne 0x429e9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x429e90
jne 0x429eac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x429e90
xor ecx, ecx
sub eax, 3
jb 0x429ec0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x429f32
mov ebp, eax
add ebx, ebx
jne 0x429ecb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x429ed8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x429efc
inc ecx
add ebx, ebx
jne 0x429ee8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x429edd
jne 0x429ef9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x429edd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x429f1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x429f0d
jmp 0x429e7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x429f1c
add edi, ecx
jmp 0x429e7e
pop esi
mov edi, esi
mov ecx, 0x5c1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x429f3a
cmp byte [edi], 0
jne 0x429f3a
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 0x429f3f
lea edi, [esi + 0x27000]
mov eax, dword [edi]
or eax, eax
je 0x429fae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2c174]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2c1fc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x429f6c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2c204]
or eax, eax
je 0x429fa8
mov dword [ebx], eax
add ebx, 4
jmp 0x429f89
call dword [esi + 0x2c200]
mov ebp, dword [esi + 0x2c208]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x429fe2
sub esp, 0xffffff80
jmp 0x4113bc
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
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
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
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x4e9a1cb7
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x42f041fb
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x504a70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x74000]
push edi
or ebp, 0xffffffff
jmp 0x504a92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x504a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x504a88
mov eax, 1
add ebx, ebx
jne 0x504aab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x504aa0
jne 0x504abc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x504aa0
xor ecx, ecx
sub eax, 3
jb 0x504ad0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x504b42
mov ebp, eax
add ebx, ebx
jne 0x504adb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x504ae8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x504b0c
inc ecx
add ebx, ebx
jne 0x504af8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x504aed
jne 0x504b09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x504aed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x504b2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x504b1d
jmp 0x504a8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x504b2c
add edi, ecx
jmp 0x504a8e
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x504b4a
cmp byte [edi], 0x11
jne 0x504b4a
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 0x504b4f
lea edi, [esi + 0xfd000]
mov eax, dword [edi]
or eax, eax
je 0x504bc7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x113790]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x113934]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x504b7c
mov ecx, edi
jns 0x504bab
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 + 0x11393c]
or eax, eax
je 0x504bc1
mov dword [ebx], eax
add ebx, 4
jmp 0x504b99
call dword [esi + 0x113938]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x504bf8
cmp al, 0xef
ja 0x504beb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x504bcd
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x504bda
mov ebp, dword [esi + 0x113940]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x504c2c
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x83f480
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2e5000]
push edi
or ebp, 0xffffffff
jmp 0x83f4a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x83f4a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x83f498
mov eax, 1
add ebx, ebx
jne 0x83f4bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x83f4cc
jne 0x83f4eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x83f4eb
dec eax
add ebx, ebx
jne 0x83f4d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x83f4b0
add ebx, ebx
jne 0x83f4e7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x83f53d
xor ecx, ecx
sub eax, 3
jb 0x83f503
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x83f572
sar eax, 1
mov ebp, eax
jmp 0x83f50e
add ebx, ebx
jne 0x83f50e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x83f4dc
inc ecx
add ebx, ebx
jne 0x83f51c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x83f4dc
add ebx, ebx
jne 0x83f529
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x83f51e
jne 0x83f53a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x83f51e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x83f55c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x83f54e
jmp 0x83f49e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x83f55c
add edi, ecx
jmp 0x83f49e
pop esi
mov edi, esi
mov ecx, 0xfa5c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x83f57a
cmp byte [edi], 0x22
jne 0x83f57a
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 0x83f57f
lea edi, [esi + 0x427000]
mov eax, dword [edi]
or eax, eax
je 0x83f5f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x443a04]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x443aec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x83f5ac
mov ecx, edi
jns 0x83f5db
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 + 0x443af4]
or eax, eax
je 0x83f5f1
mov dword [ebx], eax
add ebx, 4
jmp 0x83f5c9
call dword [esi + 0x443af0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x83f628
cmp al, 0xef
ja 0x83f61b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x83f5fd
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x83f60a
mov ebp, dword [esi + 0x443af8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x83f65c
sub esp, 0xffffff80
jmp 0x5d091b
Function at 0xbd6058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00bd61a8
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 0xbd607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbd606a
add dl, dl
jne 0xbd6089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbd60dc
xor eax, eax
add dl, dl
jne 0xbd6096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbd617d
add dl, dl
jne 0xbd60a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbd60b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbd60bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbd60c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xbd60d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xbd6075
mov eax, 1
add dl, dl
jne 0xbd60ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbd60f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbd60e1
sub eax, ebx
mov ebx, 1
jne 0xbd6128
mov ecx, 1
add dl, dl
jne 0xbd610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbd6119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbd6105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbd6075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xbd613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbd614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbd6136
cmp eax, 0x7d00
jae 0xbd616d
cmp eax, 0x500
jb 0xbd6168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbd6075
cmp eax, 0x7f
ja 0xbd6170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbd6075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xbd619e
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 0xbd6075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40701c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x407028
push 0x407024
push 0x407020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x407028]
push dword [0x407024]
push dword [0x407020]
mov dword [0x407014], esp
call fcn.00401537
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x4019de
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
mov ebx, esi
add ebx, 0xc8
mov edi, dword [ebp + 0xc]
mov ecx, esi
mov eax, edi
shl eax, cl
cdq
idiv ebx
mov dword [ebp - 8], eax
and dword [ebp - 4], 0
jmp 0x401a7c
and dword [ebp - 0xc], 0
and dword [ebp - 0x10], 0
jmp 0x401a17
add dword [ebp - 0xc], ebx
inc dword [ebp - 0x10]
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x10], eax
jl 0x401a11
mov ecx, dword [ebp - 8]
cmp eax, ecx
jne 0x401a30
mov eax, dword [ebp + 0xc]
add eax, esi
mov ebx, eax
sub ebx, dword [ebp - 0xc]
or ebx, ebx
je 0x401a8d
and dword [ebp - 0x14], 0
push ebx
push dword [ebp - 0xc]
push esi
call fcn.0040198a
mov dword [ebp - 0x18], eax
push ebx
push dword [ebp - 0xc]
push esi
call fcn.0040198a
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
or edx, esi
add edx, eax
push edx
mov edx, dword [ebp - 0x18]
xor edx, esi
add edx, eax
push edx
call fcn.00401970
add esp, 0x20
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x7e8
jl 0x401a38
inc dword [ebp - 4]
mov eax, dword [ebp - 8]
mov edx, esi
dec edx
and eax, edx
cmp dword [ebp - 4], eax
jle 0x401a07
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6aec1a92
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x32137c72
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40b086
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, dword [ebp + 0xc]
and eax, 3
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
sub ecx, eax
je 0x40b0d0
rol edx, 5
xor edx, dword [esi + ebx]
add esi, 4
imul eax, edx, 0x9e3779b9
rol eax, 5
xor eax, 4
imul edx, eax, 0x9e3779b9
cmp esi, ecx
jb 0x40b09f
jmp 0x40b0d0
movsx ecx, byte [esi + ebx]
rol edx, 5
xor edx, ecx
imul edx, edx, 0x9e3779b9
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x40b0c0
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x40c166
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40c19b
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x40c1c5
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40c1c5
test edi, edi
je 0x40c192
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40c192
test edi, edi
je 0x40c1cd
mov eax, edi
jmp 0x40c194
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40c194
mov esi, 0xc3
push esi
push str.c:_builds_moz2_slave_m_in_w32_d_0000000000000000000_build_src_mfbt_Poison.cpp
push str.no_usable_poison_region_identified
call fcn.0040fed9
add esp, 0xc
int3
Function at 0x40ff0d
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestInitializerList.exe_gMozillaPoisonSize], eax
call fcn.0040c166
pop ecx
mov ecx, dword [sym.TestInitializerList.exe_gMozillaPoisonSize]
mov dword [sym.TestInitializerList.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40ff45
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestInitializerList.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219