joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405aa8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov edx, edi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x405ab8
sub edx, ecx
lea esi, [edx + 0x14]
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x405af7
xor esi, esi
mov edx, 0x4b5
push esi
push 0x10
push esi
push esi
xor ecx, ecx
call fcn.00404657
call fcn.004064a1
mov dword [0x409124], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push edi
mov edx, esi
mov ecx, ebx
call fcn.00401726
push 0x4013c8
mov edx, esi
mov ecx, ebx
call fcn.004067c6
xor esi, esi
push esi
push 0x4000080
push 1
push esi
push esi
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
cmp eax, 0xffffffff
je 0x405ae6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x405ae6
test al, 0x10
je 0x405ae6
xor eax, eax
mov dword [0x409124], esi
inc eax
jmp 0x405af2
Function at 0x406436
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x408004]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x406480
push eax
push 0x10
push eax
push eax
mov edx, 0x4f0
xor ecx, ecx
call fcn.00404657
call fcn.004064a1
mov dword [0x409124], eax
xor eax, eax
jmp 0x40648f
push 2
pop edx
push edx
lea ecx, [ebp - 0x108]
call fcn.00405b61
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406f80
leave
ret

Function at 0x4064ba
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x408004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x1c], ecx
push esi
push 0x4013e4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], esi
xor ebx, ebx
push 0x14
push eax
inc ebx
call fcn.004017be
jmp 0x40655d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x406581
lea edx, [edi + 8]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40650a
sub ecx, esi
mov esi, esp
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x1c]
add eax, edx
push eax
push edx
push dword [edi + 4]
push dword [edi]
call dword [0x40a288]
call dword [ebp - 0x1c]
cmp esi, esp
je 0x406538
mov ecx, 4
int 0x29
push edi
test eax, eax
je 0x406577
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
inc esi
push esi
push 0x4013e4
push 0x14
push eax
mov dword [ebp - 0x20], esi
call fcn.004017be
xor esi, esi
add esp, 0x10
lea eax, [ebp - 0x18]
push 0xa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x4064ed
jmp 0x40658d
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x40658d
mov dword [0x409124], 0x80070714
mov ebx, esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406f80
leave
ret

Function at 0x4066c9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x408004]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push ecx
push 0x4091e4
push ecx
mov edx, 0x104
lea ecx, [ebp - 0x108]
call fcn.00401823
mov edi, 0x4011e8
lea ecx, [ebp - 0x108]
push edi
mov edx, 0x104
call fcn.004067c6
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x406735
test al, 0x10
jne 0x406735
push 8
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x40673c
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00406f80
leave
ret

Function at 0x406900
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x406911
xor eax, eax
ret
shr eax, 4
not eax
and eax, 1
ret
Function at 0x406a9d
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x408004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [0x4081d8]
xor esi, esi
mov dword [ebp - 0xb0], 0xc
mov dword [ebp - 0xac], esi
cmp edi, 0xfffffffe
jne 0x406bbe
lea eax, [ebp - 0xa4]
mov dword [0x4081d8], esi
push eax
mov dword [ebp - 0xa4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x406bb8
xor edi, edi
inc edi
cmp dword [ebp - 0x94], edi
jne 0x406bb8
cmp dword [ebp - 0xa0], 4
jne 0x406bb8
cmp dword [ebp - 0x9c], 0xa
jae 0x406bb8
push 0x4a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x406bb8
lea eax, [ebp - 0xa8]
push eax
push 0x20019
push esi
push 0x4013f0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406bb8
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xb4]
push eax
push esi
push 0x401150
push dword [ebp - 0xa8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xa8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x406bb8
lea edx, [ebp - 0xac]
lea ecx, [ebp - 0x10]
call fcn.00406957
test eax, eax
je 0x406bb8
mov eax, dword [ebp - 0xac]
and eax, 0x3ff
cmp eax, edi
je 0x406bb0
cmp eax, 0xd
jne 0x406bb8
mov dword [0x4081d8], edi
jmp 0x406bbe
mov edi, dword [0x4081d8]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00406f80
leave
ret

Function at 0x406bd4
Capabilities:
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
cmp byte [ecx], 0
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
je 0x406c23
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x406c23
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 8]
push 0x400
push dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
mov eax, esi
pop esi
leave
ret
Function at 0x406ce0
Capabilities:
Terminate process

Disassembly:
call fcn.0040744b
jmp 0x406cf0
push 0x58
push 0x4075d0
call fcn.00407510
xor ebx, ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x4088ac
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x406d42
cmp eax, esi
jne 0x406d35
xor esi, esi
inc esi
mov edi, esi
jmp 0x406d45
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x406d19
xor esi, esi
inc esi
cmp dword [0x4088b0], esi
jne 0x406d57
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x406d91
cmp dword [0x4088b0], ebx
jne 0x406d8b
mov dword [0x4088b0], esi
push 0x4010dc
push 0x4010d0
call fcn.00406ed5
pop ecx
pop ecx
test eax, eax
je 0x406d91
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x406ebf
mov dword [0x4081e4], esi
cmp dword [0x4088b0], esi
jne 0x406db4
push 0x4010cc
push 0x4010c4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x4088b0], 2
test edi, edi
jne 0x406dc1
xor eax, eax
mov ecx, 0x4088ac
xchg dword [ecx], eax
cmp dword [0x4088b4], 0
je 0x406ded
push 0x4088b4
call fcn.00407340
pop ecx
test eax, eax
je 0x406ded
push ebx
push 2
push ebx
mov esi, dword [0x4088b4]
mov ecx, esi
call dword [0x40a288]
call esi
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x406e4b
test cl, cl
je 0x406e1a
test edi, edi
jne 0x406e4b
test cl, cl
je 0x406e1a
cmp cl, 0x20
ja 0x406e1a
inc esi
mov dword [ebp - 0x1c], esi
mov cl, byte [esi]
jmp 0x406e09
test byte [ebp - 0x3c], 1
je 0x406e26
movzx eax, word [ebp - 0x38]
jmp 0x406e29
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x4081e0], eax
cmp dword [0x4081f8], 0
jne 0x406ea4
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cl, 0x22
jne 0x406e5c
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x20], edi
movzx eax, cl
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x406e6f
inc esi
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x406dfa
cmp dword [0x4081e4], 0
jne 0x406eb8
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x4081e0]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x407210
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x4075f0
call fcn.00407510
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x407270
cmp eax, 0xffffffff
je 0x407270
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x407269
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x407269
cmp edx, 0x10000000
jae 0x407269
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x407266
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4072f0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40732e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407326
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407330
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407316
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407410
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407441
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407441
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407441
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40106e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40e004]
jne 0x401078
repz ret
jmp fcn.004015b1

Function at 0x408449
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404169
and dword [ebp - 4], 0
cmp dword [0x40f980], 0
mov ebx, eax
jne 0x4084fa
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4085ab
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40ca2c
push edi
call esi
test eax, eax
je 0x4085ab
push eax
call fcn.004040f7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40f980], eax
call esi
push eax
call fcn.004040f7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40f984], eax
call esi
push eax
call fcn.004040f7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40f988], eax
call esi
push eax
call fcn.004040f7
pop ecx
mov dword [0x40f990], eax
test eax, eax
je 0x4084fa
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004040f7
pop ecx
mov dword [0x40f98c], eax
mov eax, dword [0x40f98c]
cmp eax, ebx
je 0x408552
cmp dword [0x40f990], ebx
je 0x408552
push eax
call fcn.00404172
push dword [0x40f990]
mov esi, eax
call fcn.00404172
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408552
test edi, edi
je 0x408552
call esi
test eax, eax
je 0x408549
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408549
test byte [ebp - 0xc], 1
jne 0x408552
or dword [ebp + 0x10], 0x200000
jmp 0x40858b
mov eax, dword [0x40f984]
cmp eax, ebx
je 0x40858b
push eax
call fcn.00404172
pop ecx
test eax, eax
je 0x40858b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40858b
mov eax, dword [0x40f988]
cmp eax, ebx
je 0x40858b
push eax
call fcn.00404172
pop ecx
test eax, eax
je 0x40858b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40f980]
call fcn.00404172
pop ecx
test eax, eax
je 0x4085ab
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4085ad
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401026
Capabilities:
Create process on windows
Delete file
Read file on windows
Set file attributes
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov edx, section..text
push edi
push esi
push ebx
sub esp, 0x574
lea ecx, [esp + 0x64]
cmp edx, entry0
jae 0x40104c
movzx eax, byte [edx]
inc edx
xor al, 0xd9
mov byte [ecx], al
inc ecx
jmp 0x401039
mov byte [ecx], 0
lea esi, [esp + 0x64]
push esi
push 1
push 0
call 0x401220
push 0x104
lea ebx, [esp + 0x468]
push ebx
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push ebx
call sub.KERNEL32.dll_CreateFileA
test eax, eax
mov ebx, eax
je 0x401205
cmp eax, 0xffffffff
je 0x401205
push 2
push 0
push 0xffffffffffffff9c
push eax
call sub.KERNEL32.dll_SetFilePointer
push 0
lea ebp, [esp + 4]
push ebp
push 0x64
push esi
push ebx
call sub.KERNEL32.dll_ReadFile
push ebx
call sub.KERNEL32.dll_CloseHandle
lea edx, [esp + 0x65]
lea ecx, [esp + 0xc7]
cmp edx, ecx
jae 0x4010d4
movzx eax, byte [esp + 0x64]
xor byte [edx], al
inc edx
jmp 0x4010c6
lea edx, [esp + 0x14]
lea eax, [esp + 0x58]
cmp edx, eax
jae 0x4010e6
mov byte [edx], 0
inc edx
jmp 0x4010dc
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x8d]
push eax
call sub.KERNEL32.dll_CreateProcessA
test eax, eax
jne 0x401205
push 0
push 0
push 3
push 0
push 1
push 0x80000000
lea eax, [esp + 0x47c]
push eax
call sub.KERNEL32.dll_CreateFileA
test eax, eax
mov ebx, eax
je 0x401205
cmp eax, 0xffffffff
je 0x401205
push 2
mov eax, 0xffffff9c
push 0
sub eax, dword [esp + 0x6d]
push eax
push ebx
call sub.KERNEL32.dll_SetFilePointer
push 0
push ebp
push dword [esp + 0x6d]
push dword [esp + 0x71]
push 0
call sub.KERNEL32.dll_GetProcessHeap
push eax
call sub.KERNEL32.dll_HeapAlloc
push eax
mov esi, eax
push ebx
call sub.KERNEL32.dll_ReadFile
push ebx
call sub.KERNEL32.dll_CloseHandle
mov eax, esi
mov edx, esi
add eax, dword [esp + 0x65]
cmp esi, eax
jae 0x40119b
movzx eax, byte [esp + 0x64]
xor byte [edx], al
mov eax, esi
inc edx
add eax, dword [esp + 0x65]
cmp edx, eax
jmp 0x401187
push pe_nt_image_headers32
lea edi, [esp + 0x6d]
push edi
call sub.KERNEL32.dll_SetFileAttributesA
push edi
call sub.KERNEL32.dll_DeleteFileA
push 0
push pe_nt_image_headers32
push 2
push 0
push 0
push 0x40000000
push edi
call sub.KERNEL32.dll_CreateFileA
test eax, eax
mov ebx, eax
je 0x401205
cmp eax, 0xffffffff
je 0x401205
push 0
push ebp
push dword [esp + 0x6d]
push esi
push eax
call sub.KERNEL32.dll_WriteFile
push ebx
call sub.KERNEL32.dll_CloseHandle
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call sub.KERNEL32.dll_CreateProcessA
push 0
call sub.KERNEL32.dll_ExitProcess
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp dword [sym.imp.KERNEL32.dll_CreateMutexA]
Function at 0x4038fc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x408398]
jne 0x403906
repz ret
jmp fcn.00403dae
Function at 0x10001cb0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101295f5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10155004]
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 esi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x34]
mov ebx, dword [ebp + 8]
lea edx, [esi + 0xc]
push ecx
push edx
mov dword [ebp - 0x38], eax
lea edi, [esi + 0x10]
mov dword [esi + 8], eax
lea eax, [esi + 0x18]
push eax
push edi
push dword [ebp - 0x38]
mov dword [esi], 6
push ebx
mov dword [esi + 4], ebx
mov dword [edx], 0
mov dword [esi + 0x30], 0
mov dword [ecx], 0
mov dword [edi], 6
mov dword [esi + 0x14], eax
call dword [sym.imp.node.exe_napi_get_cb_info]
add esp, 0x18
test eax, eax
je 0x10001d43
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x34]
call fcn.100016c0
mov dword [ebp - 4], 0
jmp 0x10001d91
mov eax, dword [edi]
cmp eax, dword [esi]
jbe 0x10001da0
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10115f5e
add esp, 4
mov dword [esi + 0x30], eax
mov dword [esi + 0x14], eax
push 0
push 0
push eax
push edi
push dword [ebp - 0x38]
push ebx
call dword [sym.imp.node.exe_napi_get_cb_info]
add esp, 0x18
test eax, eax
je 0x10001da0
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x34]
call fcn.100016c0
mov dword [ebp - 4], 1
mov ecx, eax
call fcn.10001a80
lea ecx, [ebp - 0x34]
call fcn.10001140
mov eax, esi
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.10115f0d
mov esp, ebp
pop ebp
ret 8
Function at 0x10002240
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10129703
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10155004]
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 esi, ecx
mov dword [ebp - 0x38], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], esi
mov dword [esi], 0x10144bcc
mov dword [esi + 4], 0
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0xf
mov byte [esi + 0x1c], 0
mov edi, eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x38]
push eax
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.node.exe_napi_reference_ref]
add esp, 0xc
test eax, eax
je 0x100022fe
mov edx, dword [edi + 4]
lea ecx, [ebp - 0x34]
call fcn.100016c0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.10001a80
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10001140
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10002391
mov edi, dword [sym.imp.node.exe_napi_typeof]
lea ecx, [ebp - 0x38]
push ecx
push eax
push dword [ebp + 0xc]
call edi
add esp, 0xc
test eax, eax
je 0x10002340
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x34]
call fcn.100016c0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.10001a80
lea ecx, [ebp - 0x34]
call fcn.10001140
jmp 0x10002391
cmp dword [ebp - 0x38], 0
je 0x10002391
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10002391
lea ecx, [ebp - 0x38]
push ecx
push eax
push dword [ebp + 0xc]
call edi
add esp, 0xc
test eax, eax
je 0x1000237e
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x34]
call fcn.100016c0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.10001a80
lea ecx, [ebp - 0x34]
call fcn.10001140
jmp 0x10002391
cmp dword [ebp - 0x38], 7
jne 0x10002391
push ecx
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.100069f0
mov eax, esi
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.10115f0d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10039970
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
mov eax, dword [0x10155004]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [0x10155c08]
push ebx
push ebp
mov ebp, edx
push esi
push edi
mov edi, ecx
test eax, eax
je 0x100399cb
push 0x28a
call eax
add esp, 4
test eax, eax
je 0x100399cb
mov dword [esp + 0x78], eax
lea eax, [esp + 0x70]
push eax
push 3
push 0
push 0xc0000006
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
call dword [sym.imp.KERNEL32.dll_RaiseException]
cmp byte [edi + 0x2b], 2
mov eax, dword [edi + 0x20]
mov esi, dword [eax]
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x10], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [esp + 0x20], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [esp + 0x30], xmm0
je 0x100399fe
mov eax, dword [edi + 4]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x3c]
call eax
add esp, 4
movups xmm0, xmmword [esi + 0x30]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x40]
movups xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [esi + 0x40]
movups xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [esi + 0x50]
mov esi, 0x2c
movups xmmword [esp + 0x60], xmm0
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10039afc
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10039a26
cmp byte [esp + 0x1c], 0
je 0x10039afc
lea eax, [esp + 0x70]
mov ecx, 1
push eax
push 0
push 0x28
lea edx, [esp + 0x1c]
call fcn.10037e40
mov eax, dword [esp + 0x7c]
add esp, 0xc
cmp eax, dword [esp + 0x38]
jne 0x10039afc
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x3c]
jne 0x10039afc
lea ecx, [edi + 0x34]
mov esi, 0x2c
lea edx, [esp + 0x10]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10039aae
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10039a88
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.10115f0d
add esp, 0x74
ret
movups xmm0, xmmword [esp + 0x10]
mov dword [ebp], 1
movups xmmword [edi + 0x34], xmm0
movups xmm0, xmmword [esp + 0x20]
movups xmmword [edi + 0x44], xmm0
movups xmm0, xmmword [esp + 0x30]
movups xmmword [edi + 0x54], xmm0
movzx ecx, word [edi + 0x42]
mov eax, ecx
and ecx, 0xfe00
and eax, 1
shl eax, 0x10
add eax, ecx
mov dword [edi + 0x24], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.10115f0d
add esp, 0x74
ret
mov ecx, dword [esp + 0x7c]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10115f0d
add esp, 0x74
ret