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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100c5e00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
mov esi, ecx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push edi
push 0x1003127c
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x10093985
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x100939ae
movzx edi, di
or edi, 0x80070000
jmp 0x100939ae
push edi
push 0x4000000
push 2
push edi
push 7
push 0xc0000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x1009396e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.10033c90
leave
ret

Function at 0x10093ce2
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
push 4
push dword [ebp + 0xc]
push 0x10061060
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, eax
call fcn.10093d67
test al, al
jne 0x10093d22
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x10093d2e
movzx ebx, bx
or ebx, 0x80070000
jmp 0x10093d2e
mov dword [esi], ecx
test ecx, ecx
jne 0x10093d2b
or dword [esi], 0xffffffff
mov byte [esi + 4], bl
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8
Function at 0x10094432
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 4
mov eax, 0x1004e7c2
call fcn.1003412c
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x10]
push 0x100c6948
mov dword [ebp - 4], ebx
call fcn.100599f4
xor edi, edi
mov ecx, esi
inc edi
mov dword [ebp - 4], edi
call fcn.10093d7c
test al, al
je 0x10094495
lea edx, [ebp - 0x10]
mov ecx, esi
call fcn.1009363a
test eax, eax
js 0x10094495
push edi
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, dword [ebp - 0x10]
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp edi, 0xffffffff
setne bl
jmp 0x10094498
mov esi, dword [ebp - 0x10]
lea ecx, [esi - 0x10]
call fcn.1005bcd8
mov al, bl
call fcn.100340e8
ret

Function at 0x1009450e
Capabilities:
Resume thread

Disassembly:
mov edi, edi
push esi
push edi
mov edi, ecx
xor esi, esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x10094538
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x10094538
movzx esi, si
or esi, 0x80070000
mov byte [edi + 4], 1
mov eax, esi
pop edi
pop esi
ret

Function at 0x10094f15
Capabilities:
Print debug messages

Disassembly:
push 0x1c
mov eax, 0x10057767
call fcn.100341a1
mov ebx, dword [ebp + 8]
xor esi, esi
cmp dword [ebx], esi
jne 0x10094f8b
push 0x100c6948
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], esi
call fcn.100599f4
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
xor edi, edi
inc edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x18]
push eax
mov byte [ebp - 4], 2
push dword [ebp + 0x14]
call fcn.1005da8c
lea eax, [ebp - 0x28]
mov dword [ebp - 4], edi
push eax
lea ecx, [ebx + 0x1c]
call fcn.1009457e
jmp 0x10094f79
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.1005bcd8
mov eax, esi
jmp 0x10095026
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebx + 0x4c]
ja 0x10095024
sub eax, esi
je 0x10095024
sub eax, 1
je 0x10094fbf
sub eax, 1
je 0x10094fb8
sub eax, 1
je 0x10094fb1
sub eax, 1
mov eax, 0x4000000
jmp 0x10094fc4
mov eax, 0x3000000
jmp 0x10094fc4
mov eax, 0x2000000
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x1009502c
cmp dword [ebx + 0xc], esi
je 0x1009502c
cmp dword [ebx + 0x14], esi
je 0x1009502c
lea ecx, [ebp + 0x18]
push ecx
push dword [ebp + 0x14]
mov ecx, edi
push eax
call dword [0x100c7310]
call edi
mov ebx, dword [ebx + 0xc]
mov edi, eax
push esi
push esi
push esi
mov esi, dword [ebp + 8]
mov esi, dword [esi + 0x14]
mov ecx, esi
call dword [0x100c7310]
call esi
push eax
push 0x1003132c
push 0x1003134c
push 0x105
push 0
push 0x1003138c
push dword [ebp + 0xc]
mov ecx, ebx
push edi
call dword [0x100c7310]
call ebx
xor eax, eax
call fcn.100340e8
ret
push 0x100c6948
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 5
call fcn.100599f4
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 6
push eax
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
call fcn.1005da8c
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esi - 0x10]
call fcn.1005bcd8
jmp 0x10095024
Function at 0x10095806
Capabilities:
Query environment variable

Disassembly:
push 0x10
mov eax, 0x1005791b
call fcn.100341a1
mov eax, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
xor esi, esi
cmp dword [eax - 0xc], esi
je 0x100958e8
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebx, eax
test ebx, ebx
jne 0x10095851
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x100958e8
movzx esi, si
or esi, 0x80070000
jmp 0x100958e8
push 0x100060f0
xor ecx, ecx
lea eax, [ebx + 1]
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10033f5b
mov edi, eax
mov dword [ebp - 0x18], edi
pop ecx
pop ecx
test edi, edi
jne 0x1009587f
mov esi, 0x8007000e
jmp 0x100958e8
lea eax, [ebx*2 + 2]
push eax
push esi
push edi
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
mov ebx, dword [ebp - 0x14]
push edi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x100958b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x100958e0
movzx esi, si
or esi, 0x80070000
jmp 0x100958e0
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.1005c4f9
push eax
push edi
mov ecx, ebx
call fcn.1005c42b
jmp 0x100958e0
push edi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov eax, esi
call fcn.100340e8
ret

Function at 0x10096129
Capabilities:
Get token membership

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100c5e00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
mov esi, ecx
lea eax, [ebp - 0xc]
push 2
push eax
mov dword [esi], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x10096184
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x100961d0
movzx ebx, bx
or ebx, 0x80070000
jmp 0x100961d0
push esi
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x1009616d
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
test eax, eax
je 0x100961d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0x80070000
test eax, eax
jle 0x100961b6
movzx eax, ax
or eax, esi
test eax, eax
jns 0x100961cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x100961d0
movzx ebx, bx
or ebx, esi
jmp 0x100961d0
mov ebx, 0x80004005
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.10033c90
leave
ret
Function at 0x10097742
Capabilities:
Create process memory minidump
Get file size
Read file via mapping

Disassembly:
push 0x34
push 0x100c22a0
call fcn.10034460
mov dword [ebp - 0x2c], edx
mov esi, ecx
mov dword [ebp - 0x28], esi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
or dword [ebp - 0x24], 0xffffffff
or dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
xor eax, eax
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], ebx
push ebx
push 0x100
push 2
push ebx
push ebx
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x24], edi
cmp edi, 0xffffffff
je 0x1009780f
test esi, esi
je 0x100977a7
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, eax
push ebx
push ebx
lea eax, [ebp - 0x44]
xor edx, edx
cmp dword [ebp - 0x28], edx
cmove eax, edx
push eax
push ebx
push edi
push esi
push ecx
call dword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
test eax, eax
je 0x1009780f
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x38], eax
cmp eax, 0xffffffff
je 0x1009780f
push ebx
push eax
push dword [ebp - 0x34]
push 2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x1009780f
push ebx
push ebx
push ebx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.1009785d
test ebx, ebx
je 0x10097843
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x10097831
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1009783a
mov dword [eax], esi
mov eax, dword [ebp + 8]
test eax, eax
je 0x10097843
mov dword [eax], edi
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x100978ad
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100c5e00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
mov esi, edx
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x210], edi
cmp word [0x100c66d8], di
je 0x10097965
lea eax, [ebp - 0x20c]
push eax
push edi
push 0x1001dffc
push 0x100c66d8
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x10097965
lea eax, [ebp - 0x210]
mov edi, 0x104
push eax
mov edx, edi
lea ecx, [ebp - 0x20c]
call fcn.1005e461
test eax, eax
js 0x10097965
mov eax, dword [ebp - 0x210]
mov edx, edi
add eax, 0xfffffffd
mov ecx, esi
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10090e1e
test eax, eax
js 0x10097965
push 0x1001e004
mov ecx, esi
call fcn.10089e29
test eax, eax
js 0x10097965
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
inc eax
jmp 0x10097967
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10033c90
leave
ret
Function at 0x10097e66
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x14
push 0x100c2240
call fcn.10034460
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], esi
push dword [0x100c61b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x20], ebx
test ebx, ebx
jne 0x10097fd3
push 0x100c6964
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], esi
cmp dword [0x100c69f8], ebx
jne 0x10097ed9
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [0x100c69f8], eax
test eax, eax
je 0x10097f75
xor ecx, ecx
mov dword [0x100c6a00], ecx
xor edi, edi
inc edi
mov dword [0x100c69fc], edi
jmp 0x10097f26
mov ecx, dword [0x100c6a00]
mov edi, dword [0x100c69fc]
cmp ecx, edi
jne 0x10097f23
lea edi, [edi*4 + 4]
mov esi, dword [0x100c69f8]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x10097f75
mov dword [0x100c69f8], eax
inc dword [0x100c69fc]
xor edi, edi
inc edi
mov ecx, dword [0x100c6a00]
xor esi, esi
jmp 0x10097f26
xor edi, edi
inc edi
mov eax, dword [0x100c69f8]
and dword [eax + ecx*4], 0
push 0x8014
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov dword [ebp - 0x20], ebx
test ebx, ebx
je 0x10097f75
lea eax, [ebx + 0x14]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0x8000
mov byte [ebx + 0x10], 0
push ebx
push dword [0x100c61b0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
cmovne esi, edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.10097fa5
test eax, eax
je 0x10097fa6
mov ecx, dword [0x100c6a00]
mov eax, dword [0x100c69f8]
mov dword [eax + ecx*4], ebx
inc ecx
mov dword [0x100c6a00], ecx
jmp 0x10097fc6
push 0
push dword [0x100c61b0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor ebx, ebx
push 0x100c6964
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1009844d
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x100c61b4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1009848c
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1009848c
mov eax, dword [eax]
mov eax, dword [eax + ecx*4 - 4]
test eax, eax
je 0x1009848c
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x1009848c
mov eax, dword [eax + 8]
mov ecx, dword [eax + ecx*4 - 4]
test ecx, ecx
je 0x1009848c
cmp dword [ecx], 0
mov eax, 0x1001dfdc
cmovne eax, dword [ecx]
ret
mov eax, 0x1001dfdc
ret
Function at 0x10098498
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x100c61b4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100984d9
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100984d9
mov eax, dword [eax]
mov eax, dword [eax + ecx*4 - 4]
test eax, eax
je 0x100984d9
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x100984d9
mov eax, dword [eax + 8]
mov ecx, dword [eax + ecx*4 - 4]
test ecx, ecx
je 0x100984d9
cmp dword [ecx + 4], 0
mov eax, 0x1001dfe4
cmovne eax, dword [ecx + 4]
ret
mov eax, 0x1001dfe4
ret
Function at 0x1009eb63
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 4], ebx
je 0x1009eb86
push dword [esi + 4]
mov eax, dword fs:[0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov dword [esi + 4], ebx
cmp dword [esi + 8], ebx
je 0x1009eba1
push dword [esi + 8]
mov eax, dword fs:[0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov dword [esi + 8], ebx
cmp dword [esi + 0xc], ebx
je 0x1009ebbc
push dword [esi + 0xc]
mov eax, dword fs:[0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov dword [esi + 0xc], ebx
cmp dword [esi + 0x10], ebx
je 0x1009ebd7
push dword [esi + 0x10]
mov eax, dword fs:[0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x14], ebx
je 0x1009ebf2
push dword [esi + 0x14]
mov eax, dword fs:[0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov dword [esi + 0x14], ebx
push 0x20
pop eax
mov byte [esi], bl
inc esi
sub eax, 1
jne 0x1009ebf5
pop esi
pop ebx
ret
Function at 0x100a076a
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov eax, ecx
mov dword [esp + 8], eax
push esi
push edi
test eax, eax
je 0x100a0806
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x100a0806
test edx, edx
je 0x100a0806
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x100a0806
push dword [ebp + 0xc]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
push ecx
push ecx
mov ecx, eax
call fcn.100a06ca
mov esi, eax
cmp esi, 1
jne 0x100a07c5
push 0x14
pop eax
mov byte [ebx], 0
inc ebx
sub eax, 1
jne 0x100a07ba
jmp 0x100a0802
test esi, esi
js 0x100a0802
mov edx, dword [esp + 0x10]
lea esi, [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub esp, 0x10
mov edi, esp
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100495bd
cmp dword [esp + 0xc], 0
mov esi, eax
je 0x100a0802
push dword [esp + 0xc]
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, esi
jmp 0x100a080b
mov eax, 0x80070057
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x100ae4cb
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov edx, ebx
lea esi, [edi + 8]
cmp dword [edi + 4], ebx
jbe 0x100ae4f3
mov ecx, ebx
mov eax, dword [esi]
lea ecx, [ecx + 0x5c]
inc edx
mov dword [eax + ecx - 0x48], ebx
mov dword [eax + ecx - 0x54], ebx
cmp edx, dword [edi + 4]
jb 0x100ae4e0
push dword [esi]
mov eax, dword fs:[0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, dword [edi + 0xc]
mov dword [esi], ebx
test ecx, ecx
je 0x100ae515
push 1
call fcn.100ae05a
mov dword [edi + 0xc], ebx
pop edi
pop esi
pop ebx
ret

Function at 0x100b2fda
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edi, ebx
shr edi, 2
lea edx, [ecx + edi*4]
neg edi
je 0x100b3016
imul eax, dword [edx + edi*4], 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, esi
rol eax, 0xd
imul esi, eax, 5
sub esi, 0x19ab949c
add edi, 1
jne 0x100b2ff3
mov eax, ebx
xor ecx, ecx
and eax, 3
sub eax, 1
je 0x100b303c
sub eax, 1
je 0x100b3033
sub eax, 1
jne 0x100b3052
movzx ecx, byte [edx + 2]
shl ecx, 0x10
movzx eax, byte [edx + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [edx]
xor eax, ecx
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor esi, eax
xor esi, ebx
mov eax, esi
shr eax, 0x10
xor eax, esi
imul ecx, eax, 0x85ebca6b
pop edi
pop esi
pop ebx
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
pop ebp
ret 4
Function at 0x100b40b2
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x100c5e00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x100c66c4]
test esi, esi
jne 0x100b41aa
push 0x118
lea eax, [ebp - 0x11c]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x100b411d
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x110]
mov dword [0x100c66c4], esi
sub eax, 1
je 0x100b4184
sub eax, 1
jne 0x100b41aa
cmp dword [ebp - 0x11c], 5
jne 0x100b4172
mov eax, dword [ebp - 0x118]
sub eax, esi
je 0x100b416d
sub eax, 1
je 0x100b415d
sub eax, 1
je 0x100b4154
push 0x14
jmp 0x100b416f
cmp word [ebp - 0xc], 1
push 0x10
jmp 0x100b4164
cmp word [ebp - 0xc], 2
push 8
pop eax
cmovae esi, eax
or esi, 4
jmp 0x100b41a4
push 4
pop esi
jmp 0x100b41a4
cmp dword [ebp - 0x11c], 4
ja 0x100b41b9
push 2
pop esi
mov dword [0x100c66c4], esi
cmp dword [ebp - 0x11c], 4
jne 0x100b41aa
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x100b41a1
cmp eax, 0xa
je 0x100b41a1
cmp eax, 0x5a
jne 0x100b41aa
xor esi, esi
inc esi
mov dword [0x100c66c4], esi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10033c90
leave
ret
push 0x20
jmp 0x100b416f
Function at 0x402021
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x402056
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x402053
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x40205f
add edx, 0x28
cmp edx, esi
jne 0x402041
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x40205c

Function at 0x40249e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4024dd
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4024dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], reloc.api_ms_win_crt_runtime_l1_1_0.dll__register_onexit_function
jne 0x4024dd
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4024dd
cmp dword [ecx + 0x74], 0xe
jbe 0x4024dd
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x407440
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x407015
lea edi, [esi - 0x6015]
push edi
or ebp, 0xffffffff
jmp 0x407462
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407469
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407458
mov eax, 1
add ebx, ebx
jne 0x40747b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407470
jne 0x40748c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407470
xor ecx, ecx
sub eax, 3
jb 0x4074a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x407512
mov ebp, eax
add ebx, ebx
jne 0x4074ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4074b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4074dc
inc ecx
add ebx, ebx
jne 0x4074c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4074bd
jne 0x4074d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4074bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4074fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4074ed
jmp 0x40745e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4074fc
add edi, ecx
jmp 0x40745e
pop esi
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x40755b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x407519
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7030]
or eax, eax
je 0x407555
mov dword [ebx], eax
add ebx, 4
jmp 0x407536
call dword [esi + 0x702c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x40758c
cmp al, 0xef
ja 0x40757f
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x407561
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x40756e
mov ebp, dword [esi + 0x7034]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4075c0
sub esp, 0xffffff80
jmp section.UPX0