joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10050ec2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov bl, 1
push ebp
xor edx, edx
xor eax, eax
call fcn.10050d4e
pop ecx
test al, al
jne 0x10050f7d
push 0x104
lea eax, [ebp - 0x212]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameW
push ebp
lea eax, [ebp - 0x212]
mov dl, 1
call fcn.10050d4e
pop ecx
test al, al
jne 0x10050f7d
push 0x104
lea eax, [ebp - 0x212]
push eax
mov eax, dword [0x10068658]
push eax
call sub.KERNEL32.dll_GetModuleFileNameW
push ebp
lea eax, [ebp - 0x212]
mov dl, 1
call fcn.10050d4e
pop ecx
test al, al
jne 0x10050f7d
lea eax, [ebp - 0x212]
push eax
push 0x104
call sub.KERNEL32.dll_GetCurrentDirectoryW
push ebp
lea eax, [ebp - 0x212]
xor edx, edx
call fcn.10050d4e
pop ecx
test al, al
jne 0x10050f7d
push 0x104
lea eax, [ebp - 0x212]
push eax
call sub.KERNEL32.dll_GetSystemDirectoryW
push ebp
lea eax, [ebp - 0x212]
xor edx, edx
call fcn.10050d4e
pop ecx
mov ebx, eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10051a56
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax], 0
je 0x10051aed
push 2
lea ecx, [ebp - 2]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.100519a2
test al, al
je 0x10051aed
cmp word [ebp - 2], 0x5a4d
jne 0x10051aed
push 4
lea ecx, [ebp - 8]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov edx, dword [edx]
add edx, 0x3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.100519a2
test al, al
je 0x10051aed
push 0xf8
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov edx, dword [edx]
add edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.100519a2
test al, al
je 0x10051aed
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp dword [eax], 0x4550
jne 0x10051aed
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
test byte [eax + 0x17], 0x20
je 0x10051af1
xor eax, eax
jmp 0x10051af3
mov al, 1
test al, al
je 0x10051b10
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx]
movzx ecx, word [ebp - 2]
add edx, ecx
add edx, 0x78
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov dword [ecx], edx
pop ecx
pop ecx
pop ebp
ret
Function at 0x100521ba
Capabilities:
Get number of processors

Disassembly:
mov eax, dword gs:[0x60]
mov edx, dword gs:[0x64]
ret
Function at 0x10053d8a
Capabilities:
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 1
push 0
push 1
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
call fcn.100529de
mov ebx, eax
test bl, bl
je 0x10053de4
test esi, 4
jne 0x10053def
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.dll_ResumeThread
jmp 0x10053def
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.dll_TerminateProcess
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1005662a
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
xor eax, eax
mov dword [ebp - 0x154], eax
xor eax, eax
push ebp
push 0x100566d6
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
lea eax, [ebp - 0x154]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
call fcn.1003962e
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
xor ecx, ecx
call fcn.100548ae
mov ebx, eax
test bl, bl
je 0x100566bd
mov eax, dword [ebp - 0x144]
push eax
call sub.KERNEL32.dll_CloseHandle
push 0x64
mov eax, dword [ebp - 0x12c]
push eax
call sub.KERNEL32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x100566a5
push 0
mov eax, dword [ebp - 0x12c]
push eax
call sub.KERNEL32.dll_TerminateThread
mov eax, dword [ebp - 0x148]
push eax
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [ebp - 0x12c]
push eax
call sub.KERNEL32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100566dd
lea eax, [ebp - 0x154]
call fcn.10039436
ret
Function at 0x10056962
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x10056b4c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x10067d0c], 0
jne 0x10056b31
lea eax, [ebp - 4]
push eax
push 0x28
call sub.KERNEL32.dll_GetCurrentProcess
push eax
call sub.ADVAPI32.dll_OpenProcessToken
test eax, eax
je 0x10056b2a
xor eax, eax
push ebp
push 0x10056b23
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 3
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_GetTokenInformation
cmp dword [ebp - 8], 0
je 0x10056b0c
mov eax, dword [ebp - 8]
add eax, eax
push eax
push 0x40
call sub.KERNEL32.dll_LocalAlloc
mov ebx, eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
add eax, eax
push eax
push ebx
push 3
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_GetTokenInformation
test eax, eax
je 0x10056b06
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [0x10066d40]
call fcn.1003cb16
mov eax, dword [ebp - 0x24]
call fcn.1003988a
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x10056a3a
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x28]
mov eax, dword [0x10066d44]
call fcn.1003cb16
mov eax, dword [ebp - 0x28]
call fcn.1003988a
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x10056a6d
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x10066d48]
call fcn.1003cb16
mov eax, dword [ebp - 0x2c]
call fcn.1003988a
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x10056aa0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov esi, dword [ebx]
dec esi
test esi, esi
jl 0x10056af2
inc esi
xor ecx, ecx
lea edi, [ecx + ecx*2]
mov eax, dword [ebx + edi*4 + 4]
mov edx, dword [ebx + edi*4 + 8]
cmp edx, dword [ebp - 0xc]
jne 0x10056abd
cmp eax, dword [ebp - 0x10]
je 0x10056aee
lea eax, [ecx + ecx*2]
mov edx, dword [ebx + eax*4 + 8]
mov eax, dword [ebx + eax*4 + 4]
cmp edx, dword [ebp - 0x14]
jne 0x10056ad2
cmp eax, dword [ebp - 0x18]
je 0x10056aee
lea eax, [ecx + ecx*2]
mov edx, dword [ebx + eax*4 + 8]
mov eax, dword [ebx + eax*4 + 4]
cmp edx, dword [ebp - 0x1c]
jne 0x10056ae7
cmp eax, dword [ebp - 0x20]
je 0x10056aee
or dword [ebx + edi*4 + 0xc], 2
inc ecx
dec esi
jne 0x10056aaa
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_AdjustTokenPrivileges
push ebx
call sub.KERNEL32.dll_LocalFree
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10056b2a
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_CloseHandle
ret
mov byte [0x10067d0c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10056b53
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.1003945a
ret
Function at 0x4015b3
Capabilities:
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor ebx, ebx
sub esp, 0x1c
mov edi, dword [ebp + 8]
mov dword [esp], edi
call fcn.004014b6
mov dword [esp], eax
mov esi, eax
call fcn.00401492
mov eax, dword [ebx + 0x405020]
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x4015f8
mov dword [ebp + 8], edi
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004014e3
add ebx, 4
cmp ebx, 0x30c
jne 0x4015d3
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40160b
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea eax, [ebp - 0x268]
sub esp, 0x29c
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.KERNEL32.DLL_FindFirstFileW
mov dword [ebp - 0x28c], eax
inc eax
push ecx
push ecx
je 0x4017a8
lea eax, [ebp - 0x23c]
mov dword [esp + 4], 0x40607c
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x401777
lea eax, [ebp - 0x23c]
mov dword [esp + 4], 0x406080
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x401777
lea eax, [ebp - 0x23c]
mov dword [esp + 4], str._RECYCLE.BIN
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x401777
lea eax, [ebp - 0x23c]
lea edi, [ebp - 0x27e]
mov dword [esp], eax
call sub.msvcrt.dll_wcslen
mov ebx, eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_wcslen
mov esi, eax
lea eax, [ebx + eax]
mov dword [ebp - 0x290], eax
add eax, 4
add eax, eax
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov ebx, eax
mov eax, dword [ebp + 8]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_wcscpy
lea eax, [ebp - 0x23c]
mov word [ebx + esi*2 - 2], 0
mov dword [esp], ebx
mov esi, str.A:Windows
mov dword [esp + 4], eax
call sub.msvcrt.dll_wcscat
mov ecx, 0x16
rep movsb byte es:[edi], byte [esi]
mov dword [esp], str.HOMEDRIVE
call sub.msvcrt.dll__wgetenv
mov ax, word [eax]
mov dword [esp], ebx
mov word [ebp - 0x27e], ax
lea eax, [ebp - 0x27e]
mov dword [esp + 4], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x401777
mov dword [esp], ebx
call fcn.00401460
test eax, eax
je 0x401767
mov eax, dword [ebp - 0x290]
add eax, 0x7fffffff
add eax, eax
mov word [ebx + eax], 0x5c
mov word [ebx + eax + 2], 0x2a
mov word [ebx + eax + 4], 0
mov dword [esp], ebx
call fcn.0040160b
jmp 0x40176f
mov dword [esp], ebx
call fcn.004015b3
mov dword [esp], ebx
call sub.msvcrt.dll_free
lea eax, [ebp - 0x268]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x28c]
mov dword [esp], eax
call sub.KERNEL32.DLL_FindNextFileW
test eax, eax
push edx
push edx
jne 0x40163b
mov eax, dword [ebp - 0x28c]
mov dword [esp], eax
call sub.KERNEL32.DLL_FindClose
push eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x401857
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
xor eax, eax
mov ecx, 0x11
mov ebp, esp
push edi
lea edi, [ebp - 0x4c]
sub esp, 0x94
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x5c]
mov ecx, 4
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x5c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x8000000
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x4c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], 0
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
call sub.KERNEL32.DLL_CreateProcessA
mov eax, dword [ebp - 0x58]
sub esp, 0x28
mov dword [esp], eax
call sub.KERNEL32.DLL_CloseHandle
push eax
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call sub.KERNEL32.DLL_CloseHandle
mov edi, dword [ebp - 4]
push edx
leave
ret
Function at 0x401fb0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408044
call sub.KERNEL32.DLL_EnterCriticalSection
mov ebx, dword [0x40803c]
sub esp, 4
test ebx, ebx
je 0x401ffb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sub.KERNEL32.DLL_TlsGetValue
sub esp, 4
mov esi, eax
call sub.KERNEL32.DLL_GetLastError
test eax, eax
jne 0x401ff4
test esi, esi
je 0x401ff4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401fd0
mov dword [esp], 0x408044
call sub.KERNEL32.DLL_LeaveCriticalSection
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x4021e0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x402230
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.KERNEL32.DLL_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x402308
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x40226e
cmp eax, 4
jne 0x402290
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.DLL_VirtualProtect
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40227e
cmp edx, 4
je 0x40227e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.DLL_VirtualProtect
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.004021e0
Function at 0x404110
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call fcn.00401ea0
call sub.KERNEL32.DLL_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sub.KERNEL32.DLL_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x404146
jmp 0x40417e
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x404143
cmp al, 9
je 0x404143
cmp al, 0x22
jne 0x404167
jmp 0x4041c6
cmp al, 9
je 0x404173
add ebx, 1
movzx eax, byte [ebx]
test al, 0xdf
jne 0x404160
jmp 0x404173
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x404170
cmp al, 9
je 0x404170
test byte [ebp - 0x30], 1
mov esi, 0xa
je 0x40418d
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sub.KERNEL32.DLL_GetModuleHandleA
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0040193a
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
test al, al
je 0x4041d2
mov edx, ebx
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x22
jne 0x4041c2
cmp al, 0x22
jne 0x404173
lea ebx, [edx + 2]
jmp 0x404173

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 0x770e536c
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, 0xc5
div ecx
mov ecx, dword [0x75754080]
push esi
mov esi, dword [ebp + 0xc]
mov eax, edx
shl eax, 2
mov edx, dword [eax + ecx]
mov ecx, edx
test ecx, ecx
jne 0x770f4654
mov dword [esi + 0x20], edx
mov ecx, dword [0x75754080]
mov dword [eax + ecx], esi
pop esi
pop ebp
ret 8
rcl dword [ecx + 0x3a4f74a8]
insd dword es:[edi], dx
in eax, dx
sub dword [ebx + 0x71], esi
nop
invalid

Function at 0x770e6362
Capabilities:
Encode data using xor

Disassembly:
test dword [edx], ecx
xor eax, 0x350a850c
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
test dword [edx], ecx
xor eax, 0x350a850c
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
or dh, byte [0x350a850c]
or al, 0x85
invalid
invalid
Function at 0x771191ed
Capabilities:
Check for vm using instruction vpcext

Disassembly:
mov esi, dword [edx - 0x20050008]
add cl, byte [edx + 0x65]
scasb al, byte es:[edi]
mov al, byte [0x9141c70b]
push ecx
push 0x54
invalid
invalid
invalid
invalid

Function at 0x771192d1
Capabilities:
Encode data using xor

Disassembly:
or ebp, dword [ebx - 0x46ff64f6]
or ecx, dword [ecx]
or cl, byte [ebx]

Function at 0x407624
Capabilities:
Encode data using xor

Disassembly:
call 0x4074e2
sub ecx, ecx
sub ecx, 0xffffff88
call 0x407624
rcr byte [esi - 0x7f], 0x76
push cs
mov edi, 0x83ad5f20
out dx, al
cld
xor dword [esi + 0xe], 0xad5f20bf
sub esi, 0xfffffffc
loop 0x407627
inc ebx
wait
or dword [edx - 0x2d], ecx
dec ebp
mov ah, 0xa1
loope 0x4076b3
outsb dx, byte [esi]
mov bl, 0x12
and dword [eax + ebp + 0x6ea8557f], ebx
push edi
iretd
sahf
int 0xeb
or edx, dword [esi + 0x2c]
sub al, 0xdf
pop esp
inc edi
leave
test byte [esi + ebp - 0x684df51a], dh
ret

Function at 0x40a2d0
Capabilities:
Allocate thread local storage

Disassembly:
wait
mov ebp, esp
mov eax, dword [ebp + 8]
mov al, byte [0xc9856b48]
jne 0x40a2ed
sbb dword [esp + ecx + 0x50], 0xffffffff
adc eax, sym.imp.KERNEL32.dll_EnterCriticalSection
xor eax, eax
add dl, 4
add byte [ebx - 0xf5f7c0], cl
mov eax, dword [eax + 8]
or bh, bh
push eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
test eax, eax
je 0x40a2e7
cmp eax, 0xc20080
je 0x40a2e7
cmp eax, 0x102
push esi
jne 0x40a35c
mov eax, 0xf2011189
push edi
pop ebp
ret 4
ret 4
Function at 0x402e9a
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x402ed5

Function at 0x4036cf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00402e6a
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00402e1f
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
add byte [eax], al
Function at 0x403728
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00402e6a
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00402e1f
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.00402e6a
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00402e1f
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.00402e5a
out 0x4a, al
jno 0x403898
jmp [edi - 0x3d77a3a]
and byte [ebp - 0x534], 0
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], 0xf8
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.00402e6a
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00402e1f
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.00402e5a
xor ebx, dword [ebx - 0x5a7f75c3]
pushfd
stc
invalid
Function at 0x10093d50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x101538eb
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x101f2fb0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
mov ecx, esi
call fcn.100e32d0
lea edi, [esi + 0x1c]
mov ecx, edi
mov dword [esp + 0x2c], 0
mov dword [esi], vtable.OMStrongReferenceProperty_class_ImplAAFSegment_.0
call fcn.100de4b0
mov ecx, esi
mov byte [esp + 0x2c], 1
call fcn.100dcd40
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.100de4d0
push eax
mov ecx, edi
mov byte [esp + 0x30], 2
call fcn.100de6c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 1
call fcn.100de630
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 8

Function at 0x10098e80
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x1014f523
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x101f2fb0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 8], ecx
mov dword [ecx], vtable.ImplPropertyCollection.0
lea esi, [ecx + 0xc]
push 0
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.100977a0
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call edx
test al, al
je 0x10098f09
jmp 0x10098ee0
push 0
lea ecx, [esp + 0x10]
call fcn.1008aae0
test eax, eax
je 0x10098ef8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x1c]
lea ecx, [esp + 0xc]
call eax
test al, al
jne 0x10098ee0
lea ecx, [esp + 0xc]
call fcn.10097230
mov ecx, esi
mov dword [esp + 0x28], 0xffffffff
call fcn.10098c90
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret