joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b8190
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1cc
mov eax, dword [0x68b740]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1cc], ecx
mov eax, dword [ebp - 0x1cc]
cmp dword [eax + 8], 0
je 0x4b81d5
mov ecx, dword [ebp - 0x1cc]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
mov eax, dword [ebp - 0x1cc]
mov dword [eax + 8], 0
push 0xc0
push 0
lea ecx, [ebp - 0x148]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0
lea edx, [ebp - 0x148]
push edx
push 0x3e9
mov ecx, dword [0x6de314]
call fcn.005389f0
mov al, byte [0x63abb8]
mov byte [ebp - 0x88], al
push 0x7f
push 0
lea ecx, [ebp - 0x87]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dl, byte [0x63abb8]
mov byte [ebp - 0x1c8], dl
push 0x7f
push 0
lea eax, [ebp - 0x1c7]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x641e90
lea ecx, [ebp - 0x128]
push ecx
mov ecx, 0x68d090
call fcn.004197b0
push eax
push 0x641e84
lea edx, [ebp - 0x1c8]
push edx
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0x14
lea eax, [ebp - 0x1c8]
push eax
push 0x80
lea ecx, [ebp - 0x88]
push ecx
call dword [sym.imp.engine.dll_void___cdecl_g_GetFullPath_char___unsigned_int__char_const__]
add esp, 0xc
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.MSVCR80.dll_remove]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00612c78
mov esp, ebp
pop ebp
ret

Function at 0x4be930
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x68b740]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x8c], ecx
mov eax, dword [ebp - 0x8c]
cmp dword [eax + 0x1e0], 0
je 0x4be97e
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x1e0]
push edx
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
mov eax, dword [ebp - 0x8c]
mov dword [eax + 0x1e0], 0
mov cl, byte [0x63abb8]
mov byte [ebp - 0x88], cl
push 0x7f
push 0
lea edx, [ebp - 0x87]
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x80
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.004be7e0
lea ecx, [ebp - 0x88]
push ecx
call dword [sym.imp.MSVCR80.dll_remove]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00612c78
mov esp, ebp
pop ebp
ret
Function at 0x51e3c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x68b740]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], ecx
push 0x63f170
push 0x104
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.engine.dll_void___cdecl_g_GetFullPath_char___unsigned_int__char_const__]
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0x645e08
push 0x63bd24
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00612c78
mov esp, ebp
pop ebp
ret
Function at 0x525750
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x360
mov eax, dword [0x68b740]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x358]
push ecx
call sub.MSVCR80.dll_strcpy
add esp, 8
push 0x646920
lea edx, [ebp - 0x358]
push edx
call sub.MSVCR80.dll_strcat
add esp, 8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x250]
push ecx
call sub.MSVCR80.dll_strcpy
add esp, 8
push 0x63b960
lea edx, [ebp - 0x250]
push edx
call sub.MSVCR80.dll_strcat
add esp, 8
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x358]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x360], eax
cmp dword [ebp - 0x360], 0xffffffff
jne 0x5257db
xor eax, eax
jmp 0x525940
lea edx, [ebp - 0x250]
push edx
lea eax, [ebp - 0x358]
push eax
call sub.MSVCR80.dll_strcpy
add esp, 8
mov byte [ebp - 0x359], 1
movzx ecx, byte [ebp - 0x359]
test ecx, ecx
je 0x525929
lea edx, [ebp - 0x148]
push edx
mov eax, dword [ebp - 0x360]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x5258ff
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00525710
add esp, 4
test eax, eax
je 0x525838
jmp 0x5257f8
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x250]
push eax
call sub.MSVCR80.dll_strcat
add esp, 8
mov ecx, dword [ebp - 0x148]
and ecx, 0x10
je 0x5258a5
lea edx, [ebp - 0x250]
push edx
call fcn.00525750
add esp, 4
test eax, eax
jne 0x525880
mov eax, dword [ebp - 0x360]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x525940
lea ecx, [ebp - 0x250]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea edx, [ebp - 0x358]
push edx
lea eax, [ebp - 0x250]
push eax
call sub.MSVCR80.dll_strcpy
add esp, 8
jmp 0x5258fd
mov ecx, dword [ebp - 0x148]
and ecx, 1
je 0x5258c5
push 0x80
lea edx, [ebp - 0x250]
push edx
call dword [sym.imp.MSVCR80.dll__chmod]
add esp, 8
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x5258e7
mov ecx, dword [ebp - 0x360]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x525940
lea edx, [ebp - 0x358]
push edx
lea eax, [ebp - 0x250]
push eax
call sub.MSVCR80.dll_strcpy
add esp, 8
jmp 0x525924
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x525913
mov byte [ebp - 0x359], 0
jmp 0x525924
mov ecx, dword [ebp - 0x360]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x525940
jmp 0x5257f8
mov edx, dword [ebp - 0x360]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00612c78
mov esp, ebp
pop ebp
ret
Function at 0x5266b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x68b740]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], 0
push 0x63f170
push 0x104
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.engine.dll_void___cdecl_g_GetFullPath_char___unsigned_int__char_const__]
add esp, 0xc
xor ecx, ecx
cmp dword [0x6de400], 4
sete cl
test ecx, ecx
je 0x526724
lea edx, [ebp - 0x110]
push edx
push 1
push 0x646b8c
push 0x63bd24
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x114], eax
jmp 0x52672e
mov dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00612c78
mov esp, ebp
pop ebp
ret

Function at 0x5267d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x5c], ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x5267fe
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x5c]
call fcn.00526820
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x526812
push 1
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esp, ebp
pop ebp
ret 8
Function at 0x5923b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x68b740]
xor eax, esp
mov dword [esp + 0x20], eax
jmp 0x5923c4
mov eax, dword [0x8e48f4]
mov ecx, dword [eax + 0x8c44]
mov edx, dword [0x12c5540]
imul ecx, ecx, 0x113b8
lea ecx, [ecx + edx + 0x130d]
lea edx, [esp]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x5923e5
lea ecx, [esp]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
add ecx, 1
test al, al
jne 0x592400
sub ecx, edx
push esi
mov esi, ecx
and esi, 3
shr ecx, 2
lea edx, [esp + 4]
mov eax, 0x7da9
je 0x592433
nop
sub ecx, 1
lea eax, [eax + ecx + 0x66058fea]
xor dword [edx], eax
add edx, 4
test ecx, ecx
ja 0x592420
test esi, esi
jbe 0x592449
xor byte [edx], al
movzx ecx, byte [edx + 1]
add edx, 1
sub esi, 1
xor eax, ecx
test esi, esi
ja 0x592437
lea edx, [esp + 4]
push edx
mov byte [esp + 0x27], 0
call dword [sym.imp.engine.dll_unsigned_long_int___cdecl_g_HashString2Id_char_const__]
mov ecx, dword [esp + 0x28]
add esp, 4
add eax, 0x41
pop esi
xor ecx, esp
xor eax, 0x8235
call fcn.00612c78
add esp, 0x24
ret

Function at 0x592480
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x68b740]
xor eax, esp
mov dword [esp + 0x20], eax
jmp 0x592494
mov eax, dword [0x8e48f4]
mov ecx, dword [eax + 0x8c44]
mov edx, dword [0x12c5540]
imul ecx, ecx, 0x113b8
lea ecx, [ecx + edx + 0x130d]
lea edx, [esp]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x5924b5
lea ecx, [esp]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
add ecx, 1
test al, al
jne 0x5924d0
mov eax, dword [esp + 0x28]
sub ecx, edx
push esi
mov esi, ecx
and esi, 3
shr ecx, 2
lea edx, [esp + 4]
je 0x592503
mov edi, edi
sub ecx, 1
lea eax, [eax + ecx + 0x2e6d23c1]
xor dword [edx], eax
add edx, 4
test ecx, ecx
ja 0x5924f0
xor eax, esi
test esi, esi
jbe 0x59251f
lea esp, [esp]
xor byte [edx], al
sub esi, 1
add edx, 1
shr eax, 8
test esi, esi
ja 0x592510
lea eax, [esp + 4]
push eax
mov byte [esp + 0x27], 0
call dword [sym.imp.engine.dll_unsigned_long_int___cdecl_g_HashString2Id_char_const__]
mov ecx, dword [esp + 0x28]
add esp, 4
pop esi
xor ecx, esp
add eax, 0x41
call fcn.00612c78
add esp, 0x24
ret

Function at 0x59bd80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x632fa8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x68b740]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, ecx
xor ecx, ecx
mov edx, 1
mov dword [eax + 0x18], ecx
mov dword [eax + 4], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x18]
mov dword [eax], 0x65012c
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], edx
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret 4
Function at 0x5a01a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x633173
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x68b740]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov ebx, 1
push ebx
push 2
call fcn.0059b060
lea esi, [edi + 0x28]
xor eax, eax
mov dword [edi], 0x650294
mov dword [esi + 0x18], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esi], 0x64fe70
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esp + 0x1c], eax
mov dword [esi + 0x38], eax
mov byte [esp + 0x1c], bl
lea ebx, [edi + 0x64]
push eax
mov ecx, ebx
call fcn.0059fbc0
mov eax, dword [edi + 8]
mov dword [eax], esi
mov ecx, dword [edi + 8]
mov dword [ecx + 4], ebx
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x5a0300
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6331a3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x68b740]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x650294
lea ecx, [esi + 0x64]
mov dword [esp + 0x14], 1
call fcn.0055bfb0
mov eax, dword [esi + 0x30]
test eax, eax
mov dword [esi + 0x28], 0x64e784
je 0x5a035c
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [esi + 0x30], 0
mov ecx, esi
mov dword [esi + 0x34], 1
mov dword [esp + 0x14], 0xffffffff
call fcn.0059b300
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x5df770
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x636259
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
push edi
mov eax, dword [0x68b740]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call dword [sym.imp.engine.dll_public:_void___thiscall_KIniFile::constructor_void_]
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x70], 0
call dword [sym.imp.engine.dll_public:_int___thiscall_KIniFile::Load_char_const__]
test eax, eax
lea ecx, [esp + 0xc]
je 0x5df918
mov edi, dword [sym.imp.engine.dll_public:_int___thiscall_KIniFile::GetInteger_char_const___char_const___int__int__]
push esi
push 0xf4240
push 0x652d80
push 0x63ac24
call edi
lea ecx, [esi + 4]
push ecx
push 0x2710
push 0x652d70
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
lea edx, [esi + 8]
push edx
push 5
push 0x652d5c
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
lea eax, [esi + 0xc]
push eax
push 0x2710
push 0x652d50
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
lea ecx, [esi + 0x10]
push ecx
push 4
push 0x652d40
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
lea edx, [esi + 0x14]
push edx
push 0xc
push 0x652d38
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
lea eax, [esi + 0x18]
push eax
push 0x1e
push 0x652d2c
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
lea ecx, [esi + 0x1c]
push ecx
push 0xa
push 0x652d1c
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
lea edx, [esi + 0x20]
push edx
push 0x20
push 0x652d08
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
lea eax, [esi + 0x24]
push eax
push 3
push 0x652cf4
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
lea ecx, [esi + 0x28]
push ecx
push 0xa
push 0x652ce0
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
lea edx, [esi + 0x2c]
push edx
push 0xe10
push 0x652cd0
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
add esi, 0x30
push esi
push 5
push 0x652cc4
push 0x63ac24
lea ecx, [esp + 0x1c]
call edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x6c], 0xffffffff
call dword [sym.imp.engine.dll_public:_void___thiscall_KIniFile::destructor_void_]
mov eax, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x64
ret 4
mov dword [esp + 0x6c], 0xffffffff
call dword [sym.imp.engine.dll_public:_void___thiscall_KIniFile::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x64
ret 4
Function at 0x611c40
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
mov ecx, dword [ebp]
push esi
mov esi, dword [esp + 0x10]
mov ebx, esi
and ebx, 3
shr esi, 2
push edi
mov edi, dword [esp + 0x18]
je 0x611c85
lea ecx, [ecx]
sub esi, 1
lea eax, [ecx + esi]
xor edx, edx
div dword [0x68b71c]
add edi, 4
mov ecx, dword [edx*4 + 0x685e60]
add ecx, 0x2e6d23c1
xor dword [edi - 4], ecx
test esi, esi
ja 0x611c60
xor edx, edx
mov eax, ebx
div dword [0x68b71c]
xor ecx, dword [edx*4 + 0x685e60]
test ebx, ebx
jbe 0x611caf
lea ebx, [ebx]
xor byte [edi], cl
sub ebx, 1
add edi, 1
shr ecx, 8
test ebx, ebx
ja 0x611ca0
mov eax, dword [ebp]
mov ecx, eax
shl ecx, 5
sub ecx, eax
pop edi
add ecx, 0x8088405
pop esi
mov dword [ebp], ecx
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x611d00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x611d1c
mov eax, dword [ebp - 4]
jmp 0x611df7
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x611dd2
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov edi, edi
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x6566d0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x6566d0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x6566d0]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x6566d0]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x6566d0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x6566d0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x6566d0]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x6566d0]
dec ebp
jne 0x611d3c
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x611dee
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x6566d0]
dec ecx
jne 0x611ddc
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6129f0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
mov dword [esp + 0xc], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [esp + 0xc]
push eax
push 0xf00ff
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x612a3b
mov ecx, dword [esp + 0xc]
push 1
push 0x656af4
push ecx
mov ecx, ebx
call fcn.00612980
test eax, eax
je 0x612a3b
mov edi, 1
mov eax, dword [esp + 0xc]
test eax, eax
je 0x612a4a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x612c78
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x68b740]
jne 0x612c82
repz ret
jmp fcn.00613546
Function at 0x734a6f18
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 8]
call dword [0x751a103c]
mov ecx, dword fs:[0x18]
mov edx, dword [ecx + 0x30]
cmp byte [edx + 2], 0
mov ecx, 0xdeadbeef
jne 0x734a6fbb
test eax, eax
je 0x734a6f56
mov edx, dword [eax + 0x60]
sub edx, dword [eax + 0x64]
cmp edx, 0x2000
jb 0x734a6fbb
mov edx, dword [ebp + 8]
cmp edx, ecx
jne 0x734a6f64
test eax, eax
je 0x734a6fbb
mov edx, dword [eax + 0x64]
mov dword [0x751ab134], edx
cmp dword [ebp + 0xc], ecx
jne 0x734a6fc4
test eax, eax
je 0x734aa788
mov eax, dword [eax + 0x64]
mov dword [0x751ab138], eax
add eax, 8
cmp eax, 8
jb 0x734aa790
mov eax, dword [ebp + 0x10]
mov dword [0x751ab13c], 0x751a8fd4
test eax, eax
je 0x734a6fa1
mov dword [0x751ab13c], eax
mov eax, dword [ebp + 0x14]
mov dword [0x751ab140], 0x751a8faf
test eax, eax
je 0x734a6fb7
mov dword [0x751ab140], eax
pop ebp
ret 0x10
and dword [0x751ab134], 0
jmp 0x734a6f6a
mov eax, dword [ebp + 0xc]
jmp 0x734a6f7a
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
test dword [eax - 0x34f888ef], esp
adc dword [edi], esi
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add bh, ah
sub dword [ebx - 0x1f], esi
or ah, byte [eax + eax - 0x1f8]
inc ecx
or cl, byte [edx]
or al, byte [eax]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dh, bh
invalid

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 0x410aff
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.0040cf26
pop ecx
mov ecx, dword [sym.TestSaturate.exe_gMozillaPoisonSize]
mov dword [sym.TestSaturate.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x410b37
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestSaturate.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x40d13a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
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.00407d3b
mov dword [ebp - 0x14], eax
cmp dword [0x454f7c], esi
jne 0x40d22d
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d1ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d30d
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d30d
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d30d
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x454f7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x454f80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x454f84], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x454f8c], eax
test eax, eax
je 0x40d22a
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x454f88], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d252
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d245
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d267
push 4
pop eax
jmp 0x40d30f
cmp dword [ebp - 0x14], esi
je 0x40d267
push dword [0x454f7c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d24c
mov eax, dword [0x454f88]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d2c5
cmp dword [0x454f8c], edi
je 0x40d2c5
push eax
call ebx
push dword [0x454f8c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d2c5
test eax, eax
je 0x40d2c5
call ecx
test eax, eax
je 0x40d2ba
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 0x40d2ba
test byte [ebp - 8], 1
jne 0x40d2c5
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d2f5
mov eax, dword [0x454f80]
cmp eax, edi
je 0x40d2f2
push eax
call ebx
test eax, eax
je 0x40d2f2
call eax
mov esi, eax
test esi, esi
je 0x40d2f2
mov eax, dword [0x454f84]
cmp eax, edi
je 0x40d2f2
push eax
call ebx
test eax, eax
je 0x40d2f2
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x454f7c]
call ebx
test eax, eax
je 0x40d30d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d30f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404238
mov esp, ebp
pop ebp
ret