joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001152
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
push 0x104
lea eax, [ebp - 0x170]
mov dword [ebp - 4], eax
push 1
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
call fcn.010010e4
cmp eax, 1
jl 0x100121b
push ebx
xor ebx, ebx
cmp byte [ebp - 0x170], bl
push esi
lea esi, [ebp - 0x170]
je 0x10011bb
cmp byte [esi], 0x3a
je 0x100119e
inc esi
cmp byte [esi], bl
jne 0x1001192
jmp 0x10011a1
mov byte [esi], bl
inc esi
cmp byte [esi], bl
je 0x10011bb
push 0x10010ac
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10011c1
lea esi, [ebp - 0x170]
push 0x29
lea eax, [ebp - 0x68]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x1001219
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jl 0x1001219
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x1001219
push ebx
lea eax, [ebp - 0x14]
push eax
call sub.ole32.dll_CoRegisterSurrogateEx
call dword [sym.imp.ole32.dll_CoUninitialize]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
pop ebx
xor eax, eax
leave
ret 0x10

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x3ab81150
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
mov eax, section..text_1
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
sub dword [eax + 0x31909090], edx
rcl byte [eax - 0x6f6faf70], cl
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3d895236
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401444
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
mov edx, dword [0x872b14]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x18], esi
push edi
mov edi, dword [esi]
mov ebx, dword [esi + 4]
mov dword [ebp - 0x10], edi
cmp edx, 0x594
jne 0x401482
push 0
lea eax, [ebp - 0x844]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, dword [0x872b14]
mov eax, dword [0x41c308]
lea ecx, [ebp - 8]
and dword [ebp - 8], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [0x41c30c]
mov dword [ebp - 0x2c], 0x9e3779b9
mov dword [ebp - 0x24], eax
call fcn.00401438
add dword [ebp - 8], 0x23f
cmp edx, 0x14
jne 0x4014c2
push 0
lea eax, [ebp - 0x444]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
mov ecx, dword [0x41c310]
mov eax, dword [0x41c314]
push 0x20
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], eax
pop esi
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov eax, edi
mov edx, 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0x872b14], 0xfa9
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [0x872b10]
cmove eax, edx
xor edx, edx
cmp dword [0x872b14], 0x3eb
mov dword [0x872b10], eax
mov eax, dword [0x872a68]
cmove eax, edx
add ecx, edi
mov dword [0x872a68], eax
mov eax, dword [ebp - 0x10]
shr eax, 5
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
xor edx, ecx
add eax, dword [ebp - 0x20]
xor eax, edx
mov dword [0x872b0c], 0xf4ea3dee
cmp dword [0x872b14], 0x213
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], eax
jne 0x401591
push dword [ebp - 0x18]
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
lea eax, [ebp - 0x444]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x30]
push eax
push 0
lea eax, [ebp - 0x44]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
mov eax, dword [ebp - 0xc]
sub ebx, eax
mov eax, ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
shr eax, cl
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
add eax, ebx
xor edx, eax
cmp dword [0x872b14], 0xb03
mov dword [ebp - 4], edx
jne 0x4015d8
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
jmp 0x4015db
mov eax, dword [ebp - 0x10]
xor edx, eax
mov ecx, edi
mov dword [ebp - 4], edx
call fcn.0040143f
mov edi, eax
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 8], eax
mov ecx, dword [ebp - 0x28]
dec esi
jne 0x4014d6
mov esi, dword [ebp - 0x18]
mov dword [esi], edi
pop edi
mov dword [esi + 4], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40160b
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x872b14]
sub esp, 0x800
push esi
mov esi, eax
shr esi, 3
push edi
mov edi, dword [0x872a6c]
test esi, esi
je 0x401659
cmp eax, 0x959
jne 0x401645
push 0
lea eax, [ebp - 0x800]
push eax
push str.vacenihujekopibixilelehe
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, edi
call fcn.00401444
add edi, 8
dec esi
je 0x401659
mov eax, dword [0x872b14]
jmp 0x40162a
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40cc59
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b430]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407a5b
mov dword [ebp - 0x14], eax
cmp dword [0x4598d4], esi
jne 0x40cd4c
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40ccd9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40ce2c
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40ce2c
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ce2c
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4598d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4598d8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4598dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4598e4], eax
test eax, eax
je 0x40cd49
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4598e0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40cd71
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40cd64
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40cd86
push 4
pop eax
jmp 0x40ce2e
cmp dword [ebp - 0x14], esi
je 0x40cd86
push dword [0x4598d4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40cd6b
mov eax, dword [0x4598e0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40cde4
cmp dword [0x4598e4], edi
je 0x40cde4
push eax
call ebx
push dword [0x4598e4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40cde4
test eax, eax
je 0x40cde4
call ecx
test eax, eax
je 0x40cdd9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40cdd9
test byte [ebp - 8], 1
jne 0x40cde4
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40ce14
mov eax, dword [0x4598d8]
cmp eax, edi
je 0x40ce11
push eax
call ebx
test eax, eax
je 0x40ce11
call eax
mov esi, eax
test esi, esi
je 0x40ce11
mov eax, dword [0x4598dc]
cmp eax, edi
je 0x40ce11
push eax
call ebx
test eax, eax
je 0x40ce11
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4598d4]
call ebx
test eax, eax
je 0x40ce2c
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40ce2e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040425b
mov esp, ebp
pop ebp
ret
Function at 0x403d61
Capabilities:
Encode data using xor

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x761a4e9f
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x335e6945
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40105b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4af004]
jne 0x401065
repz ret
jmp fcn.00401684

Function at 0x40495b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4af004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040382b
and dword [ebp - 0x14], 0
cmp dword [0x4b1928], 0
mov dword [ebp - 0x18], eax
jne 0x404a0e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404ab6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404ab6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4b1928], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4b192c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4b1930], eax
call edi
push eax
call esi
mov dword [0x4b1938], eax
test eax, eax
je 0x404a0e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4b1934], eax
mov eax, dword [0x4b1934]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404a67
cmp dword [0x4b1938], ecx
je 0x404a67
push eax
call esi
push dword [0x4b1938]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404a67
test ebx, ebx
je 0x404a67
call edi
test eax, eax
je 0x404a5e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x404a5e
test byte [ebp - 8], 1
jne 0x404a67
or dword [ebp + 0x10], 0x200000
jmp 0x404a9a
mov eax, dword [0x4b192c]
cmp eax, dword [ebp - 0x18]
je 0x404a9a
push eax
call esi
test eax, eax
je 0x404a9a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x404a9a
mov eax, dword [0x4b1930]
cmp eax, dword [ebp - 0x18]
je 0x404a9a
push eax
call esi
test eax, eax
je 0x404a9a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b1928]
call esi
test eax, eax
je 0x404ab6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404ab8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040105b
leave
ret
Function at 0x433007
Capabilities:
Encode data using xor

Disassembly:
add byte [eax], dl
inc eax
add byte [eax + 0x46a9090], dl
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2fd068e4
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x64115e7
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40cb2f
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x1505
jmp 0x40cb50
lea eax, [ecx - 0x61]
cmp eax, 0x19
ja 0x40cb48
and ecx, 0xffffffdf
imul edx, edx, 0x21
xor edx, ecx
add esi, 2
movzx ecx, word [esi]
test ecx, ecx
jne 0x40cb3d
mov eax, dword [ebp + 0x10]
movzx ecx, dl
mov edx, ecx
shr edx, 5
mov dword [eax], edx
mov eax, dword [ebp + 0x14]
xor edx, edx
and ecx, 0x1f
inc edx
shl edx, cl
pop esi
mov dword [eax], edx
pop ebp
ret 0x10

Function at 0x409850
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x40986a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x409871
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409860
mov eax, 1
add ebx, ebx
jne 0x409883
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x409878
jne 0x409894
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409878
xor ecx, ecx
sub eax, 3
jb 0x4098a8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40991a
mov ebp, eax
add ebx, ebx
jne 0x4098b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4098c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4098e4
inc ecx
add ebx, ebx
jne 0x4098d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4098c5
jne 0x4098e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4098c5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x409904
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4098f5
jmp 0x409866
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x409904
add edi, ecx
jmp 0x409866
pop esi
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x40996c
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb84c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb8b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x409921
mov ecx, edi
jns 0x409950
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 + 0xb8c0]
or eax, eax
je 0x409966
mov dword [ebx], eax
add ebx, 4
jmp 0x40993e
call dword [esi + 0xb8bc]
mov ebp, dword [esi + 0xb8c4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x4099a0
sub esp, 0xffffff80
jmp 0x4011fa
Function at 0x434380
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2c000]
push edi
or ebp, 0xffffffff
jmp 0x4343a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4343a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x434398
mov eax, 1
add ebx, ebx
jne 0x4343bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4343b0
jne 0x4343cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4343b0
xor ecx, ecx
sub eax, 3
jb 0x4343e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x434452
mov ebp, eax
add ebx, ebx
jne 0x4343eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4343f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43441c
inc ecx
add ebx, ebx
jne 0x434408
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4343fd
jne 0x434419
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4343fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43443c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43442d
jmp 0x43439e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43443c
add edi, ecx
jmp 0x43439e
pop esi
mov edi, esi
mov ecx, 0x17b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43445a
cmp byte [edi], 5
jne 0x43445a
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 0x43445f
lea edi, [esi + 0x31000]
mov eax, dword [edi]
or eax, eax
je 0x4344d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4fb7c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4fc10]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43448c
mov ecx, edi
jns 0x4344bb
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 + 0x4fc18]
or eax, eax
je 0x4344d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4344a9
call dword [esi + 0x4fc14]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x434508
cmp al, 0xef
ja 0x4344fb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4344dd
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4344ea
mov ebp, dword [esi + 0x4fc1c]
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 0x43453c
sub esp, 0xffffff80
jmp 0x408afc
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, reloc.shlwapi.dll_PathRemoveFileSpecA
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x32d7508d
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e3d0
mov ecx, ebx
nop
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
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x73d410c3
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x76114064
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x71907ef0
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x40b7e6
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 0x40b82a
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 0x40b7f9
jmp 0x40b82a
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x40b81a
pop esi
pop ebp
ret

Function at 0x40c582
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 0x40c5b7
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 0x40c5e1
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40c5e1
test edi, edi
je 0x40c5ae
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40c5ae
test edi, edi
je 0x40c5e9
mov eax, edi
jmp 0x40c5b0
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40c5b0
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.0040f2eb
add esp, 0xc
int3
Function at 0x40f31f
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.TestCountZeroes.exe_gMozillaPoisonSize], eax
call fcn.0040c582
pop ecx
mov ecx, dword [sym.TestCountZeroes.exe_gMozillaPoisonSize]
mov dword [sym.TestCountZeroes.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40f357
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestCountZeroes.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret