joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100638f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1006392a
mov eax, dword [0x1028db88]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x1006391d
dec dword [eax + 0xac]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1006395b
mov eax, dword [0x1028db88]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x1006394e
dec dword [eax + 0xac]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1006398c
mov eax, dword [0x1028db88]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x1006397f
dec dword [eax + 0xac]
push ecx
call edi
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 ecx, dword [esi + 0x44]
test ecx, ecx
je 0x100639d9
mov eax, dword [0x1028db88]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x100639cc
dec dword [eax + 0xac]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x10063a0a
mov eax, dword [0x1028db88]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x100639fd
dec dword [eax + 0xac]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x10063a3b
mov eax, dword [0x1028db88]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x10063a2e
dec dword [eax + 0xac]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10066620
Function at 0x1006d140
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x1028db88]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push esi
cmp byte [eax + 0x2edc], 0
push edi
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
je 0x1006d1ce
xor edx, edx
mov ecx, 0x210
call fcn.10051e10
test al, al
je 0x1006d1ce
push 0xa0
call ebx
shr eax, 0xf
test al, 1
jne 0x1006d1ce
cmp dword [0x1028db88], 0
jne 0x1006d198
push 0x1092
push str.C:Users_adminDesktopGamer_Moments222FedorawareFedoraware_TF2includeImGuiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
add esp, 0xc
mov esi, dword [0x1028db88]
cmp byte [esi + 0x3769], 0
je 0x1006d1ba
push 0
push 0x210
vxorps xmm3, xmm3, xmm3
lea ecx, [esi + 8]
call fcn.10042080
mov dword [esi + 0x338], 0x210
mov dword [esi + 0x8f8], 0xa0
mov eax, dword [0x1028db88]
cmp byte [eax + 0x2f1c], 0
je 0x1006d24d
xor edx, edx
mov ecx, 0x214
call fcn.10051e10
test al, al
je 0x1006d24d
push 0xa1
call ebx
shr eax, 0xf
test al, 1
jne 0x1006d24d
cmp dword [0x1028db88], 0
jne 0x1006d217
push 0x1092
push str.C:Users_adminDesktopGamer_Moments222FedorawareFedoraware_TF2includeImGuiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
add esp, 0xc
mov esi, dword [0x1028db88]
cmp byte [esi + 0x3769], 0
je 0x1006d239
push 0
push 0x214
vxorps xmm3, xmm3, xmm3
lea ecx, [esi + 8]
call fcn.10042080
mov dword [esi + 0x33c], 0x214
mov dword [esi + 0x908], 0xa1
mov eax, dword [0x1028db88]
cmp byte [eax + 0x2efc], 0
je 0x1006d2c9
xor edx, edx
mov ecx, 0x212
call fcn.10051e10
test al, al
je 0x1006d2c9
push 0x5b
call ebx
shr eax, 0xf
test al, 1
jne 0x1006d2c9
cmp dword [0x1028db88], 0
jne 0x1006d293
push 0x1092
push str.C:Users_adminDesktopGamer_Moments222FedorawareFedoraware_TF2includeImGuiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
add esp, 0xc
mov esi, dword [0x1028db88]
cmp byte [esi + 0x3769], 0
je 0x1006d2b5
push 0
push 0x212
vxorps xmm3, xmm3, xmm3
lea ecx, [esi + 8]
call fcn.10042080
mov dword [esi + 0x224], 0x212
mov dword [esi + 0x900], 0x5b
mov eax, dword [0x1028db88]
cmp byte [eax + 0x2f3c], 0
je 0x1006d346
xor edx, edx
mov ecx, 0x216
call fcn.10051e10
test al, al
je 0x1006d346
push 0x5c
call ebx
shr eax, 0xf
test al, 1
jne 0x1006d346
mov esi, dword [0x1028db88]
test esi, esi
jne 0x1006d316
push 0x1092
push str.C:Users_adminDesktopGamer_Moments222FedorawareFedoraware_TF2includeImGuiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
mov esi, dword [0x1028db88]
add esp, 0xc
cmp byte [esi + 0x3769], 0
je 0x1006d332
push 0
push 0x216
vxorps xmm3, xmm3, xmm3
lea ecx, [esi + 8]
call fcn.10042080
mov dword [esi + 0x228], 0x216
mov dword [esi + 0x910], 0x5c
pop edi
pop esi
pop ebx
ret
Function at 0x100754e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1028db88]
sub esp, 8
push esi
mov esi, ecx
push edi
mov edi, dword [eax + 0x4a14]
cmp esi, 0xffffffff
jne 0x10075501
cmp dword [edi + 0x48], ecx
cmovne esi, dword [edi + 0x48]
mov eax, dword [edi + 0x40]
cmp esi, eax
jne 0x1007550d
or esi, 0xffffffff
jmp 0x10075512
cmp esi, 0xffffffff
jl 0x10075516
cmp esi, eax
jl 0x1007552e
push 0xc0c
push str.C:Users_adminDesktopGamer_Moments222FedorawareFedoraware_TF2includeImGuiimgui_tables.cpp
push str.column_n____1__column_n___table__ColumnsCount
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
test byte [edi + 4], 7
je 0x10075587
mov ax, word [edi + 0x4c]
mov word [edi + 0x1cc], si
mov esi, 0x10264b0d
mov word [edi + 0x4e], ax
mov al, 0x23
mov byte [edi + 0x1e3], 1
mov edi, dword [edi]
not edi
mov ecx, edi
cmp al, 0x23
jne 0x10075565
cmp byte [esi], al
jne 0x10075565
cmp byte [esi + 1], al
cmove ecx, edi
movzx edx, cl
movzx eax, al
xor edx, eax
shr ecx, 8
mov al, byte [esi]
inc esi
xor ecx, dword [edx*4 + 0x10198cc8]
test al, al
jne 0x10075557
not ecx
xor edx, edx
call fcn.10053eb0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10094410
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x10094441
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10094430
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x10095320
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp edx, eax
je 0x10095476
mov eax, dword [ebx + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
push edi
mov edi, dword [ebx + 0xc]
mov esi, edx
xor ecx, eax
mov dword [ebp - 0x18], edi
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 0xc], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0xc
push eax
call fcn.1015b698
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x14]
je 0x100953d9
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x10095397
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x1009546c
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
pop edi
mov dword [edx], esi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
cmp ecx, dword [ebp + 8]
jne 0x100953ed
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [edx], eax
jmp 0x100953f0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x1009546c
nop word [eax + eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0xc
push eax
call fcn.1015b698
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x14]
je 0x1009547d
cmp esi, eax
jne 0x10095447
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x10095400
mov ecx, dword [ebp - 4]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10095860
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp edx, eax
je 0x100959fc
cmp dword [edx + 0x1c], 0x10
mov eax, dword [ecx + 4]
push esi
mov dword [ebp - 0x18], eax
mov esi, edx
mov eax, dword [ecx + 0xc]
push edi
mov dword [ebp - 0x14], eax
lea edi, [edx + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x10]
jb 0x1009589b
mov edi, dword [edi]
xor edx, edx
push ebx
mov ebx, 0x811c9dc5
test eax, eax
je 0x100958c4
mov ecx, eax
nop dword [eax]
movzx eax, byte [edx + edi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x100958b0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, ebx
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
nop dword [eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea edx, [edi + 8]
call fcn.10098540
push 0x40
push edi
call fcn.1015b698
mov eax, dword [ebp - 4]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x10095929
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x100958e0
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x10095918
mov edx, dword [ebp - 0xc]
mov dword [edx], esi
mov ecx, dword [ebp - 8]
pop ebx
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x1009593b
mov ecx, dword [ebp - 0x18]
mov dword [edx], ecx
jmp 0x1009593e
mov ecx, dword [ebp - 8]
mov dword [edx + 4], ecx
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
je 0x100959ef
nop dword [eax]
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
mov ebx, dword [edx + 0x10]
jb 0x1009595e
mov edx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x10095984
nop dword [eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x10095970
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, edi
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea edx, [edi + 8]
call fcn.10098540
push 0x40
push edi
call fcn.1015b698
mov eax, dword [ebp - 4]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x100959d9
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x10095998
mov ecx, dword [ebp + 8]
pop ebx
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 0x18]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
jne 0x10095950
mov eax, dword [ebp - 8]
pop ebx
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10096060
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov edx, dword [esi + 4]
cmp edx, dword [esi + 8]
je 0x100960b8
mov eax, dword [ebp + 8]
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
vmovdqu xmm0, xmmword [eax]
vmovdqu xmmword [edx], xmm0
vmovq xmm0, qword [eax + 0x10]
vmovq qword [edx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [esi + 4]
lea ecx, [eax + 0x18]
mov dword [esi + 4], ecx
pop esi
pop ebp
ret 4
push dword [ebp + 8]
push edx
call fcn.10097890
pop esi
pop ebp
ret 4

Function at 0x100960d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
vmovdqu xmm0, xmmword [edx]
vmovdqu xmmword [ecx], xmm0
vmovq xmm0, qword [edx + 0x10]
vmovq qword [ecx + 0x10], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov eax, dword [eax]
mov dword [ecx + 0x18], eax
mov eax, ecx
pop ebp
ret
Function at 0x1009e630
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x1009e723
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1009e71c
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x1009e702
call ebx
cmp dword [ebp - 0x14], eax
jne 0x1009e702
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1009e702
mov edx, dword [esi]
test edx, edx
jne 0x1009e6c8
push 0x200
push edx
push dword [0x1028db90]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1009e71c
jmp 0x1009e6f3
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1009e6f3
shl eax, 3
push eax
push edx
push 0
push dword [0x1028db90]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1009e71c
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
lea eax, [ecx + 1]
mov dword [esi + 8], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1009e687
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x1009e769
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x1009e769
nop
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1009e763
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.1009e4e0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x1009e730
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1009e770
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x10342300]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp - 4]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1009e7bd
pop edi
pop esi
mov eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x1009e7de
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x1009e7ff
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x1009e7ff
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x1009e7f9
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x1009e7ff
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
shl bl, 2
add cl, cl
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
xor eax, eax
pop edi
mov byte [esi + 0x14], bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1009e850
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [0x10342308]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 4], edi
mov ebx, ecx
test edx, edx
je 0x1009e941
mov eax, dword [0x10342300]
add eax, 0x14
movzx ecx, byte [eax]
shr ecx, 1
and ecx, 1
cmp ecx, ebx
jne 0x1009e895
inc esi
add eax, 0x2c
cmp esi, edx
jb 0x1009e878
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x1009e941
xor eax, eax
lea ecx, [ebp - 0x10]
test ebx, ebx
setne al
or edx, 0xffffffff
push eax
call fcn.1009e630
mov ecx, dword [0x10342308]
add esp, 4
cmp esi, ecx
jae 0x1009e8f5
imul edi, esi, 0x2c
mov eax, dword [0x10342300]
movzx eax, byte [edi + eax + 0x14]
shr eax, 1
and eax, 1
cmp eax, ebx
je 0x1009e8ea
mov edx, ebx
mov ecx, esi
call fcn.1009e770
mov dword [ebp - 4], eax
test eax, eax
jne 0x1009e8f2
mov ecx, dword [0x10342308]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x1009e8c1
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1009e941
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x1009e932
mov edi, eax
push dword [edi + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1009e926
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x1009e905
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x1028db90]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100a3880
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
mov dword [ecx + 0x1384], 0xffffffff
lea edi, [ecx + 8]
mov dword [ecx + 4], edx
mov esi, 1
nop dword [eax]
mov eax, edx
lea edi, [edi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi - 4], edx
cmp esi, 0x270
jb 0x100a38a0
pop edi
pop esi
mov dword [ecx], 0x270
mov eax, ecx
pop ebp
ret 4

Function at 0x100a55e0
Capabilities:
Allocate or change rwx memory
Create thread
Parse pe header
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x100a567a
push ebx
push 0x1015b410
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov ebx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x100a5653
mov eax, dword [ebx + 0x3c]
shl eax, 6
cmp dword [eax + ebx], 0x4550
jne 0x100a5653
movzx eax, word [eax + ebx + 0x14]
test ax, ax
je 0x100a5653
push edi
mov edi, eax
mov dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push ebx
push 0x100a5560
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebx
test eax, eax
je 0x100a567a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc
Function at 0x100a8730
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015f325
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x14]
imul ebx, ecx, 0x1000193
push ebx
push edi
push eax
call fcn.100a9100
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100a87b1
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [0x1028aef8], 0xaaaaaaa
jne 0x100a87c8
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x1c], 0x1028aef4
mov dword [ebp - 4], 0
push 0x18
mov dword [ebp - 0x18], 0
call fcn.1015b6a6
mov ecx, dword [edi]
mov esi, eax
vpxor xmm0, xmm0, xmm0
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [esi + 8], ecx
vmovq qword [esi + 0xc], xmm0
mov dword [esi + 0x14], 0
mov word [esi + 0xd], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x1028aef8]
mov edi, dword [0x1028af0c]
vmovss xmm1, dword [0x1028aef0]
vxorps xmm0, xmm0, xmm0
lea eax, [ecx + 1]
vcvtsi2sd xmm0, xmm0, eax
shr eax, 0x1f
vaddsd xmm0, xmm0, qword [eax*8 + 0x10279850]
vcvtsd2ss xmm2, xmm0, xmm0
vxorps xmm0, xmm0, xmm0
mov eax, edi
shr eax, 0x1f
vcvtsi2sd xmm0, xmm0, edi
vaddsd xmm0, xmm0, qword [eax*8 + 0x10279850]
vcvtsd2ss xmm0, xmm0, xmm0
vdivss xmm0, xmm2, xmm0
vcomiss xmm0, xmm1
jbe 0x100a88b7
vdivss xmm0, xmm2, xmm1
call fcn.1005c280
call fcn.1015d610
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x100a8899
cmp edi, 0x200
jae 0x100a8897
shl edi, 3
cmp edi, ecx
jae 0x100a8899
mov edi, ecx
push edi
call fcn.100a8a90
push ebx
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100a9100
mov ecx, dword [0x1028aef8]
mov edx, dword [eax]
jmp 0x100a88ba
mov edx, dword [ebp - 0x14]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x1028aef8], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x1028af08]
mov ecx, dword [0x1028aefc]
and eax, ebx
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [0x1028aef4]
jne 0x100a88eb
mov dword [ecx + eax*8], esi
jmp 0x100a88fa
cmp ebx, edx
jne 0x100a88f4
mov dword [ecx + eax*8], esi
jmp 0x100a88fe
cmp dword [ecx + eax*8 + 4], edi
jne 0x100a88fe
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8