joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009aca0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14009acb6
mov al, 1
jmp 0x14009ad16
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14009acc7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14009ad14
mov ecx, dword [rcx + 0x18]
nop
call fcn.14009b6b4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14009ad14
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14009ad14
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14009ad14
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14009ad16
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14009b7c4
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.140093380
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140093380
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14009b914
cmp rax, 0xffffffffffffffff
je 0x14009b914
xor edi, edi
test rbp, rbp
jle 0x14009b8bf
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140097780
mov rbx, rax
test rax, rax
jne 0x14009b84c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14009b8b5
mov edx, 0x8000
mov ecx, r14d
call fcn.140094a40
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.1400961c0
cmp eax, 0xffffffff
je 0x14009b895
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14009b85c
mov edx, r15d
mov ecx, r14d
call fcn.140094a40
jmp 0x14009b8b5
cmp byte [rsi + 0x38], dil
je 0x14009b8ac
cmp dword [rsi + 0x34], 5
jne 0x14009b8ac
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x14009b8b5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400977f8
jmp 0x14009b928
jns 0x14009b928
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140093380
cmp rax, 0xffffffffffffffff
jne 0x14009b8e0
cmp byte [rsi + 0x30], dil
je 0x14009b928
mov edi, dword [rsi + 0x2c]
jmp 0x14009b928
mov ecx, r14d
call fcn.14009b6b4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14009b928
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 0x14009b928
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14009b921
mov eax, dword [rsi + 0x2c]
jmp 0x14009b926
mov eax, reloc.WLDAP32.dll_Ordinal_22
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140093380
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 0x14009f1a4
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 0x14009f1d4
xor eax, eax
jmp 0x14009f297
mov rbp, rbx
cmp word [rax], si
je 0x14009f1f9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14009f1e0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14009f1dc
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.14009c160
movsxd r14, eax
test eax, eax
jne 0x14009f237
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14009f1cd
mov rcx, r14
call fcn.1400983dc
mov rdi, rax
test rax, rax
jne 0x14009f250
xor ecx, ecx
call fcn.1400977f8
jmp 0x14009f22c
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.14009c160
test eax, eax
jne 0x14009f281
mov rcx, rdi
call fcn.1400977f8
jmp 0x14009f28b
xor ecx, ecx
call fcn.1400977f8
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 0x14009f2b4
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 0x14009f33b
mov rsi, rbx
cmp word [rax], bp
je 0x14009f2fa
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14009f2e4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14009f2e0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400983dc
mov rdi, rax
test rax, rax
je 0x14009f328
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400a6a00
mov rbp, rdi
xor ecx, ecx
call fcn.1400977f8
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 0x1400a0a3c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400a0a5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14008852c
or eax, 0xffffffff
jmp 0x1400a0a5e
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400a33a8
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400d5700]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400a33f2
call fcn.140088598
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.1400885b8
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.140085720
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14007cfc0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400a33fd
lea eax, [rbx + 1]
jmp 0x1400a33df
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 0x1400a33dd
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400a33df
Function at 0x1400a4844
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.1400885d8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400a48ce
cmp byte [rbp - 0x21], r15b
je 0x1400a48c9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400a4904
call fcn.140097aa0
test eax, eax
jne 0x1400a48f0
cmp byte [rbp - 0x21], r15b
je 0x1400a48e8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400a4904
cmp byte [rbp - 0x21], r15b
je 0x1400a4901
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.140090e28
test eax, eax
jne 0x1400a49a4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400885d8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400a4943
cmp byte [rbp - 0x21], r15b
je 0x1400a4978
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400a4978
call fcn.140097aa0
test eax, eax
jne 0x1400a4964
cmp byte [rbp - 0x21], r15b
je 0x1400a495d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400a4978
cmp byte [rbp - 0x21], r15b
je 0x1400a4975
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.140090e28
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400a49a4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400a49a7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400a49b5
mov rcx, rdi
call fcn.1400977f8
cmp byte [rbp + 0x3f], r15b
je 0x1400a49c4
mov rcx, qword [rbp + 0x27]
call fcn.1400977f8
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 0x14005ad90
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14005ad9d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14005adad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14005ad95
lea eax, [rcx + 1]
jmp 0x14005adbb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14005adce
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14005adb4
sub eax, 3
jb 0x14005adee
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14005ae3d
sar eax, 1
movsxd rbp, eax
jb 0x14005ae24
jmp 0x14005adfc
add ebx, ebx
jne 0x14005adfa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14005ae24
inc ecx
add ebx, ebx
jne 0x14005ae0a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14005ae24
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14005ae1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14005ae0c
add ecx, 2
jmp 0x14005ae29
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14005ad52
jmp 0x14005ad9d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2b200
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14005ae89
cmp rsi, rcx
jae 0x14005ae91
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14005ae70
cmp al, 0x8f
ja 0x14005ae70
cmp byte [rsi - 2], 0xf
je 0x14005ae76
sub al, 0xe8
cmp al, 1
ja 0x14005ae5a
cmp rsi, rcx
jae 0x14005ae91
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14005ae60
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14005ae91
lodsb al, byte [rsi]
jmp 0x14005ae70
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x58000]
mov eax, dword [rdi]
or eax, eax
je 0x14005aeee
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x69fb0]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14005ae9e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14005aee8
mov qword [rbx], rax
add rbx, 8
jmp 0x14005aebe
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14005af28
cmp al, 0xef
ja 0x14005af1a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14005aefa
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14005af09
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14005af7c
sub rsp, 0xffffffffffffff80
jmp 0x14000c320
Function at 0x140001000
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor ebp, ebp
lea rcx, str.RandomUserAgent_1.0
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor r8d, r8d
mov edx, 1
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rsi, rax
test rax, rax
je 0x140001146
mov qword [rsp + 0x38], rbp
lea rdx, str.maper.info
mov dword [rsp + 0x30], ebp
mov r8d, 0x1bb
mov dword [rsp + 0x28], 3
xor r9d, r9d
mov rcx, rax
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x260], rbx
call qword [sym.imp.WININET.dll_InternetConnectW]
mov rbx, rax
test rax, rax
je 0x140001135
mov qword [rsp + 0x38], rbp
lea r8, str._RNYwe2
mov dword [rsp + 0x30], 0x800000
lea rdx, [0x1400032e0]
mov qword [rsp + 0x28], rbp
xor r9d, r9d
mov rcx, rax
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x268], rdi
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov rdi, rax
test rax, rax
je 0x140001124
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x14000111b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Error__u
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
mov r9d, 0x10
lea r8, str.Request_Failed
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rdi, qword [rsp + 0x268]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rbx, qword [rsp + 0x260]
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140001180
mov rbp, qword [rsp + 0x270]
add rsp, 0x250
pop rsi
ret

Function at 0x140001a7c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ac6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ac6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001ac6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ac6
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ac6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ac8
xor al, al
add rsp, 0x28
ret
Function at 0x180007500
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x180007535
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180007110
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180007654
mov qword [rsp + 0x58], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
nop dword [rax + rax]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
mov edx, r9d
mov rcx, qword [rcx]
xor rdx, rdi
imul rdx, rbp
and r11, rdx
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x1800075d2
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180007643
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x18000760b
mov r10, qword [rdx]
cmp r10, rax
je 0x180007605
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x180007643
cmp r8, rdx
je 0x18000761f
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x180007665
cmp r8, rdx
jne 0x180007610
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x1800075a0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180007643
Function at 0x18000ccc0
Capabilities:
Query environment variable

Disassembly:
push rdi
sub rsp, 0x440
mov rax, qword [0x180028040]
xor rax, rsp
mov qword [rsp + 0x430], rax
cmp qword [0x180028e88], 0
mov rdi, rcx
jne 0x18000cf0f
cmp byte [0x180028d05], 0
mov qword [rsp + 0x458], rbx
je 0x18000cd12
cmp byte [0x1800280a8], 0
je 0x18000cd12
lea rcx, str.Setting_Mono_Assemblies_Path...
call fcn.18000f540
mov rcx, qword [0x180028f00]
call qword [0x180028e28]
cmp byte [0x180028d05], 0
je 0x18000cd3d
cmp byte [0x1800280a8], 0
je 0x18000cd3d
lea rcx, str.Setting_Mono_Assembly_Root_Directory...
call fcn.18000f540
mov rcx, qword [0x180028f00]
call qword [0x180028dd0]
cmp byte [0x180028d05], 0
je 0x18000cd68
cmp byte [0x1800280a8], 0
je 0x18000cd68
lea rcx, str.Setting_Mono_Config_Directory...
call fcn.18000f540
mov rcx, qword [0x180028e48]
call qword [0x180028e10]
cmp byte [0x180028d02], 0
jne 0x18000cd91
mov ecx, dword [0x180028f8c]
lea rdx, [0x180028f90]
call qword [0x180028df8]
cmp byte [0x180028d05], 0
je 0x18000ce45
cmp byte [0x1800280a8], 0
je 0x18000cdb3
lea rcx, str.Parsing_Dnspy_Debugger_Environment_Options...
call fcn.18000f540
cmp byte [0x180028d02], 0
lea rdx, [rsp + 0x30]
mov r8d, 0x400
lea rcx, str.DNSPY_UNITY_DBG
jne 0x18000cdd5
lea rcx, str.DNSPY_UNITY_DBG2
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x3fe
ja 0x18000cdfe
lea rax, [rsp + 0x30]
mov ecx, 1
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
call qword [0x180028f10]
cmp byte [0x180028d05], 0
je 0x18000ce1c
cmp byte [0x1800280a8], 0
je 0x18000ce1c
lea rcx, str.Initializing_Mono_Debug...
call fcn.18000f540
mov ecx, 1
call qword [0x180028e40]
cmp byte [0x180028d05], 0
je 0x18000ce45
cmp byte [0x1800280a8], 0
je 0x18000ce45
lea rcx, str.Creating_Mono_Domain...
call fcn.18000f540
mov rax, qword [0x180028de8]
mov rcx, rdi
call rax
movzx ecx, byte [0x180028d05]
mov qword [0x180028e88], rax
test cl, cl
je 0x18000ceb7
mov rdx, qword [0x180028f50]
test rdx, rdx
je 0x18000ce9e
cmp byte [0x1800280a8], 0
je 0x18000ce92
lea rcx, str.Creating_Mono_Debug_Domain...
call fcn.18000f540
mov rax, qword [0x180028e88]
mov rdx, qword [0x180028f50]
mov rcx, rax
call rdx
movzx ecx, byte [0x180028d05]
test cl, cl
je 0x18000ceb7
cmp byte [0x1800280a8], 0
je 0x18000ceb7
lea rcx, str.Setting_Mono_Main_Thread...
call fcn.18000f540
mov rbx, qword [0x180028e20]
call qword [0x180028e18]
mov rcx, rax
call rbx
cmp byte [0x180028d02], 0
mov rbx, qword [rsp + 0x458]
jne 0x18000cf0f
cmp byte [0x180028d05], 0
je 0x18000cef8
cmp byte [0x1800280a8], 0
je 0x18000cef8
lea rcx, str.Setting_Mono_Domain_Config...
call fcn.18000f540
mov rdx, qword [0x180028d80]
mov r8, rdi
mov rcx, qword [0x180028e88]
call qword [0x180028f20]
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.18001c770
add rsp, 0x440
pop rdi
ret
Function at 0x180015b40
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x180015b68
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x180015b8e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180015b90
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180015be9
test ecx, ecx
jle 0x180015bc9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x180015be9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180015be9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x180015c10
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x180015c32
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x180015c48
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x180015c64
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180015c66
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180015ca2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x180015d3e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x180015cdd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x180015d1e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x180015d3e
cmp rbx, rax
ja 0x180015cf0
test rbx, rbx
je 0x180015d3e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret