joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b3ae0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400b3b00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14009a0dc
or eax, 0xffffffff
jmp 0x1400b3b02
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400b4390
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
xor edi, edi
mov rax, r15
lea rcx, [0x14011a130]
and eax, 0x3f
mov r12, r15
sar r12, 6
mov rsi, rdx
lea r9d, [rdi + 0xa]
mov r14, r15
lea rbp, [rax + rax*8]
mov rax, qword [rcx + r12*8]
mov r10, qword [rax + rbp*8 + 0x28]
test r8, r8
je 0x1400b43e6
cmp word [rdx], r9w
jne 0x1400b43e6
or byte [rax + rbp*8 + 0x38], 4
jmp 0x1400b43eb
and byte [rax + rbp*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rax, rsi
mov rbx, rsi
cmp rsi, r8
jae 0x1400b456a
mov r11d, reloc.WS2_32.dll_listen
lea r13d, [r11 - 0xb]
movzx edx, word [rax]
cmp dx, 0x1a
je 0x1400b4535
lea rcx, [rax + 2]
cmp dx, r11w
jne 0x1400b4433
cmp rcx, r8
jae 0x1400b4453
cmp word [rcx], r9w
jne 0x1400b4433
add rax, 4
mov edx, r9d
jmp 0x1400b4436
mov rax, rcx
mov word [rbx], dx
mov r9, r13
mov rcx, rbx
mov r9d, 0xa
lea rbx, [rbx + r13]
cmp rax, r8
jb 0x1400b4408
jmp 0x1400b456a
lea r9, [rsp + 0x80]
mov word [rsp + 0x70], di
mov r8d, r13d
mov dword [rsp + 0x80], edi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400b452e
cmp dword [rsp + 0x80], edi
je 0x1400b452e
lea r9, [0x14011a130]
mov rax, qword [r9 + r12*8]
test byte [rax + rbp*8 + 0x38], 0x48
mov ebp, 0xa
je 0x1400b4508
movzx eax, word [rsp + 0x70]
cmp ax, bp
jne 0x1400b44bb
mov word [rbx], bp
jmp 0x1400b4567
mov word [rsp + 0x78], ax
mov rdx, r14
mov rax, r14
sar rdx, 6
and eax, 0x3f
mov word [rbx], reloc.WS2_32.dll_listen
lea r8, [rax + rax*8]
mov rax, qword [r9 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, r13
jl 0x1400b44d6
mov rax, r14
sar rax, 6
and r14d, 0x3f
mov rax, qword [r9 + rax*8]
lea rcx, [r14 + r14*8]
mov byte [rax + rcx*8 + 0x3c], bpl
jmp 0x1400b4567
cmp word [rsp + 0x70], bp
jne 0x1400b4514
cmp rbx, rsi
je 0x1400b44b3
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400ad934
cmp word [rsp + 0x70], bp
je 0x1400b456a
mov word [rbx], reloc.WS2_32.dll_listen
jmp 0x1400b4567
mov rcx, r15
lea r9, [0x14011a130]
and ecx, 0x3f
mov rax, r15
sar rax, 6
lea r8, [rcx + rcx*8]
mov rcx, qword [r9 + rax*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1400b4564
or al, r13b
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1400b456a
mov word [rbx], dx
add rbx, r13
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400b8d98
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 0x1400b8dc8
xor eax, eax
jmp 0x1400b8e8b
mov rbp, rbx
cmp word [rax], si
je 0x1400b8ded
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400b8dd4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400b8dd0
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.1400b69e4
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x1400b8e2e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400b8dc1
call fcn.1400b0740
mov rdi, rax
test rax, rax
jne 0x1400b8e44
xor ecx, ecx
call fcn.1400ae520
jmp 0x1400b8e23
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.1400b69e4
test eax, eax
jne 0x1400b8e75
mov rcx, rdi
call fcn.1400ae520
jmp 0x1400b8e7f
xor ecx, ecx
call fcn.1400ae520
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 0x1400b8ea8
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 0x1400b8f2f
mov rsi, rbx
cmp word [rax], bp
je 0x1400b8eee
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400b8ed8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400b8ed4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400b0740
mov rdi, rax
test rax, rax
je 0x1400b8f1c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400c0fa0
mov rbp, rdi
xor ecx, ecx
call fcn.1400ae520
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 0x1400bbeb8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x1400bbf2b
cmp word [rcx], si
je 0x1400bbf2b
lea rdx, [0x1400e12e8]
call fcn.1400bf7ac
test eax, eax
je 0x1400bbf2b
lea rdx, [0x1400e1300]
mov rcx, rbx
call fcn.1400bf7ac
test eax, eax
jne 0x1400bbf21
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400bbf48
mov eax, dword [rsp + 0x30]
jmp 0x1400bbf5a
mov rcx, rbx
call fcn.1400a8a40
jmp 0x1400bbf5a
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1400bbf4c
xor eax, eax
jmp 0x1400bbf5a
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x1400bbf5a
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400bbf6c
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.1400ae2bc
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400bc00f
cmp edi, dword [rsp + 0x30]
je 0x1400bc008
test ebp, ebp
je 0x1400bc008
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x1400bbfe4
sub dx, 0x61
cmp dx, 0x19
ja 0x1400bbff0
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x1400bbfd1
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x1400bbff4
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x1400bc011
mov eax, 1
jmp 0x1400bc011
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400bc534
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400ad934
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400ad934
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400bc681
cmp rax, 0xffffffffffffffff
je 0x1400bc681
xor edi, edi
test rbp, rbp
jle 0x1400bc62f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400af530
mov rbx, rax
test rax, rax
jne 0x1400bc5bc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400bc625
mov edx, 0x8000
mov ecx, r14d
call fcn.1400a6958
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400b3240
cmp eax, 0xffffffff
je 0x1400bc605
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400bc5cc
mov edx, r15d
mov ecx, r14d
call fcn.1400a6958
jmp 0x1400bc625
cmp byte [rsi + 0x38], dil
je 0x1400bc61c
cmp dword [rsi + 0x34], 5
jne 0x1400bc61c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x1400bc625
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400ae520
jmp 0x1400bc693
jns 0x1400bc693
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400ad934
cmp rax, 0xffffffffffffffff
jne 0x1400bc64d
cmp byte [rsi + 0x30], dil
je 0x1400bc693
jmp 0x1400bc689
mov ecx, r14d
call fcn.1400b6138
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400bc693
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x1400bc693
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400bc68e
mov edi, dword [rsi + 0x2c]
jmp 0x1400bc693
mov edi, reloc.WLDAP32.dll_Ordinal_22
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400ad934
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400bee30
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140114200]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400bee7a
call fcn.14009a128
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.14009a14c
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.140096bf4
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14001c070
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400bee85
lea eax, [rbx + 1]
jmp 0x1400bee67
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1400bee65
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400bee67
Function at 0x1400bf4ac
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.1400976a8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400bf536
cmp byte [rbp - 0x21], r15b
je 0x1400bf531
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400bf56c
call fcn.1400af8bc
test eax, eax
jne 0x1400bf558
cmp byte [rbp - 0x21], r15b
je 0x1400bf550
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400bf56c
cmp byte [rbp - 0x21], r15b
je 0x1400bf569
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.14009c968
test eax, eax
jne 0x1400bf60c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400976a8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400bf5ab
cmp byte [rbp - 0x21], r15b
je 0x1400bf5e0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400bf5e0
call fcn.1400af8bc
test eax, eax
jne 0x1400bf5cc
cmp byte [rbp - 0x21], r15b
je 0x1400bf5c5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400bf5e0
cmp byte [rbp - 0x21], r15b
je 0x1400bf5dd
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.14009c968
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400bf60c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400bf60f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400bf61d
mov rcx, rdi
call fcn.1400ae520
cmp byte [rbp + 0x3f], r15b
je 0x1400bf62c
mov rcx, qword [rbp + 0x27]
call fcn.1400ae520
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 0x1400c0ac0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400c0ae8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400c0ae8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400184a0
Capabilities:
Get geographical location

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1520
call fcn.1404a1640
sub rsp, rax
mov rax, qword [0x140507040]
xor rax, rsp
mov qword [rsp + 0x1510], rax
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x640
rep stosb byte [rdi], al
mov dword [rsp + 0x24], 0
jmp 0x1400184ee
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
cmp rax, 0xa
jae 0x140018518
mov dword [rsp + 0x28], 0
jmp 0x14001850d
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x14
jge 0x140018516
jmp 0x140018503
jmp 0x1400184e4
lea rax, [rsp + 0x690]
mov rdi, rax
xor eax, eax
mov ecx, 0x640
rep stosb byte [rdi], al
mov dword [rsp + 0x2c], 0
jmp 0x140018540
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
movsxd rax, dword [rsp + 0x2c]
cmp rax, 0xa
jae 0x14001856a
mov dword [rsp + 0x30], 0
jmp 0x14001855f
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x14
jge 0x140018568
jmp 0x140018555
jmp 0x140018536
lea rax, [rsp + 0xcd0]
mov rdi, rax
xor eax, eax
mov ecx, 0x640
rep stosb byte [rdi], al
mov dword [rsp + 0x34], 0
jmp 0x140018592
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
movsxd rax, dword [rsp + 0x34]
cmp rax, 0xa
jae 0x1400185bc
mov dword [rsp + 0x38], 0
jmp 0x1400185b1
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x14
jge 0x1400185ba
jmp 0x1400185a7
jmp 0x140018588
movsxd rax, dword [rsp + 0x1538]
mov rcx, qword [rsp + 0x1530]
add rax, qword [rcx + 0x98]
mov rcx, qword [rsp + 0x1530]
mov qword [rcx + 0x98], rax
lea rax, str.Index_QzshkrLJYhyQg
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14001868d
mov r9d, 0x100
lea r8, [rsp + 0x1310]
mov edx, 2
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea rcx, [rsp + 0x1310]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x20], 0
jmp 0x140018650
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x20], eax
jge 0x140018681
cmp dword [rsp + 0x20], 1
jle 0x140018663
jmp 0x140018681
movsxd rax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0x1310]
inc eax
movsxd rcx, dword [rsp + 0x20]
mov word [rsp + rcx*2 + 0x1310], ax
jmp 0x140018646
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x1510]
xor rcx, rsp
call fcn.1404a0cb0
add rsp, 0x1520
pop rdi
ret
Function at 0x1402fde40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x140507040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x20], 0x18
mov byte [rsp + 0x21], 0x72
mov byte [rsp + 0x22], 0x71
mov byte [rsp + 0x23], 0x5c
mov byte [rsp + 0x24], 0x68
mov byte [rsp + 0x25], 0x5f
mov byte [rsp + 0x26], 0x6f
mov byte [rsp + 0x27], 0x6c
mov byte [rsp + 0x28], 0x75
mov byte [rsp + 0x29], 0x69
mov byte [rsp + 0x2a], 0x55
mov byte [rsp + 0x2b], 0
lea rcx, [rsp + 0x20]
call fcn.14049d4f0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1404a0cb0
add rsp, 0x48
ret
Function at 0x1404a1b6c
Capabilities:
Parse pe header

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

Function at 0x1404a79a8
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 0x1404a7a17
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1404a7a17
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1404a7a17
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1404a7a17
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1404a7a17
cmp dword [rcx + 0x84], 0xe
jbe 0x1404a7a17
cmp dword [rcx + 0xf8], 0
je 0x1404a7a17
mov ecx, ebx
call fcn.1404a7ac8
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.1404a78a4
nop
cmp dword [rbp + 0x20], 0
je 0x1404a7a65
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1404a7a70
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1404a79a8

Function at 0x1404a7bac
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1404a79a8
Function at 0x1404aad70
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 0x1404aada0
xor eax, eax
jmp 0x1404aae63
mov rbp, rbx
cmp word [rax], si
je 0x1404aadc5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1404aadac
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1404aada8
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.1404aac90
movsxd r14, eax
test eax, eax
jne 0x1404aae03
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1404aad99
mov rcx, r14
call fcn.1404a92b4
mov rdi, rax
test rax, rax
jne 0x1404aae1c
xor ecx, ecx
call fcn.1404a938c
jmp 0x1404aadf8
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.1404aac90
test eax, eax
jne 0x1404aae4d
mov rcx, rdi
call fcn.1404a938c
jmp 0x1404aae57
xor ecx, ecx
call fcn.1404a938c
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 0x1404ae578
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.1404a854c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1404ae602
cmp byte [rbp - 0x21], r15b
je 0x1404ae5fd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1404ae638
call fcn.1404ac344
test eax, eax
jne 0x1404ae624
cmp byte [rbp - 0x21], r15b
je 0x1404ae61c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1404ae638
cmp byte [rbp - 0x21], r15b
je 0x1404ae635
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.1404a93dc
test eax, eax
jne 0x1404ae6d8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1404a854c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1404ae677
cmp byte [rbp - 0x21], r15b
je 0x1404ae6ac
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1404ae6ac
call fcn.1404ac344
test eax, eax
jne 0x1404ae698
cmp byte [rbp - 0x21], r15b
je 0x1404ae691
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1404ae6ac
cmp byte [rbp - 0x21], r15b
je 0x1404ae6a9
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.1404a93dc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1404ae6d8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1404ae6db
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1404ae6e9
mov rcx, rdi
call fcn.1404a938c
cmp byte [rbp + 0x3f], r15b
je 0x1404ae6f8
mov rcx, qword [rbp + 0x27]
call fcn.1404a938c
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 0x1404b0f80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1404b0fa8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1404b0fa8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret