joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002c810
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, 0x100c6619
or edi, 0xffffffff
cmp cl, 0x23
jne 0x1002c842
cmp byte [esi], cl
jne 0x1002c842
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 + 0x100c6108]
test cl, cl
jne 0x1002c833
mov esi, dword [ebp + 8]
not eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x10036d10
mov dword [ebp - 0x14], 0x10036e60
mov edi, dword [esi + 0x2ecc]
mov ecx, dword [esi + 0x2ed0]
mov dword [ebp - 0x10], 0x10036d90
mov dword [ebp - 0xc], 0x10036c40
mov dword [ebp - 8], 0x10036ea0
cmp edi, ecx
jne 0x1002c937
inc edi
test ecx, ecx
je 0x1002c8aa
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1002c8af
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x1002c937
mov eax, dword [0x1012d8e4]
test eax, eax
je 0x1002c8c7
inc dword [eax + 0x370]
push ebx
push dword [0x1012d908]
lea eax, [edi + edi*8]
shl eax, 2
push eax
call dword [0x1012adf8]
mov ebx, eax
add esp, 8
mov eax, dword [esi + 0x2ed4]
test eax, eax
je 0x1002c92a
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 0x1002c91a
mov eax, dword [0x1012d8e4]
test eax, eax
je 0x1002c91a
dec dword [eax + 0x370]
push dword [0x1012d908]
push ecx
call dword [0x1012adfc]
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.10049830
add esp, 4
mov byte [esi], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1002d7f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x1012d8e4]
cmp byte [esi + 0x2efc], 0
je 0x1002d88b
cmp dword [esi + 0x2f04], 0
push edi
lea edi, [esi + 0x2f08]
je 0x1002d87c
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1002d836
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.100375a0
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.10037150
mov edx, dword [edi]
mov ecx, 0x1012d8ec
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.10037150
pop edi
pop esi
pop ebp
ret
Function at 0x10030620
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1012d8e4]
movss xmm0, dword [0x100c6770]
push edi
mov edi, eax
mov dword [ebp - 4], edi
comiss xmm0, dword [edi + 0x1cd8]
ja 0x1003088e
cmp dword [edi + 0x1cd4], 0
push ebx
push esi
jne 0x1003069d
or edx, 0xffffffff
mov al, 0x23
mov esi, 0x100c66b5
or ebx, 0xffffffff
nop
cmp al, 0x23
jne 0x1003066e
cmp byte [esi], al
jne 0x1003066e
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x100c6108]
test al, al
jne 0x10030660
not edx
push edx
call fcn.1002a680
mov dword [edi + 0x1cd4], eax
add esp, 4
mov eax, dword [0x1012d8e4]
movss xmm2, dword [edi + 0x10]
movss xmm1, dword [edi + 0x14]
mulss xmm2, dword [0x100c6778]
or dword [eax + 0x1af0], 0x10
mulss xmm1, dword [0x100c6778]
mov dword [eax + 0x1b3c], 0
mov dword [eax + 0x1b40], 0
movss dword [ebp - 0x14], xmm2
movss dword [ebp - 0x10], xmm1
mov dword [ebp - 0xc], 0x7f7fffff
mov dword [ebp - 8], 0x7f7fffff
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax + 0x1b2c], xmm0
mov eax, dword [0x1012d8e4]
movss xmm2, dword [edi + 0x10]
movss xmm1, dword [edi + 0x14]
mulss xmm2, dword [0x10083110]
or dword [eax + 0x1af0], 1
mulss xmm1, dword [0x10083110]
mov dword [eax + 0x1b08], 0x3f000000
movss dword [eax + 0x1b00], xmm2
mov dword [eax + 0x1b0c], 0x3f000000
movss dword [eax + 0x1b04], xmm1
mov dword [eax + 0x1af4], 1
lea eax, [ebp - 0xc]
movss xmm0, dword [edi + 0x151c]
addss xmm0, xmm0
push eax
push 1
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [edi + 0x1520]
addss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.10031fa0
push 0xc1347
push 0
push str.NavWindowingList
call fcn.10025320
mov ebx, dword [edi + 0x1a38]
add esp, 0x14
sub ebx, 1
js 0x1003087d
nop dword [eax]
mov eax, dword [edi + 0x1a40]
mov esi, dword [eax + ebx*4]
cmp byte [esi + 0x83], 0
je 0x10030874
cmp esi, dword [esi + 0x318]
jne 0x10030874
test dword [esi + 8], 0x80000
jne 0x10030874
mov edi, dword [esi]
mov ecx, edi
cmp edi, 0xffffffff
jae 0x100307f2
mov dl, byte [ecx]
test dl, dl
je 0x100307ee
cmp dl, 0x23
jne 0x100307e8
cmp byte [ecx + 1], dl
je 0x100307ee
inc ecx
cmp ecx, 0xffffffff
jb 0x100307d8
cmp edi, ecx
jne 0x10030844
mov eax, dword [esi + 8]
test eax, 0x4000000
je 0x10030803
mov edi, str._Popup_
jmp 0x10030844
test eax, 0x400
je 0x1003083f
mov ecx, str.MainMenuBar
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10030831
test dl, dl
je 0x1003082d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10030831
add eax, 2
add ecx, 2
test dl, dl
jne 0x10030811
xor eax, eax
jmp 0x10030836
sbb eax, eax
or eax, 1
mov edi, str._Main_menu_bar_
test eax, eax
je 0x10030844
mov edi, str._Untitled_
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
mov eax, dword [ebp - 4]
push 0
mov dword [ebp - 8], 0
cmp dword [eax + 0x1ccc], esi
sete al
movzx eax, al
push eax
push edi
call fcn.1005bef0
mov edi, dword [ebp - 4]
add esp, 0x10
sub ebx, 1
jns 0x100307a0
call fcn.10029480
push 1
call fcn.10031aa0
add esp, 4
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10031cd0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1012be80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1012d8e4]
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 + 0x100c6108]
sub esi, 1
jne 0x10031d10
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [edi]
cmp ecx, esi
jne 0x10031d57
inc ecx
test esi, esi
je 0x10031d45
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x10031d4a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100376a0
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.1007c51c
mov esp, ebp
pop ebp
ret

Function at 0x100344b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1012d8e4]
push esi
mov esi, dword [ebp + 8]
mov dword [eax + 0x2ebc], 0
test esi, esi
je 0x10034509
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push edi
push eax
call fcn.10034510
push 0x100c66fc
push esi
mov edi, eax
call fcn.1002b9d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10034508
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 0x100360f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [0x1012d8e4]
cmp byte [edi + 0x2eb9], 0
lea eax, [edi + 0x20]
jne 0x10036215
mov ecx, dword [eax]
push ebx
test ecx, ecx
je 0x1003620d
push esi
push 0x100c66f8
push ecx
call fcn.1002b9d0
mov esi, eax
add esp, 8
test esi, esi
je 0x10036209
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 0x100361ff
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 0x100361ff
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
cmp ebx, 0xffffffff
je 0x100361ff
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 0x100361ff
mov eax, dword [0x1012d8e4]
test eax, eax
je 0x10036195
inc dword [eax + 0x370]
push dword [0x1012d908]
push ebx
call dword [0x1012adf8]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100361ff
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 0x100361eb
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, dword [0x1012d8e4]
test eax, eax
je 0x100361d9
dec dword [eax + 0x370]
push dword [0x1012d908]
push ebx
call dword [0x1012adfc]
add esp, 8
jmp 0x10036209
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push dword [ebp - 4]
push ebx
call fcn.1002d440
add esp, 0xc
jmp 0x100361ca
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 0x10036266
subss xmm0, dword [edi + 0x18]
comiss xmm1, xmm0
movss dword [edi + 0x2ebc], xmm0
jb 0x10036266
mov eax, dword [eax]
test eax, eax
je 0x10036255
push eax
call fcn.100344b0
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 0x1003f000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x1003f027
push eax
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.1002d930
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1003f04c
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
call fcn.1002d930
add esp, 4
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1003f071
push eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
call fcn.1002d930
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 0x1003f0b2
push eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.1002d930
add esp, 4
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x1003f0d7
push eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.1002d930
add esp, 4
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x1003f0fc
push eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
call fcn.1002d930
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.1003a900
Function at 0x10047cc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1012be80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.1002b140
mov edi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x2c]
push eax
push dword [0x1012d968]
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 [0x1012d970]
mov edx, dword [ebp - 0x10]
sbb edx, dword [0x1012d974]
call fcn.1007ce50
mov edx, dword [0x1012d97c]
mov ecx, dword [0x1012d978]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.1007ce50
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 [0x1012d970], eax
mov dword [0x1012d974], 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.1002b140
mov esi, eax
cmp byte [esi + 0x34f], 0
je 0x10047dfa
cvttss2si ecx, dword [esi + 0xdc]
lea eax, [ebp - 0xc]
push eax
push dword [0x1012d968]
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 0x10047dfa
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 0x10047e70
mov ecx, dword [0x1012d968]
cmp eax, ecx
je 0x10047e2e
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10047e70
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10047e70
lea eax, [ebp - 0x1c]
push eax
push dword [0x1012d968]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x10047e70
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 0x10047e80
or eax, 0xffffffff
jmp 0x10047e85
call fcn.1002b220
cmp dword [0x1012afb8], eax
je 0x10047e97
mov dword [0x1012afb8], eax
call fcn.10048150
call fcn.10047eb0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007c51c
mov esp, ebp
pop ebp
ret
Function at 0x10063590
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007f86d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1012be80]
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.10063ad0
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 0x10063670
xor edi, edi
test eax, eax
je 0x10063670
cmp edi, dword [ebp + 0x18]
jge 0x10063670
mov esi, dword [ebx + edi*4]
lea eax, [ebp - 0x20]
push eax
push 0x40
push dword [ebp + 0x14]
push esi
push dword [0x1012d274]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0
push dword [ebp + 0x14]
push dword [ebp - 0x24]
push esi
push dword [0x1012d274]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push dword [ebp - 0x20]
push dword [ebp + 0x14]
push esi
push dword [0x1012d274]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
inc edi
cmp edi, dword [ebp - 0x28]
jb 0x10063622
test ebx, ebx
je 0x100636a6
mov ecx, dword [ebp - 0x14]
mov eax, ebx
sub ecx, ebx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1006369c
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006369c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push ebx
call fcn.1007c1f4
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.1007c51c
mov esp, ebp
pop ebp
ret

Function at 0x100639b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x1012be80]
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 0x100639f5
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007c51c
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 0x10063a4d
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 0x10063a3c
mov eax, dword [ebp - 0x118]
cmp eax, esi
jbe 0x10063a3c
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 0x10063a10
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.1007c51c
mov esp, ebp
pop ebp
ret
Function at 0x10069a30
Capabilities:
Hash data using murmur3
Resolve function by parsing pe exports

Disassembly:
cmp byte [0x1012db88], 0
jne 0x10069a3e
call fcn.100782c0
cmp byte [0x1012db91], 0
je 0x10069a5c
push 0
push 0x40
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.10078650
add esp, 0x10
ret
jmp fcn.10067de0

Function at 0x1007a0e0
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 [0x1012be80]
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 0x1007a25c
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 0x1007a249
cmp dword [ebp - 0x28], 0x10
jb 0x1007a22d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.1007d393
cmp dword [ebp - 0x1c], eax
jne 0x1007a22d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.1007d393
cmp dword [ebp - 0x20], eax
je 0x1007a22d
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1007a1b4
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 [0x1012ebfc]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.1007d393
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1007a1b2
jmp 0x1007a249
jmp 0x1007a20d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x1007a20d
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 [0x1012ebfc]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.1007d393
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1007a1f7
jmp 0x1007a249
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 0x1007a133
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1007d393
push edx
mov ecx, ebp
push eax
lea edx, [0x1007a288]
call fcn.1007d33f
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007c51c
add esp, 0x30
cmp ebp, esp
call fcn.1007d393
mov esp, ebp
pop ebp
ret
Function at 0x1007a2a0
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.1007a0e0
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x1007a36b
mov dword [ebp - 4], 0
jmp 0x1007a2fc
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 0x1007a36b
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.1007d393
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1007a369
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.1007d393
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.10079f00
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.1007d393
jmp 0x1007a2f3
pop esi
add esp, 8
cmp ebp, esp
call fcn.1007d393
mov esp, ebp
pop ebp
ret

Function at 0x1007a380
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 0x1007a42b
mov dword [ebp - 4], 0
jmp 0x1007a3b3
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 0x1007a40e
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.1007d393
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1007a40c
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.1007d393
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1007d393
jmp 0x1007a3aa
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x1012ebfc]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.1007d393
pop esi
add esp, 8
cmp ebp, esp
call fcn.1007d393
mov esp, ebp
pop ebp
ret