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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100d5d4c]
movss xmm0, dword [0x100c6610]
push ebx
mov ebx, eax
mov dword [ebp - 4], ebx
comiss xmm0, dword [ebx + 0x1cd8]
ja 0x10030599
cmp dword [ebx + 0x1cd4], 0
push esi
push edi
jne 0x100303ad
or edx, 0xffffffff
mov al, 0x23
mov esi, 0x100c6555
or edi, 0xffffffff
nop
cmp al, 0x23
jne 0x1003037e
cmp byte [esi], al
jne 0x1003037e
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x100c5fa8]
test al, al
jne 0x10030370
not edx
push edx
call fcn.1002a260
mov dword [ebx + 0x1cd4], eax
add esp, 4
mov eax, dword [0x100d5d4c]
movss xmm2, dword [ebx + 0x10]
movss xmm1, dword [ebx + 0x14]
or dword [eax + 0x1af0], 0x10
mulss xmm2, dword [0x100c6618]
mulss xmm1, dword [0x100c6618]
movss xmm3, dword [0x100c667c]
movss dword [eax + 0x1b2c], xmm2
movss dword [eax + 0x1b30], xmm1
movss dword [eax + 0x1b34], xmm3
movss dword [eax + 0x1b38], xmm3
mov dword [eax + 0x1b3c], 0
mov dword [eax + 0x1b40], 0
movss xmm2, dword [ebx + 0x10]
movss xmm1, dword [ebx + 0x14]
mov eax, dword [0x100d5d4c]
mulss xmm2, dword [0x1008302c]
mulss xmm1, dword [0x1008302c]
or dword [eax + 0x1af0], 1
movss dword [eax + 0x1b00], xmm2
mov dword [eax + 0x1b08], 0x3f000000
movss dword [eax + 0x1b04], xmm1
mov dword [eax + 0x1b0c], 0x3f000000
mov dword [eax + 0x1af4], 1
lea eax, [ebp - 0xc]
movss xmm0, dword [ebx + 0x151c]
addss xmm0, xmm0
push eax
push 1
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [ebx + 0x1520]
addss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.10031ca0
push 0xc1347
push 0
push str.NavWindowingList
call fcn.10024e90
mov edi, dword [ebx + 0x1a38]
add esp, 0x14
sub edi, 1
js 0x10030588
nop
mov eax, dword [ebx + 0x1a40]
mov esi, dword [eax + edi*4]
cmp byte [esi + 0x83], 0
je 0x1003057f
cmp esi, dword [esi + 0x318]
jne 0x1003057f
test dword [esi + 8], 0x80000
jne 0x1003057f
mov ecx, dword [esi]
mov edx, ecx
cmp ecx, 0xffffffff
jae 0x10030505
mov bl, byte [edx]
test bl, bl
je 0x100304fe
cmp bl, 0x23
jne 0x100304f8
cmp byte [edx + 1], bl
je 0x100304fe
inc edx
cmp edx, 0xffffffff
jb 0x100304e8
mov ebx, dword [ebp - 4]
cmp ecx, edx
jne 0x10030555
mov eax, dword [esi + 8]
test eax, 0x4000000
je 0x10030516
mov ecx, str._Popup_
jmp 0x10030555
test eax, 0x400
je 0x10030550
mov eax, str.MainMenuBar
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10030542
test dl, dl
je 0x1003053e
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10030542
add ecx, 2
add eax, 2
test dl, dl
jne 0x10030522
xor eax, eax
jmp 0x10030547
sbb eax, eax
or eax, 1
mov ecx, str._Main_menu_bar_
test eax, eax
je 0x10030555
mov ecx, str._Untitled_
cmp dword [ebx + 0x1ccc], esi
lea eax, [ebp - 0xc]
push eax
sete al
mov dword [ebp - 0xc], 0
push 0
movzx eax, al
push eax
push ecx
mov dword [ebp - 8], 0
call fcn.1005c240
add esp, 0x10
sub edi, 1
jns 0x100304b0
call fcn.10029060
push 1
call fcn.100317a0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100319d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100d4480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x100d5d4c]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1a6c]
mov esi, 4
mov eax, dword [ebp + 8]
add edi, 0xc4
mov dword [ebp - 8], eax
mov eax, dword [edi]
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x100c5fa8]
sub esi, 1
jne 0x10031a10
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [edi]
cmp ecx, esi
jne 0x10031a57
inc ecx
test esi, esi
je 0x10031a45
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x10031a4a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10037380
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007c76c
mov esp, ebp
pop ebp
ret

Function at 0x100340f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x100d5d4c]
push esi
mov esi, dword [ebp + 8]
mov dword [eax + 0x2ebc], 0
test esi, esi
je 0x10034149
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push edi
push eax
call fcn.10034150
push 0x100c659c
push esi
mov edi, eax
call fcn.1002b5a0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10034148
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
pop ebp
ret
Function at 0x10035d90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [0x100d5d4c]
cmp byte [edi + 0x2eb9], 0
lea eax, [edi + 0x20]
jne 0x10035eb5
mov ecx, dword [eax]
push ebx
test ecx, ecx
je 0x10035ead
push esi
push 0x100c6598
push ecx
call fcn.1002b5a0
mov esi, eax
add esp, 8
test esi, esi
je 0x10035ea9
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x10035e9f
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10035e9f
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
cmp ebx, 0xffffffff
je 0x10035e9f
push 0
push dword [ebp - 8]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10035e9f
mov eax, dword [0x100d5d4c]
test eax, eax
je 0x10035e35
inc dword [eax + 0x370]
push dword [0x100d5d6c]
push ebx
call dword [0x100d33f8]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10035e9f
push esi
push dword [ebp - 4]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp - 4]
je 0x10035e8b
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, dword [0x100d5d4c]
test eax, eax
je 0x10035e79
dec dword [eax + 0x370]
push dword [0x100d5d6c]
push ebx
call dword [0x100d33fc]
add esp, 8
jmp 0x10035ea9
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push dword [ebp - 4]
push ebx
call fcn.1002d050
add esp, 0xc
jmp 0x10035e6a
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
lea eax, [edi + 0x20]
pop esi
mov byte [edi + 0x2eb9], 1
pop ebx
movss xmm0, dword [edi + 0x2ebc]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10035f06
subss xmm0, dword [edi + 0x18]
comiss xmm1, xmm0
movss dword [edi + 0x2ebc], xmm0
jb 0x10035f06
mov eax, dword [eax]
test eax, eax
je 0x10035ef5
push eax
call fcn.100340f0
add esp, 4
mov dword [edi + 0x2ebc], 0
pop edi
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x358], 1
mov dword [edi + 0x2ebc], 0
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1003f270
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x1003f297
push eax
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.1002d540
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1003f2bc
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
call fcn.1002d540
add esp, 4
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1003f2e1
push eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
call fcn.1002d540
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov eax, dword [esi + 0x44]
test eax, eax
je 0x1003f322
push eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.1002d540
add esp, 4
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x1003f347
push eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.1002d540
add esp, 4
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x1003f36c
push eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
call fcn.1002d540
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.1003a600
Function at 0x10047f90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100d4480]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.1002ad10
mov edi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x2c]
push eax
push dword [0x100d5dc8]
movups xmmword [ebp - 0x2c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x2c]
movd xmm0, eax
lea eax, [ebp - 0x14]
cvtdq2ps xmm0, xmm0
push eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movss dword [edi + 0xc], xmm0
xorps xmm0, xmm0
movss dword [edi + 8], xmm1
movlpd qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [0x100d5dd0]
mov edx, dword [ebp - 0x10]
sbb edx, dword [0x100d5dd4]
call fcn.1007cac0
mov edx, dword [0x100d5ddc]
mov ecx, dword [0x100d5dd8]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.1007cac0
movss xmm1, dword [ebp - 8]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [edi + 0x10], xmm1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [0x100d5dd0], eax
mov dword [0x100d5dd4], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xf4], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xf5], al
call esi
shr eax, 0xf
and al, 1
mov byte [edi + 0xf7], 0
mov byte [edi + 0xf6], al
call fcn.1002ad10
mov esi, eax
cmp byte [esi + 0x34f], 0
je 0x100480ca
cvttss2si ecx, dword [esi + 0xdc]
lea eax, [ebp - 0xc]
push eax
push dword [0x100d5dc8]
mov dword [ebp - 0xc], ecx
cvttss2si ecx, dword [esi + 0xe0]
mov dword [ebp - 8], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x100480ca
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi + 0xdc], 0xff7fffff
mov dword [esi + 0xe0], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x10048140
mov ecx, dword [0x100d5dc8]
cmp eax, ecx
je 0x100480fe
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10048140
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10048140
lea eax, [ebp - 0x1c]
push eax
push dword [0x100d5dc8]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x10048140
movd xmm0, dword [ebp - 0x1c]
movd xmm1, dword [ebp - 0x18]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0xdc], xmm0
movss dword [esi + 0xe0], xmm1
cmp byte [edi + 0xa8], 0
pop edi
pop esi
je 0x10048150
or eax, 0xffffffff
jmp 0x10048155
call fcn.1002adf0
cmp dword [0x100d35b8], eax
je 0x10048167
mov dword [0x100d35b8], eax
call fcn.10048420
call fcn.10048180
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007c76c
mov esp, ebp
pop ebp
ret
Function at 0x10063880
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007f89d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100d4480]
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, dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
push ecx
push 0
push 0
push Ordinal_2
push 0
push dword [ebp + 0x10]
push eax
call fcn.10063dc0
mov eax, dword [ebp - 0x18]
add esp, 0x1c
mov ebx, dword [ebp - 0x1c]
sub eax, ebx
sar eax, 2
mov dword [ebp - 0x28], eax
test eax, eax
je 0x10063960
xor edi, edi
test eax, eax
je 0x10063960
cmp edi, dword [ebp + 0x18]
jge 0x10063960
mov esi, dword [ebx + edi*4]
lea eax, [ebp - 0x20]
push eax
push 0x40
push dword [ebp + 0x14]
push esi
push dword [0x100d56e4]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0
push dword [ebp + 0x14]
push dword [ebp - 0x24]
push esi
push dword [0x100d56e4]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push dword [ebp - 0x20]
push dword [ebp + 0x14]
push esi
push dword [0x100d56e4]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
inc edi
cmp edi, dword [ebp - 0x28]
jb 0x10063912
test ebx, ebx
je 0x10063996
mov ecx, dword [ebp - 0x14]
mov eax, ebx
sub ecx, ebx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1006398c
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006398c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push ebx
call fcn.1007c444
add esp, 8
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.1007c76c
mov esp, ebp
pop ebp
ret

Function at 0x10063ca0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x100d4480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x130], eax
push esi
push 2
xor ebx, ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x10063ce5
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007c76c
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x128
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10063d3d
push dword [ebp - 0x130]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
jne 0x10063d2c
mov eax, dword [ebp - 0x118]
cmp eax, esi
jbe 0x10063d2c
mov ebx, dword [ebp - 0x124]
mov esi, eax
lea eax, [ebp - 0x12c]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10063d00
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007c76c
mov esp, ebp
pop ebp
ret
Function at 0x10069cb0
Capabilities:
Hash data using murmur3
Resolve function by parsing pe exports

Disassembly:
cmp byte [0x100d5fe8], 0
jne 0x10069cbe
call fcn.10078540
cmp byte [0x100d5ff1], 0
je 0x10069cdc
push 0
push 0x40
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.100788d0
add esp, 0x10
ret
jmp fcn.10068060

Function at 0x1007a320
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 [0x100d4480]
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 0x1007a49c
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 0x1007a489
cmp dword [ebp - 0x28], 0x10
jb 0x1007a46d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.1007d483
cmp dword [ebp - 0x1c], eax
jne 0x1007a46d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.1007d483
cmp dword [ebp - 0x20], eax
je 0x1007a46d
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1007a3f4
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 [0x100d705c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.1007d483
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1007a3f2
jmp 0x1007a489
jmp 0x1007a44d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x1007a44d
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 [0x100d705c]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.1007d483
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1007a437
jmp 0x1007a489
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 0x1007a373
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1007d483
push edx
mov ecx, ebp
push eax
lea edx, [0x1007a4c8]
call fcn.1007d42f
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007c76c
add esp, 0x30
cmp ebp, esp
call fcn.1007d483
mov esp, ebp
pop ebp
ret
Function at 0x1007a4e0
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.1007a320
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x1007a5ab
mov dword [ebp - 4], 0
jmp 0x1007a53c
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 0x1007a5ab
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.1007d483
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1007a5a9
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.1007d483
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.1007a140
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.1007d483
jmp 0x1007a533
pop esi
add esp, 8
cmp ebp, esp
call fcn.1007d483
mov esp, ebp
pop ebp
ret

Function at 0x1007a5c0
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 0x1007a66b
mov dword [ebp - 4], 0
jmp 0x1007a5f3
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 0x1007a64e
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.1007d483
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1007a64c
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.1007d483
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1007d483
jmp 0x1007a5ea
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x100d705c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.1007d483
pop esi
add esp, 8
cmp ebp, esp
call fcn.1007d483
mov esp, ebp
pop ebp
ret
Function at 0x1007a680
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 [0x100d73e0]
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 0x1007a6e3
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.1007d483
test eax, eax
jne 0x1007a70e
mov eax, 0xa
jmp 0x1007a810
cmp dword [ebp + 0xc], 0
je 0x1007a75a
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 0x1007a758
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 0x1007a796
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1007a781
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 0x1007a796
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.1007d483
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.1007d483
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.1007d483
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, [0x1007a834]
call fcn.1007d42f
pop eax
pop edx
pop edi
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.1007d483
mov esp, ebp
pop ebp
ret