joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40da20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
or ebp, 0xffffffff
jmp 0x40da42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40da49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40da38
mov eax, 1
add ebx, ebx
jne 0x40da5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40da50
jne 0x40da6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40da50
xor ecx, ecx
sub eax, 3
jb 0x40da80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40daf2
mov ebp, eax
add ebx, ebx
jne 0x40da8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40da98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40dabc
inc ecx
add ebx, ebx
jne 0x40daa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40da9d
jne 0x40dab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40da9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40dadc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40dacd
jmp 0x40da3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40dadc
add edi, ecx
jmp 0x40da3e
pop esi
mov edi, esi
mov ecx, 0x2b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40dafa
cmp byte [edi], 0
jne 0x40dafa
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 0x40daff
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40db6e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1199c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x11a24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40db2c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x11a2c]
or eax, eax
je 0x40db68
mov dword [ebx], eax
add ebx, 4
jmp 0x40db49
call dword [esi + 0x11a28]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x40db9f
cmp al, 0xef
ja 0x40db92
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x40db74
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x40db81
mov ebp, dword [esi + 0x11a30]
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 0x40dbd3
sub esp, 0xffffff80
jmp 0x403222
Function at 0x401312
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
cmp dword [ebp + 8], 0
je 0x40132b
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x401332
xor eax, eax
jmp 0x4013d3
cmp dword [ebp + 0xc], 0
je 0x40134b
push 0x140
push 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.00403d00
add esp, 0xc
lea eax, [ebp - 0x144]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4013c0
mov edx, dword [ebp - 0x144]
and edx, 0x10
test edx, edx
jne 0x4013a1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0xc], 0
je 0x40139a
push 0x140
lea ecx, [ebp - 0x144]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004039c0
add esp, 0xc
mov eax, 1
jmp 0x4013d3
lea eax, [ebp - 0x144]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401365
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp + 8]
push eax
push str.not_existing__s_n
call fcn.0040100a
add esp, 8
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4013d7
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0x258
cmp dword [ebp + 8], 0
je 0x4013f4
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x4013f9
jmp 0x401498
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00401312
add esp, 8
test eax, eax
jne 0x401410
jmp 0x401498
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
test eax, eax
je 0x401498
mov edx, dword [ebp + 8]
push edx
push str.WaitForFile__s_n
call fcn.0040100a
add esp, 8
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x40146d
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401498
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x40148b
mov edx, dword [ebp + 8]
push edx
push str.WaitForFile_missing__s_n
call fcn.0040100a
add esp, 8
jmp 0x401498
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40141b
mov esp, ebp
pop ebp
ret
Function at 0x402259
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], 0x9e3779b9
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], 0x20
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
sub ecx, 1
mov dword [ebp - 0x24], ecx
test eax, eax
jbe 0x40230b
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x1c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x20]
shl eax, 4
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 8]
xor eax, ecx
mov edx, dword [ebp - 0x20]
shr edx, 5
add edx, dword [ebp - 0xc]
xor eax, edx
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
shl edx, 4
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
xor edx, eax
mov ecx, dword [ebp - 0x18]
shr ecx, 5
add ecx, dword [ebp - 0x14]
xor edx, ecx
mov eax, dword [ebp - 0x20]
add eax, edx
mov dword [ebp - 0x20], eax
jmp 0x4022a8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 4], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4024ed
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 0
call fcn.00404038
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x402522
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x402529
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4027db
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov dword [ebp - 0x14], 0
push 0x10
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.00403d00
add esp, 0xc
push 0x44
push 0
lea ecx, [ebp - 0x58]
push ecx
call fcn.00403d00
add esp, 0xc
mov dword [ebp - 0x58], 0x44
cmp dword [ebp + 0xc], 0
je 0x40282c
mov dword [ebp - 0x2c], 1
mov dx, word [0x40b040]
mov word [ebp - 0x28], dx
jmp 0x40284e
mov dword [ebp - 0x2c], 0x101
mov word [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x402926
push 0x3c
push 0
lea ecx, [ebp - 0x98]
push ecx
call fcn.00403d00
add esp, 0xc
mov dword [ebp - 0x98], 0x3c
mov dword [ebp - 0x94], 0x141
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], str.open
mov edx, dword [ebp + 8]
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x84], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
lea edx, [ebp - 0x98]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x402924
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x10], eax
jmp 0x402930
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], 0
je 0x40296c
cmp dword [ebp - 0x5c], 0
je 0x40296c
push 3
call fcn.004021d9
add esp, 4
push eax
push 0x40b644
mov edx, dword [0x410bf4]
push edx
call fcn.00402578
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], 0
je 0x402991
cmp dword [ebp - 0x14], 0x102
je 0x402991
mov dword [ebp - 0x9c], 0
jmp 0x40299a
mov eax, dword [ebp - 8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov esp, ebp
pop ebp
ret
Function at 0x4029de
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov eax, dword [ebp + 8]
push eax
push 0x40b648
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edx, dword [ebp + 0xc]
add edx, eax
mov dword [ebp + 0xc], edx
mov dword [ebp - 4], 0
jmp 0x402a13
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 6
jge 0x402a51
call fcn.004023e7
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
and esi, 0x7fffffff
and esi, 0xff
mov eax, esi
cdq
mov ecx, 0x1a
idiv ecx
add edx, 0x41
mov eax, dword [ebp + 0xc]
mov byte [eax], dl
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
jmp 0x402a0a
mov edx, dword [ebp + 0x10]
push edx
push 0x40b64c
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ecx, dword [ebp + 0xc]
add ecx, eax
mov dword [ebp + 0xc], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x402a74
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
push 0xf0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x402a9a
push 0x40b650
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
test eax, eax
je 0x402aca
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebp + 8]
movsx eax, byte [edx + eax - 1]
cmp eax, 0x5c
je 0x402aca
push 0x40b654
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp + 8]
add ecx, eax
mov dword [ebp - 4], ecx
cmp dword [ebp + 0xc], 0
je 0x402b0a
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
test eax, eax
je 0x402b0a
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004041a0
add esp, 8
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x402b3c
push str..pck
mov ecx, dword [ebp - 4]
push ecx
push 0x40b660
call fcn.004029de
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.004029a4
add esp, 4
test eax, eax
jne 0x402b0a
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esp, ebp
pop ebp
ret
Function at 0x402b60
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x550
mov dword [ebp - 0x148], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x548]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x40b664
lea edx, [ebp - 0x548]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x548]
push eax
call fcn.00403940
add esp, 4
lea ecx, [ebp + eax - 0x548]
mov dword [ebp - 0x54c], ecx
push 0x40b668
lea edx, [ebp - 0x548]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x548]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x402cb5
mov edx, dword [ebp - 0x144]
and edx, 0x10
test edx, edx
jne 0x402c92
lea eax, [ebp - 0x144]
push eax
call fcn.00402b40
add esp, 4
push eax
mov ecx, dword [ebp - 0x54c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x550], 0
jmp 0x402c2e
mov edx, dword [ebp - 0x550]
add edx, 1
mov dword [ebp - 0x550], edx
cmp dword [ebp - 0x550], 0xa
jge 0x402c83
lea eax, [ebp - 0x548]
push eax
push 0x40b66c
call fcn.0040100a
add esp, 8
lea ecx, [ebp - 0x548]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x402c5e
jmp 0x402c83
mov edx, dword [ebp - 0x550]
imul edx, edx, 0x14
add edx, 0xc8
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.retry_n
call fcn.0040100a
add esp, 4
jmp 0x402c1f
mov eax, dword [ebp - 0x148]
add eax, 1
mov dword [ebp - 0x148], eax
lea ecx, [ebp - 0x144]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x402be5
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x148]
mov esp, ebp
pop ebp
ret

Function at 0x402db7
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x412584]
push eax
push 0x40b684
lea ecx, [ebp - 0x40]
push ecx
call fcn.00403f7b
add esp, 0xc
lea edx, [ebp - 0x40]
push edx
push str.PCK_ARGC
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov dword [ebp - 0x44], 0
jmp 0x402df5
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [0x412584]
jge 0x402e2c
mov edx, dword [ebp - 0x44]
push edx
push str.PCK_ARGV_u
lea eax, [ebp - 0x40]
push eax
call fcn.00403f7b
add esp, 0xc
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx*4 + 0x4125a0]
push edx
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x402dec
mov esp, ebp
pop ebp
ret
Function at 0x40c95c
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 0x40c9a0
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 0x40c96f
jmp 0x40c9a0
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x40c990
pop esi
pop ebp
ret

Function at 0x40d6f8
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 0x40d72d
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 0x40d757
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40d757
test edi, edi
je 0x40d724
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40d724
test edi, edi
je 0x40d75f
mov eax, edi
jmp 0x40d726
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40d726
mov esi, 0xc3
push esi
push str.c:_builds_moz2_slave_m_cen_w32_d_000000000000000000_build_src_mfbt_Poison.cpp
push str.no_usable_poison_region_identified
call fcn.00410278
add esp, 0xc
int3
Function at 0x4102ac
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.TestSaturate.exe_gMozillaPoisonSize], eax
call fcn.0040d6f8
pop ecx
mov ecx, dword [sym.TestSaturate.exe_gMozillaPoisonSize]
mov dword [sym.TestSaturate.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x4102e4
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestSaturate.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x48b960
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5f000]
push edi
or ebp, 0xffffffff
jmp 0x48b982
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48b989
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48b978
mov eax, 1
add ebx, ebx
jne 0x48b99b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48b9ac
jne 0x48b9cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48b9cb
dec eax
add ebx, ebx
jne 0x48b9b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48b990
add ebx, ebx
jne 0x48b9c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48ba1d
xor ecx, ecx
sub eax, 3
jb 0x48b9e3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48ba52
sar eax, 1
mov ebp, eax
jmp 0x48b9ee
add ebx, ebx
jne 0x48b9ee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48b9bc
inc ecx
add ebx, ebx
jne 0x48b9fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48b9bc
add ebx, ebx
jne 0x48ba09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48b9fe
jne 0x48ba1a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48b9fe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48ba3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48ba2e
jmp 0x48b97e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48ba3c
add edi, ecx
jmp 0x48b97e
pop esi
mov edi, esi
mov ecx, 0x234f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48ba5a
cmp byte [edi], 0x21
jne 0x48ba5a
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 0x48ba5f
lea edi, [esi + 0x88000]
mov eax, dword [edi]
or eax, eax
je 0x48bace
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8b22c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8b268]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48ba8c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8b270]
or eax, eax
je 0x48bac8
mov dword [ebx], eax
add ebx, 4
jmp 0x48baa9
call dword [esi + 0x8b26c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x48baff
cmp al, 0xef
ja 0x48baf2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x48bad4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x48bae1
mov ebp, dword [esi + 0x8b274]
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 0x48bb33
sub esp, 0xffffff80
jmp 0x40112c
Function at 0x402743
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbslen]
push 0x40e770
call edi
lea esi, [eax + 0x105]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4027b0
push esi
push ebx
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
test esi, esi
jne 0x4027b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x4027a5
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40278a
mov esi, str.JavaLow
push ebx
push dword [esp + 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
inc eax
pop ecx
pop edi
pop esi
pop ebx
ret
cmp esi, 0x104
jbe 0x402787
push 0x40e77c
call edi
inc eax
add eax, esi
push eax
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
add esp, 0xc
xor ebx, ebx
push esi
push ebx
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x402787
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x4027af
Function at 0x4015ad
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45b07c]
jne 0x4015b7
repz ret
jmp fcn.00401eac

Function at 0x406e0c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45b07c]
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.004044f4
and dword [ebp - 0x14], 0
cmp dword [0x45de8c], 0
mov dword [ebp - 0x18], eax
jne 0x406ebf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x406f67
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x406f67
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x45de8c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x45de90], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x45de94], eax
call edi
push eax
call esi
mov dword [0x45de9c], eax
test eax, eax
je 0x406ebf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x45de98], eax
mov eax, dword [0x45de98]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x406f18
cmp dword [0x45de9c], ecx
je 0x406f18
push eax
call esi
push dword [0x45de9c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x406f18
test ebx, ebx
je 0x406f18
call edi
test eax, eax
je 0x406f0f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406f0f
test byte [ebp - 8], 1
jne 0x406f18
or dword [ebp + 0x10], 0x200000
jmp 0x406f4b
mov eax, dword [0x45de90]
cmp eax, dword [ebp - 0x18]
je 0x406f4b
push eax
call esi
test eax, eax
je 0x406f4b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406f4b
mov eax, dword [0x45de94]
cmp eax, dword [ebp - 0x18]
je 0x406f4b
push eax
call esi
test eax, eax
je 0x406f4b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45de8c]
call esi
test eax, eax
je 0x406f67
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406f69
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004015ad
leave
ret