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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
or eax, 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], str.Window
mov cl, 0x57
mov esi, 0x100c7559
or edi, 0xffffffff
cmp cl, 0x23
jne 0x1002cfc2
cmp byte [esi], cl
jne 0x1002cfc2
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x100c7048]
test cl, cl
jne 0x1002cfb3
mov esi, dword [ebp + 8]
not eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x10037520
mov dword [ebp - 0x14], 0x10037670
mov edi, dword [esi + 0x2ecc]
mov ecx, dword [esi + 0x2ed0]
mov dword [ebp - 0x10], 0x100375a0
mov dword [ebp - 0xc], 0x10037450
mov dword [ebp - 8], 0x100376b0
cmp edi, ecx
jne 0x1002d0b7
inc edi
test ecx, ecx
je 0x1002d02a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1002d02f
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x1002d0b7
mov eax, dword [0x1012e8d8]
test eax, eax
je 0x1002d047
inc dword [eax + 0x370]
push ebx
push dword [0x1012e8f8]
lea eax, [edi + edi*8]
shl eax, 2
push eax
call dword [0x1012bdf8]
mov ebx, eax
add esp, 8
mov eax, dword [esi + 0x2ed4]
test eax, eax
je 0x1002d0aa
mov ecx, dword [esi + 0x2ecc]
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x2ed4]
add esp, 0xc
test ecx, ecx
je 0x1002d09a
mov eax, dword [0x1012e8d8]
test eax, eax
je 0x1002d09a
dec dword [eax + 0x370]
push dword [0x1012e8f8]
push ecx
call dword [0x1012bdfc]
add esp, 8
mov dword [esi + 0x2ed4], ebx
mov dword [esi + 0x2ed0], edi
pop ebx
mov eax, dword [esi + 0x2ecc]
movups xmm0, xmmword [ebp - 0x24]
push esi
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x2ed4]
movups xmmword [eax + ecx*4], xmm0
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x20], 0
inc dword [esi + 0x2ecc]
call fcn.1004a680
add esp, 4
mov byte [esi], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1002df70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x1012e8d8]
cmp byte [esi + 0x2efc], 0
je 0x1002e00b
cmp dword [esi + 0x2f04], 0
push edi
lea edi, [esi + 0x2f08]
je 0x1002dffc
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1002dfb6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10037df0
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.100379a0
mov edx, dword [edi]
mov ecx, 0x1012e8dc
push dword [esi + 0x2f04]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2f10]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebp
ret
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.100379a0
pop edi
pop esi
pop ebp
ret
Function at 0x10030ea0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1012e8d8]
movss xmm0, dword [0x100c76b0]
push ebx
mov ebx, eax
mov dword [ebp - 4], ebx
comiss xmm0, dword [ebx + 0x1cd8]
ja 0x10031109
cmp dword [ebx + 0x1cd4], 0
push esi
push edi
jne 0x10030f1d
or edx, 0xffffffff
mov al, 0x23
mov esi, 0x100c75f5
or edi, 0xffffffff
nop
cmp al, 0x23
jne 0x10030eee
cmp byte [esi], al
jne 0x10030eee
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 + 0x100c7048]
test al, al
jne 0x10030ee0
not edx
push edx
call fcn.1002adc0
mov dword [ebx + 0x1cd4], eax
add esp, 4
mov eax, dword [0x1012e8d8]
movss xmm2, dword [ebx + 0x10]
movss xmm1, dword [ebx + 0x14]
or dword [eax + 0x1af0], 0x10
mulss xmm2, dword [0x100c76b8]
mulss xmm1, dword [0x100c76b8]
movss xmm3, dword [0x100c771c]
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 [0x1012e8d8]
mulss xmm2, dword [0x1008410c]
mulss xmm1, dword [0x1008410c]
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.10032810
push 0xc1347
push 0
push str.NavWindowingList
call fcn.100259f0
mov edi, dword [ebx + 0x1a38]
add esp, 0x14
sub edi, 1
js 0x100310f8
nop
mov eax, dword [ebx + 0x1a40]
mov esi, dword [eax + edi*4]
cmp byte [esi + 0x83], 0
je 0x100310ef
cmp esi, dword [esi + 0x318]
jne 0x100310ef
test dword [esi + 8], 0x80000
jne 0x100310ef
mov ecx, dword [esi]
mov edx, ecx
cmp ecx, 0xffffffff
jae 0x10031075
mov bl, byte [edx]
test bl, bl
je 0x1003106e
cmp bl, 0x23
jne 0x10031068
cmp byte [edx + 1], bl
je 0x1003106e
inc edx
cmp edx, 0xffffffff
jb 0x10031058
mov ebx, dword [ebp - 4]
cmp ecx, edx
jne 0x100310c5
mov eax, dword [esi + 8]
test eax, 0x4000000
je 0x10031086
mov ecx, str._Popup_
jmp 0x100310c5
test eax, 0x400
je 0x100310c0
mov eax, str.MainMenuBar
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x100310b2
test dl, dl
je 0x100310ae
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x100310b2
add ecx, 2
add eax, 2
test dl, dl
jne 0x10031092
xor eax, eax
jmp 0x100310b7
sbb eax, eax
or eax, 1
mov ecx, str._Main_menu_bar_
test eax, eax
je 0x100310c5
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.1005cdd0
add esp, 0x10
sub edi, 1
jns 0x10031020
call fcn.10029bc0
push 1
call fcn.10032310
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10032540
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1012ce80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1012e8d8]
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 + 0x100c7048]
sub esi, 1
jne 0x10032580
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [edi]
cmp ecx, esi
jne 0x100325c7
inc ecx
test esi, esi
je 0x100325b5
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x100325ba
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10037ef0
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.1007d39e
mov esp, ebp
pop ebp
ret

Function at 0x10034c60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1012e8d8]
push esi
mov esi, dword [ebp + 8]
mov dword [eax + 0x2ebc], 0
test esi, esi
je 0x10034cb9
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push edi
push eax
call fcn.10034cc0
push 0x100c763c
push esi
mov edi, eax
call fcn.1002c100
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10034cb8
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 0x10036900
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [0x1012e8d8]
cmp byte [edi + 0x2eb9], 0
lea eax, [edi + 0x20]
jne 0x10036a25
mov ecx, dword [eax]
push ebx
test ecx, ecx
je 0x10036a1d
push esi
push 0x100c7638
push ecx
call fcn.1002c100
mov esi, eax
add esp, 8
test esi, esi
je 0x10036a19
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 0x10036a0f
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 0x10036a0f
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
cmp ebx, 0xffffffff
je 0x10036a0f
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 0x10036a0f
mov eax, dword [0x1012e8d8]
test eax, eax
je 0x100369a5
inc dword [eax + 0x370]
push dword [0x1012e8f8]
push ebx
call dword [0x1012bdf8]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10036a0f
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 0x100369fb
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, dword [0x1012e8d8]
test eax, eax
je 0x100369e9
dec dword [eax + 0x370]
push dword [0x1012e8f8]
push ebx
call dword [0x1012bdfc]
add esp, 8
jmp 0x10036a19
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push dword [ebp - 4]
push ebx
call fcn.1002dbc0
add esp, 0xc
jmp 0x100369da
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 0x10036a76
subss xmm0, dword [edi + 0x18]
comiss xmm1, xmm0
movss dword [edi + 0x2ebc], xmm0
jb 0x10036a76
mov eax, dword [eax]
test eax, eax
je 0x10036a65
push eax
call fcn.10034c60
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 0x1003fde0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x1003fe07
push eax
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.1002e0b0
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1003fe2c
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
call fcn.1002e0b0
add esp, 4
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1003fe51
push eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
call fcn.1002e0b0
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 0x1003fe92
push eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.1002e0b0
add esp, 4
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x1003feb7
push eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.1002e0b0
add esp, 4
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x1003fedc
push eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
call fcn.1002e0b0
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.1003b170
Function at 0x10048b00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1012ce80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.1002b870
mov edi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x2c]
push eax
push dword [0x1012e958]
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 [0x1012e960]
mov edx, dword [ebp - 0x10]
sbb edx, dword [0x1012e964]
call fcn.1007d6f0
mov edx, dword [0x1012e96c]
mov ecx, dword [0x1012e968]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.1007d6f0
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 [0x1012e960], eax
mov dword [0x1012e964], 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.1002b870
mov esi, eax
cmp byte [esi + 0x34f], 0
je 0x10048c3a
cvttss2si ecx, dword [esi + 0xdc]
lea eax, [ebp - 0xc]
push eax
push dword [0x1012e958]
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 0x10048c3a
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 0x10048cb0
mov ecx, dword [0x1012e958]
cmp eax, ecx
je 0x10048c6e
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10048cb0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10048cb0
lea eax, [ebp - 0x1c]
push eax
push dword [0x1012e958]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x10048cb0
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 0x10048cc0
or eax, 0xffffffff
jmp 0x10048cc5
call fcn.1002b950
cmp dword [0x1012bfb8], eax
je 0x10048cd7
mov dword [0x1012bfb8], eax
call fcn.10048f90
call fcn.10048cf0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007d39e
mov esp, ebp
pop ebp
ret
Function at 0x10064410
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008059d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1012ce80]
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.10064950
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 0x100644f0
xor edi, edi
test eax, eax
je 0x100644f0
cmp edi, dword [ebp + 0x18]
jge 0x100644f0
mov esi, dword [ebx + edi*4]
lea eax, [ebp - 0x20]
push eax
push 0x40
push dword [ebp + 0x14]
push esi
push dword [0x1012e264]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0
push dword [ebp + 0x14]
push dword [ebp - 0x24]
push esi
push dword [0x1012e264]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push dword [ebp - 0x20]
push dword [ebp + 0x14]
push esi
push dword [0x1012e264]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
inc edi
cmp edi, dword [ebp - 0x28]
jb 0x100644a2
test ebx, ebx
je 0x10064526
mov ecx, dword [ebp - 0x14]
mov eax, ebx
sub ecx, ebx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1006451c
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006451c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push ebx
call fcn.1007d076
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.1007d39e
mov esp, ebp
pop ebp
ret

Function at 0x10064830
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x1012ce80]
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 0x10064875
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007d39e
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 0x100648cd
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 0x100648bc
mov eax, dword [ebp - 0x118]
cmp eax, esi
jbe 0x100648bc
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 0x10064890
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.1007d39e
mov esp, ebp
pop ebp
ret
Function at 0x1006a8a0
Capabilities:
Hash data using murmur3
Resolve function by parsing pe exports

Disassembly:
cmp byte [0x1012eb78], 0
jne 0x1006a8ae
call fcn.10079130
cmp byte [0x1012eb81], 0
je 0x1006a8cc
push 0
push 0x40
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.100794c0
add esp, 0x10
ret
jmp fcn.10068c50

Function at 0x1007af60
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 [0x1012ce80]
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 0x1007b0dc
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 0x1007b0c9
cmp dword [ebp - 0x28], 0x10
jb 0x1007b0ad
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.1007e0b3
cmp dword [ebp - 0x1c], eax
jne 0x1007b0ad
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.1007e0b3
cmp dword [ebp - 0x20], eax
je 0x1007b0ad
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1007b034
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 [0x1012fbec]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.1007e0b3
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1007b032
jmp 0x1007b0c9
jmp 0x1007b08d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x1007b08d
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 [0x1012fbec]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.1007e0b3
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1007b077
jmp 0x1007b0c9
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 0x1007afb3
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1007e0b3
push edx
mov ecx, ebp
push eax
lea edx, [0x1007b108]
call fcn.1007e05f
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007d39e
add esp, 0x30
cmp ebp, esp
call fcn.1007e0b3
mov esp, ebp
pop ebp
ret
Function at 0x1007b120
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.1007af60
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x1007b1eb
mov dword [ebp - 4], 0
jmp 0x1007b17c
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 0x1007b1eb
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.1007e0b3
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1007b1e9
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.1007e0b3
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.1007ad80
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.1007e0b3
jmp 0x1007b173
pop esi
add esp, 8
cmp ebp, esp
call fcn.1007e0b3
mov esp, ebp
pop ebp
ret

Function at 0x1007b200
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 0x1007b2ab
mov dword [ebp - 4], 0
jmp 0x1007b233
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 0x1007b28e
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.1007e0b3
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1007b28c
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.1007e0b3
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1007e0b3
jmp 0x1007b22a
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x1012fbec]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.1007e0b3
pop esi
add esp, 8
cmp ebp, esp
call fcn.1007e0b3
mov esp, ebp
pop ebp
ret