joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b5670
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov ecx, 0x10274273
call fcn.10172e30
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x101e2bd0
cmp dword [ebp + 0xc], 0
je 0x100b5736
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
cmp dword [ebp - 0x54], 0
je 0x100b5734
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 0x4f], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov al, byte [ebp - 0x4f]
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 0xd]
cmp eax, 0x23
jne 0x100b5711
cmp dword [ebp + 0xc], 2
jb 0x100b5711
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x100b5711
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax]
cmp edx, 0x23
jne 0x100b5711
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
shr eax, 8
mov ecx, dword [ebp - 4]
and ecx, 0xff
movzx edx, byte [ebp - 0xd]
xor ecx, edx
mov edx, dword [ebp - 0xc]
xor eax, dword [edx + ecx*4]
mov dword [ebp - 4], eax
jmp 0x100b56a8
jmp 0x100b57ac
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 0x4f], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov al, byte [ebp - 0x4f]
mov byte [ebp - 0xe], al
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x100b57ac
movzx eax, byte [ebp - 0xe]
cmp eax, 0x23
jne 0x100b578c
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x100b578c
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax]
cmp edx, 0x23
jne 0x100b578c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
shr eax, 8
mov ecx, dword [ebp - 4]
and ecx, 0xff
movzx edx, byte [ebp - 0xe]
xor ecx, edx
mov edx, dword [ebp - 0xc]
xor eax, dword [edx + ecx*4]
mov dword [ebp - 4], eax
jmp 0x100b5736
mov eax, dword [ebp - 4]
not eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100c6fb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d0123
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x10247340]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, 0x102742b1
call fcn.10172e30
mov ecx, dword [ebp - 0x10]
call fcn.100a6b70
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.100a6b70
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.100c6d20
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.1002aa10
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [eax + 0x10], xmm0
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [eax + 0xc], xmm0
mov eax, 0x3f
mov ecx, dword [ebp - 0x10]
mov word [ecx + 0x42], ax
mov eax, 0xffff
mov ecx, dword [ebp - 0x10]
mov word [ecx + 0x44], ax
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x58]
call fcn.1002a9d0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], 0
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov word [ecx + 0x40], ax
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x58], 0
mov eax, dword [ebp - 0x10]
movss xmm0, dword [0x101d5a5c]
movss dword [eax + 0x48], xmm0
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [eax + 0x50], xmm0
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [ecx + 0x4c], xmm0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x54], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100c70f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d0166
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x10247340]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, 0x102742b1
call fcn.10172e30
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.1002aa10
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.1002aa10
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.100a6b70
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.100c6d20
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.100c6d20
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov byte [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], 0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x5c]
call fcn.1002a9d0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], edx
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x64]
call fcn.1002a9d0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], edx
mov dword [ebp - 0x14], 0
jmp 0x100c7223
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x100c7239
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + eax*4 + 0x58], 0xffffffff
jmp 0x100c721a
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10113050
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d0ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x10247340]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, 0x10275538
call fcn.10172e30
mov ecx, dword [ebp - 0x10]
call fcn.10113240
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.Source::CLegitBot.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov eax, dword [ebp - 0x10]
add eax, 0x14
mov dword [ebp - 0x54], eax
push 0
mov ecx, dword [ebp - 0x54]
call fcn.1010b740
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.10112fc0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [eax + 0x2c], xmm0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.10134750
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.10134750
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [eax + 0x48], xmm0
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [eax + 0x4c], xmm0
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [eax + 0x50], xmm0
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [eax + 0x54], xmm0
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [eax + 0x58], xmm0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x5c], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x5d], 0
mov eax, dword [ebp - 0x10]
add eax, 0x60
mov dword [ebp - 0x54], eax
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x54]
call fcn.1016f270
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x6c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10119bd0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d10f0
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x10247340]
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 ecx, 0x10275ab9
call fcn.10172e30
mov dword [ebp - 0x234], 0x224
mov eax, dword [ebp + 0xc]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x10119d45
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
call sub.KERNEL32.dll_Module32Next
test eax, eax
je 0x10119d45
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x254]
call fcn.100077c0
mov dword [ebp - 4], 0
mov eax, dword [sym.imp.ucrtbased.dll_tolower]
push eax
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x2d8], esp
push ecx
lea ecx, [ebp - 0x254]
call fcn.1003c260
sub esp, 0xc
mov edx, esp
mov dword [ebp - 0x2dc], esp
push edx
lea ecx, [ebp - 0x254]
call fcn.1003c650
sub esp, 0xc
mov eax, esp
mov dword [ebp - 0x2e0], esp
push eax
lea ecx, [ebp - 0x254]
call fcn.1003c260
lea ecx, [ebp - 0x2ec]
push ecx
call fcn.1002a0c0
add esp, 0x2c
mov dword [ebp - 0x2f4], eax
lea ecx, [ebp - 0x2ec]
call fcn.10008390
push 0x811c9dc5
lea ecx, [ebp - 0x254]
call fcn.10023420
push eax
call fcn.10019a40
add esp, 8
cmp eax, dword [ebp + 8]
jne 0x10119d2e
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x2f0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.100085a0
mov eax, dword [ebp - 0x2f0]
jmp 0x10119d54
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.100085a0
jmp 0x10119c3e
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
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.10172e70
mov esp, ebp
pop ebp
ret
Function at 0x10119d70
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov ecx, 0x10275ab9
call fcn.10172e30
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x10119d9e
xor eax, eax
jmp 0x10119ed6
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
add ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10119dbc
xor eax, eax
jmp 0x10119ed6
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax + 0x78]
push edx
call fcn.10119f60
add esp, 0xc
add eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x20]
push eax
call fcn.10119f60
add esp, 0xc
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], 0
jmp 0x10119e1a
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0x14]
jae 0x10119e66
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.10119f60
add esp, 0xc
add eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
push 0x811c9dc5
mov eax, dword [ebp - 0x1c]
push eax
call fcn.10019a40
add esp, 8
cmp eax, dword [ebp + 0xc]
jne 0x10119e64
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
jmp 0x10119e66
jmp 0x10119e11
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x14]
jbe 0x10119e75
xor eax, eax
jmp 0x10119ed6
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x24]
push eax
call fcn.10119f60
add esp, 0xc
add eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x1c]
push eax
call fcn.10119f60
add esp, 0xc
add eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + ecx*4]
push eax
call fcn.10119f60
add esp, 0xc
add eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10119f60
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov ecx, 0x10275ab9
call fcn.10172e30
cmp dword [ebp + 8], 0
je 0x10119f81
movzx eax, byte [ebp + 0x10]
test eax, eax
jne 0x10119f86
mov eax, dword [ebp + 8]
jmp 0x10119fef
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x10119fa9
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
cmp dword [ebp - 8], ecx
jae 0x10119fde
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jb 0x10119fd3
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 8]
cmp dword [ebp + 8], ecx
jae 0x10119fd3
jmp 0x10119fde
mov eax, dword [ebp - 4]
add eax, 0x28
mov dword [ebp - 4], eax
jmp 0x10119fa0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
sub ecx, dword [eax + 0xc]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x14]
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1011c830
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov ecx, 0x10275e2d
call fcn.10172e30
mov eax, dword [0x1026fa2c]
mov dword [ebp - 4], eax
jmp 0x1011c855
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x1011c86b
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1011c869
mov eax, dword [ebp - 4]
jmp 0x1011c8e5
jmp 0x1011c84d
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1011c8e2
mov eax, dword [ebp - 4]
add eax, 0x20
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [eax], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
cmp eax, 0xfe0
jbe 0x1011c8a5
mov eax, dword [ebp - 4]
mov ecx, dword [0x1026fa2c]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov dword [0x1026fa2c], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1011d850
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov ecx, 0x10275f75
call fcn.10172e30
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x1026fa20]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 5
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1011d8a1
mov eax, dword [ebp - 0x10]
sub eax, 5
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
add eax, 2
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1011d8c3
mov eax, 0xa
jmp 0x1011d9aa
cmp dword [ebp + 0xc], 0
je 0x1011d910
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov byte [eax], 0xe9
mov eax, dword [ebp - 0x10]
add eax, 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
sub edx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 1], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1011d90e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov byte [eax], 0xeb
mov eax, dword [ebp - 0x18]
mov byte [eax + 1], 0xf9
jmp 0x1011d94c
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1011d937
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.VCRUNTIME140D.dll_memcpy
add esp, 0xc
jmp 0x1011d94c
push 5
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.VCRUNTIME140D.dll_memcpy
add esp, 0xc
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, byte [ebp + 0xc]
and al, 1
shl al, 1
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 0x14]
and dl, 0xfd
or dl, al
mov eax, dword [ebp - 4]
mov byte [eax + 0x14], dl
mov al, byte [ebp + 0xc]
and al, 1
shl al, 2
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 0x14]
and dl, 0xfb
or dl, al
mov eax, dword [ebp - 4]
mov byte [eax + 0x14], dl
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1011da20
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x10247340]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x10275f75
call fcn.10172e30
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x1011db6c
mov dword [ebp - 0x24], 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1011db62
cmp dword [ebp - 0x24], 0x10
jb 0x1011db46
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x18], eax
jne 0x1011db46
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x1c], eax
je 0x1011db46
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x1011dad6
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 2
push ecx
push 0
mov edx, dword [0x1025d8a4]
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x1011dad4
jmp 0x1011db62
jmp 0x1011db26
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x1011db26
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x1025d8a4]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x1011db10
jmp 0x1011db62
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov edx, dword [ebp - 0x1c]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 8], ecx
mov dword [ebp - 0x24], 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1011da6f
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10172e70
mov esp, ebp
pop ebp
ret
Function at 0x1011dce0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov ecx, 0x10275f75
call fcn.10172e30
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.1011da20
add esp, 4
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x1011dd8a
mov dword [ebp - 4], 0
jmp 0x1011dd36
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x1011dd8a
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
push eax
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1011dd88
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.1011e150
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1011dd2d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1011e2e0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov ecx, 0x10275f75
call fcn.10172e30
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x1011e362
mov dword [ebp - 4], 0
jmp 0x1011e30d
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x1011e34d
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
push eax
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1011e34b
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1011e304
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0
mov edx, dword [0x1025d8a4]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1011e7c0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov ecx, 0x10276019
call fcn.10172e30
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x1011e816
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x90
je 0x1011e816
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
cmp eax, 0xcc
je 0x1011e816
xor eax, eax
jmp 0x1011e857
mov dword [ebp - 4], 1
jmp 0x1011e828
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jae 0x1011e852
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
mov edx, 1
imul eax, edx, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + eax]
cmp ecx, eax
je 0x1011e850
xor eax, eax
jmp 0x1011e857
jmp 0x1011e81f
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret