joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10076020
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10124fe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push ebx
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x1007619b
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10076135
mov ebx, 1
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x100760f9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x100760f9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100760f9
mov edx, dword [esi]
test edx, edx
jne 0x100760c5
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x10ca29fc]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1007611d
jmp 0x100760ed
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x100760ed
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x10ca29fc]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1007611d
mov dword [esi], edx
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10076080
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x10076135
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x10076135
push eax
push ebx
push dword [0x10ca29fc]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1007619b
cmp dword [esi], 0
je 0x10076188
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x10076188
nop dword [eax]
mov eax, dword [esi]
push dword [eax + ebx*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10076182
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.10076850
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 8]
jb 0x10076150
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bf1bd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 9
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100bf1bd
mov esp, ebp
pop ebp
ret
Function at 0x10076ac0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x10076b12
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x10076b02
push edi
mov eax, dword [ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10076af9
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebx + 8]
jb 0x10076ad6
mov eax, dword [ebx]
pop edi
push eax
push 0
push dword [0x10ca29fc]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
pop ebp
ret

Function at 0x10076b20
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x10ca4454]
test eax, eax
je 0x10076b3c
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x10076b94
mov eax, dword [eax]
test eax, eax
jne 0x10076b30
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x10076ba6
push esi
lea edx, [eax + 0x20]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esi, 0x20
nop dword [eax + eax]
mov ecx, dword [eax + 4]
add esi, 0x20
mov dword [edx], ecx
mov dword [eax + 4], edx
add edx, 0x20
cmp esi, 0xfe0
jbe 0x10076b70
mov ecx, dword [0x10ca4454]
mov dword [eax], ecx
mov dword [0x10ca4454], eax
pop esi
test eax, eax
je 0x10076ba6
mov edx, dword [eax + 4]
mov ecx, dword [edx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, edx
ret
xor eax, eax
ret
Function at 0x10077ed0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx edx, byte [eax + 8]
movzx ecx, byte [eax + 0xa]
xor edx, 0x811c9dc5
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
imul edx, esi, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
lea esi, [edx*8]
mov edx, dword [edi + 0xc]
add edx, esi
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x10077f43
cmp ecx, eax
jne 0x10077f3b
mov ecx, dword [edi + 4]
mov dword [edx], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov dword [esi + edx + 4], ecx
jmp 0x10077f4b
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x10077f4b
cmp ecx, eax
jne 0x10077f4b
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push 0x30
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [edi + 8]
call fcn.100bf1af
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebp
ret 8

Function at 0x100781d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 8
mov eax, dword [eax + 0x198]
push esi
mov esi, dword [eax]
mov eax, esi
and eax, 0x3e000000
cmp eax, 0x8000000
je 0x1007821e
mov eax, esi
and eax, 0x3f800000
cmp eax, 0x4000000
je 0x1007821e
mov eax, esi
and eax, 0xbfffc000
cmp eax, 0x10000
je 0x1007821e
mov eax, esi
and eax, 0x3f000000
cmp eax, 0x8000000
jb 0x100782dc
mov eax, dword [ebp + 8]
push ebx
push edi
mov ebx, dword [eax + 0x20]
mov eax, ebx
shr eax, 8
movzx ecx, al
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [ebp + 0xc], ebx
imul eax, eax, 0x1000193
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [0x10ca2a34]
and eax, dword [0x10ca2a40]
mov edi, dword [ecx + eax*8]
lea edx, [eax*8]
mov eax, dword [edx + ecx]
add ecx, 4
add ecx, edx
mov edx, dword [0x10ca2a2c]
mov dword [ebp + 8], ecx
nop dword [eax + eax]
cmp edi, edx
jne 0x10078298
mov ecx, edx
jmp 0x1007829c
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x100782b0
cmp dword [eax + 8], ebx
je 0x100782ac
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
jmp 0x10078290
cmp eax, edx
jne 0x100782d1
push dword [ebp + 0xc]
lea eax, [ebp + 0xc]
mov ecx, 0x10ca2a28
push eax
lea eax, [ebp - 8]
push eax
call fcn.10036e90
push dword [ebp + 0xc]
push esi
call fcn.1007b9b0
add esp, 8
push esi
call fcn.10007000
add esp, 4
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x1007e670
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x1007e7b7
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._RequestInterrupt_Isolate_v8__QAEXP6AXPAV12_PAX_Z1_Z
push dword [0x10ca2a60]
call esi
push str._NewFromUtf8_String_v8__SA_AV__MaybeLocal_VString_v8___2_PAVIsolate_2_PBDW4NewStringType_2_H_Z
push dword [0x10ca2a60]
mov dword [0x10ca2a64], eax
call esi
push str._NewFromUtf8_String_v8__SA_AV__Local_VString_v8___2_PAVIsolate_2_PBDW4NewStringType_12_H_Z
push dword [0x10ca2a60]
mov dword [0x10ca2a6c], eax
call esi
push str._GetCurrentContext_Isolate_v8__QAE_AV__Local_VContext_v8___2_XZ
push dword [0x10ca2a60]
mov dword [0x10ca2a70], eax
call esi
mov ecx, dword [0x10ca2a70]
mov dword [0x10ca2a74], eax
test ecx, ecx
je 0x1007e70b
push str._Compile_Script_v8__SA_AV__Local_VScript_v8___2_V__Handle_VString_v8___2_PAVScriptOrigin_2__Z
push dword [0x10ca2a60]
mov dword [0x10ca2a68], ecx
call esi
mov dword [0x10ca2a78], eax
test eax, eax
jne 0x1007e704
push str._Compile_Script_v8__SA_AV__Local_VScript_v8___2_V__Local_VString_v8___2_PAVScriptOrigin_2__Z
push dword [0x10ca2a60]
call esi
mov dword [0x10ca2a78], eax
push str._Run_Script_v8__QAE_AV__Local_VValue_v8___2_XZ
jmp 0x1007e730
mov eax, dword [0x10ca2a6c]
test eax, eax
je 0x1007e748
push str._Compile_Script_v8__SA_AV__MaybeLocal_VScript_v8___2_V__Local_VContext_v8___2_V__Local_VString_v8___2_PAVScriptOrigin_2__Z
push dword [0x10ca2a60]
mov dword [0x10ca2a68], eax
call esi
mov dword [0x10ca2a78], eax
push str._Run_Script_v8__QAE_AV__MaybeLocal_VValue_v8___2_V__Local_VContext_v8___2__Z
push dword [0x10ca2a60]
call esi
mov ecx, dword [0x10ca2a70]
mov dword [0x10ca2a7c], eax
mov eax, dword [0x10ca2a6c]
push eax
push ecx
push str._p__p
call fcn.10004e70
push dword [0x10ca2a7c]
push dword [0x10ca2a78]
push dword [0x10ca2a68]
push dword [0x10ca2a74]
push str._p__p__p__p
call fcn.10004e70
add esp, 0x20
cmp dword [0x10ca2a74], 0
pop esi
je 0x1007e7b7
cmp dword [0x10ca2a68], 0
je 0x1007e7b7
cmp dword [0x10ca2a78], 0
je 0x1007e7b7
cmp dword [0x10ca2a7c], 0
je 0x1007e7b7
mov eax, dword [0x10ca2a64]
test eax, eax
je 0x1007e7b7
mov ecx, dword [ebp + 8]
push 0
push 0x1007c110
call eax
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret
Function at 0x10088890
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100edc40
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10124fe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x100888d7
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x100888f8
mov edi, eax
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x100888e4
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 4]
and eax, edx
lea ecx, [eax*8]
mov eax, dword [ebx + 0xc]
add eax, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp + 0xc], eax
cmp dword [eax], esi
je 0x1008891b
mov esi, dword [eax + 4]
mov esi, dword [esi]
mov edx, dword [edi + 0x10]
jmp 0x10088923
mov eax, dword [ebp + 0xc]
cmp esi, dword [eax]
je 0x100889a4
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x14], ecx
jb 0x1008893b
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x10088945
mov ecx, dword [edi]
cmp edx, dword [ebp - 0x14]
jne 0x10088920
push edx
push eax
push ecx
call fcn.1002e600
mov edx, dword [edi + 0x10]
add esp, 0xc
test eax, eax
mov eax, dword [ebp + 0xc]
jne 0x10088923
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [ebx + 8]
call fcn.10089340
push 0x38
push edi
call fcn.100bf1af
mov eax, dword [ebp + 8]
add esp, 8
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0xc], edi
mov eax, dword [edi]
cmp esi, eax
je 0x100889d1
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 0x18]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x100889eb
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx + 4], edi
jmp 0x10088a0d
cmp eax, esi
jne 0x100889f3
mov dword [ecx], edi
jmp 0x10088a0d
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x10088a0d
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.10089a30
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10088c60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
cmp dword [edi + 0x1c], 8
lea esi, [edi + 8]
mov ebx, dword [edi + 0x18]
jb 0x10088c7c
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x10088c98
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10088c87
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x10088cd1
cmp eax, edi
jne 0x10088cc9
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x10088cd9
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x10088cd9
cmp eax, edi
jne 0x10088cd9
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 8]
call fcn.10089340
push 0x38
push edi
call fcn.100bf1af
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1008b080
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 8], ecx
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 4], eax
jb 0x1008b09f
mov esi, dword [edi]
lea ebx, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x1008b0c1
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1008b0b0
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 8], edx
mov esi, edx
mov dword [ebp - 0xc], eax
cmp edx, ebx
jne 0x1008b0eb
mov eax, ebx
jmp 0x1008b0ef
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x1008b16e
cmp dword [edi + 0x14], 8
lea eax, [esi + 8]
mov ecx, edi
jb 0x1008b100
mov ecx, dword [edi]
mov edi, dword [eax + 0x14]
cmp edi, 8
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
jb 0x1008b116
mov eax, dword [eax]
cmp edx, dword [ebp - 4]
jne 0x1008b12a
push edx
push ecx
push eax
call fcn.1002e600
add esp, 0xc
test eax, eax
je 0x1008b134
mov esi, dword [esi]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x1008b0e3
cmp dword [ebp - 0x10], 8
lea eax, [esi + 8]
jb 0x1008b13f
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x1008b147
mov edi, dword [edi]
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x14]
jne 0x1008b15e
push ecx
push eax
push edi
call fcn.1002e600
add esp, 0xc
test eax, eax
je 0x1008b160
mov esi, ebx
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ebx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1008be90
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10ca38b0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10ca325c]
cmp eax, dword [ecx + 4]
jg 0x1008bed9
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x10ca2da8
push edi
push dword [esi]
call ebx
test eax, eax
jne 0x1008bed4
add esi, 4
cmp esi, 0x10ca3258
jne 0x1008bec0
pop edi
pop esi
pop ebx
pop ebp
ret
push 0x10ca325c
call fcn.100bf3ad
add esp, 4
cmp dword [0x10ca325c], 0xffffffff
jne 0x1008beaf
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x1012b328
push 0x4b0
push 0x10ca2da8
push eax
call sub.PSAPI.DLL_EnumProcessModules
push 0x10ca325c
mov dword [0x10ca3258], eax
call fcn.100bf363
add esp, 4
jmp 0x1008beaf
Function at 0x1008bf20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x1008bf60
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x1008bf60
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x1008bf60
mov edx, dword [ebp + 0xc]
cmp dword [eax], edx
je 0x1008bf62
add eax, 4
cmp eax, ecx
jb 0x1008bf55
xor eax, eax
pop ebp
ret

Function at 0x1008bf70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x1008bfc7
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x1008bfc7
movzx eax, word [ecx + 0x14]
add eax, 0x18
add eax, ecx
test byte [eax + 0x24], 0x20
jne 0x1008bfa9
nop dword [eax]
add eax, 0x28
test byte [eax + 0x24], 0x20
je 0x1008bfa0
mov ecx, dword [ebp + 0xc]
add edx, dword [eax + 0xc]
mov dword [ecx], edx
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0x10]
and ecx, 0xfffff000
add ecx, 0x1000
add ecx, edx
mov dword [eax], ecx
xor eax, eax
pop ebp
ret
Function at 0x1008c280
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee051
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
push edi
mov eax, dword [0x10124fe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x1c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor eax, eax
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 4], 1
cmp dword [ebp - 0x68], esi
jbe 0x1008c366
nop dword [eax]
push 0x1c
lea eax, [ebp - 0x50]
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x50], xmm0
movq qword [ebp - 0x40], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1008c309
add esi, dword [ebp - 0x70]
jmp 0x1008c359
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x50]
lea eax, [ecx + edx]
cmp eax, dword [ebp + 0x18]
jb 0x1008c357
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp + 0x14]
jb 0x1008c357
test eax, 0x100
jne 0x1008c357
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x10], edi
je 0x1008c33e
mov dword [edi], edx
mov dword [edi + 4], ecx
add edi, 8
mov dword [ebp - 0x30], edi
jmp 0x1008c354
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.1008b650
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x44]
add esi, ecx
cmp esi, dword [ebp - 0x68]
jb 0x1008c2e0
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x18], esi
jmp 0x1008c368
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [ebp - 0x30]
mov edx, esi
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], edx
cmp edx, eax
je 0x1008c407
mov ecx, dword [edx]
mov esi, dword [ebp + 0x18]
cmp ecx, esi
mov edx, dword [edx + 4]
cmova esi, ecx
cmp esi, dword [ebp + 0x1c]
jae 0x1008c3f7
lea eax, [edx + ecx]
mov dword [ebp - 0x24], eax
nop word [eax + eax]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push eax
push 0
push esi
call fcn.1008c190
mov esi, eax
add esp, 0x18
mov ecx, esi
test esi, esi
je 0x1008c3f4
mov eax, dword [edi + 4]
mov dword [ebp - 0x20], esi
inc esi
cmp dword [edi + 8], eax
je 0x1008c3e0
mov dword [eax], ecx
add dword [edi + 4], 4
jmp 0x1008c3ec
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, edi
call fcn.100091b0
mov eax, dword [ebp - 0x24]
cmp esi, dword [ebp + 0x1c]
jb 0x1008c3b0
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
cmp edx, eax
jne 0x1008c392
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1008c437
mov ecx, dword [ebp - 0x10]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1008c42d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008c44a
push ecx
push esi
call fcn.100bf1af
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.100ca489
int3
Function at 0x1008c450
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, 0x5a4d
cmp cx, word [eax]
jne 0x1008c4d3
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x1008c4d3
mov ecx, dword [ecx + eax + 0x88]
test ecx, ecx
je 0x1008c4d3
add eax, ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
push ecx
push eax
call fcn.1008f580
add esp, 0xc
test eax, eax
je 0x1008c4d3
mov edx, dword [ebp + 8]
mov ecx, edx
push esi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1008c4a2
sub ecx, esi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
mov eax, dword [ebp - 8]
push edx
add eax, 0xfffffffc
push eax
push dword [ebp - 4]
call fcn.1008f5d0
add esp, 0x10
pop esi
test eax, eax
je 0x1008c4d3
mov al, 1
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x1008c5b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10124fe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [ebx]
jne 0x1008c5fe
mov ecx, dword [ebx + 0x3c]
cmp dword [ecx + ebx], 0x4550
jne 0x1008c5fe
mov eax, dword [ecx + ebx + 0xd8]
mov ecx, dword [ecx + ebx + 0xdc]
add eax, ebx
add ecx, eax
cmp eax, ecx
jae 0x1008c5fe
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x1008c60f
add eax, 4
cmp eax, ecx
jb 0x1008c5f3
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bf1bd
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0xc], ax
je 0x1008c67a
push esi
push edi
mov edi, dword [ebp + 0x10]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x1008c665
mov esi, edi
lea eax, [ebp - 0xc]
sub esi, eax
xor eax, eax
lea ecx, [ebp - 0xc]
add ecx, eax
mov dl, byte [ecx]
cmp dl, byte [esi + ecx]
je 0x1008c646
cmp dl, 0x11
jne 0x1008c65f
inc eax
cmp eax, 6
jl 0x1008c635
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bf1bd
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x1008c633
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bf1bd
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push ebx
push 6
push eax
call fcn.1008cf20
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop ebx
call fcn.100bf1bd
mov esp, ebp
pop ebp
ret