joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400036c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
xor ebp, ebp
mov rdi, rcx
cmp qword [rcx + 0x18], 8
mov dword [rsp + 0x40], ebp
jb 0x1400036e2
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140003776
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140003755
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140003750
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000381f
mov rcx, r8
call fcn.14000dbc8
mov al, 1
mov rsi, qword [rsp + 0x78]
mov word [rdi], bp
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbp
mov rbp, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x1400037bb
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x1400037b7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400037b2
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000381f
mov rcx, r8
call fcn.14000dbc8
xor al, al
jmp 0x140003757
lea r9, [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov r8d, 0x41200
mov qword [rsp + 0x20], rbp
lea rdx, [0x14004b040]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi + 0x18]
test bl, bl
mov rbx, qword [rsp + 0x68]
jne 0x140003808
cmp rax, 8
jb 0x1400037b7
lea rdx, [rax*2 + 2]
jmp 0x14000378e
cmp rax, 8
jb 0x140003755
lea rdx, [rax*2 + 2]
jmp 0x140003728
call fcn.14001788c
int3
Function at 0x140003830
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
xor ebp, ebp
mov rdi, rcx
cmp qword [rcx + 0x18], 8
mov dword [rsp + 0x40], ebp
jb 0x140003852
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x1400038e6
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x1400038c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400038c0
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000398f
mov rcx, r8
call fcn.14000dbc8
mov al, 1
mov rsi, qword [rsp + 0x78]
mov word [rdi], bp
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbp
mov rbp, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x14000392b
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140003927
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140003922
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000398f
mov rcx, r8
call fcn.14000dbc8
xor al, al
jmp 0x1400038c7
lea r9, [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov r8d, 0x2400
mov qword [rsp + 0x20], rbp
lea rdx, [0x140048c40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi + 0x18]
test bl, bl
mov rbx, qword [rsp + 0x68]
jne 0x140003978
cmp rax, 8
jb 0x140003927
lea rdx, [rax*2 + 2]
jmp 0x1400038fe
cmp rax, 8
jb 0x1400038c5
lea rdx, [rax*2 + 2]
jmp 0x140003898
call fcn.14001788c
int3
Function at 0x14000c630
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14000c65e
xor eax, eax
jmp 0x14000c744
cmp qword [rcx + 0x68], 0
je 0x14000c66f
call fcn.14000c760
jmp 0x14000c744
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000c686
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000c688
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000c6ba
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14000f7f0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14000c73e
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14000c6f1
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14000c71a
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140018598
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14000c73e
cmp rsi, rbx
ja 0x14000c6f8
test rsi, rsi
je 0x14000c73e
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140018598
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14000e5b4
Capabilities:
Parse pe header

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

Function at 0x14001d478
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001d268
Function at 0x1400257c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x1400257f2
call fcn.140019e68
mov dword [rax], 0x16
call fcn.14001786c
jmp 0x140025911
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140025911
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140025911
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140025821
lock or dword [rcx + 0x14], 0x10
jmp 0x140025911
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140025835
call fcn.140026e24
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.140022d94
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.1400265a0
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x1400258ff
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x1400258ca
mov rcx, rsi
call fcn.140022d94
cmp eax, edi
je 0x1400258b5
mov rcx, rsi
call fcn.140022d94
cmp eax, 0xfffffffe
je 0x1400258b5
mov rcx, rsi
call fcn.140022d94
movsxd rbx, eax
lea r14, [0x14008db40]
mov rcx, rsi
sar rbx, 6
call fcn.140022d94
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x1400258bc
lea rdx, [0x140048260]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400258ca
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x1400258ee
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x1400258ee
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x1400258ee
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x140025914
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x140025c3c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14000dfc0
sub rsp, rax
mov rax, qword [0x140048020]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140022d94
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140025c8b
mov rax, rbp
jmp 0x140025d93
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x8db40]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140026d78
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x8db40]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140025d8f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140025d8f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140026d78
test rax, rax
js 0x140025d8f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140025d8f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140025d81
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140025d81
cmp byte [rcx], 0xd
jne 0x140025d67
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140025d76
cmp byte [rcx + 1], 0xa
jne 0x140025d76
inc rcx
jmp 0x140025d76
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x48430]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140025d49
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140025d93
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14000d6f0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400260f4
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x14008db40]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x140026152
cmp word [rdx], r12w
jne 0x140026152
or byte [rax + r8*8 + 0x38], cl
jmp 0x140026158
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x1400262b3
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x14002628e
lea r9, [rcx + 2]
cmp ax, r13w
je 0x140026191
mov rcx, r9
jmp 0x1400261b4
cmp r9, rdx
jae 0x1400261cb
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x140026175
jmp 0x1400262b3
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140026288
cmp dword [rsp + 0x80], edi
je 0x140026288
mov rdx, r14
lea r11, [0x14008db40]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x140026261
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x140026234
mov word [rbx], r12w
jmp 0x1400262af
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x14002623d
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x1400262af
cmp word [rsp + 0x70], r12w
jne 0x14002626e
cmp rbx, rsi
je 0x14002622e
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.140026d80
cmp word [rsp + 0x70], r12w
je 0x1400262b3
mov word [rbx], r13w
jmp 0x1400262af
lea r11, [0x14008db40]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1400262ab
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1400262b3
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14002a10c
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 0x14002a13c
xor eax, eax
jmp 0x14002a1ff
mov rbp, rbx
cmp word [rax], si
je 0x14002a161
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14002a148
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14002a144
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.14002887c
movsxd r14, eax
test eax, eax
jne 0x14002a19f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14002a135
mov rcx, r14
call fcn.140021b1c
mov rdi, rax
test rax, rax
jne 0x14002a1b8
xor ecx, ecx
call fcn.140020d2c
jmp 0x14002a194
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.14002887c
test eax, eax
jne 0x14002a1e9
mov rcx, rdi
call fcn.140020d2c
jmp 0x14002a1f3
xor ecx, ecx
call fcn.140020d2c
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 0x140030abc
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.140019ee0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140030b46
cmp byte [rbp - 0x21], r15b
je 0x140030b41
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140030b7c
call fcn.140021030
test eax, eax
jne 0x140030b68
cmp byte [rbp - 0x21], r15b
je 0x140030b60
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140030b7c
cmp byte [rbp - 0x21], r15b
je 0x140030b79
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.14001ca20
test eax, eax
jne 0x140030c1c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140019ee0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140030bbb
cmp byte [rbp - 0x21], r15b
je 0x140030bf0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140030bf0
call fcn.140021030
test eax, eax
jne 0x140030bdc
cmp byte [rbp - 0x21], r15b
je 0x140030bd5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140030bf0
cmp byte [rbp - 0x21], r15b
je 0x140030bed
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.14001ca20
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140030c1c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140030c1f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140030c2d
mov rcx, rdi
call fcn.140020d2c
cmp byte [rbp + 0x3f], r15b
je 0x140030c3c
mov rcx, qword [rbp + 0x27]
call fcn.140020d2c
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 0x14000120c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
movsx ebp, r8w
mov rdi, rcx
mov word [rcx + 0x60], r15w
mov r14, rdx
lea ecx, [r15 + 0x10]
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x1400012d6
mov r9d, dword [0x14001d9b8]
lea ecx, [r15 + 0x50]
add r9d, 0x10
mov esi, r9d
mov dword [0x14001d9b8], r9d
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
test rax, rax
je 0x1400012d6
lea ecx, [rsi + 0x50]
mov dword [rbx], 0xa
mov dword [0x14001d9b8], ecx
mov r8, rbx
lea ecx, [r15 + 5]
mov qword [rbx + 8], rax
mov word [rbx + 4], cx
mov rdx, r14
mov ecx, ebp
mov qword [rdi + 0x1b8], rbx
call fcn.140005248
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov byte [rdi + 0x2c], al
mov rax, qword [rdi + 0x1b8]
movzx ecx, word [rax]
mov word [rdi + 0x62], cx
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov ebx, 0x7d5
xor edx, edx
mov r8d, ebx
xor r9d, r9d
xor ecx, ecx
call fcn.140007878
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3

Function at 0x140001980
Capabilities:
Terminate process

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, 0x20
movsx r14d, dx
mov rbp, r8
mov r9d, r14d
mov rsi, rcx
sub r9d, 7
je 0x1400019f7
sub r9d, 1
je 0x1400019f0
sub r9d, 2
je 0x1400019d6
sub r9d, 0x18
je 0x1400019cf
cmp r9d, 1
jne 0x140001abb
mov ebx, 0x1a8
jmp 0x1400019fc
mov ebx, 0x1b0
jmp 0x1400019fc
mov rcx, rbp
call qword [sym.imp.msvcrt.dll_atoi]
nop dword [rax + rax]
mov word [rsi + 0x2a], ax
mov ebx, 0x1a0
jmp 0x1400019fc
mov ebx, 0x198
jmp 0x1400019fc
mov ebx, 0x190
mov eax, r14d
cdq
and edx, 0x1f
add eax, edx
mov ecx, eax
and eax, 0x1f
sar ecx, 5
sub eax, edx
movsxd rcx, ecx
mov edx, dword [rsi + rcx*4]
bt edx, eax
jae 0x140001a61
movzx ecx, r14w
call fcn.140003610
mov r9, rax
xor edx, edx
xor ecx, ecx
mov r8d, 0x3ef
call fcn.140007878
mov rdi, qword [rbx + rsi]
test rdi, rdi
je 0x140001a61
mov rcx, qword [rdi]
test rcx, rcx
je 0x140001a52
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov ecx, 8
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
test rax, rax
jne 0x140001a9a
mov ebx, 0x7d5
xor edx, edx
mov r8d, ebx
xor r9d, r9d
xor ecx, ecx
call fcn.140007878
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
add dword [0x14001d9b8], 8
test rbp, rbp
je 0x140001ab3
mov rdx, rbp
mov rcx, rax
call fcn.140006670
jmp 0x140001ab7
and qword [rax], 0
mov qword [rbx + rsi], rax
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140001ae0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsx r10d, dx
mov r14, r9
mov r12, r8
mov r13, rcx
mov rbp, r8
sub r10d, 1
je 0x140001b3d
sub r10d, 1
je 0x140001b36
sub r10d, 1
je 0x140001b2f
cmp r10d, 0x45
jne 0x140001c39
mov esi, 0x188
jmp 0x140001b42
mov esi, 0x180
jmp 0x140001b42
mov esi, 0x178
jmp 0x140001b42
mov esi, 0x170
mov rbx, r14
xor r15d, r15d
sub rbx, r12
lea rax, [rbx - 2]
test rax, rax
je 0x140001bc2
or rdi, 0xffffffffffffffff
mov rbx, rdi
inc rbx
cmp byte [r8 + rbx], r15b
jne 0x140001b5b
inc rbx
mov rax, rdi
inc rax
cmp byte [r9 + rax], r15b
jne 0x140001b6a
lea r15, [rax + 1]
add r15, rbx
mov rcx, r15
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rbp, rax
test rax, rax
je 0x140001be4
add dword [0x14001d9b8], r15d
xor r15d, r15d
inc rdi
cmp byte [r14 + rdi], r15b
jne 0x140001b9b
lea rdx, [rbx + 1]
mov qword [rsp + 0x20], r14
add rdx, rdi
lea r8, str._s__s
mov r9, r12
mov rcx, rax
call fcn.14000118c
mov rcx, qword [rsi + r13]
test rcx, rcx
jne 0x140001c2e
mov ecx, 0x10
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140001c07
mov ebx, 0x7d5
xor edx, edx
mov r8d, ebx
xor r9d, r9d
xor ecx, ecx
call fcn.140007878
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
add dword [0x14001d9b8], 0x10
mov qword [rax + 8], r15
mov qword [rax], r15
test rbp, rbp
je 0x140001c28
mov r8, rbx
mov rdx, rbp
mov rcx, rdi
call fcn.14000631c
mov qword [rsi + r13], rdi
jmp 0x140001c39
mov r8, rbx
mov rdx, rbp
call fcn.14000631c
mov rbx, qword [rsp + 0x60]
xor eax, eax
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140001c60
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x14001d0a0]
xor rax, rsp
mov qword [rsp + 0x130], rax
movsx ebp, dx
mov r15, r8
mov rsi, rcx
mov r14d, 1
mov edx, ebp
cmp ebp, 0x3e
jg 0x140001d07
je 0x140001d00
mov ecx, edx
sub ecx, 0xb
je 0x140001cf9
sub ecx, 5
je 0x140001cf2
sub ecx, 8
je 0x140001ce8
sub ecx, r14d
je 0x140001ce1
sub ecx, 0xc
je 0x140001cda
sub ecx, 0x15
je 0x140001cd0
cmp ecx, 2
jne 0x140001e50
mov ebx, 0x108
jmp 0x140001d5f
mov ebx, 0xf8
jmp 0x140001d5f
mov ebx, 0xf0
jmp 0x140001d5f
mov ebx, pe_nt_image_headers64
jmp 0x140001d5f
xor r14d, r14d
mov ebx, 0xd0
jmp 0x140001d5f
mov ebx, 0xe8
jmp 0x140001d5f
mov ebx, 0xd8
jmp 0x140001d5f
mov ebx, 0x100
jmp 0x140001d5f
mov ecx, edx
sub ecx, 0x49
je 0x140001d5a
sub ecx, r14d
je 0x140001d53
sub ecx, 0x19
je 0x140001d4c
sub ecx, 2
je 0x140001d45
sub ecx, 2
je 0x140001d3e
sub ecx, 4
je 0x140001d37
cmp ecx, 6
jne 0x140001e50
mov ebx, 0x158
jmp 0x140001d5f
mov ebx, 0x130
jmp 0x140001d5f
mov ebx, 0x148
jmp 0x140001d5f
mov ebx, 0x140
jmp 0x140001d5f
mov ebx, 0x150
jmp 0x140001d5f
mov ebx, 0x138
jmp 0x140001d5f
mov ebx, 0x118
mov eax, edx
cdq
and edx, 0x1f
add eax, edx
mov ecx, eax
and eax, 0x1f
sar ecx, 5
sub eax, edx
movsxd rcx, ecx
mov ecx, dword [rsi + rcx*4]
bt ecx, eax
jae 0x140001dc2
movzx ecx, bp
call fcn.140003610
mov r9, rax
xor edx, edx
xor ecx, ecx
mov r8d, 0x3ef
call fcn.140007878
mov rdi, qword [rsi + rbx]
test rdi, rdi
je 0x140001dc2
mov rcx, qword [rdi]
test rcx, rcx
je 0x140001db3
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov ecx, 8
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140001dfe
mov ebx, 0x7d5
xor edx, edx
mov r8d, ebx
xor r9d, r9d
xor ecx, ecx
call fcn.140007878
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
add dword [0x14001d9b8], 8
and qword [rax], 0
test r15, r15
je 0x140001e19
mov rdx, r15
mov rcx, rdi
call fcn.140005d14
mov qword [rsi + rbx], rdi
test r14d, r14d
je 0x140001e50
lea r9, [rsp + 0x30]
mov rcx, rdi
call fcn.140006260
cmp byte [rsp + 0x30], 0
jne 0x140001e50
movzx ecx, bp
call fcn.140003610
mov r9, rax
xor edx, edx
xor ecx, ecx
mov r8d, 0x3f4
call fcn.140007878
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400082a0
mov rbx, qword [rsp + 0x188]
add rsp, 0x140
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret