joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401576c0
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1401576f0
xor eax, eax
jmp 0x1401577b3
mov rbp, rbx
cmp word [rax], si
je 0x140157715
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1401576fc
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1401576f8
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140152740
movsxd r14, eax
test eax, eax
jne 0x140157753
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1401576e9
mov rcx, r14
call fcn.140150378
mov rdi, rax
test rax, rax
jne 0x14015776c
xor ecx, ecx
call fcn.14014f81c
jmp 0x140157748
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140152740
test eax, eax
jne 0x14015779d
mov rcx, rdi
call fcn.14014f81c
jmp 0x1401577a7
xor ecx, ecx
call fcn.14014f81c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1401577d0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140157857
mov rsi, rbx
cmp word [rax], bp
je 0x140157816
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140157800
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1401577fc
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140150378
mov rdi, rax
test rax, rax
je 0x140157844
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14012aeb0
mov rbp, rdi
xor ecx, ecx
call fcn.14014f81c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1402c7e70
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1402c7e7d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1402c7e8d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1402c7e75
lea eax, [rcx + 1]
jmp 0x1402c7e9b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1402c7eae
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1402c7e94
sub eax, 3
jb 0x1402c7ece
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1402c7f1d
sar eax, 1
movsxd rbp, eax
jb 0x1402c7f04
jmp 0x1402c7edc
add ebx, ebx
jne 0x1402c7eda
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1402c7f04
inc ecx
add ebx, ebx
jne 0x1402c7eea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1402c7f04
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1402c7efd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1402c7eec
add ecx, 2
jmp 0x1402c7f09
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1402c7e32
jmp 0x1402c7e7d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x5f400
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1402c7f6d
cmp rsi, rcx
jae 0x1402c7f75
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1402c7f54
cmp al, 0x8f
ja 0x1402c7f54
cmp byte [rsi - 2], 0xf
je 0x1402c7f5a
sub al, 0xe8
cmp al, 1
ja 0x1402c7f3e
cmp rsi, rcx
jae 0x1402c7f75
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1402c7f44
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1402c7f75
lodsb al, byte [rsi]
jmp 0x1402c7f54
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2c4000]
mov eax, dword [rdi]
or eax, eax
je 0x1402c7fd2
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2ea814]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1402c7f82
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1402c7fcc
mov qword [rbx], rax
add rbx, 8
jmp 0x1402c7fa2
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1402c8016
cmp al, 0xef
ja 0x1402c7ffe
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1402c7fde
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1402c7fed
mov eax, dword [rdi]
add rdi, 4
jmp 0x1402c7fed
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x23f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1402c806a
sub rsp, 0xffffffffffffff80
jmp 0x14005e03c
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x140006fe0]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x140006ff0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.140004570
jmp 0x14000123c
mov rax, qword [0x140006ff0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x140006ff0]
mov dword [rax], 1
mov rax, qword [0x140007030]
mov rdx, rax
mov rax, qword [0x140007020]
mov rcx, rax
call sub.ucrtbase.dll__initterm
jmp 0x14000123c
mov dword [0x14000b024], 1
mov rax, qword [0x140006ff0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x140007010]
mov rdx, rax
mov rax, qword [0x140007000]
mov rcx, rax
call sub.ucrtbase.dll__initterm
mov rax, qword [0x140006ff0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x140006fe0]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x140006f30]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x140006f30]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.1400035f8
mov rax, qword [0x140007070]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x140006fd0]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.ucrtbase.dll__set_invalid_parameter_handler
call fcn.140002df0
mov eax, dword [0x14000b004]
lea rdx, [0x14000b008]
mov ecx, eax
call fcn.14000147c
call fcn.140002b87
mov rax, qword [0x140006f60]
mov rax, qword [rax]
mov rdx, qword [0x14000b010]
mov qword [rax], rdx
mov rcx, qword [0x14000b010]
mov rdx, qword [0x14000b008]
mov eax, dword [0x14000b004]
mov r8, rcx
mov ecx, eax
call fcn.140002990
mov dword [0x14000b01c], eax
mov eax, dword [0x14000b020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14000b01c]
mov ecx, eax
call sub.ucrtbase.dll_exit
mov eax, dword [0x14000b024]
test eax, eax
jne 0x14000136c
call sub.ucrtbase.dll__cexit
mov eax, dword [0x14000b01c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140006f90]
mov dword [rax], 1
mov rax, qword [0x140006fa0]
mov dword [rax], 1
mov rax, qword [0x140006fb0]
mov dword [rax], 1
mov rax, qword [0x140006f50]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140002030
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x158
xor edx, edx
mov rsi, rcx
mov ecx, 2
lea rdi, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdx, rdi
lea rbp, [rsp + 0x4c]
mov rcx, rax
mov rbx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x14000207b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14000209d
mov rdx, rdi
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x14000206e
mov rdx, rsi
mov rcx, rbp
call sub.ucrtbase.dll_strcmp
test eax, eax
jne 0x14000207b
mov eax, dword [rsp + 0x28]
add rsp, 0x158
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x1400020a9
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x268
xor eax, eax
mov rsi, rcx
lea rdi, [rsp + 0x28]
mov ecx, 0x8e
rep stosd dword [rdi], eax
mov ecx, 8
lea rdi, [rsp + 0x28]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
test rax, rax
mov rbx, rax
je 0x14000212d
mov rdx, rdi
mov rcx, rax
lea rbp, [rsp + 0x58]
mov dword [rsp + 0x28], 0x238
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x140002124
mov rdx, rsi
mov rcx, rbp
call sub.ucrtbase.dll_strcmp
test eax, eax
jne 0x140002117
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x40]
jmp 0x14000212f
mov rdx, rdi
mov rcx, rbx
call sub.KERNEL32.dll_Module32Next
jmp 0x1400020f4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x268
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x14000213b
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
lea rax, [rsp + 0x3c]
mov rsi, r8
mov rbx, rcx
mov rdi, rdx
mov rbp, r9
mov rdx, rcx
mov qword [rsp + 0x20], rax
mov rcx, qword [0x14000b0e8]
mov r9d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], rbp
mov r9, rsi
mov r8, rdi
mov rcx, qword [0x14000b0e8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x140002e00
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.ucrtbase.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.ucrtbase.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.ucrtbase.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.140004300
call sub.ucrtbase.dll_abort
nop

Function at 0x140003ad2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14000b1a8]
test eax, eax
je 0x140003b6a
lea rax, [0x14000b180]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14000b1b0]
mov qword [rbp - 8], rax
jmp 0x140003b4e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140003b42
cmp qword [rbp - 0x10], 0
je 0x140003b42
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140003b08
lea rax, [0x14000b180]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140003b6b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140003c70
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140003c98
mov eax, 0
jmp 0x140003ce6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140003cc1
mov eax, 0
jmp 0x140003ce6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140003ce1
mov eax, 0
jmp 0x140003ce6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140003cec
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x140003d6a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140003d61
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140003d61
mov rax, qword [rbp - 8]
jmp 0x140003d7f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140003d34
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x1400fa490]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1400fa4a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.1400dc500
jmp 0x14000123c
mov rax, qword [0x1400fa4a0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400fa4a0]
mov dword [rax], 1
mov rax, qword [0x1400fa4e0]
mov rdx, rax
mov rax, qword [0x1400fa4d0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x1400fe024], 1
mov rax, qword [0x1400fa4a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1400fa4c0]
mov rdx, rax
mov rax, qword [0x1400fa4b0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x1400fa4a0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x1400fa490]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x1400fa3e0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x1400fa3e0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.1400db788
mov rax, qword [0x1400fa520]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x1400fa480]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.1400daf80
mov eax, dword [0x1400fe004]
lea rdx, [0x1400fe008]
mov ecx, eax
call fcn.14000147c
call fcn.1400dad17
mov rax, qword [0x1400fa410]
mov rax, qword [rax]
mov rdx, qword [0x1400fe010]
mov qword [rax], rdx
mov rcx, qword [0x1400fe010]
mov rdx, qword [0x1400fe008]
mov eax, dword [0x1400fe004]
mov r8, rcx
mov ecx, eax
call fcn.1400016d0
mov dword [0x1400fe01c], eax
mov eax, dword [0x1400fe020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x1400fe01c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x1400fe024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x1400fe01c]
add rsp, 0x70
pop rbp
ret
Function at 0x1400daf90
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.1400dc2f0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x1400dbc62
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400fe168]
test eax, eax
je 0x1400dbcfa
lea rax, [0x1400fe140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400fe170]
mov qword [rbp - 8], rax
jmp 0x1400dbcde
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1400dbcd2
cmp qword [rbp - 0x10], 0
je 0x1400dbcd2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400dbc98
lea rax, [0x1400fe140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400dbcfb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400dbe00
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400dbe28
mov eax, 0
jmp 0x1400dbe76
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400dbe51
mov eax, 0
jmp 0x1400dbe76
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1400dbe71
mov eax, 0
jmp 0x1400dbe76
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1400dbe7c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400dbefa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400dbef1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400dbef1
mov rax, qword [rbp - 8]
jmp 0x1400dbf0f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400dbec4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140002e10
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14005e1d8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbp, rcx
lea rdx, [rsp + 0x28]
mov rcx, r8
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rsi, rax
test rax, rax
je 0x140002e98
xor ebx, ebx
cmp dword [rsp + 0x28], ebx
jle 0x140002e98
mov rdi, rax
nop word [rax + rax]
mov r8d, 0xe
mov rdx, qword [rdi]
lea rcx, str.__cef_dll_path
call fcn.1400388c4
test eax, eax
je 0x140002e87
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x28]
jl 0x140002e60
jmp 0x140002e98
movsxd rax, ebx
mov rcx, qword [rsi + rax*8]
add rcx, 0x1e
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov qword [rsp + 0x30], rbp
mov ecx, 0x58
call fcn.140033c60
mov rdi, rax
lea rax, [0x140053c20]
mov qword [rdi + 8], rax
lea rax, [0x140053bd8]
mov qword [rdi + 0x18], rax
lea rax, vtable.CefApp.0
mov qword [rdi], rax
lea rax, vtable.CefApp.1.0
mov qword [rdi + 0x50], rax
lea rax, vtable.CefBrowserProcessHandler.1.0
mov qword [rdi + 0x10], rax
mov rax, qword [rdi + 0x18]
movsxd rcx, dword [rax + 4]
lea rax, vtable.CefBrowserProcessHandler.0
mov qword [rcx + rdi + 0x18], rax
lea rax, vtable.adobe::nglworkflow::NGLCefApp.2.0
mov qword [rdi], rax
lea rax, vtable.adobe::nglworkflow::NGLCefApp.1.0
mov qword [rdi + 0x10], rax
mov rax, qword [rdi + 8]
movsxd rcx, dword [rax + 4]
lea rax, vtable.adobe::nglworkflow::NGLCefApp.0
mov qword [rcx + rdi + 8], rax
mov rax, qword [rdi + 8]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x48]
mov dword [rcx + rdi + 4], edx
mov dword [rdi + 0x20], 0
mov qword [rdi + 0x28], 0
mov qword [rdi + 0x38], 0
mov qword [rdi + 0x40], 0xf
mov rax, qword [rdi + 8]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rdi
mov rax, qword [rcx]
call qword [rax]
mov qword [rsp + 0x20], rdi
mov rax, qword [rdi + 8]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rdi
mov rax, qword [rcx]
call qword [rax]
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1400062d0
mov ebx, eax
mov rcx, qword [rdi + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rdi + 8]
add rcx, rdx
mov rdx, qword [rcx]
call qword [rdx + 8]
nop
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140033c40
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret