joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c4d70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010320d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10115364]
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
xor edx, edx
mov dword [ebp - 0x28], 0
mov ebx, 0xf
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov dword [ebp - 0x2c], eax
cmp esi, eax
je 0x100c4e6f
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x100c4df5
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x100c4de0
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.10028dc0
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x14]
lea ecx, [edx - 3]
cmp ecx, edx
ja 0x100c4e0e
cmp ebx, 0x10
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x28]
cmovae eax, edi
mov byte [eax + ecx], 0
jmp 0x100c4e1b
sub ecx, edx
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.10038380
cmp dword [ebp - 0x14], 0x10
lea ebx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov edi, 0x811c9dc5
mov edx, dword [ebp - 0x18]
cmovae ebx, eax
xor ecx, ecx
test edx, edx
je 0x100c4e4a
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, edx
jb 0x100c4e36
mov eax, dword [ebp - 0x28]
cmp edi, dword [ebp + 8]
jne 0x100c4e5a
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x100c4e6a
dec ecx
mov dword [ebp - 0x30], ecx
add esi, 0x1c
cmp esi, dword [ebp - 0x2c]
je 0x100c4e72
mov ebx, dword [ebp - 0x14]
jmp 0x100c4dcc
mov esi, dword [esi + 0x18]
jmp 0x100c4e74
mov eax, dword [ebp - 0x28]
xor esi, esi
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x100c4ea7
inc ecx
mov edx, eax
cmp ecx, 0x1000
jb 0x100c4e9d
mov eax, dword [eax - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x2c], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x100c4ec7
mov eax, dword [ebp - 0x2c]
push ecx
push eax
call fcn.100f8cec
add esp, 8
mov eax, esi
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.100f8871
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x100c4ed0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010320d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10115364]
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
xor edx, edx
mov dword [ebp - 0x28], 0
mov ebx, 0xf
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov dword [ebp - 0x2c], eax
cmp esi, eax
je 0x100c4fcf
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x100c4f55
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x100c4f40
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.10028dc0
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x14]
lea ecx, [edx - 3]
cmp ecx, edx
ja 0x100c4f6e
cmp ebx, 0x10
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x28]
cmovae eax, edi
mov byte [eax + ecx], 0
jmp 0x100c4f7b
sub ecx, edx
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.10038380
cmp dword [ebp - 0x14], 0x10
lea ebx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov edi, 0x811c9dc5
mov edx, dword [ebp - 0x18]
cmovae ebx, eax
xor ecx, ecx
test edx, edx
je 0x100c4faa
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, edx
jb 0x100c4f96
mov eax, dword [ebp - 0x28]
cmp edi, dword [ebp + 8]
jne 0x100c4fba
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x100c4fca
dec ecx
mov dword [ebp - 0x30], ecx
add esi, 0x1c
cmp esi, dword [ebp - 0x2c]
je 0x100c4fd2
mov ebx, dword [ebp - 0x14]
jmp 0x100c4f2c
mov esi, dword [esi + 0x18]
jmp 0x100c4fd4
mov eax, dword [ebp - 0x28]
xor esi, esi
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x100c5007
inc ecx
mov edx, eax
cmp ecx, 0x1000
jb 0x100c4ffd
mov eax, dword [eax - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x2c], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x100c5027
mov eax, dword [ebp - 0x2c]
push ecx
push eax
call fcn.100f8cec
add esp, 8
mov eax, esi
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.100f8871
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x100c5ba0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x10], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x100c5bd1
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, 1
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10038690
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x100c5ce4
nop word [eax + eax]
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
mov dword [ebp - 4], ebx
lea eax, [eax + edi*8]
mov dword [ebp - 8], eax
cmp ebx, esi
jne 0x100c5c64
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x100c5cd7
mov eax, dword [eax + 4]
mov ebx, dword [ecx + 8]
cmp ebx, dword [eax + 8]
jne 0x100c5c9e
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp eax, ecx
je 0x100c5c96
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
jmp 0x100c5cd7
mov edi, eax
cmp dword [ebp - 4], eax
je 0x100c5cb4
mov eax, dword [eax + 4]
mov edi, eax
cmp ebx, dword [eax + 8]
je 0x100c5ced
cmp dword [ebp - 4], eax
jne 0x100c5ca5
mov eax, dword [ecx + 4]
mov dword [ebp - 4], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 4]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax], ecx
mov ebx, dword [ebp - 0x10]
mov ecx, edx
cmp edx, esi
jne 0x100c5c10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x100c5cd7

Function at 0x100c6e50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x100c6e8c
push 7
push 0x101085bc
mov ecx, 0x101bd324
call fcn.10028dc0
push 0
push 0
push 0
push 0x100335e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x100c6e8c
mov eax, 1
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc
Function at 0x100d0e80
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101036fb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x10115364]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x101d9bb4]
mov dword [ebp - 0x38], ecx
test al, 1
jne 0x100d0fe8
or eax, 1
mov dword [0x101d9bb4], eax
mov dword [ebp - 4], 0
mov eax, 0x10
movaps xmm0, xmmword [0x1010aa60]
pxor xmm0, xmmword [0x1010a540]
mov dword [ebp - 0x20], 0x56463556
mov dword [ebp - 0x1c], 0x47563046
mov dword [ebp - 0x18], 0x404e5647
mov byte [ebp - 0x14], 0x76
movups xmmword [ebp - 0x30], xmm0
nop dword [eax]
xor byte [ebp + eax - 0x30], 0x76
inc eax
cmp eax, 0x1d
jb 0x100d0f10
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d0f40
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.10028dc0
mov byte [ebp - 4], 1
mov edx, dword [0x101d4984]
test edx, edx
je 0x100d0f69
mov edx, dword [edx + 0x50]
jmp 0x100d0f6b
xor edx, edx
mov eax, dword [0x101d497c]
test eax, eax
je 0x100d0f79
mov eax, dword [eax + 0x18]
jmp 0x100d0f7b
xor eax, eax
lea ecx, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.100209a0
mov eax, dword [ebp - 0x34]
add esp, 8
test eax, eax
je 0x100d0fa2
mov ecx, dword [eax + 1]
test ecx, ecx
jne 0x100d0f9d
xor eax, eax
jmp 0x100d0fa2
add eax, 5
add eax, ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x3c]
mov dword [0x101d9bb8], eax
cmp edx, 0x10
jb 0x100d0fe1
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d0fd7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d0fd7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100f8cec
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [0x101d9bb8], 0
je 0x100d1006
push 0
mov ecx, dword [ebp - 0x38]
movss xmm1, dword [ebx + 0xc]
movss xmm2, dword [ebx + 8]
call dword [0x101d9bb8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x100e2310
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10103dcd
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10115364]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x101d4a30]
mov edi, dword [esi + 0x174]
test edi, edi
setg byte [ebp - 0x14]
cmp dword [0x101bd20c], 4
jne 0x100e2379
mov edx, dword [esi + 0x4cb0]
add edx, dword [esi + 0x4cac]
mov ecx, dword [0x101d49d8]
push edx
push dword [esi + 0x4cb4]
mov eax, dword [ecx]
push dword [ebp - 0x14]
push edi
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x101d9bd4], 0
jne 0x100e24b9
movaps xmm0, xmmword [0x1010a650]
xor eax, eax
movaps xmm2, xmmword [0x1010aa60]
movups xmmword [ebp - 0x54], xmm0
mov word [ebp - 0x34], 0x3530
movaps xmm0, xmmword [0x1010a820]
movups xmmword [ebp - 0x44], xmm0
mov byte [ebp - 0x32], 0x76
nop
movups xmm0, xmmword [ebp + eax - 0x54]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x54], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x100e23b0
cmp eax, 0x23
jae 0x100e23db
nop
xor byte [ebp + eax - 0x54], 0x76
inc eax
cmp eax, 0x23
jb 0x100e23d0
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e2400
sub ecx, edx
lea eax, [ebp - 0x54]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10028dc0
mov dword [ebp - 4], 0
mov edx, dword [0x101d4990]
test edx, edx
je 0x100e242c
mov edx, dword [edx + 0x50]
jmp 0x100e242e
xor edx, edx
mov eax, dword [0x101d4988]
test eax, eax
je 0x100e243c
mov eax, dword [eax + 0x18]
jmp 0x100e243e
xor eax, eax
lea ecx, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.1004d190
mov edi, dword [ebp - 0x18]
add esp, 8
mov edx, dword [ebp - 0x1c]
inc edi
cmp edx, 0x10
jb 0x100e2488
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100e247e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e247e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100f8cec
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push edi
mov dword [ebp - 0x14], 0
call esi
lea eax, [ebp - 0x14]
mov dword [edi], 0x3e
push eax
push dword [ebp - 0x14]
push 4
push edi
call esi
mov byte [0x101d9bd4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f8871
mov esp, ebp
pop ebp
ret
Function at 0x100f66e0
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 [0x10115364]
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 0x100f685c
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 0x100f6849
cmp dword [ebp - 0x28], 0x10
jb 0x100f682d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.100f9355
cmp dword [ebp - 0x1c], eax
jne 0x100f682d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.100f9355
cmp dword [ebp - 0x20], eax
je 0x100f682d
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x100f67b4
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 [0x101d44f4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.100f9355
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x100f67b2
jmp 0x100f6849
jmp 0x100f680d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x100f680d
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 [0x101d44f4]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.100f9355
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x100f67f7
jmp 0x100f6849
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 0x100f6733
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100f9355
push edx
mov ecx, ebp
push eax
lea edx, [0x100f6888]
call fcn.100f92ff
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f8871
add esp, 0x30
cmp ebp, esp
call fcn.100f9355
mov esp, ebp
pop ebp
ret
Function at 0x100f68a0
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.100f66e0
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x100f696b
mov dword [ebp - 4], 0
jmp 0x100f68fc
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 0x100f696b
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.100f9355
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100f6969
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.100f9355
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.100f6500
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.100f9355
jmp 0x100f68f3
pop esi
add esp, 8
cmp ebp, esp
call fcn.100f9355
mov esp, ebp
pop ebp
ret

Function at 0x100f6980
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 0x100f6a2b
mov dword [ebp - 4], 0
jmp 0x100f69b3
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 0x100f6a0e
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.100f9355
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100f6a0c
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.100f9355
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100f9355
jmp 0x100f69aa
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x101d44f4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.100f9355
pop esi
add esp, 8
cmp ebp, esp
call fcn.100f9355
mov esp, ebp
pop ebp
ret
Function at 0x100f6a40
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 [0x101da250]
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 0x100f6aa3
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.100f9355
test eax, eax
jne 0x100f6ace
mov eax, 0xa
jmp 0x100f6bd0
cmp dword [ebp + 0xc], 0
je 0x100f6b1a
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 0x100f6b18
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 0x100f6b56
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x100f6b41
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 0x100f6b56
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.100f9355
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.100f9355
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.100f9355
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, [0x100f6bf4]
call fcn.100f92ff
pop eax
pop edx
pop edi
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.100f9355
mov esp, ebp
pop ebp
ret
Function at 0x100f72c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [0x101da248]
mov dword [ebp - 4], eax
jmp 0x100f72e7
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x100f7300
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x100f72fe
mov eax, dword [ebp - 4]
jmp 0x100f7384
jmp 0x100f72df
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.100f9355
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100f7381
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x100f7343
mov edx, dword [ebp - 4]
mov eax, dword [0x101da248]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x101da248], ecx
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.100f9355
mov esp, ebp
pop ebp
ret

Function at 0x100f7870
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x100f78c0
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x100f78c0
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x100f78c0
xor eax, eax
jmp 0x100f7901
mov dword [ebp - 4], 1
jmp 0x100f78d2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100f78fc
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x100f78fa
xor eax, eax
jmp 0x100f7901
jmp 0x100f78c9
mov eax, 1
mov esp, ebp
pop ebp
ret