joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100705a0
Capabilities:
Hash data using djb2
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f0
mov eax, dword [0x100e5f80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 0x10]
add eax, eax
cmp dword [edi + 0x14], 7
jbe 0x100705c6
mov edi, dword [edi]
xor ebx, ebx
mov esi, 0x1505
test eax, eax
je 0x100705fd
dec eax
lea edi, [edi + 1]
mov dword [ebp - 0x3f0], eax
mov ecx, ebx
mov eax, esi
shld ebx, esi, 5
shl esi, 5
add esi, eax
movzx eax, byte [edi - 1]
cdq
adc ebx, ecx
add esi, eax
mov eax, dword [ebp - 0x3f0]
adc ebx, edx
test eax, eax
jne 0x100705d1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
push esi
push eax
lea eax, [ebp - 0x3ec]
push str.LUNA_NOTIFY._d._llu
push eax
call fcn.10070e00
add esp, 0x14
lea eax, [ebp - 0x3ec]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3f0], eax
test ebx, ebx
je 0x100706a6
mov esi, dword [ebp + 0xc]
cmp byte [0x100ea339], 0
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
je 0x100706a6
mov eax, dword [0x100ea334]
xor edx, edx
add eax, 0xa0
nop dword [eax + eax]
mov ecx, dword [eax - 0xa0]
or ecx, dword [eax - 0x9c]
je 0x1007069d
mov ecx, dword [eax - 0x50]
cmp ecx, dword [esi + 8]
jne 0x1007069d
mov ecx, dword [eax - 0x4c]
cmp ecx, dword [esi + 0xc]
jne 0x1007069d
mov ecx, dword [eax]
cmp ecx, dword [esi + 0x10]
jne 0x1007069d
mov ecx, dword [eax + 4]
cmp ecx, dword [esi + 0x14]
jne 0x1007069d
mov ecx, dword [eax + 0x50]
cmp ecx, dword [esi + 0x18]
jne 0x1007069d
mov ecx, dword [eax + 0x54]
cmp ecx, dword [esi + 0x1c]
je 0x100706c7
inc edx
add eax, 8
cmp edx, 0xa
jl 0x10070660
xor bl, bl
push dword [ebp - 0x3f0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100aa42d
mov esp, ebp
pop ebp
ret
push 0x11
call edi
test al, 0xf0
jne 0x100706df
push 0x10
call edi
test al, 0xf0
je 0x100706ed
push 0xd
call edi
test al, 0xf0
jne 0x100706ed
mov eax, dword [0x100ea334]
cmp byte [eax + 0x9f8], 0
jne 0x100706a6
cmp ebx, 0x64
mov eax, 0x64
mov edi, ebx
cmova edi, eax
push edi
push dword [ebp - 0x3f0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10070714
sub ebx, edi
je 0x100706a6
jmp 0x1007063d
mov bl, 1
jmp 0x100706a8
Function at 0x10073680
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x10c5fa5c
call fcn.10092d6d
add esp, 4
test eax, eax
jne 0x100737b4
cmp dword [0x10c5fa88], 0x7fffffff
je 0x100737bb
mov eax, dword [0x10c5fa8c]
push ebx
push esi
push edi
test eax, eax
je 0x1007379c
mov eax, dword [eax]
xor edx, edx
xor esi, esi
test eax, eax
je 0x1007379c
mov edi, dword [ebp + 8]
nop word [eax + eax]
mov ecx, edi
sub ecx, dword [eax + 8]
cmp ecx, edx
ja 0x100736e1
mov esi, eax
test edx, edx
je 0x100736e8
mov edx, ecx
mov eax, dword [eax + 4]
test eax, eax
jne 0x100736d0
test esi, esi
je 0x1007379c
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push dword [esi + 8]
call ebx
test eax, eax
je 0x1007371d
mov ecx, dword [esi + 8]
mov al, byte [esi + 0x44]
mov byte [ecx], al
lea eax, [ebp - 4]
push eax
push dword [esi + 0x48]
push 4
push dword [esi + 8]
call ebx
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov ecx, dword [0x10c5fa8c]
mov edx, dword [ecx]
mov esi, edx
test esi, esi
je 0x10073798
cmp dword [esi + 8], edi
je 0x10073744
mov esi, dword [esi + 4]
test esi, esi
jne 0x10073734
mov bl, 1
jmp 0x1007379e
cmp dword [ecx + 4], esi
jne 0x1007374e
mov eax, dword [esi]
mov dword [ecx + 4], eax
cmp edx, esi
jne 0x10073757
mov eax, dword [esi + 4]
mov dword [ecx], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x10073763
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1007376e
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi + 0x34]
lea edi, [esi + 0x10]
test ecx, ecx
je 0x1007378d
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [edi + 0x24], 0
push 0x50
push esi
call fcn.100aa41f
add esp, 8
mov bl, 1
jmp 0x1007379e
xor bl, bl
push 0x10c5fa5c
call fcn.10092d7e
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
call fcn.100930ad
push 6
mov dword [0x10c5fa88], 0x7ffffffe
call fcn.100930ad
int3

Function at 0x100737d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
push 0x40
push 4
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10073806
mov ecx, dword [esi + 8]
mov al, byte [esi + 0x44]
mov byte [ecx], al
lea eax, [ebp + 8]
push eax
push dword [esi + 0x48]
push 4
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
pop ebp
ret
Function at 0x10075ad0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bf413
mov eax, dword fs:[0]
push eax
push ecx
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 edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
mov byte [ebp - 4], 2
je 0x10075bca
test dl, 0x10
jne 0x10075bca
mov al, 1
jmp 0x10075bcc
xor al, al
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
mov ebx, dword [ecx + 4]
mov edx, ebx
mov esi, dword [esi + 0x18]
sar edx, 3
cmp esi, edx
jae 0x10075bf0
lea eax, [esi*8]
mov dword [ecx + 4], eax
jmp 0x10075c23
jbe 0x10075c23
mov eax, dword [ecx + 8]
sar eax, 3
cmp esi, eax
jbe 0x10075c08
lea eax, [ebp + 0x17]
push eax
push esi
call fcn.1000d3b0
jmp 0x10075c23
sub esi, edx
je 0x10075c20
shl esi, 3
push esi
push 0
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [edi + 0x40]
add ebx, esi
mov dword [ecx + 4], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x10077260
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
imul esi, dword [ebp + 8], 0x2c
push edi
add esi, dword [0x132e08b0]
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 + 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100772a8
pop edi
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x100772cd
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 0x100772ee
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x100772ee
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x100772e8
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x100772ee
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 4]
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
mov byte [esi + 0x14], bl
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10077390
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 0x100774a2
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1007749b
mov ebx, 1
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x1007745f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x1007745f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1007745f
mov edx, dword [esi]
test edx, edx
jne 0x10077428
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x10c5fa94]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10077483
lea edi, [esi + 8]
jmp 0x10077452
mov eax, dword [esi + 4]
lea edi, [esi + 8]
cmp dword [edi], eax
jb 0x10077452
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x10c5fa94]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100774b5
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 0x100773e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1007749b
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x1007749b
push eax
push ebx
push dword [0x10c5fa94]
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.100aa42d
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x24]
jmp 0x10077483

Function at 0x10077500
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.10077390
add esp, 4
test eax, eax
jne 0x10077530
mov eax, 9
pop esi
pop ebp
ret
cmp dword [esi], 0
je 0x1007757f
push edi
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x10077579
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 0x10077572
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10077bf0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x10077540
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x10077d60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
call fcn.10077340
cmp dword [0x10c5fa94], 0
je 0x10077e02
mov edx, dword [ebp + 8]
push esi
push edi
test edx, edx
jne 0x10077dc0
xor esi, esi
cmp dword [0x132e08b8], esi
jbe 0x10077db1
push ebx
mov bl, byte [ebp + 0xc]
shl bl, 2
xor edi, edi
mov edx, dword [0x132e08b0]
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 [0x132e08b8]
jb 0x10077d91
pop ebx
xor eax, eax
pop edi
pop esi
xor ecx, ecx
mov edx, 0x10c5fa90
xchg dword [edx], ecx
pop ebp
ret
mov esi, dword [0x132e08b8]
xor eax, eax
test esi, esi
je 0x10077de0
mov edi, dword [0x132e08b0]
mov ecx, edi
cmp edx, dword [ecx]
je 0x10077de7
inc eax
add ecx, 0x2c
cmp eax, esi
jb 0x10077dd4
mov eax, 4
jmp 0x10077db3
cmp eax, 0xffffffff
je 0x10077de0
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 0x10077db1
mov eax, 2
jmp 0x10077db5

Function at 0x10077e10
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x10077e60
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x10077e4f
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 0x10077e48
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 0x10077e25
pop ebx
push dword [edi]
push 0
push dword [0x10c5fa94]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
pop ebp
ret

Function at 0x10077e70
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x132e08a0]
test eax, eax
je 0x10077e8c
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x10077ee2
mov eax, dword [eax]
test eax, eax
jne 0x10077e80
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x10077edf
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 0x10077eb5
mov ecx, dword [0x132e08a0]
mov dword [eax], ecx
mov dword [0x132e08a0], eax
pop edi
pop esi
test eax, eax
jne 0x10077ee2
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 0x10078f90
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 0x10078fde
mov eax, edi
and eax, 0x3f800000
cmp eax, 0x4000000
je 0x10078fde
mov eax, edi
and eax, 0xbfffc000
cmp eax, 0x10000
je 0x10078fde
mov eax, edi
and eax, 0x3f000000
cmp eax, 0x8000000
jb 0x10079070
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, 0x10c5fac0
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 [0x10c5fac4]
mov eax, dword [eax + 4]
test eax, eax
cmovne edx, eax
cmp edx, dword [0x10c5fac4]
jne 0x10079067
lea eax, [ebp + 0xc]
mov ecx, 0x10c5fac0
push eax
lea eax, [ebp - 8]
push eax
call fcn.100372c0
push dword [ebp + 0xc]
push edi
call fcn.1007cec0
add esp, 8
push edi
call fcn.100079f0
add esp, 4
pop edi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x1007cb90
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 0x1007cbee
add eax, 0x10
mov esp, ebp
pop ebp
ret 4
push str.invalid_unordered_map_K__T__key
call fcn.10092ceb
int3
Function at 0x1007cec0
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, 0x10c5faa0
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10004a40
mov ecx, dword [0x10c5faa4]
mov eax, dword [eax + 4]
test eax, eax
cmovne ecx, eax
cmp ecx, dword [0x10c5faa4]
je 0x1007d08b
lea eax, [ebp + 8]
mov ecx, 0x10c5faa0
push eax
call fcn.1007cb90
push eax
call fcn.1007cc00
add esp, 4
test al, al
je 0x1007d08b
lea eax, [ebp + 8]
mov ecx, 0x10c5faa0
push eax
call fcn.1007cb90
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.1008cb00
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x1007cff1
lea eax, [esi + 0x1000]
push eax
lea eax, [esi - 0x1000]
push eax
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.1008cb00
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x1007cff1
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 [0x100ea470], 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.100aa42d
mov esp, ebp
pop ebp
ret
Function at 0x1007fc30
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x1007fd77
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._RequestInterrupt_Isolate_v8__QAEXP6AXPAV12_PAX_Z1_Z
push dword [0x10c5faf0]
call esi
push str._NewFromUtf8_String_v8__SA_AV__MaybeLocal_VString_v8___2_PAVIsolate_2_PBDW4NewStringType_2_H_Z
push dword [0x10c5faf0]
mov dword [0x10c5faf4], eax
call esi
push str._NewFromUtf8_String_v8__SA_AV__Local_VString_v8___2_PAVIsolate_2_PBDW4NewStringType_12_H_Z
push dword [0x10c5faf0]
mov dword [0x10c5fafc], eax
call esi
push str._GetCurrentContext_Isolate_v8__QAE_AV__Local_VContext_v8___2_XZ
push dword [0x10c5faf0]
mov dword [0x10c5fb00], eax
call esi
mov ecx, dword [0x10c5fb00]
mov dword [0x10c5fb04], eax
test ecx, ecx
je 0x1007fccb
push str._Compile_Script_v8__SA_AV__Local_VScript_v8___2_V__Handle_VString_v8___2_PAVScriptOrigin_2__Z
push dword [0x10c5faf0]
mov dword [0x10c5faf8], ecx
call esi
mov dword [0x10c5fb08], eax
test eax, eax
jne 0x1007fcc4
push str._Compile_Script_v8__SA_AV__Local_VScript_v8___2_V__Local_VString_v8___2_PAVScriptOrigin_2__Z
push dword [0x10c5faf0]
call esi
mov dword [0x10c5fb08], eax
push str._Run_Script_v8__QAE_AV__Local_VValue_v8___2_XZ
jmp 0x1007fcf0
mov eax, dword [0x10c5fafc]
test eax, eax
je 0x1007fd08
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 [0x10c5faf0]
mov dword [0x10c5faf8], eax
call esi
mov dword [0x10c5fb08], eax
push str._Run_Script_v8__QAE_AV__MaybeLocal_VValue_v8___2_V__Local_VContext_v8___2__Z
push dword [0x10c5faf0]
call esi
mov ecx, dword [0x10c5fb00]
mov dword [0x10c5fb0c], eax
mov eax, dword [0x10c5fafc]
push eax
push ecx
push str._p__p
call fcn.10005840
push dword [0x10c5fb0c]
push dword [0x10c5fb08]
push dword [0x10c5faf8]
push dword [0x10c5fb04]
push str._p__p__p__p
call fcn.10005840
add esp, 0x20
cmp dword [0x10c5fb04], 0
pop esi
je 0x1007fd77
cmp dword [0x10c5faf8], 0
je 0x1007fd77
cmp dword [0x10c5fb08], 0
je 0x1007fd77
cmp dword [0x10c5fb0c], 0
je 0x1007fd77
mov eax, dword [0x10c5faf4]
test eax, eax
je 0x1007fd77
mov ecx, dword [ebp + 8]
push 0
push 0x1007d780
call eax
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret
Function at 0x100869d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c060d
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.100aa3ef
mov edi, eax
add esp, 4
test edi, edi
je 0x10086a6d
push 1
mov dword [ebp - 4], 0
call fcn.10093756
add esp, 4
mov dword [edi + 4], eax
jmp 0x10086a6f
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.10016de0
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 0x10086acb
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x10086acb
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov word [esi + 0x40], bx
jne 0x10086ae8
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 0x10086b0b
cmp byte [ebp + 0xc], 0
je 0x10086af7
push esi
call fcn.1009820e
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 0x10086b17
mov esi, str.ios_base::badbit_set
jmp 0x10086b27
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.10087060
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.10083590
push 0x100e1b24
lea eax, [ebp - 0x28]
push eax
call sub.msvcrt.dll__CxxThrowException
int3