joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400095c0
Capabilities:
Encrypt data using curve25519
Generate random numbers via winapi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x120
mov rsi, rcx
lea rcx, [rsp + 0x50]
mov r9d, 1
mov rdi, rdx
mov dword [rsp + 0x20], 0xf0000000
xor edx, edx
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x140009614
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x30]
mov edx, 0x20
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.14000bb90
lea rdx, [rsp + 0x30]
mov r8d, 0x20
mov rcx, rbx
call fcn.14000c8f0
test al, al
je 0x140009645
lea rcx, [rsp + 0x50]
mov rdx, rdi
call fcn.14000cad0
and byte [rdi], 0xf8
lea rbx, [rsp + 0x50]
mov rdx, rdi
movzx eax, byte [rdi + 0x1f]
mov rcx, rbx
and al, 0x3f
or al, 0x40
mov byte [rdi + 0x1f], al
call fcn.140008940
mov rcx, rsi
mov rdx, rbx
call fcn.1400088c0
nop
add rsp, 0x120
pop rbx
pop rdi
pop rsi
ret
Function at 0x14000da8c
Capabilities:
Parse pe header

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

Function at 0x14001331c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001338b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001338b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001338b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001338b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001338b
cmp dword [rcx + 0x84], 0xe
jbe 0x14001338b
cmp dword [rcx + 0xf8], 0
je 0x14001338b
mov ecx, ebx
call fcn.140013430
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140013224
nop
cmp dword [rbp + 0x20], 0
jne 0x1400133ec
call fcn.140017978
cmp eax, 1
jne 0x1400133dc
xor dl, dl
jmp 0x1400133e6
call fcn.140017944
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x1400133f7
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140013400
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14001331c

Function at 0x140013504
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001331c
Function at 0x140019450
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 0x140019480
xor eax, eax
jmp 0x140019543
mov rbp, rbx
cmp word [rax], si
je 0x1400194a5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001948c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140019488
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.140019370
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x1400194e6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140019479
call fcn.140015e20
mov rdi, rax
test rax, rax
jne 0x1400194fc
xor ecx, ecx
call fcn.1400153e0
jmp 0x1400194db
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.140019370
test eax, eax
jne 0x14001952d
mov rcx, rdi
call fcn.1400153e0
jmp 0x140019537
xor ecx, ecx
call fcn.1400153e0
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 0x14001aafc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001ab12
mov al, 1
jmp 0x14001ab7e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001ab23
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001ab7c
mov ecx, dword [rcx + 0x18]
nop
call fcn.14001a124
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001ab7c
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov r9d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001ab7c
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001ab7c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001ab7e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14001e55c
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.140018428
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001e5e6
cmp byte [rbp - 0x21], r15b
je 0x14001e5e1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14001e61c
call fcn.140015680
test eax, eax
jne 0x14001e608
cmp byte [rbp - 0x21], r15b
je 0x14001e600
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14001e61c
cmp byte [rbp - 0x21], r15b
je 0x14001e619
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.1400179bc
test eax, eax
jne 0x14001e6bc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140018428
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001e65b
cmp byte [rbp - 0x21], r15b
je 0x14001e690
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14001e690
call fcn.140015680
test eax, eax
jne 0x14001e67c
cmp byte [rbp - 0x21], r15b
je 0x14001e675
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14001e690
cmp byte [rbp - 0x21], r15b
je 0x14001e68d
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.1400179bc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14001e6bc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001e6bf
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001e6cd
mov rcx, rdi
call fcn.1400153e0
cmp byte [rbp + 0x3f], r15b
je 0x14001e6dc
mov rcx, qword [rbp + 0x27]
call fcn.1400153e0
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 0x140020b90
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140020bb8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140020bb8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140005208
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov edi, edx
mov rsi, rcx
mov rax, qword [0x1401e5d38]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor ebx, ebx
xor edx, edx
call fcn.140002dec
mov dword [rsi + 0x120], ebx
mov dword [rsi + 0x124], edi
movaps xmm0, xmmword [section..rdata]
lea rdi, [rsp + 0x20]
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rdi + 4]
mov ecx, dword [rdi + 0x28]
cmp eax, ecx
cmova ecx, eax
mov qword [rsi + 0x128], rcx
mov qword [rsi + 0x130], 0x20
mov qword [rsi + 0x138], 0x40
mov dword [rsi + 0x140], ebx
lea rax, [rsi + 8]
mov qword [rsi + 8], 0
xor rax, 0xffffffffb37cc16a
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rsi
mov dword [rsi + 0x28], ebx
lea rcx, [rsi + 0x30]
mov r8d, 0xf0
xor edx, edx
call fcn.140157190
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140154030
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret

Function at 0x140005ce0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rsi
rdtsc
mov r11, qword [0x1401e3080]
mov rcx, qword [0x1401e3090]
mov r9, qword [0x1401e3098]
mov r8, qword [0x1401e30a0]
mov r10, qword [0x1401e30a8]
mov rsi, qword [0x1401e3080]
test r11b, 1
jne 0x140005d37
cmp r11, rsi
jne 0x140005d37
shl rdx, 0x20
or rdx, rax
sub rdx, r9
cmp rdx, r10
jae 0x140005d37
imul rdx, r8
shr rdx, 0x1e
add rdx, rcx
mov rax, rdx
pop rsi
ret
pop rsi
jmp fcn.14018df4e
Function at 0x14000cee4
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14000cf28
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call fcn.14000cf40
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14000cf18
mov qword [rdi], rsi
call fcn.14003ba10
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400120f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x140012222
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x1401e5d38]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp byte [rcx + 0x5e], 0
je 0x14001226f
movzx edi, word [rsi + 0x5c]
test bl, bl
je 0x1400123a7
mov word [rsi + 0x5c], 0xffff
mov byte [rsi + 0x5e], 0
jmp 0x1400123a7
movabs rdi, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], rdi
mov eax, dword [rsi + 0x58]
cmp eax, 2
mov r14d, 1
cmovge r14d, eax
xor r15d, r15d
mov rcx, qword [rsi + 0x40]
call fcn.140173324
cmp eax, 0xffffffff
je 0x1400123a3
mov byte [rsp + r15 + 0x60], al
inc r15
cmp r14, r15
jne 0x140012291
mov word [rsp + 0x5e], 0xaaaa
cmp byte [rsi + 0x5f], 0
je 0x140012305
movsx eax, byte [rsp + 0x60]
mov word [rsp + 0x5e], ax
test bl, bl
je 0x1400122d9
movzx edi, word [rsp + 0x5e]
mov word [rsi + 0x5c], di
jmp 0x1400123a7
mov edi, r14d
test rdi, rdi
jle 0x1400123cf
mov rdx, qword [rsi + 0x40]
dec rdi
mov eax, edi
movsx eax, byte [rsp + rax + 0x60]
movzx ecx, ax
call fcn.140179da4
cmp eax, 0xffffffff
jne 0x1400122dc
jmp 0x1400123a3
lea r15, [rsp + 0x50]
mov qword [r15], rdi
lea r12, [rsp + 0x48]
mov qword [r12], rdi
lea rbp, [rsp + 0x5e]
lea rdi, [rsp + 0x60]
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r13d, dword [rdx]
movss xmm6, dword [rdx + 4]
lea r9, [rsp + r14]
add r9, 0x60
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], r15
mov r8, rdi
call qword [0x1401ff008]
cmp eax, 1
jne 0x140012390
mov rax, qword [rsi + 0x50]
mov dword [rax], r13d
movss dword [rax + 4], xmm6
cmp r14, 8
je 0x1400123a3
mov rcx, qword [rsi + 0x40]
call fcn.140173324
cmp eax, 0xffffffff
je 0x1400123a3
mov byte [rsp + r14 + 0x60], al
inc r14
jmp 0x140012320
cmp eax, 2
je 0x1400123a3
cmp eax, 3
je 0x1400122bd
jmp 0x1400122c7
mov di, 0xffff
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140154030
mov eax, edi
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx edi, word [rsp + 0x5e]
jmp 0x1400123a7
Function at 0x14001319c
Capabilities:
Encode data using base64

Disassembly:
mov rax, qword [rcx]
mov r8, qword [rcx + 8]
sub r8, rax
sar r8, 3
cmp r8, rdx
jae 0x1400131b7
sub rdx, r8
jmp 0x14002b5b8
jbe 0x1400131c2
lea rdx, [rax + rdx*8]
jmp fcn.14002b46c
ret
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
mov rcx, rax
sub rcx, r14
sar rcx, 3
cmp rcx, rdx
jae 0x14002b658
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
mov rcx, qword [rsi]
sub r14, rcx
sar r14, 3
lea rdx, [r14 + rdi]
mov r8, rdx
shr r8, 0x3d
jne 0x14002b6e0
sub rax, rcx
mov r8, rax
sar r8, 2
cmp r8, rdx
cmovbe r8, rdx
lea rcx, [rsi + 0x18]
movabs rdx, 0x7ffffffffffffff8
cmp rax, rdx
movabs rbx, 0x1fffffffffffffff
cmovb rbx, r8
mov qword [rbp - 0x10], rcx
test rbx, rbx
je 0x14002b66d
mov rdx, rbx
xor r8d, r8d
call fcn.14002b3a0
jmp 0x14002b66f
mov rcx, rsi
mov rdx, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.14002b2f6
xor eax, eax
lea rcx, [rbp - 0x30]
mov qword [rcx], rax
lea rdx, [rax + r14*8]
mov qword [rcx + 0x10], rdx
mov qword [rcx + 8], rdx
lea rax, [rax + rbx*8]
mov qword [rcx + 0x18], rax
mov rdx, rdi
call fcn.14002b712
lea rdi, [rbp - 0x30]
mov rbx, qword [rdi + 8]
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
sub r8, rdx
sub rbx, r8
mov rcx, rbx
call fcn.140156ae0
mov rax, qword [rsi]
mov qword [rsi], rbx
mov qword [rdi + 8], rax
movaps xmm0, xmmword [rdi + 0x10]
movups xmm1, xmmword [rsi + 8]
movups xmmword [rsi + 8], xmm0
movaps xmmword [rdi + 0x10], xmm1
mov qword [rdi], rax
mov rcx, rdi
call fcn.14002b7aa
nop
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov rcx, rsi
call fcn.14002b38e
int3

Function at 0x140017c30
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x140017c67
movabs rcx, 0xf000000000000000
shl rax, 4
movsx r9, byte [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
inc rdx
cmp rdx, r8
jne 0x140017c41
ret

Function at 0x140017cd0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x140017d08
movabs rcx, 0xf000000000000000
shl rax, 4
movzx r9d, word [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
add rdx, 2
cmp rdx, r8
jne 0x140017ce1
ret
Function at 0x140027818
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rbx, r9
mov rsi, r8
mov rdi, rdx
mov r14, rcx
call fcn.14002c48a
mov ebp, eax
test rdi, rdi
je 0x14002784d
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
je 0x140027862
movzx eax, word [rax]
jmp 0x140027872
xor r15d, r15d
mov eax, 6
test bpl, bpl
jne 0x1400278fc
xor edi, edi
jmp 0x14002788a
mov rax, qword [rdi]
mov rax, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1401ff008]
xor r15d, r15d
cmp ax, 0xffff
sete cl
cmove rdi, r15
mov eax, 6
cmp bpl, cl
je 0x1400278fc
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x14002789c
movzx ebp, word [rax]
jmp 0x1400278ab
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x1401ff008]
mov ebp, eax
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov dx, 4
mov r8d, ebp
call qword [0x1401ff008]
test al, al
je 0x1400278f4
mov rax, qword [rbx]
mov rax, qword [rax + 0x68]
mov rcx, rbx
mov edx, ebp
xor r8d, r8d
call qword [0x1401ff008]
mov ebp, eax
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x140027910
add rax, 2
mov qword [rcx + 0x18], rax
jmp 0x14002791d
xor r15d, r15d
mov eax, 4
or dword [rsi], eax
mov eax, r15d
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [0x1401ff008]
mov r12d, dword [rsp + 0x80]
movsx r15d, bpl
mov rcx, r14
call fcn.14002c48a
mov ebp, eax
test rdi, rdi
je 0x140027947
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
je 0x14002794b
movzx eax, word [rax]
jmp 0x14002795b
mov al, 1
jmp 0x140027964
mov rax, qword [rdi]
mov rax, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1401ff008]
cmp ax, 0xffff
sete al
jne 0x140027966
xor edi, edi
add r15d, 0xffffffd0
cmp bpl, al
je 0x140027a0c
cmp r12d, 2
jl 0x140027a0c
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x14002798f
movzx ebp, word [rax]
jmp 0x14002799e
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x1401ff008]
mov ebp, eax
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov dx, 4
mov r8d, ebp
call qword [0x1401ff008]
test al, al
je 0x1400278fe
mov rax, qword [rbx]
mov rax, qword [rax + 0x68]
mov rcx, rbx
mov edx, ebp
xor r8d, r8d
call qword [0x1401ff008]
mov ebp, eax
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x1400279eb
add rax, 2
mov qword [rcx + 0x18], rax
jmp 0x1400279f8
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [0x1401ff008]
lea eax, [r15 + r15*4]
movsx ecx, bpl
lea r15d, [rcx + rax*2]
dec r12d
jmp 0x140027929
mov rcx, r14
call fcn.14002c48a
mov ebx, eax
test rdi, rdi
je 0x140027a2a
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
je 0x140027a3c
movzx eax, word [rax]
jmp 0x140027a4c
mov eax, 2
test bl, bl
jne 0x1400278fc
jmp 0x1400278fe
mov rax, qword [rdi]
mov rax, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1401ff008]
cmp ax, 0xffff
sete al
xor bl, al
mov eax, 2
je 0x1400278fc
jmp 0x1400278fe
Function at 0x140032020
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1401e5d38]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, qword [0x1401eb260]
test rbx, rbx
jne 0x140032123
mov ecx, pe_nt_image_headers64
call fcn.140153c88
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.140153c88
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
movups xmmword [rsi + 0x30], xmm6
mov qword [rsi + 0x40], 0
lea rax, [rsi + 0x50]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x48], rax
mov qword [rsi + 0x60], 1
mov dword [rsi + 0x68], 0
mov qword [rsi + 0x70], 0
mov qword [0x1401eb260], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1400320dc
mov rcx, rax
call fcn.140178b34
mov qword [rsp + 0x28], rax
jmp 0x140032116
mov qword [rsp + 0x28], 0
lea rdx, str....._base_strings_string_piece.h
lea r9, [0x1401915c0]
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x7d
call fcn.140030ec0
mov rcx, rdi
call fcn.140031080
mov rcx, rdi
call fcn.140031090
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140032150
test rbx, rbx
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140154030
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x140032150
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1401e5d38]
xor rax, rsp
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov r8d, 3
call fcn.14005a4a0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x1400322ec
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x3c], 0
lea rcx, [0x140196184]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x1400321f7
lea rdx, [0x1401961d4]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003220a
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [0x1401ff008]
jmp 0x140032205
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
jmp 0x14003220c
xor ebx, ebx
movsxd r12, dword [rsp + 0x3c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x30], 0
test r12, r12
je 0x14003227e
shl r12, 3
movabs rax, 0x5555555555555551
cmp r12, rax
jae 0x14003230c
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.140153c88
mov r14, rax
mov qword [rsp + 0x20], rax
add rax, r15
mov qword [rsp + 0x30], rax
xor r15d, r15d
nop dword [rax]
mov rdx, qword [rbx + r15]
mov rcx, r14
call fcn.140001ad8
add r14, 0x18
add r15, 8
cmp r12, r15
jne 0x140032260
mov qword [rsp + 0x28], r14
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140031910
movups xmmword [rsi], xmm6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x1400322a5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x20]
test rsi, rsi
je 0x1400322ec
mov rax, qword [rsp + 0x28]
mov rcx, rsi
cmp rax, rsi
jne 0x1400322c8
jmp 0x1400322e2
mov rax, rdi
cmp rdi, rsi
je 0x1400322dd
lea rdi, [rax - 0x18]
test byte [rax - 0x18], 1
je 0x1400322c0
mov rcx, qword [rax - 8]
call fcn.140153cd8
jmp 0x1400322c0
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x28], rsi
call fcn.140153cd8
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140154030
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.14016c718
int3