joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100149c0
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10014a2e
cmp dword [ebp - 4], 1
je 0x100149dd
jmp 0x10014b0d
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 0x10035f84
push str.CONOUT_
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
add esp, 0xc
push 0
push 0
push 0
push 0x10014660
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10014b0d
mov byte [0x1003f59d], 1
push 0
call fcn.100264e0
push 0
call fcn.100263a0
call fcn.10008e40
movzx edx, al
test edx, edx
je 0x10014a5f
mov dword [ebp - 0x14], 0x856e805
mov dword [ebp - 0x10], 0x568b7424
jmp 0x10014a6d
mov dword [ebp - 0x14], 0x856e885
mov dword [ebp - 0x10], 0x568b7424
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0x654570
push 0x414c90
call fcn.1000b420
add esp, 8
push eax
call fcn.1000ff00
add esp, 0xc
push 0x1003f598
push 0x40
push 4
push 0xc658f4
push 0xc6f46c
call fcn.1000b420
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0xc658f4
push 0xc6f46c
call fcn.1000b420
add esp, 8
mov dword [eax], 0x6ed000
push 0x1003f598
mov edx, dword [0x1003f598]
push edx
push 4
push 0xc658f4
push 0xc6f46c
call fcn.1000b420
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 0x12c
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10007bf0
push eax
call fcn.10007c10
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100192e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
cmp dword [ebp + 0x10], 0x400
jle 0x10019304
push str.data_greater_than_max_n
call fcn.10001c50
add esp, 4
jmp 0x100193d8
mov byte [ebp - 0x1c], 0x8b
mov byte [ebp - 0x1b], 0x11
mov byte [ebp - 0x1a], 0x56
mov byte [ebp - 0x19], 0x8d
mov byte [ebp - 0x18], 0x71
mov byte [ebp - 0x17], 8
mov byte [ebp - 0x16], 0x8b
mov byte [ebp - 0x15], 0x49
mov byte [ebp - 0x14], 4
mov byte [ebp - 0x13], 0x85
mov byte [ebp - 0x12], 0xc9
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0xb
mov byte [ebp - 0xf], 0x8a
mov byte [ebp - 0xe], 6
mov byte [ebp - 0xd], 0x88
mov byte [ebp - 0xc], 2
mov byte [ebp - 0xb], 0x42
mov byte [ebp - 0xa], 0x46
mov byte [ebp - 9], 0x83
mov byte [ebp - 8], 0xe9
mov byte [ebp - 7], 1
mov byte [ebp - 6], 0x75
mov byte [ebp - 5], 0xf5
mov byte [ebp - 4], 0x33
mov byte [ebp - 3], 0xc0
mov byte [ebp - 2], 0x5e
mov byte [ebp - 1], 0xc3
push 0x400
push 0
lea eax, [ebp - 0x41c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x41c], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x418], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x414]
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0
mov eax, dword [ebp + 0x10]
add eax, 8
push eax
lea ecx, [ebp - 0x41c]
push ecx
push 0x1c
lea edx, [ebp - 0x1c]
push edx
push 0
push 0x539
call fcn.10006920
add esp, 0x1c
mov esp, ebp
pop ebp
ret
Function at 0x1001b4b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov byte [ebp - 0x60], 0x55
mov byte [ebp - 0x5f], 0x8b
mov byte [ebp - 0x5e], 0xec
mov byte [ebp - 0x5d], 0x83
mov byte [ebp - 0x5c], 0xec
mov byte [ebp - 0x5b], 8
mov byte [ebp - 0x5a], 0x89
mov byte [ebp - 0x59], 0x4d
mov byte [ebp - 0x58], 0xfc
mov byte [ebp - 0x57], 0xc7
mov byte [ebp - 0x56], 0x45
mov byte [ebp - 0x55], 0xf8
mov byte [ebp - 0x54], 0x20
mov byte [ebp - 0x53], 0x71
mov byte [ebp - 0x52], 0x4c
mov byte [ebp - 0x51], 0
mov byte [ebp - 0x50], 0x8b
mov byte [ebp - 0x4f], 0x45
mov byte [ebp - 0x4e], 0xfc
mov byte [ebp - 0x4d], 0x50
mov byte [ebp - 0x4c], 0x6a
mov byte [ebp - 0x4b], 0
mov byte [ebp - 0x4a], 0xff
mov byte [ebp - 0x49], 0x55
mov byte [ebp - 0x48], 0xf8
mov byte [ebp - 0x47], 0x83
mov byte [ebp - 0x46], 0xc4
mov byte [ebp - 0x45], 8
mov byte [ebp - 0x44], 0x33
mov byte [ebp - 0x43], 0xc0
mov byte [ebp - 0x42], 0x8b
mov byte [ebp - 0x41], 0xe5
mov byte [ebp - 0x40], 0x5d
mov byte [ebp - 0x3f], 0xc3
mov byte [ebp - 0x3c], 0x55
mov byte [ebp - 0x3b], 0x8b
mov byte [ebp - 0x3a], 0xec
mov byte [ebp - 0x39], 0x83
mov byte [ebp - 0x38], 0xec
mov byte [ebp - 0x37], 8
mov byte [ebp - 0x36], 0x89
mov byte [ebp - 0x35], 0x4d
mov byte [ebp - 0x34], 0xfc
mov byte [ebp - 0x33], 0xc7
mov byte [ebp - 0x32], 0x45
mov byte [ebp - 0x31], 0xf8
mov byte [ebp - 0x30], 0x70
mov byte [ebp - 0x2f], 0xa
mov byte [ebp - 0x2e], 0x6c
mov byte [ebp - 0x2d], 0
mov byte [ebp - 0x2c], 0x8b
mov byte [ebp - 0x2b], 0x45
mov byte [ebp - 0x2a], 0xfc
mov byte [ebp - 0x29], 0x50
mov byte [ebp - 0x28], 0x6a
mov byte [ebp - 0x27], 0
mov byte [ebp - 0x26], 0xff
mov byte [ebp - 0x25], 0x55
mov byte [ebp - 0x24], 0xf8
mov byte [ebp - 0x23], 0x83
mov byte [ebp - 0x22], 0xc4
mov byte [ebp - 0x21], 8
mov byte [ebp - 0x20], 0x33
mov byte [ebp - 0x1f], 0xc0
mov byte [ebp - 0x1e], 0x8b
mov byte [ebp - 0x1d], 0xe5
mov byte [ebp - 0x1c], 0x5d
mov byte [ebp - 0x1b], 0xc3
call fcn.10008e40
movzx eax, al
test eax, eax
je 0x1001b5da
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0xc], ecx
jmp 0x1001b5e0
lea edx, [ebp - 0x60]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 1], cl
add dword [ebp - 8], 1
cmp byte [ebp - 1], 0
jne 0x1001b5f5
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
push 0
mov eax, dword [ebp - 0x14]
add eax, 1
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0x22
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10006920
add esp, 0x1c
mov esp, ebp
pop ebp
ret
Function at 0x1001b640
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov dword [ebp - 8], ecx
lea eax, [ebp - 0x198]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1001b671
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
jmp 0x1001b673
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x1001b680
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
xor ecx, ecx
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ecx]
and eax, dword [edx + 4]
cmp eax, 0xffffffff
jne 0x1001b6be
xor al, al
jmp 0x1001b759
mov ecx, 2
mov word [ebp - 0x20], cx
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0xa]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
mov ecx, dword [ebp - 4]
add ecx, 0xc
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x1001b715
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0xc], eax
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
mov ecx, dword [ecx + eax]
mov edx, dword [ecx]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x10], 1
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0xffff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x1001b73d
xor al, al
jmp 0x1001b759
push 0x10
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jge 0x1001b757
xor al, al
jmp 0x1001b759
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x1001b860
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
cmp dword [ebp - 8], 0
jle 0x1001b925
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x18]
cmp eax, 0x2710
jbe 0x1001b8a6
xor al, al
jmp 0x1001b931
cmp dword [ebp - 8], 0x800
jle 0x1001b8b8
mov dword [ebp - 0x10], 0x800
jmp 0x1001b8be
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
call fcn.1001b840
movzx ecx, al
test ecx, ecx
jne 0x1001b8d7
xor al, al
jmp 0x1001b931
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x1001b906
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 0x8c
je 0x1001b906
jmp 0x1001b925
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 4], 0
jne 0x1001b920
jmp 0x1001b925
jmp 0x1001b885
cmp dword [ebp - 4], 0xffffffff
jne 0x1001b92f
xor al, al
jmp 0x1001b931
mov al, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x1001b940
Capabilities:
Check for time delay via gettickcount
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
cmp dword [ebp - 4], 0
jle 0x1001b9fd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x18]
cmp eax, 0x2710
jbe 0x1001b986
xor al, al
jmp 0x1001ba09
cmp dword [ebp - 4], 0x800
jle 0x1001b998
mov dword [ebp - 0x10], 0x800
jmp 0x1001b99e
mov edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
call fcn.1001b840
movzx ecx, al
test ecx, ecx
jne 0x1001b9b7
xor al, al
jmp 0x1001ba09
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x1001b9e6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 0x8c
je 0x1001b9e6
jmp 0x1001b9fd
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
jmp 0x1001b965
cmp dword [ebp - 8], 0xffffffff
jne 0x1001ba07
xor al, al
jmp 0x1001ba09
mov al, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x1001e870
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, 0xaaaaaaab
lea ecx, [ebx + 2]
mul ecx
mov eax, dword [ebp + 0x14]
shr edx, 1
lea edx, [edx*4 + 1]
cmp dword [eax], edx
jae 0x1001e89e
mov dword [eax], edx
mov eax, 6
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov eax, 0xaaaaaaab
mul ebx
push esi
shr edx, 1
push edi
mov edi, dword [ebp + 0x18]
lea esi, [edx + edx*2]
xor edx, edx
mov dword [ebp - 4], edx
test esi, esi
je 0x1001e931
lea edx, [esi - 1]
mov eax, 0xaaaaaaab
mul edx
mov ebx, edx
shr ebx, 1
inc ebx
lea esi, [ebx + ebx*2]
mov dword [ebp - 4], esi
mov esi, dword [ebp + 8]
movzx eax, byte [esi]
shr eax, 2
movzx eax, byte [eax + edi]
mov byte [ecx], al
movzx edx, byte [esi + 1]
movzx eax, byte [esi]
shl eax, 4
shr edx, 4
add edx, eax
and edx, 0x3f
movzx eax, byte [edx + edi]
mov byte [ecx + 1], al
movzx edx, byte [esi + 2]
movzx eax, byte [esi + 1]
shr edx, 6
lea eax, [edx + eax*4]
and eax, 0x3f
movzx eax, byte [eax + edi]
mov byte [ecx + 2], al
movzx eax, byte [esi + 2]
add esi, 3
and eax, 0x3f
movzx eax, byte [eax + edi]
mov byte [ecx + 3], al
add ecx, 4
sub ebx, 1
jne 0x1001e8d3
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
jmp 0x1001e934
mov esi, dword [ebp + 8]
cmp edx, ebx
jae 0x1001e9d6
movzx eax, byte [esi]
mov dword [ebp + 0xc], eax
lea eax, [edx + 1]
cmp eax, ebx
jae 0x1001e94f
movzx edx, byte [esi + 1]
jmp 0x1001e951
xor edx, edx
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
shl esi, 4
movzx eax, byte [eax + edi]
mov byte [ecx], al
mov eax, edx
shr eax, 4
add eax, esi
and eax, 0x3f
movzx eax, byte [eax + edi]
mov byte [ecx + 1], al
add ecx, 2
mov eax, dword [ebp - 4]
inc eax
cmp dword [ebp + 0x1c], 0
je 0x1001e9c9
cmp eax, ebx
jae 0x1001e9a8
and edx, 0xf
movsx eax, byte [edi + edx*4]
mov byte [ecx], al
mov eax, dword [ebp + 0x14]
mov byte [ecx + 1], 0x3d
add ecx, 2
pop edi
pop esi
pop ebx
mov byte [ecx], 0
sub ecx, dword [ebp + 0x10]
mov dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, 0x3d
mov byte [ecx], al
mov byte [ecx + 1], al
add ecx, 2
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov byte [ecx], 0
sub ecx, dword [ebp + 0x10]
mov dword [eax], ecx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, ebx
jae 0x1001e9d6
and edx, 0xf
mov al, byte [edi + edx*4]
mov byte [ecx], al
inc ecx
mov eax, dword [ebp + 0x14]
mov byte [ecx], 0
sub ecx, dword [ebp + 0x10]
pop edi
pop esi
mov dword [eax], ecx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10026c60
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 [0x1003a360]
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 0x10026ddc
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 0x10026dc9
cmp dword [ebp - 0x28], 0x10
jb 0x10026dad
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.10029029
cmp dword [ebp - 0x1c], eax
jne 0x10026dad
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.10029029
cmp dword [ebp - 0x20], eax
je 0x10026dad
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x10026d34
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 [0x1003cfd4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.10029029
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x10026d32
jmp 0x10026dc9
jmp 0x10026d8d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x10026d8d
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 [0x1003cfd4]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.10029029
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x10026d77
jmp 0x10026dc9
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 0x10026cb3
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10029029
push edx
mov ecx, ebp
push eax
lea edx, [0x10026e08]
call fcn.10028fd1
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10028fc0
add esp, 0x30
cmp ebp, esp
call fcn.10029029
mov esp, ebp
pop ebp
ret
Function at 0x10026e20
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.10026c60
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x10026eeb
mov dword [ebp - 4], 0
jmp 0x10026e7c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x10026eeb
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.10029029
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10026ee9
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.10029029
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.10026a80
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10029029
jmp 0x10026e73
pop esi
add esp, 8
cmp ebp, esp
call fcn.10029029
mov esp, ebp
pop ebp
ret

Function at 0x10026f00
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x10026fab
mov dword [ebp - 4], 0
jmp 0x10026f33
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x10026f8e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.10029029
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10026f8c
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.10029029
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10029029
jmp 0x10026f2a
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x1003cfd4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.10029029
pop esi
add esp, 8
cmp ebp, esp
call fcn.10029029
mov esp, ebp
pop ebp
ret
Function at 0x10026fc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov eax, 0xcccccccc
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
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x100655d0]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x10027023
mov eax, dword [ebp - 0x18]
sub eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov esi, esp
lea edx, [ebp - 0xc]
push edx
push 0x40
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.10029029
test eax, eax
jne 0x1002704e
mov eax, 0xa
jmp 0x10027150
cmp dword [ebp + 0xc], 0
je 0x1002709a
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 0x18]
add ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x10027098
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], 0xf9
jmp 0x100270d6
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x100270c1
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x100270d6
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.10029029
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.10029029
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.10029029
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 1
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 0xfd
or al, cl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x14], al
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], cl
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x10027174]
call fcn.10028fd1
pop eax
pop edx
pop edi
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.10029029
mov esp, ebp
pop ebp
ret