joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c3a0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x42c3d5
cmp edi, dword [esi + 0xc]
jge 0x42c3d5
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42c3d5
cmp edi, dword [eax + 8]
jge 0x42c3d5
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x42c3d7
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x42c4db
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x42c50f
jmp fcn.0041f415
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x42c580
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x42c679
cmp eax, dword [edi + 0xc]
jge 0x42c679
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x42c5d1
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x42c662
cmp dword [ebp + 0xc], ebx
je 0x42c662
jmp 0x42c5fb
push 0x10
call fcn.0042c26c
cmp eax, ebx
je 0x42c5e7
mov ecx, eax
call fcn.0042c4d2
mov esi, eax
jmp 0x42c5e9
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x42c612
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x42c622
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x42c634
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0041f415
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.00412a80
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x42c674
cmp ecx, dword [esi + 8]
jge 0x42c674
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x42c67a
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x42e777
Capabilities:
Initialize winsock library

Disassembly:
mov eax, 0x42f473
call fcn.00412a58
sub esp, 0x198
mov eax, dword [0x43e370]
push ebx
push esi
push edi
push 0x42c241
mov ecx, 0x44116c
mov dword [ebp - 0x10], eax
call fcn.0042c400
mov edi, eax
xor ebx, ebx
cmp dword [edi + 0xc], ebx
jne 0x42e7d9
mov esi, dword [ebp + 8]
cmp esi, ebx
jne 0x42e7b7
lea esi, [ebp - 0x1a0]
push esi
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, ebx
jne 0x42e80b
cmp byte [esi], 1
jne 0x42e805
cmp byte [esi + 1], 1
jne 0x42e805
mov dword [edi + 0xc], 0x42e744
call fcn.0042b174
mov esi, eax
cmp dword [esi + 0x30], ebx
jne 0x42e818
push 0x1c
call fcn.004234ba
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x42e80f
push 0xa
call fcn.0041ffb4
jmp 0x42e811
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x42e87b
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x30], eax
cmp dword [esi + 0x34], ebx
jne 0x42e84a
push 0x1c
call fcn.004234ba
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], 1
je 0x42e841
push 0xa
call fcn.0041ffb4
jmp 0x42e843
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x34], eax
cmp dword [esi + 0x38], ebx
jne 0x42e878
push 0x1c
call fcn.004234ba
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], 2
je 0x42e873
push 0xa
call fcn.0041fa95
jmp 0x42e875
xor eax, eax
mov dword [esi + 0x38], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.00411557
leave
ret 4
Function at 0x10032346
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x10032389
call fcn.10025ea4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
test eax, eax
je 0x10032389
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x100323a4
push edi
call dword [sym.imp.kernel32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.1001bb5f
test ebx, ebx
mov esi, eax
je 0x100323a2
test edi, edi
je 0x100323a2
push edi
call dword [sym.imp.kernel32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x1003bf37
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x1003bf57
cmp dword [edi + 0x54], 0
jne 0x1003bf57
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.10025ea4
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.1003befe
push ebx
mov esi, eax
call dword [sym.imp.kernel32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x10040165
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1008a740]
jne 0x1004016f
repz ret
jmp fcn.100475c4
Function at 0xe111e0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [0xe28800], eax
jne 0xe111fc
jmp 0xe112d0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0xe28800], eax
mov dword [ebp - 4], 0x64
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00e12630
add esp, 8
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
imul ecx, ecx, 3
push ecx
push 0xc22a836e
push 0x17
push 0xe245e4
call fcn.00e117f0
add esp, 0xc
push eax
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0xe279e0
call fcn.00e12660
add esp, 4
push 0xfbbec1f2
push 0x1b
push 0xe245fc
call fcn.00e117f0
add esp, 0xc
push eax
push 0xe279e0
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x208]
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [0xe27bec], eax
push 0xe279e0
push 0x33825dca
push 0xa
push 0xe24618
call fcn.00e117f0
add esp, 0xc
push eax
push 0xe285f8
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0xe11500
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call fcn.00e111e0
call fcn.00e11000
call fcn.00e11030
push str.MSCTF.MarshalInt
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0xe115a9
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0xe27be8], eax
cmp dword [0xe27be8], 0
je 0xe1159d
push 0
push 0
push 0
push 0xe113f0
push 0
push 0
call fcn.00e14510
add esp, 0x18
mov dword [ebp - 8], eax
push 0
call fcn.00e1bb80
cmp dword [ebp - 8], 0
je 0xe1158c
push 0xffffffffffffffff
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 8]
push edx
call fcn.00e11ba0
add esp, 4
call fcn.00e111d0
mov eax, dword [0xe27be8]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 4]
push ecx
call fcn.00e11ba0
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0xe11840
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 1], 0
push 0xffffffffffffffff
mov eax, dword [0xe28c38]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 8], 0
jmp 0xe1186a
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 4
jge 0xe1190c
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
push 0xe28a38
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0xe118ee
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x284]
lea ecx, [eax + eax + 0x288]
mov dword [ebp - 0x10], ecx
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
movzx eax, byte [0xe28a34]
test eax, eax
jne 0xe118da
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov edx, dword [ebp - 0xc]
push edx
call fcn.00e11ba0
add esp, 4
mov byte [ebp - 1], 1
jmp 0xe1190c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0xe11905
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0xe11907
jmp 0xe1190c
jmp 0xe11861
mov eax, dword [0xe28c38]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0xe11f10
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx edx, word [ebp - 0x24]
xor eax, eax
cmp edx, 9
sete al
mov esp, ebp
pop ebp
ret

Function at 0xe11fa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20119
push 0
push 0x437a1527
push 0x2e
push 0xe24684
call fcn.00e117f0
add esp, 0xc
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xe12011
mov dword [ebp - 0xc], 4
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0
push 0x93376d8c
push 4
push 0xe246b4
call fcn.00e117f0
add esp, 0xc
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0xe12100
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push 0xff
mov eax, dword [ebp + 8]
push eax
call fcn.00e15280
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0xe12125
xor eax, eax
jmp 0xe12244
push 0x28
mov edx, dword [ebp + 0xc]
push edx
call fcn.00e15190
add esp, 8
movzx eax, al
test eax, eax
jne 0xe12141
xor eax, eax
jmp 0xe12244
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0xe12241
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0xd6859929
push 5
push 0xe246c8
call fcn.00e117d0
add esp, 0xc
push eax
lea edx, [ebp - 0x20]
push edx
call fcn.00e16e00
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0xe12241
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.00e16f90
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0xe12235
lea eax, [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
movzx edx, byte [ecx + 0xf]
push edx
mov eax, dword [ebp - 0x64]
movzx ecx, byte [eax + 0xe]
push ecx
mov edx, dword [ebp - 0x64]
movzx eax, byte [edx + 0xd]
push eax
mov ecx, dword [ebp - 0x64]
movzx edx, byte [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x64]
movzx ecx, byte [eax + 0xb]
push ecx
mov edx, dword [ebp - 0x64]
movzx eax, byte [edx + 0xa]
push eax
mov ecx, dword [ebp - 0x64]
movzx edx, byte [ecx + 9]
push edx
mov eax, dword [ebp - 0x64]
movzx ecx, byte [eax + 8]
push ecx
mov edx, dword [ebp - 0x64]
movzx eax, word [edx + 6]
push eax
mov ecx, dword [ebp - 0x64]
movzx edx, word [ecx + 4]
push edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
push ecx
push 0x228b7d78
push 0x32
push 0xe246d0
call fcn.00e117d0
add esp, 0xc
push eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.00e16cb0
add esp, 0x34
mov eax, dword [ebp - 0x20]
push eax
call fcn.00e23970
add esp, 4
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0xe124a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [ebp + 0x10]
shl eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00e15190
add esp, 8
movzx edx, al
test edx, edx
jne 0xe124c9
xor eax, eax
jmp 0xe1256f
mov dword [ebp - 8], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0xe1256c
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp + 8]
jne 0xe1254b
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x214]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
mov dword [ebp - 8], 1
jmp 0xe12560
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0xe12522
mov eax, dword [ebp - 4]
push eax
call fcn.00e11ba0
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0xe12580
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0xe125a5
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0xe12618
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0xe125da
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0xe1260d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0xe1260b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0xe125d1
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0xe1259c
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret

Function at 0xe12660
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0x208
mov eax, dword [ebp + 8]
push eax
call fcn.00e15190
add esp, 8
movzx ecx, al
test ecx, ecx
je 0xe1268d
mov edx, dword [ebp + 8]
push edx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
pop ebp
ret
Function at 0xe126a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xe25188
push 0xe239f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov eax, 0x6a7d
mov word [ebp - 0x1c], ax
movzx ecx, word [ebp - 0x1c]
xor ecx, 0x3030
mov word [ebp - 0x1c], cx
mov edx, dword [ebp + 8]
xor eax, eax
and edx, 0xfffff000
and eax, 0xf
mov dword [ebp + 8], edx
jmp 0xe12703
mov ecx, dword [ebp + 8]
sub ecx, 0x1000
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx]
movzx ecx, word [ebp - 0x1c]
cmp eax, ecx
jne 0xe1274e
mov edx, 0x7560
mov word [ebp - 0x1c], dx
movzx eax, word [ebp - 0x1c]
xor eax, 0x3030
mov word [ebp - 0x1c], ax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx]
movzx edx, word [ebp - 0x1c]
cmp ecx, edx
jne 0xe1274e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
jmp 0xe1276b
jmp 0xe126f7
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xe13630
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
call fcn.00e13260
movzx eax, al
test eax, eax
je 0xe13641
jmp 0xe13684
mov dword [0xe28c74], 0
push 0xe28c50
call fcn.00e14760
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0xe28c78], eax
mov byte [0xe28a35], 1
push 0
push 0
push 0
push 0xe132e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0xe28c70], eax
pop ebp
ret
Function at 0xe13bc0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov byte [ebp - 5], 0
mov eax, dword [ebp + 8]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0xe13c12
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x18
jne 0xe13c0d
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
mov ecx, dword [ebp + 8]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0xe13c0d
jmp 0xe13ccd
jmp 0xe13ccd
mov dword [ebp - 0x430], 0
push 0x424
push 0
lea edx, [ebp - 0x42c]
push edx
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [ebp - 0x430], 0x428
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
jne 0xe13c53
jmp 0xe13ccd
push 0x62a7fc43
push 6
push 0xe24744
call fcn.00e117f0
add esp, 0xc
push eax
lea edx, [ebp - 0x410]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0
je 0xe13cb0
push 0x8a76f172
push 4
push 0xe2474c
call fcn.00e117f0
add esp, 0xc
push eax
mov eax, dword [ebp - 0x434]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0xe13cb0
mov byte [ebp - 5], 1
jmp 0xe13cc5
lea ecx, [ebp - 0x430]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0xe13c53
xor eax, eax
jne 0xe13bcd
cmp dword [ebp - 4], 0xffffffff
je 0xe13cdf
mov ecx, dword [ebp - 4]
push ecx
call fcn.00e11ba0
add esp, 4
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0xe13cf0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
jmp 0xe13d06
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x12c
jge 0xe13d45
mov ecx, dword [ebp + 8]
push ecx
call fcn.00e13b00
add esp, 4
test eax, eax
je 0xe13d3b
mov edx, dword [ebp + 0x10]
push edx
call fcn.00e11ba0
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
call fcn.00e11ba0
add esp, 4
mov al, 1
jmp 0xe13d5f
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0xe13cfd
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [ebp + 0xc]
push edx
call fcn.00e11ba0
add esp, 4
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0xe13f30
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00e13080
add esp, 8
test eax, eax
jne 0xe13f56
jmp 0xe14030
push 0x40
push 0x1000
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0xe13f7b
jmp 0xe14030
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0xe1400d
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 0x10]
add eax, dword [ebp - 8]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x10], 0
push 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0xe13fd6
mov dword [ebp - 4], 1
jmp 0xe14001
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ntdll.dll_RtlCreateUserThread]
test eax, eax
jl 0xe14001
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
push eax
call fcn.00e11ba0
add esp, 4
cmp dword [ebp - 4], 0
jne 0xe14028
push 0x8000
push 0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
jne 0xe13f3d
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret