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

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x18009e080]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r10, rax
lea rdx, [rax - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x180055eb8
lea r8, [rsp + 0x40]
xor edx, edx
mov cl, byte [rbx]
lea rax, [rsp + 0x234]
mov byte [r8], cl
inc r8
cmp r8, rax
je 0x180055e8a
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x180055e69
lea rax, [rsp + 0x40]
mov byte [rsp + 0x233], dl
sub r8d, eax
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x30]
dec r8d
lea rdx, [rsp + 0x40]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180002626
add rsp, 0x250
pop rbx
ret

Function at 0x1800579d0
Capabilities:
Print debug messages

Disassembly:
jmp 0x1800579d0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, r8d
mov rbp, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ebx, eax
test eax, eax
je 0x180057a18
test rdi, rdi
je 0x180057a07
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.180001811
cmp eax, 1
je 0x180057a18
mov eax, 4
jmp 0x180057a5d
call fcn.180003a12
cmp eax, 2
jne 0x180057a54
call fcn.180001870
test al, al
je 0x180057a54
call fcn.180002b5d
test al, al
jne 0x180057a4a
bts esi, 0x15
xor ecx, ecx
mov rdx, rdi
mov r8, rbp
mov r9d, esi
call fcn.180003a4e
jmp 0x180057a5d
call fcn.1800038f0
mov rcx, rax
jmp 0x180057a3a
neg ebx
sbb eax, eax
neg eax
add eax, 3
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18005d670
Capabilities:
Query environment variable

Disassembly:
jmp 0x18005d670
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 0x18005d6a0
xor eax, eax
jmp 0x18005d763
mov rbp, rbx
cmp word [rax], si
je 0x18005d6c5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18005d6ac
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18005d6a8
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.180003247
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x18005d706
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18005d699
call fcn.180001037
mov rdi, rax
test rax, rax
jne 0x18005d71c
xor ecx, ecx
call fcn.180001163
jmp 0x18005d6fb
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.180003247
test eax, eax
jne 0x18005d74d
mov rcx, rdi
call fcn.180001163
jmp 0x18005d757
xor ecx, ecx
call fcn.180001163
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 0x18005d7c4
Capabilities:
Query environment variable

Disassembly:
jmp 0x18005d7c4
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 0x18005d84b
mov rsi, rbx
cmp word [rax], bp
je 0x18005d80a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x18005d7f4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x18005d7f0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.180001037
mov rdi, rax
test rax, rax
je 0x18005d838
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.18000262b
mov rbp, rdi
xor ecx, ecx
call fcn.180001163
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 0x18005fea8
Capabilities:
Get geographical location

Disassembly:
jmp 0x18005fea8
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1800ac050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x18005ff0d
test rax, rax
jne 0x18005fefb
lea r9, [0x18008b368]
lea r8, [0x18008b360]
lea rdx, str.GetLocaleInfoEx
lea ecx, [rax + 0xa]
call fcn.18005f338
test rax, rax
je 0x18005ff0d
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.18000420a
jmp 0x18005ff27
xor edx, edx
mov rcx, rbp
call fcn.18000222f
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x18006a40c
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 0x18006a47f
cmp word [rcx], si
je 0x18006a47f
lea rdx, [0x18008d4b0]
call fcn.180002658
test eax, eax
je 0x18006a47f
lea rdx, [0x18008d4d0]
mov rcx, rbx
call fcn.180002658
test eax, eax
jne 0x18006a475
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 0x18006a49c
mov eax, dword [rsp + 0x30]
jmp 0x18006a4ae
mov rcx, rbx
call fcn.18000107d
jmp 0x18006a4ae
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 0x18006a4a0
xor eax, eax
jmp 0x18006a4ae
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x18006a4ae
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 0x18006a51c
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.180001a14
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 0x18006a5bf
cmp edi, dword [rsp + 0x30]
je 0x18006a5b8
test ebp, ebp
je 0x18006a5b8
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x18006a594
sub dx, 0x61
cmp dx, 0x19
ja 0x18006a5a0
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x18006a581
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x18006a5a4
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x18006a5c1
mov eax, 1
jmp 0x18006a5c1
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 0x18006d730
Capabilities:
Set environment variable

Disassembly:
jmp 0x18006d730
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.180002171
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x18006d7ba
cmp byte [rbp - 0x21], r15b
je 0x18006d7b5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x18006d7f0
call fcn.180003f80
test eax, eax
jne 0x18006d7dc
cmp byte [rbp - 0x21], r15b
je 0x18006d7d4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x18006d7f0
cmp byte [rbp - 0x21], r15b
je 0x18006d7ed
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.180004174
test eax, eax
jne 0x18006d890
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.180002171
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x18006d82f
cmp byte [rbp - 0x21], r15b
je 0x18006d864
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x18006d864
call fcn.180003f80
test eax, eax
jne 0x18006d850
cmp byte [rbp - 0x21], r15b
je 0x18006d849
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x18006d864
cmp byte [rbp - 0x21], r15b
je 0x18006d861
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.180004174
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x18006d890
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x18006d893
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x18006d8a1
mov rcx, rdi
call fcn.180001163
cmp byte [rbp + 0x3f], r15b
je 0x18006d8b0
mov rcx, qword [rbp + 0x27]
call fcn.180001163
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 0x1800733d4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1800733ea
mov al, 1
jmp 0x180073456
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1800733fb
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180073454
mov ecx, dword [rcx + 0x18]
nop
call fcn.180003f2b
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180073454
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 0x180073454
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180073454
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x180073456
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x180075628
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, [0x1800a0560]
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 0x18007567e
cmp word [rdx], r9w
jne 0x18007567e
or byte [rax + rbp*8 + 0x38], 4
jmp 0x180075683
and byte [rax + rbp*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rax, rsi
mov rbx, rsi
cmp rsi, r8
jae 0x180075802
mov r11d, 0xd
lea r13d, [r11 - 0xb]
movzx edx, word [rax]
cmp dx, 0x1a
je 0x1800757cd
lea rcx, [rax + 2]
cmp dx, r11w
jne 0x1800756cb
cmp rcx, r8
jae 0x1800756eb
cmp word [rcx], r9w
jne 0x1800756cb
add rax, 4
mov edx, r9d
jmp 0x1800756ce
mov rax, rcx
mov word [rbx], dx
mov r9, r13
mov rcx, rbx
mov r9d, 0xa
lea rbx, [rbx + r13]
cmp rax, r8
jb 0x1800756a0
jmp 0x180075802
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 0x1800757c6
cmp dword [rsp + 0x80], edi
je 0x1800757c6
lea r9, [0x1800a0560]
mov rax, qword [r9 + r12*8]
test byte [rax + rbp*8 + 0x38], 0x48
mov ebp, 0xa
je 0x1800757a0
movzx eax, word [rsp + 0x70]
cmp ax, bp
jne 0x180075753
mov word [rbx], bp
jmp 0x1800757ff
mov word [rsp + 0x78], ax
mov rdx, r14
mov rax, r14
sar rdx, 6
and eax, 0x3f
mov word [rbx], 0xd
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 0x18007576e
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 0x1800757ff
cmp word [rsp + 0x70], bp
jne 0x1800757ac
cmp rbx, rsi
je 0x18007574b
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.18000176c
cmp word [rsp + 0x70], bp
je 0x180075802
mov word [rbx], 0xd
jmp 0x1800757ff
mov rcx, r15
lea r9, [0x1800a0560]
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 0x1800757fc
or al, r13b
mov byte [rcx + r8*8 + 0x38], al
jmp 0x180075802
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 0x18001a450
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov qword [rsp + 0x28], rcx
movabs rax, 0xf1364cefad652ed3
mov dword [rsp + 0x10], r8d
mov qword [rsp + 8], rax
lea r10, [rsp + 0x40]
mov qword [rsp + 0x30], rdx
lea rax, [rdx + 0x16]
mov qword [rsp + 0x20], rax
nop dword [rax]
mov rax, qword [rsp + 8]
movabs rcx, 0x3aab1442ad9e3deb
cmp rax, rcx
mov r9, rcx
mov ecx, dword [rsp + 0x18]
mov r14, r10
lea rdi, [rsp + 0x18]
cmove r14, rdi
mov r11, rcx
mov r12, r10
lea rsi, [rsp + 8]
cmove r12, rsi
movsxd rcx, ecx
mov rdx, qword [rsp + 0x28]
lea r8, [rdx + rcx]
cmp rax, r9
cmovne r8, r10
mov edx, 0xba2e8ba3
imul r11, rdx
shr r11, 0x24
mov r15d, r11d
lea edx, [r15 + r15*4]
lea edx, [r15 + rdx*4]
add edx, r11d
mov r15, rcx
mov r11d, ecx
sub ecx, edx
add rcx, qword [rsp + 0x30]
cmp rax, r9
mov rdx, rcx
cmovne rdx, r10
add r15, qword [rsp + 0x38]
cmp rax, r9
sete byte [rsp + 7]
cmovne r15, r10
movzx eax, byte [r15]
xor al, byte [rdx]
mov byte [r8], al
mov rdx, qword [rsp + 8]
movabs r9, 0xa48f71d6c13c5036
cmp rdx, r9
mov rbx, r9
mov r15, r10
lea rax, [rsp + 0x38]
cmove r15, rax
mov rax, r10
cmove rax, rdi
mov ebp, r11d
mov r8, r10
lea r9, [rsp + 0x14]
cmove r8, r9
mov r11, qword [rsp + 0x20]
mov qword [r15], r11
mov r11, r10
cmove r11, rsi
mov r15, qword [0x180034200]
movabs rcx, 0x78d3fdc5a2d17b10
add r15, rcx
cmp rdx, rbx
cmovne r15, r10
lea edx, [rbp + 1]
cmp edx, 0x10
mov rbp, r12
cmove rbp, r10
sete r13b
movabs rbx, 0xc9203bb7ee13517a
cmp qword [rsp + 8], rbx
mov r12d, dword [rsp + 0x14]
mov rdi, r10
lea rsi, [rsp + 0x1c]
cmove rdi, rsi
mov dword [rdi], r12d
mov r12d, dword [r15]
mov rdi, qword [rsp + 8]
mov r15d, dword [rsp + 0x10]
mov dword [r14], edx
movabs rdx, 0x3aab1442ad9e3deb
mov qword [rbp], rdx
mov r14, r10
lea rsi, [rsp + 8]
cmove r14, rsi
mov rdx, qword [0x180034200]
add rdx, rcx
test byte [rsp + 7], r13b
cmove rdx, r10
mov dword [rdx], 1
mov rcx, r10
cmovne rcx, r9
mov rdx, r10
cmovne rdx, rsi
cmp dword [rsp + 0x10], 0x988c71fe
mov r13, rbx
movabs rsi, 0xa48f71d6c13c5036
cmove r13, rsi
movabs rbp, 0xf1364cefad652ed3
cmp rdi, rbp
mov rdi, r10
cmove rdi, r9
mov rbp, r10
lea r9, [rsp + 8]
cmove rbp, r9
cmp r15d, 0x775f7f0a
mov dword [rdi], 0
mov dword [rcx], 0x31b1c2b5
mov rcx, rbx
cmove rcx, rsi
mov qword [rbp], rcx
mov dword [rax], 0
mov dword [r8], 0x31b1c2b5
mov qword [rdx], r13
cmp r12d, 1
movabs rax, 0x3aab1442ad9e3deb
cmove rax, rbx
mov qword [r11], rax
movabs rax, 0x6175e28746470386
mov qword [r14], rax
cmp rax, qword [rsp + 8]
jne 0x18001a490
mov eax, dword [rsp + 0x1c]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x18001be64
Capabilities:
Parse pe header

Disassembly:
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x18001be64
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 0x18001bed3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18001bed3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18001bed3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18001bed3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18001bed3
cmp dword [rcx + 0x84], 0xe
jbe 0x18001bed3
cmp dword [rcx + 0xf8], 0
je 0x18001bed3
mov ecx, ebx
call fcn.18001bd9c
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.18001bff8
nop
cmp dword [rbp + 0x20], 0
je 0x18001bf21
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18001be30
int3

Function at 0x18001cc90
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18001ccb8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18001ccb8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180021074
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 0x1800210a4
xor eax, eax
jmp 0x180021167
mov rbp, rbx
cmp word [rax], si
je 0x1800210c9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800210b0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800210ac
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.180020f94
movsxd r14, eax
test eax, eax
jne 0x180021107
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18002109d
mov rcx, r14
call fcn.180021a10
mov rdi, rax
test rax, rax
jne 0x180021120
xor ecx, ecx
call fcn.18001eb98
jmp 0x1800210fc
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.180020f94
test eax, eax
jne 0x180021151
mov rcx, rdi
call fcn.18001eb98
jmp 0x18002115b
xor ecx, ecx
call fcn.18001eb98
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 0x42c145
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov cl, byte [rsp + 4]
lea rcx, [rbx + riz + 0x6d83c9e2]
jmp 0x42c192
bswap r13
lea rsp, [rsp + 4]
lea rsp, [rsp + 4]
add r8d, 0x2bf9c7ec
mov r11b, byte [rsp]
jmp 0x42c168

Function at 0x42c457
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea rsp, [rsp + 3]
sub r9b, bpl
jmp 0x42c465
mov r13d, 0xfaeade98
mov r13d, r12d
btr eax, r12d
je 0x42c533
jne 0x42c51d
imul eax, dword [rdx + reloc.KERNEL32.dll_CloseHandle], 0x24
or byte [rcx - 0x7f], al
invalid
lea r14, [r10*4]
jmp 0x42c53b
lea r14, [r10*4]
mov r14b, r9b
sub rsp, 0x10
jge 0x42c57e
jl 0x42c568
movabs r10, 0xfffffffe8041563c
jmp 0x42d967
bts r11, r11
bswap rsi
mov r11b, byte [rsp + 4]
jmp 0x42c5af
bts r11, r11
bswap rsi
mov r11b, byte [rsp + 4]
push word [rsp + 2]
mov byte [rsp + 0xb], cl
mov word [rsp + 0xc], r11w
lea rsp, [rsp + 2]
jmp 0x42c5d0
push word [rsp + 2]
mov byte [rsp + 0xb], cl
jmp 0x42c593
mov bl, spl
sete r12b
clc
or r11w, 0x7715
jmp 0x42d20e
lea rsp, [rsp + 0x10]
add r14b, 0xc5
xchg r13, rcx
push r8w
jmp 0x42c612
clc
or r11w, 0x7715
lea rsp, [rsp + 2]
jmp 0x42d213
jno 0x42c5ba
mov bl, spl
sete r12b
jmp 0x42c5fc
bt ecx, r12d
clc
not r14b
jmp 0x42c64c
jmp 0x42c662
xor r14b, 0xe4
mov ebx, r13d
mov cl, spl
stc
js 0x42c689
bt ecx, r12d
clc
jmp 0x42c667
bswap r10
bt rsi, rdi
mov esi, 0x3456985e
jmp 0x42c9a7
jns 0x42c993
sete r13b
btr bx, si
jmp 0x42c785
sete r13b
btr bx, si
bswap r10
bt rsi, rdi
mov esi, 0x3456985e
dec r11d
jmp 0x42c6ca
lea rsp, [rsp + 2]
ror r14b, 0
mov dx, 0xc8c2
btc r11w, sp
jmp 0x42c7e0
jmp 0x42d990
mov r8d, dword [rsp + 0x90]
stc
js 0x42da2a
xchg si, bp
mov r9w, word [rsp]
neg r15d
jmp 0x42da05
push r10
bsr si, r14w
jnp 0x42d943
mov r14d, dword [rsp]
mov rdx, qword [rsp]
xchg r14, rax
jmp 0x42d945
mov r14d, dword [rsp]
mov rdx, qword [rsp]
xchg r14, rax
jmp 0x42d945
mov bp, 0xfde0
jmp 0x42d9e1
rdtsc
mov r13d, edx
bsr r13d, esp
jnp 0x42d9b5
mov bp, 0xfde0
jmp 0x42d9e1
sub rsp, 0x240
jmp 0x42da0b
mov r9w, word [rsp]
neg r15d
lea r9, [rsp]
jmp 0x42d9cb
mov r12, rsp
cpuid
sub rsp, 0x18
jl 0x42da5e
jge 0x42da45
add al, byte [rdi + 0x4d817217]
mov eax, 0x38c9ae38
xchg byte [rbp - 0x166148fc], dl
or byte [rsi - 0x79], ah
out dx, al
xchg si, bp
jmp 0x42d9fd
inc r13w
not edx
jmp 0x42da64
inc r13w
not edx

Function at 0x54bd5c
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub rsp, 0xe
rdtsc
mov r15b, byte [rsp + 0x11]
mov r14d, esp
jmp 0x54bd81

Function at 0x54bed9
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg r15, rbp
mov r11, qword [rsp + 0x18]
mov bpl, byte [rsp + 0x26]
jmp 0x54bf51
xchg dword [rsp], ebp
pop word [rsp]
mov eax, dword [rsp]
xchg di, r11w
mov r14, 0x79e95de8
xchg di, bp
jmp 0x54bef6
mov rdx, qword [rsp + 0x15]
mov r14b, r15b
mov rbp, qword [rsp + 8]
lea rdi, [rdi + riz + 0xc549]
add rsp, 0x13
add rsp, 0x16
jmp 0x54bf13
Function at 0x54c310
Capabilities:
Execute anti-debugging instructions

Disassembly:
push qword [rsp + 5]
lea r15, [r10 + r15]
stc
sub rsp, 1
mov r15, rsp
lea rbp, [rbp*4]
jmp 0x54c324
mov dword [rsp + 7], ebp
mov r14w, 0x2d86
cld
xchg edi, r14d
mov rdx, qword [rsp + 7]
jmp 0x54c2ec
xchg byte [rsp + 3], r15b
lea rsp, [rsp + 0xd]
mov bpl, byte [rsp + 1]
setge bpl
stc
pushfq
jmp 0x54c574
xchg qword [rsp + 0x20], rbp
xchg word [rsp + 8], r15w
rcl r15, cl
jmp 0x54c44f
rcr rbp, cl
mov byte [rsp + 1], cl
rdtsc
dec r15w
lea rsp, [rsp + 7]
neg al
jmp 0x54c36f
pop qword [rsp + 0xd]
bswap ebp
mov qword [rsp + 3], r13
not rdi
jmp 0x54c408
mov dword [rsp + 0x2b], r14d
mov r15, 0xffffffffa08b714f
pushfq
mov rdx, 0x56dbfa7c
pop qword [rsp + 0x1c]
xchg dword [rsp + 0x37], eax
jmp 0x54c39b
mov word [rsp + 1], r13w
mov di, ax
sub rsp, 0x16
lea rdi, [rdi + r14]
bswap r14
lea rdi, [r13 + riz + 0xf926]
jmp 0x54c3b1
lea rsp, [rsp + 0x27]
lea r11, [0x3946baac]
jmp 0x54c438
xchg r11, rdi
lea rdi, [r10 + r15]
push word [rsp + 0x16]
sub rsp, 0x10
xchg dil, al
push word [rsp + 0x36]
jmp 0x54c3f2
add dl, 0x94
lea rbp, [rdx + riz - 0x44]
bswap r11d
dec di
jmp 0x54c4fe
lea rdx, [rdi + riz]
sub rsp, 5
lea rdi, [rbx*4]
jmp 0x54c422
not r15b
setae r15b
mov word [rsp + 0xb], r14w
std
rdtsc
mov byte [rsp + 0x27], sil
jmp 0x54c3d4
sub rsp, 0x15
mov word [rsp + 0xc], r12w
call fcn.0054c47f
sets r11b
add rsp, 0x3b
lea rdi, [rsi + r9]
mov r11w, dx
call fcn.0054c557
add byte [rax], al
jae 0x54c520
push word [rsp + 0x58]
xchg dl, r14b
clc
mov bp, 0x375d
jmp 0x54c50d
mov dword [rsp + 6], r15d
mov rax, rbp
xchg di, r11w
not al
sub rsp, 0x1f
xchg rdi, rdx
jmp 0x54c385