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

Disassembly:
push rdi
sub rsp, 0x40
mov eax, 0xfffffffc
movzx ecx, byte [0x1400f4d65]
lea r10, [0x1400f48c0]
and ecx, 0xffffffe7
lea rdx, [0x1400f4b20]
mov dword [0x1400f4a70], eax
or ecx, 8
mov dword [0x1400f4900], eax
mov r8d, 0xffffffff
movzx r9d, byte [0x1400f4b05]
mov r11d, 0xfffffffd
mov qword [0x1400e5098], r10
and r9d, 0xffffffe7
mov qword [0x1412ca488], r10
or r9d, 8
movzx eax, byte [0x1400f4fc5]
lea rdi, [0x1400f4d80]
movzx r10d, byte [0x1400f5225]
and eax, 0xffffffe7
and r10d, 0xffffffe7
or eax, 8
mov byte [0x1400f4d65], cl
lea rcx, [rsp + 0x20]
mov qword [0x1400e50c8], rdx
or r10d, 8
mov qword [0x1412ca490], rdx
lea rdx, str.FORT_d
mov dword [0x1400f4f30], r8d
mov dword [0x1400f4dc0], r8d
xor r8d, r8d
mov byte [0x1400f4b05], r9b
mov r9d, 0xfffffffe
mov dword [0x1400f4cd0], r11d
mov dword [0x1400f4b60], r11d
lea r11, [0x1400f4fe0]
mov byte [0x1400f4fc5], al
mov qword [0x1400e5128], rdi
mov qword [0x1412ca4a0], rdi
mov dword [0x1400f5190], r9d
mov dword [0x1400f5020], r9d
mov byte [0x1400f5225], r10b
mov qword [0x1400e50f8], r11
mov qword [0x1412ca498], r11
call fcn.14002d710
xor eax, eax
lea rcx, [rsp + 0x20]
mov dword [0x1400f53f0], eax
mov dword [0x1400f5280], eax
call fcn.14003fb28
mov edi, 8
test rax, rax
mov eax, 0x10
lea rcx, [rsp + 0x20]
movzx r9d, byte [0x1400f5485]
cmove eax, edi
and r9d, 0xffffffe7
lea rdx, str.FORT_d
mov r8d, 5
or r9d, eax
lea r10, [0x1400f5240]
mov byte [0x1400f5485], r9b
mov qword [0x1400e5158], r10
mov qword [0x1412ca4a8], r10
call fcn.14002d710
mov eax, 5
lea rcx, [rsp + 0x20]
mov dword [0x1400f5650], eax
mov dword [0x1400f54e0], eax
call fcn.14003fb28
test rax, rax
mov eax, 0x10
movzx r9d, byte [0x1400f56e5]
lea rcx, [rsp + 0x20]
cmove eax, edi
and r9d, 0xffffffe7
lea rdx, str.FORT_d
mov r8d, 6
or r9d, eax
lea r10, [0x1400f54a0]
mov byte [0x1400f56e5], r9b
mov qword [0x1400e5248], r10
mov qword [0x1412ca4d0], r10
call fcn.14002d710
mov eax, 6
lea rcx, [rsp + 0x20]
mov dword [0x1400f58b0], eax
mov dword [0x1400f5740], eax
call fcn.14003fb28
test rax, rax
mov eax, 0x10
movzx edx, byte [0x1400f5945]
lea rcx, [0x1400f5700]
cmove eax, edi
and edx, 0xffffffe7
or edx, eax
mov byte [0x1400f5945], dl
mov qword [0x1400e5278], rcx
mov qword [0x1412ca4d8], rcx
add rsp, 0x40
pop rdi
ret
Function at 0x14007ad80
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp dword [0x1400e5018], 0
jne 0x14007afcc
cmp dword [0x1400e501c], 0
jne 0x14007afcc
cmp dword [0x1400e5010], 0
jne 0x14007afcc
cmp dword [0x1400e5014], 0
jne 0x14007afcc
lea rcx, str.FORT_BLOCKSIZE
call fcn.14003fb28
mov r8, rax
test r8, r8
jne 0x14007add8
mov dword [0x1400e5018], 0xffffffff
jmp 0x14007ae47
mov rdx, r8
mov rcx, rdx
and rdx, 0xfffffffffffffff0
pxor xmm0, xmm0
pcmpeqb xmm0, xmmword [rdx]
pmovmskb eax, xmm0
and ecx, 0xf
shr eax, cl
bsf eax, eax
jne 0x14007ae03
mov rax, rdx
add rdx, rcx
call fcn.14009ef90
mov rcx, r8
mov edx, eax
mov r8d, 2
lea r9, [rsp + 0x20]
call fcn.140085df0
test eax, eax
jne 0x14007ae2b
mov eax, dword [rsp + 0x20]
test eax, eax
jl 0x14007ae2b
cmp eax, 0x7fffc000
jle 0x14007ae37
mov dword [0x1400e5018], 0xfffffffe
jmp 0x14007ae47
add eax, 0x1ff
and eax, 0xfffffe00
mov dword [0x1400e5018], eax
lea rcx, str.FORT_BUFFERCOUNT
call fcn.14003fb28
mov r8, rax
test r8, r8
jne 0x14007ae67
mov dword [0x1400e501c], 0xffffffff
jmp 0x14007aeca
mov rdx, r8
mov rcx, rdx
and rdx, 0xfffffffffffffff0
pxor xmm0, xmm0
pcmpeqb xmm0, xmmword [rdx]
pmovmskb eax, xmm0
and ecx, 0xf
shr eax, cl
bsf eax, eax
jne 0x14007ae92
mov rax, rdx
add rdx, rcx
call fcn.14009ef90
mov rcx, r8
mov edx, eax
mov r8d, 2
lea r9, [rsp + 0x20]
call fcn.140085df0
test eax, eax
jne 0x14007aeb8
mov eax, dword [rsp + 0x20]
test eax, eax
jl 0x14007aeb8
cmp eax, 0x7f
jle 0x14007aec4
mov dword [0x1400e501c], 0xfffffffe
jmp 0x14007aeca
mov dword [0x1400e501c], eax
lea rcx, str.FORT_FMT_RECL
call fcn.14003fb28
mov r8, rax
test r8, r8
jne 0x14007aeea
mov dword [0x1400e5010], 0xffffffff
jmp 0x14007af48
mov rdx, r8
mov rcx, rdx
and rdx, 0xfffffffffffffff0
pxor xmm0, xmm0
pcmpeqb xmm0, xmmword [rdx]
pmovmskb eax, xmm0
and ecx, 0xf
shr eax, cl
bsf eax, eax
jne 0x14007af15
mov rax, rdx
add rdx, rcx
call fcn.14009ef90
mov rcx, r8
mov edx, eax
mov r8d, 2
lea r9, [rsp + 0x20]
call fcn.140085df0
test eax, eax
jne 0x14007af3e
mov eax, dword [rsp + 0x20]
test eax, eax
jl 0x14007af3e
mov dword [0x1400e5010], eax
jmp 0x14007af48
mov dword [0x1400e5010], 0xfffffffe
lea rcx, str.FORT_UFMT_RECL
call fcn.14003fb28
mov r8, rax
test r8, r8
jne 0x14007af6b
mov dword [0x1400e5014], 0xffffffff
add rsp, 0x28
ret
mov rdx, r8
mov rcx, rdx
and rdx, 0xfffffffffffffff0
pxor xmm0, xmm0
pcmpeqb xmm0, xmmword [rdx]
pmovmskb eax, xmm0
and ecx, 0xf
shr eax, cl
bsf eax, eax
jne 0x14007af96
mov rax, rdx
add rdx, rcx
call fcn.14009ef90
mov rcx, r8
mov edx, eax
mov r8d, 2
lea r9, [rsp + 0x20]
call fcn.140085df0
test eax, eax
jne 0x14007afc2
mov eax, dword [rsp + 0x20]
test eax, eax
jl 0x14007afc2
mov dword [0x1400e5014], eax
add rsp, 0x28
ret
mov dword [0x1400e5014], 0xfffffffe
add rsp, 0x28
ret
Function at 0x14007bd10
Capabilities:
Check mutex on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push rbp
sub rsp, 0x30
mov r12, rcx
lea rsi, [0x140000000]
mov rdi, qword [r12 + 0xf0]
test rdi, rdi
je 0x14007bdf6
mov ecx, dword [0x1400ce448]
movsxd rax, dword [rdi + 0x28]
lea rbp, [rax + rax*2]
shl rbp, 4
cmp ecx, 2
jge 0x14007bd64
mov eax, dword [rsi + rbp + 0xf5990]
test eax, eax
jne 0x14007bdb1
mov dword [rsi + rbp + 0xf5990], 1
jmp 0x14007bdb1
lea rax, [0x1400f5980]
lea rbx, [rax + rbp + 0x10]
mov rcx, rbx
call fcn.14007a450
test eax, eax
jne 0x14007bdab
mov rcx, qword [rsi + rbp + 0xf5988]
test rcx, rcx
je 0x14007bee9
mov dword [rsi + rbp + 0xf5990], 0
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call fcn.14007a450
mov ecx, dword [0x1400ce448]
cmp ecx, 1
je 0x14007becd
mov eax, dword [rdi + 0x2c]
dec eax
mov dword [rdi + 0x2c], eax
test eax, eax
jle 0x14007be2c
cmp ecx, 1
je 0x14007be03
cmp ecx, 2
jge 0x14007bddd
mov dword [rsi + rbp + 0xf5990], 0
jmp 0x14007bdf6
mov rcx, qword [rsi + rbp + 0xf5988]
mov dword [rsi + rbp + 0xf5990], 0
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
add rsp, 0x30
pop rbp
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rsi + rbp + 0xf59a0]
lea rcx, [rsp + 0x20]
mov rdx, qword [rsi + rbp + 0xf59a8]
mov qword [rcx], rax
mov qword [rcx + 8], rdx
call fcn.14007a420
mov ecx, dword [0x1400ce448]
jmp 0x14007bdcb
mov rdx, qword [rdi]
test rdx, rdx
je 0x14007be3c
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
mov rax, qword [rdi + 8]
test rax, rax
je 0x14007be4a
mov qword [rax], rdx
jmp 0x14007be52
mov qword [rsi + rbp + 0xf5980], rdx
mov qword [r12 + 0xf0], 0
cmp ecx, 1
je 0x14007bea4
cmp ecx, 2
jge 0x14007be75
mov dword [rsi + rbp + 0xf5990], 0
jmp 0x14007be8e
mov rcx, qword [rsi + rbp + 0xf5988]
mov dword [rsi + rbp + 0xf5990], 0
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rdi + 0x10]
call fcn.1400719c0
mov rcx, rdi
call fcn.1400719c0
jmp 0x14007bdf6
mov rax, qword [rsi + rbp + 0xf59a0]
lea rcx, [rsp + 0x20]
mov rdx, qword [rsi + rbp + 0xf59a8]
mov qword [rcx], rax
mov qword [rcx + 8], rdx
call fcn.14007a420
mov ecx, dword [0x1400ce448]
jmp 0x14007be63
lea rax, [0x1400f5980]
lea rcx, [rax + rbp + 0x20]
call fcn.14007a3e0
mov ecx, dword [0x1400ce448]
jmp 0x14007bdba
xor ecx, ecx
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rsi + rbp + 0xf5988], rax
mov dword [rsi + rbp + 0xf5990], 0
mov rcx, qword [rsi + rbp + 0xf5988]
jmp 0x14007bd98
Function at 0x1400173e0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x10090
call fcn.140042670
sub rsp, rax
mov rax, qword [0x140059040]
xor rax, rsp
mov qword [rsp + 0x10080], rax
xor eax, eax
lea rsi, str.NUITKA_PYTHONPATH
mov word [rsp + 0x80], ax
lea rbx, [rsp + 0x30]
mov word [rsp + 0x30], ax
mov edi, 0x28
mov dl, 0x4e
nop dword [rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x14001744d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x140017440
cmp rcx, 1
jb 0x1400174fa
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], 0
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x140017470
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.140034914
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x140017430
mov r8d, 0x10000
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x1400174f6
lea rcx, [rsp + 0x80]
call fcn.1400363b8
mov rcx, qword [rsp + 0x10080]
xor rcx, rsp
call fcn.140025380
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
xor eax, eax
jmp 0x1400174d1
call fcn.140029970
int3

Function at 0x140017500
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x140059040]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
lea rsi, str.NUITKA_PYTHONPATH
mov word [rsp + 0x30], ax
lea rbx, [rsp + 0x30]
mov edi, 0x28
mov dl, 0x4e
nop
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x14001755d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x140017550
cmp rcx, 1
jb 0x1400175d7
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], 0
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x140017573
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.140034914
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x140017540
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140025380
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.140029970
int3
Function at 0x140025d54
Capabilities:
Parse pe header

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

Function at 0x140029cd0
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 0x140029b3b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140029b3b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140029b3b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140029b3b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140029b3b
cmp dword [rcx + 0x84], 0xe
jbe 0x140029b3b
cmp dword [rcx + 0xf8], 0
je 0x140029b3b
mov ecx, ebx
call fcn.140029bec
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.1400299c8
nop
cmp dword [rbp + 0x20], 0
je 0x140029b89
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140029b94
int3
xor r8d, r8d
xor edx, edx
jmp 0x140029acc
Function at 0x14003b898
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 0x14003b8c8
xor eax, eax
jmp 0x14003b98b
mov rbp, rbx
cmp word [rax], si
je 0x14003b8ed
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14003b8d4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14003b8d0
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.14003b7b8
movsxd r14, eax
test eax, eax
jne 0x14003b92b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14003b8c1
mov rcx, r14
call fcn.140038ae4
mov rdi, rax
test rax, rax
jne 0x14003b944
xor ecx, ecx
call fcn.140036d38
jmp 0x14003b920
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.14003b7b8
test eax, eax
jne 0x14003b975
mov rcx, rdi
call fcn.140036d38
jmp 0x14003b97f
xor ecx, ecx
call fcn.140036d38
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 0x14003b9a8
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 0x14003ba2f
mov rsi, rbx
cmp word [rax], bp
je 0x14003b9ee
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14003b9d8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14003b9d4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140038ae4
mov rdi, rax
test rax, rax
je 0x14003ba1c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140042cd0
mov rbp, rdi
xor ecx, ecx
call fcn.140036d38
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 0x14003f9ec
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14003fa02
mov al, 1
jmp 0x14003fa62
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14003fa13
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14003fa60
mov ecx, dword [rcx + 0x18]
nop
call fcn.14003c594
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003fa60
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14003fa60
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14003fa60
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14003fa62
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140041004
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.14002c920
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14004108e
cmp byte [rbp - 0x21], r15b
je 0x140041089
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400410c4
call fcn.140036f88
test eax, eax
jne 0x1400410b0
cmp byte [rbp - 0x21], r15b
je 0x1400410a8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400410c4
cmp byte [rbp - 0x21], r15b
je 0x1400410c1
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.14003a588
test eax, eax
jne 0x140041164
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14002c920
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140041103
cmp byte [rbp - 0x21], r15b
je 0x140041138
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140041138
call fcn.140036f88
test eax, eax
jne 0x140041124
cmp byte [rbp - 0x21], r15b
je 0x14004111d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140041138
cmp byte [rbp - 0x21], r15b
je 0x140041135
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.14003a588
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140041164
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140041167
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140041175
mov rcx, rdi
call fcn.140036d38
cmp byte [rbp + 0x3f], r15b
je 0x140041184
mov rcx, qword [rbp + 0x27]
call fcn.140036d38
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 0x140042580
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400425a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400425a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x6e7c00
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x14a8
call fcn.00717180
sub rsp, rax
movaps xmmword [rsp + 0x1490], xmm15
movaps xmmword [rsp + 0x1480], xmm14
movaps xmmword [rsp + 0x1470], xmm13
movaps xmmword [rsp + 0x1460], xmm12
movaps xmmword [rsp + 0x1450], xmm11
movaps xmmword [rsp + 0x1440], xmm10
movaps xmmword [rsp + 0x1430], xmm9
movdqa xmmword [rsp + 0x1420], xmm8
movaps xmmword [rsp + 0x1410], xmm7
movaps xmmword [rsp + 0x1400], xmm6
movdqa xmm9, xmmword [0x0071f5e0]
xor eax, eax
movdqa xmm12, xmmword [0x0071f5f0]
pxor xmm2, xmm2
movdqa xmm4, xmmword [0x0071f610]
movdqa xmm6, xmmword [0x0071f630]
movdqa xmm13, xmmword [0x0071f670]
movdqa xmm14, xmmword [0x0071f680]
movdqa xmm15, xmmword [0x0071f690]
movdqa xmm7, xmmword [0x0071f6a0]
movdqa xmm10, xmmword [0x0071f6b0]
movdqa xmm11, xmmword [0x0071f6c0]
nop dword [rax + rax]
Function at 0x6f0140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub cl, byte [rdi]
test byte [rsi + rcx*2 + 0x75], dh
jmp 0x14f985c
test byte [rsi + 0xf000002], dh
test dword [rax + 2], esi
add byte [rax], al
add byte [rax - 0x3f7bc3fc], cl
mov rax, qword [rcx + 0x10]
mov edx, dword [rcx + 0x3c]
jmp 0x6f020a
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 8], 0x5b41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xa], 0x5a41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xc], 0x5941
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xe], 0x5841
je 0x6f02b4
jne 0x6f02b4
jmp 0x1ddeb52
ret
mov qword [rcx + 0x10], rdx
jmp 0x6f0385
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 6], 0x5c41
jmp 0x6f014e
cmp edx, 0x8664
je 0x6f02d1
cmp edx, 0x14c
jne 0x6f018b
je 0x6f026b
jne 0x6f026b
jmp 0x6f8bbe
jne 0x6f02c6
add byte [rax], al
add byte [rax], al
jmp 0x6f0193
jne 0x6f0342
je 0x10b88d3d
mov r9, qword [rcx + 0x10]
lea rdx, [r9 + 1]
mov qword [rcx + 0x10], rdx
je 0x6f0303
jne 0x6f0303
jmp 0x6f02f4
je 0x6f0285
jne 0x6f0285
add byte [rax], al
add byte [rax], al
mov rdx, qword [rcx + 8]
mov byte [rdx + r8], 0x58
mov qword [rcx + 0x10], r9
jmp 0x6f018b
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x11], 0x5e
mov rdx, qword [rcx + 8]
je 0x6f028c
jne 0x6f028c
je 0x27f4706
mov byte [rax + rdx + 2], 0x5d
pop rbp
je 0x6f0342
jmp 0x6f01e5
mov byte [rax + rdx + 4], 0x5a
mov rdx, qword [rcx + 8]
lea r8, [rax + 6]
je 0x6f02c6
jmp 0x6f01d7
mov byte [rax + rdx + 3], 0x5b
mov rdx, qword [rcx + 8]
jmp 0x6f024b
mov rdx, qword [rcx + 8]
mov byte [rdx + rax], 0x5f
mov rdx, qword [rcx + 8]
mov byte [rax + rdx + 1], 0x5e
mov rdx, qword [rcx + 8]
je 0x6f023c
jne 0x6f023c
jmp 0x6e2972
jmp 0x6f01b0
jne 0x6f02f4
mov byte [r9 + rdx + 0x12], 0x5d
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x13], 0x5b
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x14], 0x5a
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x15], 0x59
jmp 0x6f02dd
je 0x8c08e00
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x10], 0x5f
jmp 0x6f0228
jne 0x6f0317
jmp 0x57f4790
mov byte [rax + rdx + 5], 0x59
lea r9, [rax + 7]
jmp 0x6f02e5
mov r8, qword [rcx + 8]
lea rdx, [rax + 1]
jmp 0x6f0339
lea r8, [r9 + 0x16]
add r9, 0x17
je 0x6f0212
jne 0x6f0212
jmp 0x6f02b2
jmp 0x6f01a0
je 0x6f0317
jmp 0x6f02c3
mov byte [r8 + r9], 0x8b
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
je 0x6f0383
jne 0x6f0383
jmp 0x6f0317
mov qword [rcx + 0x10], rdx
mov byte [r8 + r9], 0xe5
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
lea rdx, [r9 + 1]
jmp 0x6f035d
lea rdx, [r9 + 1]
jmp 0x6f02f9
mov qword [rcx + 0x10], rdx
je 0x6f036d
jne 0x6f036d
jmp 0x8c08e8e
mov rdx, qword [rcx + 8]
je 0x6f025f
jne 0x6f025f
je 0x6e1641
inc dword [rax]
add byte [rax], al
add byte [rdi], cl
test byte [rsi - 2], bh
invalid
je 0x6f01e1
jne 0x6f01e1
add byte [rax], al
add byte [rax], al
mov byte [r8 + rax], 0x48
mov r8, qword [rcx + 8]
je 0x6f01ed
jne 0x6f01ed
jmp 0xffffffffc6b2ae72
jmp 0x6f032f
mov byte [r8 + r9], 0x5d
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
mov word [r8 + r9], 0x5f41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 2], 0x5e41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 4], 0x5d41
je 0x6f02f4
jmp 0x6f028a
invalid