joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4055a3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402ed1
and dword [ebp - 4], 0
cmp dword [0x4995f4], 0
mov ebx, eax
jne 0x405654
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405705
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40eb90
push edi
call esi
test eax, eax
je 0x405705
push eax
call fcn.00402e5f
mov dword [esp], 0x40eb80
push edi
mov dword [0x4995f4], eax
call esi
push eax
call fcn.00402e5f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4995f8], eax
call esi
push eax
call fcn.00402e5f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4995fc], eax
call esi
push eax
call fcn.00402e5f
pop ecx
mov dword [0x499604], eax
test eax, eax
je 0x405654
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402e5f
pop ecx
mov dword [0x499600], eax
mov eax, dword [0x499600]
cmp eax, ebx
je 0x4056ac
cmp dword [0x499604], ebx
je 0x4056ac
push eax
call fcn.00402eda
push dword [0x499604]
mov esi, eax
call fcn.00402eda
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4056ac
test edi, edi
je 0x4056ac
call esi
test eax, eax
je 0x4056a3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4056a3
test byte [ebp - 0xc], 1
jne 0x4056ac
or dword [ebp + 0x10], 0x200000
jmp 0x4056e5
mov eax, dword [0x4995f8]
cmp eax, ebx
je 0x4056e5
push eax
call fcn.00402eda
pop ecx
test eax, eax
je 0x4056e5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4056e5
mov eax, dword [0x4995fc]
cmp eax, ebx
je 0x4056e5
push eax
call fcn.00402eda
pop ecx
test eax, eax
je 0x4056e5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4995f4]
call fcn.00402eda
pop ecx
test eax, eax
je 0x405705
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405707
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4093e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, eax
push esi
mov esi, dword [ebp + 8]
and ecx, 0xfffffffc
jbe 0x409424
rol eax, 5
xor eax, dword [edx + esi]
add edx, 4
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, 4
imul eax, eax, 0x9e3779b9
cmp edx, ecx
jb 0x4093f3
jmp 0x409424
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x409414
pop esi
pop ebp
ret

Function at 0x409eb2
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 0x409ee7
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 0x409f11
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x409f11
test edi, edi
je 0x409ede
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x409ede
test edi, edi
je 0x409f19
mov eax, edi
jmp 0x409ee0
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x409ee0
int3
Function at 0x40c443
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.TestMaybe.exe_gMozillaPoisonSize], eax
call fcn.00409eb2
pop ecx
mov ecx, dword [sym.TestMaybe.exe_gMozillaPoisonSize]
mov dword [sym.TestMaybe.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40c47b
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestMaybe.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x6bdff13f
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.6bdfeceb
mov eax, dword [ebp - 8]
call fcn.6bdfeceb
xor eax, eax
push ebp
push 0x10001da3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.6bdfea2f
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 4]
call fcn.6bdfeb87
test eax, eax
jbe 0x6bdff230
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 8]
call fcn.6bdfeb87
cmp eax, dword [ebp - 0x20]
jne 0x6bdff1b1
mov dword [ebp - 0x20], 1
jmp 0x6bdff1b4
inc dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx - 1]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
movzx eax, byte [eax + edx - 1]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x20]
add eax, 5
push eax
mov eax, 0x100
pop edx
mov ecx, edx
cdq
idiv ecx
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x10]
xor edx, eax
mov dword [ebp - 0x10], edx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x100
jne 0x6bdff1d7
lea eax, [ebp - 0x28]
mov dl, byte [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
shr ecx, 3
shl ecx, 4
xor dl, cl
call fcn.6bdfeb23
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.6bdfeb8f
mov eax, dword [ebp - 0xc]
inc dword [ebp - 0x18]
dec dword [ebp - 0x24]
jne 0x6bdff19b
pushal
je 0x6bdff238
jne 0x6bdff238
jmp 0x6bdff23a
jb 0x6bdff23a
call fcn.6bdff240
test al, 0x83
add esp, 4
rdtsc
mov ebx, eax
jmp 0x6bdff24c
jmp 0x6bdff24c
invalid

Function at 0x6bdffa67
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
xor edx, edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x10002a26
push dword fs:[eax]
mov dword fs:[eax], esp
nop
nop
nop
nop
nop
nop
nop
nop
pushf
call fcn.6bdffaa9
jb 0x6bdffaa2
Function at 0x6be0005b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
xor ecx, ecx
mov dword [ebp - 0x198], ecx
mov dword [ebp - 0x194], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.6bdfeceb
xor eax, eax
push ebp
push 0x10002d83
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
nop
nop
nop
nop
nop
nop
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x70]
mov ecx, 0x40
call fcn.6bdff0f7
cmp word [ebp - 0x70], 0x5a4d
jne 0x6be002ac
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x34]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, eax
lea eax, [ebp - 0x168]
mov ecx, 0xf8
call fcn.6bdff0f7
cmp dword [ebp - 0x168], 0x4550
jne 0x6be002ac
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0xf0]
lea eax, [ebp - 0x190]
mov ecx, 0x28
call fcn.6bdff0f7
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xf0]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0xec]
mov dword [ebp - 0x28], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x178]
dec eax
test eax, eax
jb 0x6be002ac
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0

Function at 0x6be015f7
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x10004100
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 4]
mov edx, 0x10004118
mov eax, 0x10004130
call fcn.6bdff13f
push 0
push dword [ebp - 4]
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
or al, al
jne 0x6be0163a
xor eax, eax
leave
ret
mov eax, 1
leave
ret
Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
invalid
adc eax, 0x45bb7a68
jp 0x414a7f
inc ebp
xor esi, ecx
into
cmp al, 0x40
loopne 0x414ac2
lodsd eax, dword [esi]
and byte [ebx + 0x9b6179f], 0xe5
mov eax, 0x95cf1ebe
in al, 0x27
popal
cmp cl, 0xe1
jg 0x414b1f
inc eax
pop ebx
wait
popfd
add ah, cl
daa
dec ebp
and byte [eax + 0x1e10959f], ah
pushal
sub byte [eax - 0x407d9f46], 0x59
invalid
jge 0x414b61
loope 0x414ac2
jge 0x414b65
loope 0x414ac6
jge 0x414b69
loope 0x414b47
xchg ecx, eax
inc esp
wait
pop ecx
lodsb al, byte [esi]
dec ecx
fnstsw word [ebp + 0x49]
sbb dl, al
adc eax, 0x7dde9140
push cs
cmpsb byte [esi], byte es:[edi]
daa
movsd dword es:[edi], dword [esi]
ret 0x19db
cmp byte [ecx + 0x1e], ch
fld st(4)
inc eax
int1
imul ebx, dword [esi], 0xf140c4d9
fistp qword [ebp - 0x3f]
sahf
jge 0x414b95
loope 0x414b75
xchg ebx, eax
test eax, 0xc19f9797
setle byte [ebp + 0x40]
loope 0x414b88
pop ebp
or esp, dword [eax + 0x43affc9f]
mov al, byte [0x43affc9f]
inc ebx
push ebx
dec ecx
loopne 0x414bcf
xchg ebp, eax
imul esp, ecx, 0xffffff9f
jge 0x414b70
retf
repne cmpsb byte [esi], byte es:[edi]
test dword [eax - 0xa34744a], edi
mov dh, 0x8b
retf
mov ebx, 0x1ee584fe
push ds
mov edx, 0x3da8d1c0
test al, 0x3d
test al, 0xf3
lahf
jge 0x414bcd
loopne 0x414bf0
popal
je 0x414b48
loopne 0x414bf3
pushal
mov ah, 0xb
enter 0xffffffffffffbf40, 0x4c
loope 0x414b51
inc eax
mov edi, 0x8bb6e14c
mov dh, 0x8b
mov ecx, dword [ecx + 0x16]
dec ecx
push ss
aam 0x4c
inc ecx
pop edi
pushal
outsb dx, byte [esi]
lcall 0x9fe1, 0x44bc1e22
jge 0x414c0e
sbb cl, al
ror dword es:[esi], 0x7e
hlt
pop edi
jmp 0xa02c7f94
sal dword [ebx], 0xeb
lahf
jge 0x414c15
loope 0x414b76
jge 0x414c19
loope 0x414b7a
jge 0x414c1d
loope 0x414b7e
jge 0x414c21
loope 0x414b82
jge 0x414c25
loope 0x414b86
jge 0x414c29
loope 0x414b8a
jge 0x414c2d
loope 0x414b8e
jge 0x414c31
inc eax
loope 0x414b92
jge 0x414c35
loope 0x414b96
jge 0x414c39
loope 0x414b9a
jge 0x414c3d
loope 0x414b9e
jge 0x414bdd
outsd dx, dword [esi]
invalid
invalid
outsd dx, dword [esi]
invalid
outsd dx, dword [esi]
invalid
outsd dx, dword [esi]
invalid
outsd dx, dword [esi]
invalid
outsd dx, dword [esi]
invalid
outsd dx, dword [esi]
invalid
outsd dx, dword [esi]
invalid
outsd dx, dword [esi]
invalid
outsd dx, dword [esi]
invalid
outsd dx, dword [esi]
invalid
outsd dx, dword [esi]
invalid
Function at 0x41304a
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x414c30
push 1
xor ebx, ebx
push ebx
push 0x414ce0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41311b
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x414cd0
push eax
call dword [ecx]
test eax, eax
jl 0x413112
cmp byte [ebp + 8], bl
je 0x41309d
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 2
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x4130ba
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
cmp dword [ebp + 0x1c], ebx
jne 0x4130cc
push 0x41437c
jmp 0x4130cf
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x4130e4
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x4130f5
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x413109
mov bl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
pop ebx
leave
ret 0x1c

Function at 0x413135
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
enter 0x84, 0
sub ebp, 0x82
add byte [eax], 0
add bh, al
inc ebp
inc byte [eax]
add byte [eax], al
add byte [ebp - 0x301781ab], cl
add eax, 0xc3890000
push edx
mov edx, ebx
or dl, 0x40
push edx
mov edx, 0x401e9a
sub edx, fcn.00401665
push edx
xor eax, eax
push fcn.00401665
mov dword [ebp + 0x7e], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x401058
mov eax, ebx

Function at 0x4015eb
Capabilities:
Delete file
Encode data using base64 via winapi

Disassembly:
push ebx
push ecx
push edx
enter 0x324, 0
push 0
call dword [sym.imp.OLE32.DLL_CoInitialize]
push 0
call dword [sym.imp.OLE32.DLL_CoCreateGuid]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push 1
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 4], 0x14
mov byte [ebp - 0x11c], 0
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringW]
lea eax, [ebp - 0x324]
push eax
movzx ebx, word [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
call dword [sym.imp.OLE32.DLL_CoUninitialize]
lea eax, [ebx - 0x41]
leave
pop edx
pop ecx
pop ebx
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x10b86567
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..rdata
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x479d2828
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40c588
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 0x40c5d2
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 0x40c5a1
jmp 0x40c5d2
movsx ecx, byte [esi + ebx]
rol edx, 5
xor edx, ecx
imul edx, edx, 0x9e3779b9
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x40c5c2
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x40d668
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 0x40d69d
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 0x40d6c7
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40d6c7
test edi, edi
je 0x40d694
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40d694
test edi, edi
je 0x40d6cf
mov eax, edi
jmp 0x40d696
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40d696
mov esi, 0xc3
push esi
push str.c:_builds_moz2_slave_fx_team_w32_d_0000000000000000_build_src_mfbt_Poison.cpp
push str.no_usable_poison_region_identified
call fcn.004113db
add esp, 0xc
int3
Function at 0x41140f
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.TestArrayUtils.exe_gMozillaPoisonSize], eax
call fcn.0040d668
pop ecx
mov ecx, dword [sym.TestArrayUtils.exe_gMozillaPoisonSize]
mov dword [sym.TestArrayUtils.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x411447
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestArrayUtils.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
mov eax, 1
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
xor ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
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 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
mov ecx, edi
jns 0x41989b
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 + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4099a4
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 0x409a77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a90
push ebx
push 0x409a9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
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.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a24
mov al, 0x69
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409978
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a2d
call fcn.00409978
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 0x409a7e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
jmp 0x409bd9
cmp dword [esi + 0x10], 0x1000
jne 0x409bc5
test byte [esi + 0x15], 1
jne 0x409bc5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b84
cmp eax, 2
je 0x409b84
cmp eax, 0x10
je 0x409b84
cmp eax, 0x20
jne 0x409b99
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b99
mov bl, 1
xor ebp, ebp
jmp 0x409baa
mov eax, dword [esi]
add eax, ebp
call fcn.00409b28
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b9d
test bl, bl
je 0x409bc5
push esp
mov eax, dword [esp + 4]
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 ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b5c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x408910
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
mov eax, dword [esp]
add esp, 4
mov ebx, 0xcb3dbb5e
call fcn.00408943
or ebx, ecx
add ecx, 0x2bd0dfc0
xor dword [edx], eax
or ebx, ecx
mov ebx, ebx
inc edx
sub ecx, 0x1923eef7
or ecx, ebx
cmp edx, edi
jne fcn.00408910
ret