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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x14023bbdb], 1
jne 0x140009ddd
cmp byte [0x14023bbda], 0
jne 0x140009dfc
jmp 0x140009e2b
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14023bbdb], 1
test rax, rax
setne byte [0x14023bbda]
je 0x140009e2b
mov rdi, qword [fcn.1400088d0]
mov ecx, 2
call rdi
lea rdx, str.libunwind:___unw_step_cursor_p__n
mov rcx, rax
mov r8, rsi
call fcn.1400064e0
mov ecx, 2
call rdi
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x40]
mov r8, qword [0x14023f008]
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp r8

Function at 0x140009e50
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
cmp byte [0x14023bbdb], 1
jne 0x140009e71
cmp byte [0x14023bbda], 0
jne 0x140009e90
jmp 0x140009ec2
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14023bbdb], 1
test rax, rax
setne byte [0x14023bbda]
je 0x140009ec2
mov rbx, qword [fcn.1400088d0]
mov ecx, 2
call rbx
lea rdx, str.libunwind:___unw_get_proc_info_cursor_p__info_p__n
mov rcx, rax
mov r8, rdi
mov r9, rsi
call fcn.1400064e0
mov ecx, 2
call rbx
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rdi]
mov rax, qword [rax + 0x48]
mov rcx, rdi
mov rdx, rsi
call qword [0x14023f008]
xor ecx, ecx
cmp qword [rsi + 8], 0
mov eax, 0xffffe66b
cmovne eax, ecx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x140009ef0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x14023bbdb], 1
jne 0x140009f0d
cmp byte [0x14023bbda], 0
jne 0x140009f2c
jmp 0x140009f5b
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14023bbdb], 1
test rax, rax
setne byte [0x14023bbda]
je 0x140009f5b
mov rdi, qword [fcn.1400088d0]
mov ecx, 2
call rdi
lea rdx, str.libunwind:___unw_resume_cursor_p__n
mov rcx, rax
mov r8, rsi
call fcn.1400064e0
mov ecx, 2
call rdi
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x50]
mov rcx, rsi
call qword [0x14023f008]
mov eax, 0xffffe674
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x140009f80
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
cmp byte [0x14023bbdb], 1
jne 0x140009fab
cmp byte [0x14023bbda], 0
jne 0x140009fca
jmp 0x14000a002
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14023bbdb], 1
test rax, rax
setne byte [0x14023bbda]
je 0x14000a002
mov r15, qword [fcn.1400088d0]
mov ecx, 2
call r15
mov dword [rsp + 0x20], edi
lea rdx, str.libunwind:___unw_get_proc_name_cursor_p__buf_p__bufLen_lu__n
mov rcx, rax
mov r8, r14
mov r9, rbx
call fcn.1400064e0
mov ecx, 2
call r15
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [r14]
mov rax, qword [rax + 0x60]
mov rcx, r14
mov rdx, rbx
mov r8, rdi
mov r9, rsi
call qword [0x14023f008]
xor ecx, ecx
test al, al
mov eax, 0xffffe674
cmovne eax, ecx
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14000a040
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x14023bbd9], 1
jne 0x14000a05c
cmp byte [0x14023bbd8], 0
setne al
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_UNWINDING
call sub.msvcrt.dll_getenv
test rax, rax
setne al
setne byte [0x14023bbd8]
mov byte [0x14023bbd9], 1
add rsp, 0x28
ret
Function at 0x14002b6f0
Capabilities:
Copy file
Create process on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rdx
mov rdi, rcx
mov r15, qword [0x14003a040]
call r15
mov rax, qword [rax]
mov rcx, qword [rax]
lea rbx, [rdi + 1]
test byte [rdi], 1
mov rdx, rbx
je 0x14002b724
mov rdx, qword [rdi + 0x10]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
lea r14, [rsp + 0x88]
mov rcx, r14
mov rdx, rdi
call fcn.140002c10
mov rcx, r14
call fcn.14002b300
mov rcx, r14
call fcn.140002ca0
test byte [rdi], 1
je 0x14002b759
mov rbx, qword [rdi + 0x10]
mov rcx, rdi
call fcn.14002b840
lea rcx, [rsp + 0x70]
mov rdx, rbx
mov r8, rax
call fcn.14002b860
call r15
mov rdx, qword [rax]
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.14002ba00
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov rdx, rdi
call fcn.14002bb20
lea rdi, [rsp + 0x58]
mov rcx, rdi
mov rdx, rbx
call fcn.14002bc00
movzx ecx, byte [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
call fcn.14002bc90
movzx ecx, byte [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
call fcn.14002bc90
test byte [rsi], 1
je 0x14002b7cd
mov rsi, qword [rsi + 0x10]
jmp 0x14002b7d0
inc rsi
mov rbx, qword [sym.imp.KERNEL32.dll_WinExec]
mov rcx, rsi
xor edx, edx
call rbx
call fcn.14002bca0
call fcn.14002bce0
lea rdx, [0x14023bfb0]
lea rsi, [rsp + 0x40]
mov rcx, rsi
call fcn.14002b280
lea rcx, [rsp + 0x28]
mov rdx, rsi
mov r8, rdi
call fcn.14002b690
mov rcx, rsi
call fcn.140002ca0
test byte [rsp + 0x28], 1
je 0x14002b822
mov rcx, qword [rsp + 0x38]
jmp 0x14002b827
lea rcx, [rsp + 0x29]
xor edx, edx
call rbx
xor ecx, ecx
call sub.msvcrt.dll_exit
int3
Function at 0x14016d199
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg qword [rsp + 4], rcx
not r10b
mov r10, qword [rsp + 7]
mov word [rsp + 0x20], r9w
mov r13b, 0x83
bsf r9d, r14d
jmp 0x14016d0de
push qword [rsp + 0xf]
mov qword [rsp + 0xc], rsp
sub rsp, 0xa
lea r13, [rcx + rcx]
not rdx
mov dx, 0xbe22
jmp 0x14016d081
mov cx, 0xa5a8
shr r14w, 4
push word [rsp + 0x15]
jmp 0x14016d12d
xchg r10w, ax
pop r10
bsr rdi, rbp
push rax
xchg cl, r14b
bt bx, bp
jmp 0x14016d0c8
lea rbx, [rsi*8]
mov rdi, 0xffffffffbd88b5d8
pop bx
pop qword [rsp + 7]
clc
pop qword [rsp + 7]
jmp 0x14016d0ad
add rsp, 3
cmc
mov r14d, 0xf0b62267
bsr r10w, r12w
jmp 0x14016d167
mov dil, 0x79
shl bx, cl
pop rdx
add rsp, 0x1f
not r13d
btr rax, rsp
jmp 0x14016d117
mov edx, 0x196ce97
bswap edx
xchg byte [rsp + 0x14], r13b
xchg byte [rsp + 0x10], r13b
mov r14d, dword [rsp + 0x13]
pop r12w
jmp 0x14016d17a
sub rsp, 0x19
xchg r14w, cx
rdtsc
xchg rdi, rax
cpuid
bswap r12d
jmp 0x14016d141
rdtsc
pop di
bsr rcx, r13
add r10b, dl
mov r9, rsi
mov r14b, dl
jmp 0x14016d1b2
push word [rsp + 0x1d]
pop r13w
xchg r13b, dil
mov r13d, r11d
pop word [rsp + 0x11]
jmp 0x14016d0f8
mov r10b, r11b
xchg dil, cl
lea r14, [rsi + riz - 0x3907]
xchg word [rsp + 2], r14w
push word [rsp + 8]
not rdx
jmp 0x14016d1f5
pushfq
sub rsp, 0x16
lea r12, [rdx + rbp]
xchg r9b, r12b
pop r12w
mov r10w, 0xe4fb
jmp 0x14016d1df

Function at 0x14016d34f
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x14016d3ba
cpuid
mov r14d, dword [rsp + 0xa]
xchg r9w, r13w
lea rsp, [rsp + 0x11]
jmp 0x14016d39c
mov al, byte [rsp + 0x16]
lea rdi, [rdx + riz + 0xd2]
push r12
mov r13, rax
mov r13b, byte [rsp + 0x16]
jmp 0x14016d386
mov r10, qword [rsp + 0x1b]
push word [rsp + 0x18]
mov cl, 0x3d
xchg dword [rsp], ecx
bsr r12w, cx
mov r12b, 0x9d
jmp 0x14016d351

Function at 0x14016d6d8
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov byte [rsp + 0x29], sil
xchg byte [rsp + 0x41], r10b
xchg dword [rsp + 0x3a], ecx
jmp 0x14016d6b1

Function at 0x14016deb0
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea r13, [rcx + riz]
mov qword [rsp + 8], rax
neg r12b
push qword [rsp + 0xa]
add rsp, 0xe
jmp 0x14016def8
xchg ecx, eax
mov di, 0xb02f
mov r9d, 0x8393ebd9
mov qword [rsp + 0xe], r15
cmc
jmp 0x14016dee2
Function at 0x14016fb98
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dil, r12b
cmc
lea rsp, [rsp + 1]
cmc
mov edi, esi
cpuid
jmp 0x14016e2f3
push r14w
lea r12, [r8 + r11]
pop ax
lea rsp, [rsp + 6]
mov word [rsp + 4], r15w
inc r12
jmp 0x14016e12a
mov r10d, dword [rsp]
mov ax, 0x1859
sub rsp, 0x1f
call fcn.14016e173
lea rax, [rcx + r10]
xchg word [rsp + 5], bx
mov eax, dword [rsp + 6]
mov eax, ecx
mov rax, qword [rsp + 2]
add rsp, 3
jmp 0x14016e221
mov bx, word [rsp]
xchg ebx, eax
xchg r12d, eax
bswap r12d
jmp 0x14016e23a
cmc
lea rsp, [rsp + 5]
mov r14, qword [rsp + 0x9d]
mov r12w, word [rsp]
shl ebx, cl
dec eax
jmp 0x14016e20a
mov rax, qword [rsp + 0xa6]
mov rbx, qword [rsp]
mov bx, 0x813b
btr bx, r8w
std
jmp 0x14016e2b7
not ebx
dec r10b
mov cx, 0x8d7e
mov cx, sp
dec r13d
mov rcx, qword [rsp + 0x18]
jmp 0x14016e1be
xor ebx, 0xcfafa47c
call fcn.14016e2d3
mov ebx, 0x46cbac3e
ror dword [rdi + reloc.ntdll.dll_NtLoadDriver], 0x8b
sbb al, 0x24
mov ebx, dword [rsp]
mov r12, qword [rsp + 0xb0]
cld
mov rbx, rdi
mov rbx, rsp
lea rbx, [rax*4]
jmp 0x14016e2a1
mov r13d, dword [rsp]
mov r13, rcx
rdtsc
mov rdx, qword [rsp + 0x10]
mov r10w, 0x539f
stc
jmp 0x14016e288
lea r9, [rax + riz - 0x87]
bswap r10d
std
xchg dword [rsp + 1], edi
cpuid
mov byte [rsp + 0x15], r9b
jmp 0x14016e140
bswap r13d
rdtsc
xchg cx, r14w
cld
lea r12, [rbp + riz + 0x70919b2b]
jmp 0x14016e320
Function at 0x180030a70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rcx, qword [rsp + 0x58]
call fcn.1800103e0
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x58]
call fcn.180002010
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x34]
mov rdx, rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x38], eax
add rsp, 0x48
ret
Function at 0x180064bfc
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 0x180064c2c
xor eax, eax
jmp 0x180064cef
mov rbp, rbx
cmp word [rax], si
je 0x180064c51
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180064c38
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180064c34
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.180060490
movsxd r14, eax
test eax, eax
jne 0x180064c8f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180064c25
mov rcx, r14
call fcn.18005dc70
mov rdi, rax
test rax, rax
jne 0x180064ca8
xor ecx, ecx
call fcn.18005dc34
jmp 0x180064c84
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.180060490
test eax, eax
jne 0x180064cd9
mov rcx, rdi
call fcn.18005dc34
jmp 0x180064ce3
xor ecx, ecx
call fcn.18005dc34
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 0x180064d0c
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 0x180064d93
mov rsi, rbx
cmp word [rax], bp
je 0x180064d52
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x180064d3c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x180064d38
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.18005dc70
mov rdi, rax
test rax, rax
je 0x180064d80
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.180050c00
mov rbp, rdi
xor ecx, ecx
call fcn.18005dc34
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 0x180066528
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18006653e
mov al, 1
jmp 0x18006659e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18006654f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18006659c
mov ecx, dword [rcx + 0x18]
nop
call fcn.180068d50
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18006659c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x18006659c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18006659c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x18006659e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x18006b398
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.18005e08c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x18006b439
cmp ebx, dword [rsp + 0x30]
je 0x18006b432
test esi, esi
je 0x18006b432
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18006b40d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18006b41a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18006b3f7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18006b41e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18006b43b
mov eax, 1
jmp 0x18006b43b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18006e0cc
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.180055648
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x18006e156
cmp byte [rbp - 0x21], r15b
je 0x18006e151
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x18006e18c
call fcn.18005e6b4
test eax, eax
jne 0x18006e178
cmp byte [rbp - 0x21], r15b
je 0x18006e170
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x18006e18c
cmp byte [rbp - 0x21], r15b
je 0x18006e189
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.1800553b0
test eax, eax
jne 0x18006e22c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.180055648
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x18006e1cb
cmp byte [rbp - 0x21], r15b
je 0x18006e200
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x18006e200
call fcn.18005e6b4
test eax, eax
jne 0x18006e1ec
cmp byte [rbp - 0x21], r15b
je 0x18006e1e5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x18006e200
cmp byte [rbp - 0x21], r15b
je 0x18006e1fd
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.1800553b0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x18006e22c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x18006e22f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x18006e23d
mov rcx, rdi
call fcn.18005dc34
cmp byte [rbp + 0x3f], r15b
je 0x18006e24c
mov rcx, qword [rbp + 0x27]
call fcn.18005dc34
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 0x180070070
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180070098
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180070098
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x412ba0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x412d2b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x00638d00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x412c05
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x412c14
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x412c33
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x412c43
cmp rbx, 0x1000
jae 0x412c0b
jmp 0x412cad
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x412c55
xor edx, edx
jmp 0x412ca4
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x00638d00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x412c39
jmp 0x412c28
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x00638d00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x004e909c]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004e95bd]
mov ebx, 0x19
nop dword [rax + rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x30]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004ebd70]
mov ebx, 0x21
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.sysUnusedOS
Function at 0x412d60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x412f86
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x00638d00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x412dd3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x412de2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x412e05
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x412e15
cmp rbx, 0x1000
jae 0x412dd9
nop
jmp 0x412e98
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x412e2d
xor esi, esi
jmp 0x412e8a
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x00638d00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x412e0b
jmp 0x412df6
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x00638d00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x412f20
nop dword [rax + rax]
call sym.runtime.printlock
lea rax, [0x004e95d6]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call sym.runtime.printuint
lea rax, [0x004e95bd]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
call sym.runtime.printuint
nop
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004e4ff7]
mov ebx, 0xd
call sym.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x412ec0
call sym.runtime.printlock
lea rax, [0x004e95d6]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004e95bd]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
nop dword [rax]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004eb5ba]
mov ebx, 0x1f
nop dword [rax + rax]
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp sym.runtime.sysUsedOS
Function at 0x41cfc0
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x00638ab2], 0
jne 0x41d0b0
sub rbx, qword [rax + 0x18]
mov rdx, qword [rax + 0x48]
test byte [rdx], al
mov ecx, dword [rax + 0x5c]
imul rcx, rbx
mov rbx, rcx
shr rbx, 0x20
shr rcx, 0x23
and ebx, 7
mov rsi, rcx
mov rcx, rbx
mov edi, 1
shl edi, cl
add rdx, rsi
nop
nop
nop
nop
lock or byte [rdx], dil
mov rcx, qword [rax + 0x18]
movabs rdx, 0x800000000000
add rdx, rcx
mov rbx, rdx
shr rdx, 0x2a
nop
nop
nop
cmp rdx, 0x40
jae 0x41d0a3
lea rsi, [0x0060ae58]
mov rdx, qword [rsi + rdx*8]
test byte [rdx], al
mov rsi, rcx
shr rsi, 0x10
and esi, 0x3f
shr rcx, 0xd
and ecx, 7
mov edi, 1
shl edi, cl
shr rbx, 0x16
and ebx, 0xfffff
mov rdx, qword [rdx + rbx*8]
test byte [rdx], al
movzx ebx, byte [rdx + rsi + 0x1040]
lea rdx, [rdx + rsi]
lea rdx, [rdx + 0x1040]
test dil, bl
jne 0x41d07e
lock or byte [rdx], dil
mov rcx, qword [r14 + 0x30]
mov rcx, qword [rcx + 0xa0]
test byte [rcx], al
mov rdx, qword [rcx + 0x1258]
add rdx, qword [rax + 0x68]
mov qword [rcx + 0x1258], rdx
add rsp, 0x10
pop rbp
ret
mov rax, rdx
mov ecx, 0x40
call sym.runtime.panicIndexU
lea rax, [0x004ede7c]
mov ebx, 0x2c
nop dword [rax]
call sym.runtime.throw
nop
int3

Function at 0x41f4c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41f5c6
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov byte [rsp + 0x70], dil
mov qword [rsp + 0x10], 0
jmp 0x41f503
mov rax, qword [rsp + 0x58]
mov rcx, rdx
mov rbx, qword [rsp + 0x60]
movzx edi, byte [rsp + 0x70]
cmp qword [rsp + 0x10], rbx
jae 0x41f5bb
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov ebx, edi
mov rax, rcx
nop dword [rax]
call sym.runtime._scavengeIndex_.find
test rax, rax
je 0x41f5bb
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [sym.runtime._pageAlloc_.scavenge.func1]
mov qword [rsp + 0x18], rcx
lea rdx, [rsp + 0x10]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x18]
mov qword [rsp], rbx
nop dword [rax]
call sym.runtime.systemstack.abi0
xorps xmm15, xmm15
mov r14, qword [0x00638d00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x68]
nop dword [rax]
test rdx, rdx
jne 0x41f5a9
xor eax, eax
jmp 0x41f5b3
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x68]
test al, al
je 0x41f4f1
mov rax, qword [rsp + 0x10]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp sym.runtime._pageAlloc_.scavenge