joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a970
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479410
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x495240]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x482ef8
push str.kernel32.dll
push ebx
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x45c], 0
call fcn.00448380
push edx
push eax
push ebx
call fcn.004486a0
mov ecx, dword [0x4997c0]
mov dword [ebp - 0x458], eax
or eax, edx
mov dword [ebp - 0x454], edx
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0xffffffff
mov dword [ebp - 0x448], ecx
jne 0x44aabc
test ebx, ebx
mov eax, ebx
cmove eax, dword [0x4997bc]
push eax
call dword [0x47b5fc]
push eax
push 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x44aa82
push 0x424
lea eax, [ebp - 0x434]
mov dword [ebp - 0x438], 0x428
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x438]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x44aa7b
lea eax, [ebp - 0x418]
push str.kernel32.dll
push eax
call sub.msvcrt.dll__wcsicmp
add esp, 8
test eax, eax
je 0x44aadf
lea eax, [ebp - 0x438]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x44aa52
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movlpd qword [ebp - 0x440], xmm0
mov eax, dword [ebp - 0x440]
mov edx, dword [ebp - 0x43c]
push 0x482ef8
push edx
push eax
push ebx
call fcn.00448b30
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], edx
mov dword [ebp - 0x448], 0
cmp dword [edi + 0x14], 7
mov dword [ebp - 4], 0
jbe 0x44aacb
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x460]
call fcn.004442d0
or eax, edx
je 0x44aaef
mov bl, 1
jmp 0x44aaf1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x41c]
cdq
jmp 0x44aa99
xor bl, bl
mov esi, dword [ebp - 0x45c]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x44ab37
mov edx, dword [esi + 8]
mov eax, edx
mov ecx, dword [esi + 0xc]
or eax, ecx
mov dword [ebp - 4], 1
je 0x44ab2c
cmp dword [esi], 0
je 0x44ab2c
push 0x4000
push dword [esi + 0x10]
push ecx
push edx
push dword [esi + 4]
call fcn.0044acf0
push 0x18
push esi
call fcn.0046707f
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046708d
mov esp, ebp
pop ebp
ret
Function at 0x44ce60
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
lea edx, [ebp + 0x14]
sub esp, 0x40
push ebx
push esi
push edi
test ecx, ecx
jle 0x44ce88
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x1c]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0xc], eax
jmp 0x44ce90
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
test ecx, ecx
jle 0x44cea9
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x44ceb1
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test ecx, ecx
jle 0x44ceca
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x44ced2
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
test ecx, ecx
jle 0x44ceeb
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x44cef3
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov eax, edx
mov dword [ebp - 4], 0
cdq
xorps xmm0, xmm0
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call 0x44cf34
add dword [esp], 5
retf

Function at 0x45270c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x45ea08
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474e30
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x495240]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov ebx, str.advapi32.dll
push 0x800
push eax
push ebx
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call dword [0x47b5e8]
mov edi, eax
test edi, edi
jne 0x45ea7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x45eb02
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x45eb02
push str.RegisterTraceGuidsW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.00452a7c
mov dword [esp], str.UnregisterTraceGuids
push edi
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.00452a7c
mov dword [esp], str.TraceEvent
push edi
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.00452a7c
mov dword [esp], str.GetTraceLoggerHandle
push edi
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.00452a7c
mov dword [esp], str.GetTraceEnableLevel
push edi
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.00452a7c
mov dword [esp], str.GetTraceEnableFlags
push edi
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.00452a7c
pop ecx
mov dword [esi + 0x14], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x467e8c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x467ecb
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x467ecb
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x467ecb
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x467ecb
cmp dword [ecx + 0x74], 0xe
jbe 0x467ecb
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x468650
Capabilities:
Get process heap force flags

Disassembly:
call fcn.00468580
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x50001
jae 0x46867a
add eax, 0x74
ret
cmp edx, 0x60000
jae 0x468686
add eax, 0x78
ret
add eax, 0x88
ret

Function at 0x468690
Capabilities:
Get process heap force flags

Disassembly:
call fcn.00468580
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x60000
jae 0x4686ba
add eax, 0x7c
ret
add eax, 0x8c
ret
Function at 0x468920
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x495240]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x468947
mov ecx, 5
int 0x29
push 2
call fcn.00467f30
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x468a52
test esi, esi
jne 0x468a52
push 2
call fcn.00467f30
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046708d
mov esp, ebp
pop ebp
ret
Function at 0x46d2d0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60000
jae 0x46d2fa
mov eax, 2
pop ebp
ret
push esi
call fcn.00468580
mov esi, eax
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x70]
mov ecx, edx
and cl, 2
movzx ecx, cl
neg ecx
sbb ecx, ecx
inc eax
cmp eax, 3
ja case.default.0x46d31a
jmp dword [eax*4 + 0x46d350]
or edx, 2
lea eax, [ecx + 2]
mov dword [esi + 0x70], edx
pop esi
pop ebp
ret
and edx, 0xfffffffd
mov dword [esi + 0x70], edx
lea eax, [ecx + 2]
pop esi
pop ebp
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
call fcn.004688c0
or eax, 0xffffffff
pop esi
pop ebp
ret

Function at 0x46daf0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.00450bf0
mov esi, dword [ebp + 8]
test al, al
je 0x46db0e
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.0046db20
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x46dc50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 2
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x46dcac
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x46dcac
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x46dcac
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x46dcac
cmp dword [ecx + 0x74], 0xe
jbe 0x46dcac
cmp dword [ecx + 0xe8], 0
je 0x46dcac
push dword [ebp + 8]
call fcn.0046db20
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x2aca310
call fcn.0046d900
add esp, 8
cmp dword [ebp - 8], 0
jne 0x46dce1
push dword [ebp + 8]
call fcn.0046daf0
mov esp, ebp
pop ebp
ret

Function at 0x46dd20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x46dd7c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x46dd7c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x46dd7c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x46dd7c
cmp dword [ecx + 0x74], 0xe
jbe 0x46dd7c
cmp dword [ecx + 0xe8], 0
je 0x46dd7c
push dword [ebp + 8]
call fcn.0046db20
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x2aca310
call fcn.0046d900
add esp, 8
cmp dword [ebp - 8], 0
jne 0x46ddb1
push dword [ebp + 8]
call fcn.0046daf0
mov esp, ebp
pop ebp
ret
Function at 0x472f50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x472f7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x472f7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x403938
Capabilities:
Create process on windows
Resume thread
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
push ebx
push esi
push edi
lea eax, [ebp - 0x15c]
push 0x104
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x260]
push str._s.bat
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
lea eax, [ebp - 0x260]
push 0x40cfd4
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
mov esi, dword [sym.imp.MSVCR71.dll_fprintf]
push str.:Repeat_n
push eax
mov dword [ebp - 4], eax
call esi
lea eax, [ebp - 0x15c]
mov edi, str.del___s__n
push eax
push edi
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x15c]
push eax
push str.if_exist___s__goto_Repeat_n
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x260]
push eax
push edi
push dword [ebp - 4]
call esi
add esp, 0x40
push dword [ebp - 4]
call dword [sym.imp.MSVCR71.dll_fclose]
push 0x44
lea eax, [ebp - 0x58]
pop esi
push esi
push ebx
push eax
call sub.MSVCR71.dll_memset
add esp, 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x2c], 1
push eax
lea eax, [ebp - 0x58]
push eax
push 0x40c5c8
push ebx
push esi
push ebx
push ebx
lea eax, [ebp - 0x260]
push ebx
push eax
push ebx
mov word [ebp - 0x28], bx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x403a57
mov esi, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0xfffffffffffffff1
push dword [ebp - 0x10]
call esi
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 0x10]
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404328
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push edi
push esi
push pe_nt_image_headers32
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40437c
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
push esi
push esi
push 2
push esi
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
call edi
cmp ebx, 0xffffffff
jne 0x404380
xor eax, eax
jmp 0x40439b
push esi
push esi
push esi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ebx
mov esi, eax
call edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4043a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
push esi
lea ecx, [edx + eax - 0x16]
push edi
mov edi, dword [ebp + 0x18]
sub eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sub eax, 0x22
lea esi, [eax + edx]
xor edx, edx
mov dword [edi], edx
mov edi, dword [ebp + 0x14]
mov dword [edi], edx
cmp dword [ecx], 0x6054b50
jne 0x4044cc
cmp dword [esi], 0x1234567b
je 0x4043f4
push str.Invalid_cfgdata_magic_number__see_bdist_wininst.py_
push edx
call fcn.00401a6f
pop ecx
pop ecx
jmp 0x4044ce
cmp eax, edx
jl 0x4044cc
mov ecx, dword [esi + 8]
cmp ecx, edx
je 0x404410
mov edx, esi
sub edx, dword [esi + 4]
sub edx, ecx
mov dword [0x40ea50], edx
sub eax, dword [esi + 4]
mov ecx, dword [ebp + 0x10]
mov edi, esi
push 0x104
sub eax, dword [esi + 8]
mov dword [ecx], eax
sub edi, dword [esi + 4]
call dword [sym.imp.MSVCR71.dll_malloc]
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4044cc
lea eax, [ebp - 0x104]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x4044b9
push ebx
push 0
lea eax, [ebp - 0x104]
push 0x40d2dc
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x4044b9
xor eax, eax
push eax
push eax
push eax
push dword [esi + 4]
push eax
push ebx
push 2
call fcn.00401095
add esp, 0x1c
mov dword [ebp + 8], eax
test eax, eax
je 0x4044cc
push dword [esi + 4]
push edi
push eax
call dword [sym.imp.MSVCR71.dll_strncpy]
push dword [ebp + 8]
call sub.MSVCR71.dll_strlen
lea edi, [edi + eax + 1]
push edi
call dword [sym.imp.MSVCR71.dll__strdup]
mov ecx, dword [ebp + 0x18]
add esp, 0x14
push dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 1
pop eax
jmp 0x4044ce
push str.Could_not_create_temporary_file
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401a6f
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10010730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1001073f
pop dword [ebp - 0x24]
mov eax, 0xfbdad24b
sub eax, 0xebd9cb0c
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xed2809c3
add dword [ebp - 0x34], 0x612a3b88
mov dword [ebp - 0x30], 0xeadea283
add dword [ebp - 0x30], 0x4754a9c2
mov dword [ebp - 0x2c], 0xbde27e0b
add dword [ebp - 0x2c], 0x8e69c623
mov dword [ebp - 0x28], 0x5f3da67b
sub dword [ebp - 0x28], 0x5f3da67b
lea eax, [ebp - 0x34]
push eax
mov eax, 0xf56ea76d
sub eax, 0xe56cf75d
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x1bc1d796
sub dword [ebp - 0x34], 0xa74f6e40
mov dword [ebp - 0x30], 0xa1eb8a02
sub dword [ebp - 0x30], 0x607f288d
mov dword [ebp - 0x2c], 0xbb0781b3
add dword [ebp - 0x2c], 0xa867eab9
mov dword [ebp - 0x28], 0x8e4d5419
add dword [ebp - 0x28], 0x71b2abe7
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0xfeb24620
add eax, 0x114f69f4
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3fc7b
push 0
call eax
mov ecx, 0x1961c7aa
sub ecx, 0x1961799b
xor esi, esi
add esi, eax
mov edi, 0xdbc58b89
add edi, 0x343d2477
add edi, dword [ebp - 0x24]
mov ebx, 0x61648501
mov dword [ebp - 0x14], 0x87e1f507
mov edx, dword [edi]
add dword [ebp - 8], 0x91a0c40b
xor edx, ebx
sub dword [ebp - 0x1c], eax
mov dword [esi], edx
add dword [ebp - 4], ebx
add esi, 4
add edi, 4
loop 0x1001085d
add eax, 0x12b0f
mov ebx, eax
add eax, 0xfa5f6d5a
sub eax, 0xfa5f6d55
mov ecx, 0x662c5586
add ecx, 0xa9d3aa7a
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x10001a20
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1000a380]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x10001a5d
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x10], 0
jne 0x10001a48
mov dword [ebp - 0x18], 1
jmp 0x10001a4f
mov dword [ebp - 0x18], 0
mov cl, byte [ebp - 0x18]
mov byte [ebp - 9], cl
movzx edx, byte [ebp - 9]
test edx, edx
je 0x10001a64
xor al, al
jmp 0x10001b77
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x24], edx
push 0x40
push 0x1000
mov eax, dword [ebp - 0x24]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10001a9d
xor al, al
jmp 0x10001b77
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x14], 0xf
jbe 0x10001abb
mov dword [ebp - 0x1c], 1
jmp 0x10001ac2
mov dword [ebp - 0x1c], 0
mov dl, byte [ebp - 0x1c]
mov byte [ebp - 0xa], dl
movzx eax, byte [ebp - 0xa]
test eax, eax
je 0x10001ade
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
push 0
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x10001b0f
xor al, al
jmp 0x10001b77
mov dword [ebp - 8], 0
push 0x10008bf4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x40]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x10001b59
xor al, al
jmp 0x10001b77
cmp dword [ebp + 8], 0
je 0x10001b75
cmp dword [ebp - 0x10], 0
je 0x10001b75
cmp dword [ebp - 0x28], 6
je 0x10001b75
cmp dword [ebp - 0x2c], 0
je 0x10001b75
mov al, 1
jmp 0x10001b77
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10006264
mov esp, ebp
pop ebp
ret
Function at 0x10004270
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1000a380]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x100043ec
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x100043d9
cmp dword [ebp - 0x28], 0x10
jb 0x100043bd
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.1000668a
cmp dword [ebp - 0x1c], eax
jne 0x100043bd
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.1000668a
cmp dword [ebp - 0x20], eax
je 0x100043bd
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x10004344
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
mov esi, esp
push edx
push 0
mov eax, dword [0x1000a464]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.1000668a
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x10004342
jmp 0x100043d9
jmp 0x1000439d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x1000439d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x1000a464]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.1000668a
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x10004387
jmp 0x100043d9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x28], 0x1c
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x100042c3
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1000668a
push edx
mov ecx, ebp
push eax
lea edx, [0x10004418]
call fcn.10006636
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10006264
add esp, 0x30
cmp ebp, esp
call fcn.1000668a
mov esp, ebp
pop ebp
ret