joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a370
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140017060]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x14000a3b0
mov eax, 0xff
jmp 0x14000a55b
mov r8d, dword [rsp + 0x3c]
and r8d, 0x7fff
mov r9d, dword [rsp + 0x40]
cmp r9d, 2
je 0x14000a3cc
bts r8d, 0xf
mov edx, dword [rsp + 0x34]
mov ecx, edx
shl ecx, 8
mov eax, dword [rsp + 0x38]
add ecx, eax
mov dword [0x140018cc8], r9d
mov dword [0x140018cd0], ecx
mov dword [0x140018cd4], edx
mov dword [0x140018cd8], eax
mov dword [0x140018ccc], r8d
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14000a443
movsxd rax, dword [0x14000003c]
lea rcx, [0x140000000]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x14000a443
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x14000a443
xor ebx, ebx
cmp dword [rax + 0x84], 0xe
jbe 0x14000a445
cmp dword [rax + 0xf8], ebx
setne bl
jmp 0x14000a445
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov edi, 1
mov ecx, edi
call fcn.14000c07c
test eax, eax
jne 0x14000a47b
cmp dword [0x14001871c], 2
je 0x14000a467
call fcn.14000be60
mov ecx, 0x1c
call fcn.14000beac
mov ecx, 0xff
call fcn.14000bab0
call fcn.14000b990
test eax, eax
jne 0x14000a4a7
cmp dword [0x14001871c], 2
je 0x14000a492
call fcn.14000be60
mov ecx, 0x10
call fcn.14000beac
mov ecx, 0xff
call fcn.14000bab0
nop
call fcn.14000c0f0
test eax, eax
jns 0x14000a4ba
mov ecx, 0x1b
call fcn.14000bacc
call sub.KERNEL32.dll_GetCommandLineW
mov qword [0x14001a8d0], rax
call fcn.14000c890
mov qword [0x140018720], rax
call fcn.14000c38c
test eax, eax
jns 0x14000a4e5
mov ecx, 8
call fcn.14000bacc
call fcn.14000c66c
test eax, eax
jns 0x14000a4f8
mov ecx, 9
call fcn.14000bacc
mov ecx, edi
call fcn.14000bb2c
test eax, eax
je 0x14000a50a
mov ecx, eax
call fcn.14000bacc
mov r8, qword [0x140018cb8]
mov qword [0x140018ce8], r8
mov rdx, qword [0x140018cb0]
mov ecx, dword [0x140018cac]
call fcn.140006490
mov edi, eax
mov dword [rsp + 0x24], eax
test ebx, ebx
jne 0x14000a53b
mov ecx, eax
call fcn.14000be50
call fcn.14000bb18
jmp 0x14000a559
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14000a5c0
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
sub rsp, 0x28
call fcn.140193000
add rsp, 0x28
jmp 0x14000a370

Function at 0x14000b06c
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x14000ba44
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14000bcc0
Function at 0x421d00
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x421d0d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x421d1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x421d05
lea eax, [rcx + 1]
jmp 0x421d2b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x421d3e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x421d24
sub eax, 3
jb 0x421d5e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x421dad
sar eax, 1
movsxd rbp, eax
jb 0x421d94
jmp 0x421d6c
add ebx, ebx
jne 0x421d6a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x421d94
inc ecx
add ebx, ebx
jne 0x421d7a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x421d94
call r11
adc ecx, ecx
add ebx, ebx
jne 0x421d8d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x421d7c
add ecx, 2
jmp 0x421d99
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00421cc2
jmp 0x421d0d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1f000]
mov eax, dword [rdi]
or eax, eax
je 0x421e09
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x33068]
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 0x421db9
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 0x421e03
mov qword [rbx], rax
add rbx, 8
jmp 0x421dd9
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
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 + 0x1af]
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 0x421e61
sub rsp, 0xffffffffffffff80
jmp 0x405000
Function at 0x140002110
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov dword [rsp + 0x20], 4
mov rbx, r8
mov rcx, rdi
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x14000228f
mov r9, 0xffffffffffffffff
nop word [rax + rax]
inc r9
cmp byte [rbx + r9], 0
jne 0x140002170
lea rax, [rbp - 1]
mov r8, rbx
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14000228f
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor edx, edx
mov r9d, 0x3000
mov qword [rbp + 0x1f], rax
mov r8d, 0x1000
mov dword [rbp + 0xf], 0x28ec8348
mov rcx, rdi
mov word [rbp + 0x13], 0xb948
mov word [rbp + 0x1d], 0xb848
mov dword [rbp + 0x27], 0x8348d0ff
mov dword [rbp + 0x2b], 0x894828c4
mov dword [rbp + 0x2f], 0x105
mov word [rbp + 0x33], 0xc300
mov qword [rbp + 0x15], rsi
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
je 0x14000228f
lea rax, [rbp - 1]
mov r9d, 0x26
lea r8, [rbp + 0xf]
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14000228f
xor esi, esi
lea rax, [rbp - 9]
mov qword [rsp + 0x30], rax
mov r9, rbx
mov dword [rsp + 0x28], esi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, rdi
mov dword [rbp - 9], esi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
cmp rax, 0xffffffffffffffff
je 0x14000228f
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rax, [rbp - 1]
mov qword [rbp + 7], rsi
lea rdx, [rbx + 0x26]
mov qword [rsp + 0x20], rax
mov r9d, 8
lea r8, [rbp + 7]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000228f
mov rax, qword [rbp + 7]
jmp 0x140002291
xor eax, eax
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400034b0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400033fc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140003436
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000343b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140003484
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140005390]
cmp byte [rcx + rax], 0
je 0x140003484
dec r8
sub rdx, 1
jne 0x14000346a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140004158
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400041a2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400041a2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400041a2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400041a2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400041a2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400041a4
xor al, al
add rsp, 0x28
ret
Function at 0x2fc5e22e0
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 sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc5e2ce2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc604108]
test eax, eax
je 0x2fc5e2d7a
lea rax, [0x2fc6040e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc604110]
mov qword [rbp - 8], rax
jmp 0x2fc5e2d5e
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 0x2fc5e2d52
cmp qword [rbp - 0x10], 0
je 0x2fc5e2d52
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 0x2fc5e2d18
lea rax, [0x2fc6040e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc5e2d7b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc5e2e80
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 0x2fc5e2ea8
mov eax, 0
jmp 0x2fc5e2ef6
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 0x2fc5e2ed1
mov eax, 0
jmp 0x2fc5e2ef6
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 0x2fc5e2ef1
mov eax, 0
jmp 0x2fc5e2ef6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc5e2efc
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 0x2fc5e2f7a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc5e2f71
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 0x2fc5e2f71
mov rax, qword [rbp - 8]
jmp 0x2fc5e2f8f
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 0x2fc5e2f44
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0xdb3730
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xdb373d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xdb374d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xdb3735
lea eax, [rcx + 1]
jmp 0xdb375b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xdb376e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xdb3754
sub eax, 3
jb 0xdb378e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xdb37dd
sar eax, 1
movsxd rbp, eax
jb 0xdb37c4
jmp 0xdb379c
add ebx, ebx
jne 0xdb379a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xdb37c4
inc ecx
add ebx, ebx
jne 0xdb37aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xdb37c4
call r11
adc ecx, ecx
add ebx, ebx
jne 0xdb37bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xdb37ac
add ecx, 2
jmp 0xdb37c9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00db36f2
jmp 0xdb373d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x47bc00
mov dl, 0x95
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xdb3829
cmp rsi, rcx
jae 0xdb3831
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xdb3810
cmp al, 0x8f
ja 0xdb3810
cmp byte [rsi - 2], 0xf
je 0xdb3816
sub al, 0xe8
cmp al, 1
ja 0xdb37fa
cmp rsi, rcx
jae 0xdb3831
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xdb3800
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xdb3831
lodsb al, byte [rsi]
jmp 0xdb3810
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x9a8000]
mov eax, dword [rdi]
or eax, eax
je 0xdb388e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x9b3000]
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 0xdb383e
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 0xdb3888
mov qword [rbx], rax
add rbx, 8
jmp 0xdb385e
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 0xdb38d2
cmp al, 0xef
ja 0xdb38ba
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xdb389a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xdb38a9
mov eax, dword [rdi]
add rdi, 4
jmp 0xdb38a9
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 + 0x1af]
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 0xdb3926
sub rsp, 0xffffffffffffff80
jmp 0x4657c0
Function at 0x100001400
Capabilities:
Terminate process

Disassembly:
mov word [rbx], di
add rbx, 2
cmp word [rbx], di
je 0x100001683
lea rdx, str._ProcessID
lea rcx, [rsp + 0x90]
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, edi
jne 0x100001683
lea rax, [rsp + 0x30]
mov edx, 0x29
lea rcx, [rsp + 0x30]
sub rbx, rax
mov r8d, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea rax, [rdx + 0x7fffffd5]
cmp rax, rdi
je 0x100001072
movzx eax, word [rbx + rcx]
cmp ax, di
je 0x100001072
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x100001050
cmp rdx, rdi
je 0x100001690
cmp r8d, edi
mov word [rcx], di
jl 0x1000010c8
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ole32.dll_CLSIDFromString]
cmp eax, edi
jl 0x1000010c8
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, edi
jl 0x1000010c8
lea rcx, [rsp + 0x20]
xor edx, edx
call 0x100173000
call qword [sym.imp.ole32.dll_CoUninitialize]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.100001650
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x2b0
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x2b0
mov rax, qword [0x100003018]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
xor r9d, r9d
mov rbx, r8
xor ecx, ecx
lea edx, [r9 + 1]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_HeapSetInformation]
xor edi, edi
lea rax, [rsp + 0x90]
mov r11d, 0x105
lea rcx, [rsp + 0x90]
mov edx, edi
sub rbx, rax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea rax, [r11 + 0x7ffffef9]
cmp rax, rdi
je 0x100001482
movzx eax, word [rbx + rcx]
cmp ax, di
je 0x100001482
mov word [rcx], ax
add rcx, 2
sub r11, 1
jne 0x100001460
cmp r11, rdi
je 0x100001670
cmp edx, edi
mov word [rcx], di
jl 0x1000010c8
lea rbx, [rsp + 0x90]
cmp word [rsp + 0x90], di
je 0x100001683
cmp word [rbx], 0x3a
je section..text
add rbx, 2
cmp word [rbx], di
jne 0x1000014ac
jmp 0x10000167e
sub rcx, 2
mov edx, 0x8007007a
jmp 0x10000148b
jmp 0x100001007
lea rbx, [rsp + 0x90]
jmp 0x10000102d
sub rcx, 2
mov r8d, 0x8007007a
jmp 0x10000107b
Function at 0x140001e74
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ebe
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ebe
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001ebe
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ebe
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ebe
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ec0
xor al, al
add rsp, 0x28
ret

Function at 0x140006a68
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140006864
Function at 0x1400097e8
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 0x140009818
xor eax, eax
jmp 0x1400098db
mov rbp, rbx
cmp word [rax], si
je 0x14000983d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140009824
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140009820
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.140009708
movsxd r14, eax
test eax, eax
jne 0x14000987b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140009811
mov rcx, r14
call fcn.140007b9c
mov rdi, rax
test rax, rax
jne 0x140009894
xor ecx, ecx
call fcn.140007d68
jmp 0x140009870
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.140009708
test eax, eax
jne 0x1400098c5
mov rcx, rdi
call fcn.140007d68
jmp 0x1400098cf
xor ecx, ecx
call fcn.140007d68
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 0x14000cc40
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400087d8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000ccca
cmp byte [rbp - 0x21], r15b
je 0x14000ccc5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000cd00
call fcn.14000adbc
test eax, eax
jne 0x14000ccec
cmp byte [rbp - 0x21], r15b
je 0x14000cce4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000cd00
cmp byte [rbp - 0x21], r15b
je 0x14000ccfd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140007db8
test eax, eax
jne 0x14000cda0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400087d8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000cd3f
cmp byte [rbp - 0x21], r15b
je 0x14000cd74
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000cd74
call fcn.14000adbc
test eax, eax
jne 0x14000cd60
cmp byte [rbp - 0x21], r15b
je 0x14000cd59
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000cd74
cmp byte [rbp - 0x21], r15b
je 0x14000cd71
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140007db8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000cda0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000cda3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000cdb1
mov rcx, rdi
call fcn.140007d68
cmp byte [rbp + 0x3f], r15b
je 0x14000cdc0
mov rcx, qword [rbp + 0x27]
call fcn.140007d68
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14000fc70
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000fc98
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000fc98
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400047c8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004812
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004812
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004812
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004812
cmp dword [rcx + 0x84], 0xe
jbe 0x140004812
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004814
xor al, al
add rsp, 0x28
ret