joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10077130
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100e5f80]
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
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x24], edi
cmp edi, 0xffffffff
je 0x10077242
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1007723b
mov ebx, 1
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x100771ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x100771ff
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100771ff
mov edx, dword [esi]
test edx, edx
jne 0x100771c8
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x10c5fb14]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10077223
lea edi, [esi + 8]
jmp 0x100771f2
mov eax, dword [esi + 4]
lea edi, [esi + 8]
cmp dword [edi], eax
jb 0x100771f2
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x10c5fb14]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10077255
mov dword [esi], edx
mov ecx, dword [edi]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [edi]
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10077180
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1007723b
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x1007723b
push eax
push ebx
push dword [0x10c5fb14]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], ebx
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.100a9cad
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x24]
jmp 0x10077223

Function at 0x100772a0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.10077130
add esp, 4
test eax, eax
jne 0x100772d0
mov eax, 9
pop esi
pop ebp
ret
cmp dword [esi], 0
je 0x1007731f
push edi
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x10077319
push ebx
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 0x10077312
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10077990
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x100772e0
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x10077b00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
call fcn.100770e0
cmp dword [0x10c5fb14], 0
je 0x10077ba2
mov edx, dword [ebp + 8]
push esi
push edi
test edx, edx
jne 0x10077b60
xor esi, esi
cmp dword [0x132e0938], esi
jbe 0x10077b51
push ebx
mov bl, byte [ebp + 0xc]
shl bl, 2
xor edi, edi
mov edx, dword [0x132e0930]
lea edi, [edi + 0x2c]
inc esi
mov cl, byte [edx + edi - 0x18]
xor cl, bl
and cl, 4
xor byte [edx + edi - 0x18], cl
cmp esi, dword [0x132e0938]
jb 0x10077b31
pop ebx
xor eax, eax
pop edi
pop esi
xor ecx, ecx
mov edx, 0x10c5fb10
xchg dword [edx], ecx
pop ebp
ret
mov esi, dword [0x132e0938]
xor eax, eax
test esi, esi
je 0x10077b80
mov edi, dword [0x132e0930]
mov ecx, edi
cmp edx, dword [ecx]
je 0x10077b87
inc eax
add ecx, 0x2c
cmp eax, esi
jb 0x10077b74
mov eax, 4
jmp 0x10077b53
cmp eax, 0xffffffff
je 0x10077b80
mov cl, byte [ebp + 0xc]
imul edx, eax, 0x2c
shl cl, 2
xor cl, byte [edx + edi + 0x14]
and cl, 4
xor byte [edx + edi + 0x14], cl
jmp 0x10077b51
mov eax, 2
jmp 0x10077b55

Function at 0x10077bb0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x10077c00
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x10077bef
push ebx
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10077be8
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x10077bc5
pop ebx
push dword [edi]
push 0
push dword [0x10c5fb14]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
pop ebp
ret

Function at 0x10077c10
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x132e0920]
test eax, eax
je 0x10077c2c
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x10077c82
mov eax, dword [eax]
test eax, eax
jne 0x10077c20
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x10077c7f
push esi
push edi
xor edi, edi
mov dword [eax + 8], 0
lea edx, [eax + 0x20]
lea esi, [edi + 0x20]
mov dword [edx], edi
mov ecx, edx
mov dword [eax + 4], edx
add esi, 0x20
add edx, 0x20
mov edi, ecx
cmp esi, 0xfe0
jbe 0x10077c55
mov ecx, dword [0x132e0920]
mov dword [eax], ecx
mov dword [0x132e0920], eax
pop edi
pop esi
test eax, eax
jne 0x10077c82
xor eax, eax
ret
mov edx, dword [eax + 4]
mov ecx, dword [edx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, edx
ret
Function at 0x10078d30
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 edi
mov edi, dword [eax]
mov eax, edi
and eax, 0x3e000000
cmp eax, 0x8000000
je 0x10078d7e
mov eax, edi
and eax, 0x3f800000
cmp eax, 0x4000000
je 0x10078d7e
mov eax, edi
and eax, 0xbfffc000
cmp eax, 0x10000
je 0x10078d7e
mov eax, edi
and eax, 0x3f000000
cmp eax, 0x8000000
jb 0x10078e10
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x20]
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp + 0xc], edx
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x10c5fb40
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.10004a40
mov edx, dword [0x10c5fb44]
mov eax, dword [eax + 4]
test eax, eax
cmovne edx, eax
cmp edx, dword [0x10c5fb44]
jne 0x10078e07
lea eax, [ebp + 0xc]
mov ecx, 0x10c5fb40
push eax
lea eax, [ebp - 8]
push eax
call fcn.10036fc0
push dword [ebp + 0xc]
push edi
call fcn.1007cc60
add esp, 8
push edi
call fcn.100079f0
add esp, 4
pop edi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x1007c930
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
push esi
lea eax, [ebp - 8]
push eax
call fcn.10004a40
mov eax, dword [ebp - 4]
pop edi
pop esi
test eax, eax
je 0x1007c98e
add eax, 0x10
mov esp, ebp
pop ebp
ret 4
push str.invalid_unordered_map_K__T__key
call fcn.1009259b
int3
Function at 0x1007cc60
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x644
mov eax, dword [0x100e5f80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 2
push esi
push ebx
call fcn.100080e0
movzx eax, bl
add esp, 0xc
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, bh
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x10c5fb20
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10004a40
mov ecx, dword [0x10c5fb24]
mov eax, dword [eax + 4]
test eax, eax
cmovne ecx, eax
cmp ecx, dword [0x10c5fb24]
je 0x1007ce2b
lea eax, [ebp + 8]
mov ecx, 0x10c5fb20
push eax
call fcn.1007c930
push eax
call fcn.1007c9a0
add esp, 4
test al, al
je 0x1007ce2b
lea eax, [ebp + 8]
mov ecx, 0x10c5fb20
push eax
call fcn.1007c930
push esi
push str.jit_function_addr__p
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x24], xmm0
call fcn.10005840
lea eax, [esi + 0x20]
mov dword [ebp - 0x14], 0x8b11118b
push eax
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0xffff25c6
push 0x10
push eax
mov dword [ebp - 0xc], 0x11893fff
mov dword [ebp - 8], 0x11111111
call fcn.1008c3a0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x1007cd91
lea eax, [esi + 0x1000]
push eax
lea eax, [esi - 0x1000]
push eax
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.1008c3a0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x1007cd91
push str.cant_find_emu_baseaddr
call fcn.10005840
add esp, 4
mov eax, dword [edi + 0xc]
and eax, 0xffff0000
push eax
push str.x86_base_addr__p
mov dword [0x100ea4f0], eax
call fcn.10005840
push 0x608
lea eax, [ebp - 0x644]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x30]
add esp, 0x14
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x4c0], eax
or ecx, 0x8000201
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x4a4], eax
mov eax, dword [ebp - 0x20]
sub esp, 0x608
mov dword [ebp - 0x49c], eax
mov edi, esp
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c4], ecx
mov ecx, 0x182
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x644], esi
lea esi, [ebp - 0x644]
mov dword [ebp - 0x4b4], eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x40], 2
rep movsd dword es:[edi], dword [esi]
call fcn.10005ae0
add esp, 0x60c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a9cad
mov esp, ebp
pop ebp
ret
Function at 0x1007e020
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x1007e167
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._RequestInterrupt_Isolate_v8__QAEXP6AXPAV12_PAX_Z1_Z
push dword [0x10c5fb70]
call esi
push str._NewFromUtf8_String_v8__SA_AV__MaybeLocal_VString_v8___2_PAVIsolate_2_PBDW4NewStringType_2_H_Z
push dword [0x10c5fb70]
mov dword [0x10c5fb74], eax
call esi
push str._NewFromUtf8_String_v8__SA_AV__Local_VString_v8___2_PAVIsolate_2_PBDW4NewStringType_12_H_Z
push dword [0x10c5fb70]
mov dword [0x10c5fb7c], eax
call esi
push str._GetCurrentContext_Isolate_v8__QAE_AV__Local_VContext_v8___2_XZ
push dword [0x10c5fb70]
mov dword [0x10c5fb80], eax
call esi
mov ecx, dword [0x10c5fb80]
mov dword [0x10c5fb84], eax
test ecx, ecx
je 0x1007e0bb
push str._Compile_Script_v8__SA_AV__Local_VScript_v8___2_V__Handle_VString_v8___2_PAVScriptOrigin_2__Z
push dword [0x10c5fb70]
mov dword [0x10c5fb78], ecx
call esi
mov dword [0x10c5fb88], eax
test eax, eax
jne 0x1007e0b4
push str._Compile_Script_v8__SA_AV__Local_VScript_v8___2_V__Local_VString_v8___2_PAVScriptOrigin_2__Z
push dword [0x10c5fb70]
call esi
mov dword [0x10c5fb88], eax
push str._Run_Script_v8__QAE_AV__Local_VValue_v8___2_XZ
jmp 0x1007e0e0
mov eax, dword [0x10c5fb7c]
test eax, eax
je 0x1007e0f8
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 [0x10c5fb70]
mov dword [0x10c5fb78], eax
call esi
mov dword [0x10c5fb88], eax
push str._Run_Script_v8__QAE_AV__MaybeLocal_VValue_v8___2_V__Local_VContext_v8___2__Z
push dword [0x10c5fb70]
call esi
mov ecx, dword [0x10c5fb80]
mov dword [0x10c5fb8c], eax
mov eax, dword [0x10c5fb7c]
push eax
push ecx
push str._p__p
call fcn.10005840
push dword [0x10c5fb8c]
push dword [0x10c5fb88]
push dword [0x10c5fb78]
push dword [0x10c5fb84]
push str._p__p__p__p
call fcn.10005840
add esp, 0x20
cmp dword [0x10c5fb84], 0
pop esi
je 0x1007e167
cmp dword [0x10c5fb78], 0
je 0x1007e167
cmp dword [0x10c5fb88], 0
je 0x1007e167
cmp dword [0x10c5fb8c], 0
je 0x1007e167
mov eax, dword [0x10c5fb74]
test eax, eax
je 0x1007e167
mov ecx, dword [ebp + 8]
push 0
push 0x1007d520
call eax
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret
Function at 0x10085180
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bfbdd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100e5f80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.100a9c6f
mov edi, eax
add esp, 4
test edi, edi
je 0x1008521d
push 1
mov dword [ebp - 4], 0
call fcn.10093006
add esp, 4
mov dword [edi + 4], eax
jmp 0x1008521f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.10016ad0
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x30]
mov ecx, eax
call edx
movzx ebx, ax
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1008527b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x1008527b
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov word [esi + 0x40], bx
jne 0x10085298
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x100852bb
cmp byte [ebp + 0xc], 0
je 0x100852a7
push esi
call fcn.1009764e
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x100852c7
mov esi, str.ios_base::badbit_set
jmp 0x100852d7
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.10085810
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.10081bd0
push 0x100e1884
lea eax, [ebp - 0x28]
push eax
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x10087100
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bfe25
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x100e5f80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
add eax, 4
mov dword [ebp - 0x20], eax
push 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.100a9c6f
mov esi, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
add esp, 4
lea edi, [eax + 8]
mov edx, dword [esi]
mov ecx, edx
movups xmmword [edi], xmm0
mov dword [ebp - 0x14], edi
mov dword [edi + 0x10], 0
lea eax, [ecx + 2]
mov dword [edi + 0x14], 0
mov dword [ebp + 0xc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10087174
sub ecx, dword [ebp + 0xc]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10016500
xorps xmm0, xmm0
xor eax, eax
movups xmmword [edi + 0x18], xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
movups xmm0, xmmword [esi + 4]
movups xmmword [edi + 0x18], xmm0
movq xmm0, qword [esi + 0x14]
movq qword [edi + 0x28], xmm0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
cmp dword [edi + 0x14], 7
mov edx, dword [edi + 0x10]
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], edi
jbe 0x100871e0
mov eax, dword [edi]
mov dword [ebp + 0xc], eax
xor ecx, ecx
mov esi, 0x811c9dc5
add edx, edx
je 0x10087204
mov edi, dword [ebp + 0xc]
nop
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x100871f0
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push esi
push edi
push eax
call fcn.10086d50
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10087251
cmp dword [ebp - 0x1c], 0
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov byte [esi + 4], 0
je 0x1008723c
mov ecx, edi
call fcn.10087ae0
push 0x38
push dword [ebp - 0x1c]
call fcn.100a9c9f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 8]
cmp eax, 0x4924924
je 0x100872e4
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c7fb0]
mov eax, dword [ecx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100c7fb0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ecx]
jbe 0x100872b9
call fcn.10088d90
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push esi
push edi
push eax
call fcn.10086d50
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
jmp 0x100872bc
mov edx, dword [ebp - 0x18]
push dword [ebp - 0x1c]
push edx
push esi
call fcn.10017640
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.1009257b
int3
Function at 0x1008b380
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10c6054c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10c600c4]
cmp eax, dword [ecx + 4]
jg 0x1008b3c9
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x10c5fc10
push edi
push dword [esi]
call ebx
test eax, eax
jne 0x1008b3c4
add esi, 4
cmp esi, 0x10c600c0
jne 0x1008b3b0
pop edi
pop esi
pop ebx
pop ebp
ret
push 0x10c600c4
call fcn.100a9dd6
add esp, 4
cmp dword [0x10c600c4], 0xffffffff
jne 0x1008b39f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x100ea430
push 0x4b0
push 0x10c5fc10
push eax
call sub.PSAPI.DLL_EnumProcessModules
push 0x10c600c4
mov dword [0x10c600c0], eax
call fcn.100a9d85
add esp, 4
jmp 0x1008b39f

Function at 0x1008b410
Capabilities:
Parse pe header

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

Function at 0x1008b460
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x1008b4b7
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x1008b4b7
movzx eax, word [ecx + 0x14]
add eax, 0x18
add eax, ecx
test byte [eax + 0x24], 0x20
jne 0x1008b499
nop dword [eax]
add eax, 0x28
test byte [eax + 0x24], 0x20
je 0x1008b490
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 0x1008b780
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c03f6
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
push edi
mov eax, dword [0x100e5f80]
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 0x1008b866
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 0x1008b809
add esi, dword [ebp - 0x70]
jmp 0x1008b859
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x50]
lea eax, [ecx + edx]
cmp eax, dword [ebp + 0x18]
jb 0x1008b857
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp + 0x14]
jb 0x1008b857
test eax, 0x100
jne 0x1008b857
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
cmp edi, dword [ebp - 0x10]
je 0x1008b83e
mov dword [edi], edx
mov dword [edi + 4], ecx
add edi, 8
mov dword [ebp - 0x30], edi
jmp 0x1008b854
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.100099a0
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 0x1008b7e0
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x18], esi
jmp 0x1008b868
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 0x1008b907
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 0x1008b8f7
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.1008b680
mov esi, eax
add esp, 0x18
test esi, esi
je 0x1008b8f4
mov eax, dword [edi + 4]
mov ecx, esi
inc esi
mov dword [ebp - 0x20], ecx
cmp eax, dword [edi + 8]
je 0x1008b8e0
mov dword [eax], ecx
add dword [edi + 4], 4
jmp 0x1008b8ec
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, edi
call fcn.100098c0
mov eax, dword [ebp - 0x24]
cmp esi, dword [ebp + 0x1c]
jb 0x1008b8b0
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
cmp edx, eax
jne 0x1008b892
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1008b937
mov ecx, dword [ebp - 0x10]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1008b92d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008b94a
push ecx
push esi
call fcn.100a9c9f
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.100ab190
int3