joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100739a0
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.1024a480
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x103ea3bc
lea edx, [ebp - 0x108]
push edx
call fcn.1025cfa0
add esp, 8
cmp dword [0x1065c474], 0
jne 0x10073a00
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1065c474], eax
mov ecx, dword [0x1065c474]
mov dword [ebp - 4], ecx
push str.NtDelayExecution
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x105159f0], eax
push str.NtQuerySystemInformation
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x105159ec], eax
push str.NtQueryInformationProcess
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10505394], eax
push str.NtQueryInformationThread
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10505250], eax
push str.NtQueryObject
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1050525c], eax
push str.NtQueryKey
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1050526c], eax
push str.NtQueryAttributesFile
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1050524c], eax
push str.NtAllocateVirtualMemory
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104ff360], eax
push str.NtProtectVirtualMemory
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104ff368], eax
push str.NtFreeVirtualMemory
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104ff35c], eax
push str.LdrRegisterDllNotification
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104ff364], 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 [0x105159e0], eax
push str.NtMapViewOfSection
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104ff348], eax
push str.NtUnmapViewOfSection
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104ff34c], eax
push str.RtlNtStatusToDosError
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104ff354], eax
push str.RtlGetVersion
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104ff358], eax
mov esp, ebp
pop ebp
ret
Function at 0x10073d90
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.100731a0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10073e08
imul ecx, dword [ebp - 0x14], 1
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
call fcn.1024a480
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.1024a850
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
jmp 0x10073e3a
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 0x10073e94
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.1024b19c
add esp, 0xc
test eax, eax
jne 0x10073e66
jmp 0x10073e32
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
cmp edx, dword [0x1065c7c4]
jne 0x10073e76
jmp 0x10073e32
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.10073d30
add esp, 8
jmp 0x10073e32
mov edx, dword [ebp - 0x1c]
push edx
call fcn.100732b0
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x10074180
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 0x100741ac
mov dword [ebp - 4], 1
jmp 0x100741b3
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x100752f0
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 0x10505270
call fcn.10259620
add esp, 0xc
push 0x10515798
call fcn.100732f0
add esp, 4
push 0x105159c0
call fcn.100732f0
add esp, 4
cmp dword [0x10505268], 0x40
jne 0x10075346
push str.CRITICAL:Too_many_aliases_
call fcn.1007b4e0
add esp, 4
push 1
call fcn.10259a35
push str.SystemRoot_
imul ecx, dword [0x10505268], 0x410
mov edx, 0x208
imul eax, edx, 0
lea ecx, [ecx + eax + 0x10505398]
push ecx
call fcn.1025952d
add esp, 8
push 0x103e9c20
imul edx, dword [0x10505268], 0x410
mov eax, 0x208
shl eax, 0
lea ecx, [edx + eax + 0x10505398]
push ecx
call fcn.1025952d
add esp, 8
mov edx, dword [0x10505268]
add edx, 1
mov dword [0x10505268], edx
mov eax, 0x41
mov word [ebp - 4], ax
jmp 0x100753ba
mov cx, word [ebp - 4]
add cx, 1
mov word [ebp - 4], cx
movzx edx, word [ebp - 4]
cmp edx, 0x5a
jg 0x100754bb
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 0x100754b6
push 0x103e9c1c
lea eax, [ebp - 0xc]
push eax
call fcn.1025c153
add esp, 8
push 0x103e9c18
lea ecx, [ebp - 0x214]
push ecx
call fcn.1025c153
add esp, 8
cmp dword [0x10505268], 0x40
jne 0x10075458
push 0x103e9bfc
call fcn.1007b4e0
add esp, 4
push 1
call fcn.10259a35
lea edx, [ebp - 0x214]
push edx
imul eax, dword [0x10505268], 0x410
mov ecx, 0x208
imul edx, ecx, 0
lea eax, [eax + edx + 0x10505398]
push eax
call fcn.1025952d
add esp, 8
lea ecx, [ebp - 0xc]
push ecx
imul edx, dword [0x10505268], 0x410
mov eax, 0x208
shl eax, 0
lea ecx, [edx + eax + 0x10505398]
push ecx
call fcn.1025952d
add esp, 8
mov edx, dword [0x10505268]
add edx, 1
mov dword [0x10505268], edx
jmp 0x100753ae
call fcn.100752c0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100759a0
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 0x100759c5
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 0x10075a6a
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
cmp edx, dword [ebp + 8]
jne 0x10075a65
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.1024a480
add esp, 0xc
jmp 0x10075a6a
jmp 0x100759bd
mov esp, ebp
pop ebp
ret

Function at 0x10075a70
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 0x10075aa3
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x1000
jae 0x10075adc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
je 0x10075adc
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
cmp edx, dword [ebp + 8]
jne 0x10075ac8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
jmp 0x10075ade
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 0x10075ada
jmp 0x10075adc
jmp 0x10075a9a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10075af0
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 0x10075b23
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x1000
jae 0x10075c28
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
je 0x10075c28
mov ecx, dword [ebp - 8]
push ecx
push 0x103e9b5c
push 8
lea edx, [ebp - 0x18]
push edx
call fcn.10077c40
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10035740
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.100717b0
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.100717b0
add esp, 0x10
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
push ecx
push 0x103e9b40
push 0x20
lea edx, [ebp - 0x38]
push edx
call fcn.10077c40
add esp, 0x10
lea eax, [ebp - 0x38]
push eax
call fcn.1024e180
add esp, 4
push eax
lea ecx, [ebp - 0x38]
push ecx
push str.baseaddr
mov edx, dword [ebp + 8]
push edx
call fcn.100716f0
add esp, 0x10
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.1007c1e0
add esp, 4
push eax
push str.imgsize
mov edx, dword [ebp + 8]
push edx
call fcn.100716b0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.10035860
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 0x10075c23
jmp 0x10075c28
jmp 0x10075b1a
mov esp, ebp
pop ebp
ret

Function at 0x10078360
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 0x1007837e
xor eax, eax
jmp 0x1007839f
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 0x10078399
xor eax, eax
jmp 0x1007839f
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov esp, ebp
pop ebp
ret
Function at 0x10078a00
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 0x10078a2a
push str.WARNING:Error_getting_snapshot_handle_to_enumerate_threads.
call fcn.1007b4e0
add esp, 4
xor eax, eax
jmp 0x10078a8a
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 0x10078a54
push str.WARNING:Error_enumerating_thread_identifiers.
call fcn.1007b4e0
add esp, 4
xor eax, eax
jmp 0x10078a8a
mov dword [ebp - 8], 0
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp + 8]
jne 0x10078a6b
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
jmp 0x10078a7d
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10078a5b
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 0x10079180
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.1024a480
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.1025cfa0
add esp, 8
cmp dword [0x1065c474], 0
jne 0x100791e0
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1065c474], eax
push str.NtWriteFile
mov ecx, dword [0x1065c474]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104ff3a4], eax
mov esp, ebp
pop ebp
ret
Function at 0x10079ba0
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [0x104ff378], 0
jne 0x10079bf4
cmp dword [0x1065c43c], 0
jne 0x10079bf4
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 0x10079bed
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
xor eax, eax
jmp 0x10079d01
cmp dword [0x104ff378], 0
je 0x10079c06
mov dword [ebp - 0xc], 1
jmp 0x10079c0d
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
jne 0x10079c30
push 0
push 0x103ea6d0
push str.pNtFsControlFile_is_NULL_
push 0
call fcn.1007a160
add esp, 0x10
xor eax, eax
jmp 0x10079d01
cmp dword [0x1065c43c], 0
je 0x10079c42
mov dword [ebp - 0x10], 1
jmp 0x10079c49
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
jne 0x10079c6c
push 0
push 0x103ea6ac
push str.pNtWaitForSingleObject_is_NULL_
push 0
call fcn.1007a160
add esp, 0x10
xor eax, eax
jmp 0x10079d01
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 [0x104ff378]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x103
jne 0x10079cd4
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [0x1065c43c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10079cc1
mov dword [ebp - 0x14], 1
jmp 0x10079cc8
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
je 0x10079cd4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10079ce3
mov dword [ebp - 0x18], 1
jmp 0x10079cea
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
je 0x10079cfe
cmp dword [ebp + 0x1c], 0
je 0x10079cfe
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 0x1007c1e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
cmp eax, dword [0x10535cf0]
jne 0x1007c1f8
mov eax, dword [0x10535cec]
jmp 0x1007c23a
cmp dword [ebp + 8], 0
jne 0x1007c202
xor eax, eax
jmp 0x1007c23a
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x1007c219
xor eax, eax
jmp 0x1007c23a
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 0x1007c234
xor eax, eax
jmp 0x1007c23a
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x50]
mov esp, ebp
pop ebp
ret
Function at 0x10087e80
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 0x100e2b80
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 0x100e2c2f
cmp ebx, 0xf
je 0x100e2c2f
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.100dca10
add esp, 0xc
sub eax, 0
je 0x100e2c45
sub eax, 1
je 0x100e2c25
sub eax, 2
je 0x100e2c87
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 0x100e2c5c
sub eax, 1
je 0x100e2c54
sub eax, 1
je 0x100e2c4c
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret
mov dword [edi], 0x951
jmp 0x100e2c62
mov dword [edi], 0x94b
jmp 0x100e2c62
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 0x100ea2f0
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 0x100ea306
mov eax, dword [ebp + 8]
pop edi
pop ebx
pop ebp
ret
add ebx, 0xffffffff
je 0x100ea34f
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 0x100ea310
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 0x100f0050
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