joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10073e30
Capabilities:
Generate random numbers via rtlgenrandom
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push 0x104
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.1024a9c0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x103ea530
lea edx, [ebp - 0x108]
push edx
call fcn.1025d220
add esp, 8
cmp dword [0x1065c654], 0
jne 0x10073e90
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1065c654], eax
mov ecx, dword [0x1065c654]
mov dword [ebp - 4], ecx
push str.NtDelayExecution
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10515bd4], eax
push str.NtQuerySystemInformation
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10515bd0], eax
push str.NtQueryInformationProcess
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10515998], eax
push str.NtQueryInformationThread
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10505434], eax
push str.NtQueryObject
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10505440], eax
push str.NtQueryKey
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10505554], eax
push str.NtQueryAttributesFile
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10505430], eax
push str.NtAllocateVirtualMemory
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104ff544], eax
push str.NtProtectVirtualMemory
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104ff54c], eax
push str.NtFreeVirtualMemory
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104ff540], eax
push str.LdrRegisterDllNotification
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104ff548], eax
push str.SystemFunction036
push str.advapi32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1051599c], eax
push str.NtMapViewOfSection
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104ff52c], eax
push str.NtUnmapViewOfSection
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104ff530], eax
push str.RtlNtStatusToDosError
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104ff538], eax
push str.RtlGetVersion
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104ff53c], eax
mov esp, ebp
pop ebp
ret
Function at 0x10074220
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword fs:[0x30]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
add edx, 0xc
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0x24]
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x2c]
sub ecx, eax
mov word [ebp - 0x20], cx
mov cx, word [ebp - 0x20]
mov word [ebp - 0x1e], cx
movzx edx, word [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x14], edx
imul eax, dword [ebp - 0x14], 1
push eax
call fcn.10073630
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10074298
imul ecx, dword [ebp - 0x14], 1
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
call fcn.1024a9c0
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
movzx ecx, word [ebp - 0x20]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x28]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1024ad90
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
jmp 0x100742ca
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x10]
je 0x10074324
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
movzx eax, word [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x28]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1024b6dc
add esp, 0xc
test eax, eax
jne 0x100742f6
jmp 0x100742c2
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
cmp edx, dword [0x1065c9a4]
jne 0x10074306
jmp 0x100742c2
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x20]
push ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.100741c0
add esp, 8
jmp 0x100742c2
mov edx, dword [ebp - 0x1c]
push edx
call fcn.10073740
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x10074610
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xa0]
cmp eax, dword [edx + 0xc]
jne 0x1007463c
mov dword [ebp - 4], 1
jmp 0x10074643
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10075780
Capabilities:
Get disk information
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push 0x104
mov eax, dword [ebp + 8]
push eax
push 0x10505450
call fcn.1025c470
add esp, 0xc
push 0x10515978
call fcn.10073780
add esp, 4
push 0x10515ba8
call fcn.10073780
add esp, 4
cmp dword [0x1050544c], 0x40
jne 0x100757d6
push str.CRITICAL:Too_many_aliases_
call fcn.1007b970
add esp, 4
push 1
call fcn.10259e0d
push str.SystemRoot_
imul ecx, dword [0x1050544c], 0x410
mov edx, 0x208
imul eax, edx, 0
lea ecx, [ecx + eax + 0x10505578]
push ecx
call fcn.10259a6d
add esp, 8
push 0x103e9d94
imul edx, dword [0x1050544c], 0x410
mov eax, 0x208
shl eax, 0
lea ecx, [edx + eax + 0x10505578]
push ecx
call fcn.10259a6d
add esp, 8
mov edx, dword [0x1050544c]
add edx, 1
mov dword [0x1050544c], edx
mov eax, 0x41
mov word [ebp - 4], ax
jmp 0x1007584a
mov cx, word [ebp - 4]
add cx, 1
mov word [ebp - 4], cx
movzx edx, word [ebp - 4]
cmp edx, 0x5a
jg 0x1007594b
mov eax, 2
imul ecx, eax, 0
mov dx, word [ebp - 4]
mov word [ebp + ecx - 0xc], dx
mov eax, 2
shl eax, 0
mov ecx, 0x3a
mov word [ebp + eax - 0xc], cx
mov edx, 2
shl edx, 1
xor eax, eax
mov word [ebp + edx - 0xc], ax
push 0x104
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x10075946
push 0x103e9d90
lea eax, [ebp - 0xc]
push eax
call fcn.1025c662
add esp, 8
push 0x103e9d8c
lea ecx, [ebp - 0x214]
push ecx
call fcn.1025c662
add esp, 8
cmp dword [0x1050544c], 0x40
jne 0x100758e8
push 0x103e9d70
call fcn.1007b970
add esp, 4
push 1
call fcn.10259e0d
lea edx, [ebp - 0x214]
push edx
imul eax, dword [0x1050544c], 0x410
mov ecx, 0x208
imul edx, ecx, 0
lea eax, [eax + edx + 0x10505578]
push eax
call fcn.10259a6d
add esp, 8
lea ecx, [ebp - 0xc]
push ecx
imul edx, dword [0x1050544c], 0x410
mov eax, 0x208
shl eax, 0
lea ecx, [edx + eax + 0x10505578]
push ecx
call fcn.10259a6d
add esp, 8
mov edx, dword [0x1050544c]
add edx, 1
mov dword [0x1050544c], edx
jmp 0x1007583e
call fcn.10075750
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10075e30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 4], eax
jmp 0x10075e55
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
je 0x10075efa
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
cmp edx, dword [ebp + 8]
jne 0x10075ef5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [eax], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [edx], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x3c]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
mov dword [edx + 4], ecx
push 0x48
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.1024a9c0
add esp, 0xc
jmp 0x10075efa
jmp 0x10075e4d
mov esp, ebp
pop ebp
ret

Function at 0x10075f00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
jmp 0x10075f33
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x1000
jae 0x10075f6c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
je 0x10075f6c
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
cmp edx, dword [ebp + 8]
jne 0x10075f58
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
jmp 0x10075f6e
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jne 0x10075f6a
jmp 0x10075f6c
jmp 0x10075f2a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10075f80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
jmp 0x10075fb3
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x1000
jae 0x100760b8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
je 0x100760b8
mov ecx, dword [ebp - 8]
push ecx
push 0x103e9cd0
push 8
lea edx, [ebp - 0x18]
push edx
call fcn.100780d0
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10035bd0
add esp, 8
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x24]
shr eax, 1
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x28]
push edx
push str.filepath
mov eax, dword [ebp + 8]
push eax
call fcn.10071c40
add esp, 0x10
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 0x2c]
shr edx, 1
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30]
push ecx
push str.basename
mov edx, dword [ebp + 8]
push edx
call fcn.10071c40
add esp, 0x10
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
push ecx
push 0x103e9cb4
push 0x20
lea edx, [ebp - 0x38]
push edx
call fcn.100780d0
add esp, 0x10
lea eax, [ebp - 0x38]
push eax
call fcn.1024e6c0
add esp, 4
push eax
lea ecx, [ebp - 0x38]
push ecx
push str.baseaddr
mov edx, dword [ebp + 8]
push edx
call fcn.10071b80
add esp, 0x10
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.1007c670
add esp, 4
push eax
push str.imgsize
mov edx, dword [ebp + 8]
push edx
call fcn.10071b40
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.10035cf0
add esp, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jne 0x100760b3
jmp 0x100760b8
jmp 0x10075faa
mov esp, ebp
pop ebp
ret

Function at 0x100787f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x1007880e
xor eax, eax
jmp 0x1007882f
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp dword [edx], 0x4550
je 0x10078829
xor eax, eax
jmp 0x1007882f
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov esp, ebp
pop ebp
ret
Function at 0x10078e90
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x10078eba
push str.WARNING:Error_getting_snapshot_handle_to_enumerate_threads.
call fcn.1007b970
add esp, 4
xor eax, eax
jmp 0x10078f1a
mov dword [ebp - 0x24], 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
jne 0x10078ee4
push str.WARNING:Error_enumerating_thread_identifiers.
call fcn.1007b970
add esp, 4
xor eax, eax
jmp 0x10078f1a
mov dword [ebp - 8], 0
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp + 8]
jne 0x10078efb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
jmp 0x10078f0d
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10078eeb
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x10079610
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push 0x104
push 0
lea eax, [ebp - 0x104]
push eax
call fcn.1024a9c0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str._system32_ntdllori.dll
lea edx, [ebp - 0x104]
push edx
call fcn.1025d220
add esp, 8
cmp dword [0x1065c654], 0
jne 0x10079670
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1065c654], eax
push str.NtWriteFile
mov ecx, dword [0x1065c654]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104ff588], eax
mov esp, ebp
pop ebp
ret
Function at 0x1007a030
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [0x104ff55c], 0
jne 0x1007a084
cmp dword [0x1065c61c], 0
jne 0x1007a084
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
cmp dword [ebp + 0x1c], 0
je 0x1007a07d
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
xor eax, eax
jmp 0x1007a191
cmp dword [0x104ff55c], 0
je 0x1007a096
mov dword [ebp - 0xc], 1
jmp 0x1007a09d
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
jne 0x1007a0c0
push 0
push 0x103ea844
push str.pNtFsControlFile_is_NULL_
push 0
call fcn.1007a5f0
add esp, 0x10
xor eax, eax
jmp 0x1007a191
cmp dword [0x1065c61c], 0
je 0x1007a0d2
mov dword [ebp - 0x10], 1
jmp 0x1007a0d9
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
jne 0x1007a0fc
push 0
push 0x103ea820
push str.pNtWaitForSingleObject_is_NULL_
push 0
call fcn.1007a5f0
add esp, 0x10
xor eax, eax
jmp 0x1007a191
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x11c017
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [0x104ff55c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x103
jne 0x1007a164
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [0x1065c61c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1007a151
mov dword [ebp - 0x14], 1
jmp 0x1007a158
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
je 0x1007a164
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1007a173
mov dword [ebp - 0x18], 1
jmp 0x1007a17a
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
je 0x1007a18e
cmp dword [ebp + 0x1c], 0
je 0x1007a18e
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1007c670
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
cmp eax, dword [0x10535ed4]
jne 0x1007c688
mov eax, dword [0x10535ed0]
jmp 0x1007c6ca
cmp dword [ebp + 8], 0
jne 0x1007c692
xor eax, eax
jmp 0x1007c6ca
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x1007c6a9
xor eax, eax
jmp 0x1007c6ca
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1007c6c4
xor eax, eax
jmp 0x1007c6ca
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x50]
mov esp, ebp
pop ebp
ret
Function at 0x10088310
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push esi
mov esi, ecx
mov dword [ebp - 0xd0], 0x5100a02
push edi
mov edi, edx
mov dword [ebp - 0xcc], 0x40d0901
mov dword [ebp - 0xc8], 0xd4d3d2d1
mov ecx, dword [esi + 0x30c]
mov edx, ecx
add edx, edx
mov dword [ebp - 0xc4], 0xd8d7d6d5
mov dword [ebp - 0xc0], 0xf2e0730
mov dword [ebp - 0xbc], 0x8120c03
lea eax, [ecx + 1]
mov dword [ebp - 0xb8], 0xe2d062f
mov dword [esi + 0x30c], eax
mov dword [ebp - 0xb4], 0xe4e3e2e1
mov dword [ebp - 0xb0], 0xe8e7e6e5
mov dword [ebp - 0xac], 0x15181613
mov dword [ebp - 0xa8], 0x171d141e
mov dword [ebp - 0xa4], 0xdcdbdad9
mov dword [ebp - 0xa0], 0xe0dfdedd
mov dword [ebp - 0x9c], 0x25282623
mov dword [ebp - 0x98], 0x272b242c
mov dword [ebp - 0x94], 0x64636261
mov dword [ebp - 0x90], 0x68676665
mov dword [ebp - 0x8c], 0x5c5b5a59
mov dword [ebp - 0x88], 0x605f5e5d
mov dword [ebp - 0x84], 0x74737271
mov dword [ebp - 0x80], 0x78777675
mov dword [ebp - 0x7c], 0x7c7b7a79
mov dword [ebp - 0x78], 0x807f7e7d
mov dword [ebp - 0x74], 0x84838281
mov dword [ebp - 0x70], 0x88878685
mov dword [ebp - 0x6c], 0x8c8b8a89
mov dword [ebp - 0x68], 0x908f8e8d
mov dword [ebp - 0x64], 0x94939291
mov dword [ebp - 0x60], 0x98979695
mov dword [ebp - 0x5c], 0x9c9b9a99
mov dword [ebp - 0x58], 0xa09f9e9d
mov dword [ebp - 0x54], 0xa4a3a2a1
mov dword [ebp - 0x50], 0xa8a7a6a5
mov dword [ebp - 0x4c], 0xacabaaa9
mov dword [ebp - 0x48], 0xb0afaead
mov dword [ebp - 0x44], 0xb4b3b2b1
mov dword [ebp - 0x40], 0xb8b7b6b5
mov dword [ebp - 0x3c], 0xbcbbbab9
mov dword [ebp - 0x38], 0xc0bfbebd
mov dword [ebp - 0x34], 0xc4c3c2c1
mov dword [ebp - 0x30], 0xc8c7c6c5
mov dword [ebp - 0x2c], 0xcccbcac9
mov dword [ebp - 0x28], 0xd0cfcecd
mov dword [ebp - 0x24], 0x54535251
mov dword [ebp - 0x20], 0x58575655
mov dword [ebp - 0x1c], 0x11310b1c
mov dword [ebp - 0x18], 0x43422120
mov dword [ebp - 0x14], 0x47464544
mov dword [ebp - 0x10], 0x33324948
mov dword [ebp - 0xc], 0x37363534
mov dword [ebp - 8], 0x293a3938
mov byte [ebp - 4], 0
movzx eax, byte [ebp + edi - 0xd0]
pop edi
mov byte [esi + edx*8 + 0xc], 1
mov dword [esi + edx*8 + 0x10], eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100e3010
Capabilities:
Decompress data using quicklz

Disassembly:
push ecx
push ebx
mov ebx, edx
shr ebx, 0x16
push esi
and ebx, 0xf
push edi
mov edi, ecx
cmp ebx, 0xe
je 0x100e30bf
cmp ebx, 0xf
je 0x100e30bf
mov ecx, dword [edi + 0x30c]
sub esp, 0xc
mov esi, ecx
add esi, esi
lea eax, [ecx + 1]
mov ecx, edx
mov dword [edi + 0x30c], eax
and ecx, 0x800
mov eax, edx
shl ecx, 3
and eax, 0x2000
mov byte [edi + esi*8 + 0xc], 2
or ecx, eax
mov eax, edx
shr eax, 6
and eax, 0xfff00000
shl ecx, 5
or ecx, eax
mov eax, edx
shr eax, 4
and edx, 0x7ff
shl ecx, 0xb
and eax, 0x3f000
sar ecx, 0xb
add edx, edx
or eax, ecx
mov ecx, edi
or eax, edx
cdq
mov dword [edi + esi*8 + 0x14], edx
mov edx, ebx
mov dword [edi + esi*8 + 0x10], eax
call fcn.100dcea0
add esp, 0xc
sub eax, 0
je 0x100e30d5
sub eax, 1
je 0x100e30b5
sub eax, 2
je 0x100e3117
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, 1
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, edx
shr eax, 4
sub eax, 0xf3bf8f4
je 0x100e30ec
sub eax, 1
je 0x100e30e4
sub eax, 1
je 0x100e30dc
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret
mov dword [edi], 0x951
jmp 0x100e30f2
mov dword [edi], 0x94b
jmp 0x100e30f2
mov dword [edi], 0x94c
mov eax, dword [edi + 0x30c]
mov ecx, eax
add ecx, ecx
inc eax
mov dword [edi + 0x30c], eax
and edx, 0xf
mov byte [edi + ecx*8 + 0xc], 2
mov dword [edi + ecx*8 + 0x10], edx
mov dword [edi + ecx*8 + 0x14], 0
pop edi
pop esi
mov eax, 3
pop ebx
pop ecx
ret

Function at 0x100ea780
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
test ebx, ebx
jne 0x100ea796
mov eax, dword [ebp + 8]
pop edi
pop ebx
pop ebp
ret
add ebx, 0xffffffff
je 0x100ea7df
push esi
nop dword [eax]
movzx eax, byte [edi]
mov esi, ebx
and esi, 0x1f
inc edi
mov ecx, esi
neg ecx
mov edx, dword [eax*4 + section..data]
and ecx, 0x1f
mov eax, edx
shr eax, cl
mov ecx, esi
shl edx, cl
mov ecx, dword [ebp + 8]
or eax, edx
xor ecx, eax
mov dword [ebp + 8], ecx
sub ebx, 1
jne 0x100ea7a0
movzx eax, byte [edi]
pop esi
pop edi
pop ebx
mov eax, dword [eax*4 + section..data]
xor eax, ecx
pop ebp
ret
movzx eax, byte [edi]
mov ecx, dword [ebp + 8]
pop edi
pop ebx
mov eax, dword [eax*4 + section..data]
xor eax, ecx
pop ebp
ret
Function at 0x100f04e0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
neg eax
sbb eax, eax
and eax, 0xffffffe1
add eax, 0x1f
pop ebp
ret
Function at 0x101101e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
cmp eax, 0x40
jb 0x10110250
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0x10110255
mov edx, dword [ecx + 0x3c]
test edx, edx
js 0x10110255
lea esi, [edx + 0x18]
cmp eax, esi
jb 0x10110255
add edx, ecx
add esi, 0xe0
cmp dword [edx], 0x4550
jne 0x10110255
movzx edi, word [edx + 4]
mov ebx, 0x14c
cmp di, bx
je 0x10110231
mov ebx, 0x8664
cmp di, bx
jne 0x10110255
cmp eax, esi
jbe 0x10110255
mov esi, 0x2000
test word [edx + 0x16], si
jne 0x10110255
mov eax, dword [edx + 0x28]
xor edx, edx
add eax, dword [ebp + 0x10]
pop edi
adc edx, dword [ebp + 0x14]
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x10
jb 0x10110272
cmp dword [ecx], 0x464c457f
jne 0x10110272
movzx edx, byte [ecx + 4]
mov esi, edx
sub esi, 1
je 0x10110281
sub esi, 1
jne 0x10110272
cmp eax, 0x40
jae 0x10110286
pop edi
pop esi
mov eax, 0xfabadaff
mov edx, 0xfffabada
pop ebx
pop ebp
ret
cmp eax, 0x34
jb 0x10110272
sub edx, 1
je 0x101102a2
sub edx, 1
jne 0x10110272
cmp word [ecx + 0x10], 2
jne 0x10110272
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
pop edi
pop esi
pop ebx
pop ebp
ret
cmp word [ecx + 0x10], 2
jne 0x10110272
mov eax, dword [ecx + 0x18]
xor edx, edx
pop edi
pop esi
pop ebx
pop ebp
ret