joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027cb4
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.14001babc
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001babc
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027e04
cmp rax, 0xffffffffffffffff
je 0x140027e04
xor edi, edi
test rbp, rbp
jle 0x140027daf
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001e0e0
mov rbx, rax
test rax, rax
jne 0x140027d3c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027da5
mov edx, 0x8000
mov ecx, r14d
call fcn.140015690
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.14001c7bc
cmp eax, 0xffffffff
je 0x140027d85
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027d4c
mov edx, r15d
mov ecx, r14d
call fcn.140015690
jmp 0x140027da5
cmp byte [rsi + 0x38], dil
je 0x140027d9c
cmp dword [rsi + 0x34], 5
jne 0x140027d9c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027da5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a168
jmp 0x140027e18
jns 0x140027e18
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001babc
cmp rax, 0xffffffffffffffff
jne 0x140027dd0
cmp byte [rsi + 0x30], dil
je 0x140027e18
mov edi, dword [rsi + 0x2c]
jmp 0x140027e18
mov ecx, r14d
call fcn.140016c88
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027e18
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140027e18
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027e11
mov eax, dword [rsi + 0x2c]
jmp 0x140027e16
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001babc
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 0x140001f98
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
mov rax, qword [0x0040ae60]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x0040ae70]
mov dword [rax], 1
mov rax, qword [0x0040ae80]
mov dword [rax], 1
mov rax, qword [0x0040ae50]
mov dword [rax], 1
mov rax, qword [0x0040ad30]
cmp word [rax], 0x5a4d
je 0x4010b0
mov rax, qword [0x0040ae40]
mov dword [0x0040e00c], edx
mov eax, dword [rax]
test eax, eax
je 0x4010a0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x0040ae00]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x0040ace0]
cmp dword [rax], 1
je 0x4010f0
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401103
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058
Function at 0x403254
Capabilities:
Resolve dns

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
cmp qword [rbp + 0x10], 0
jne 0x403280
mov r8d, 0x43
lea rdx, str.C:Usersl00810585Downloads_nbtscan_source_1.0.35hostname.c
lea rcx, str.name___0
call sym._assert
mov rcx, qword [rbp + 0x10]
mov rax, qword [sym.imp.WSOCK32.dll_gethostbyname]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x40329f
mov eax, 0xffffffff
jmp 0x4032b2
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov eax, dword [rax]
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
add rsp, 0x30
pop rbp
ret

Function at 0x403390
Capabilities:
Resolve dns

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
cmp qword [rbp + 0x10], 0
jne 0x4033c0
mov r8d, 0x1f
lea rdx, str.C:Usersl00810585Downloads_nbtscan_source_1.0.35lookup_hostname.c
lea rcx, str.remote___0
call sym._assert
cmp qword [rbp + 0x18], 0
jne 0x4033e0
mov r8d, 0x20
lea rdx, str.C:Usersl00810585Downloads_nbtscan_source_1.0.35lookup_hostname.c
lea rcx, [0x00409aa1]
call sym._assert
mov rax, qword [rbp + 0x18]
mov rdx, rax
mov rcx, qword [rbp + 0x10]
call sym.parse_inaddr
test eax, eax
je 0x4033fb
mov eax, 1
jmp 0x40344b
mov rcx, qword [rbp + 0x10]
mov rax, qword [sym.imp.WSOCK32.dll_gethostbyname]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x40341a
mov eax, 0
jmp 0x40344b
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov edx, dword [rax]
mov rax, qword [rbp + 0x18]
mov dword [rax], edx
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.WSOCK32.dll_ntohl]
call rax
mov edx, eax
mov rax, qword [rbp + 0x18]
mov dword [rax], edx
mov eax, 1
add rsp, 0x30
pop rbp
ret

Function at 0x403cb0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov dword [rbp + 0x20], r8d
mov qword [rbp + 0x28], r9
cmp qword [rbp + 0x18], 0
jne 0x403ce8
mov r8d, 0x15
lea rdx, str.C:Usersl00810585Downloads_nbtscan_source_1.0.35packetio.c
lea rcx, [0x00409fce]
call sym._assert
cmp qword [rbp + 0x28], 0
jne 0x403d08
mov r8d, 0x16
lea rdx, str.C:Usersl00810585Downloads_nbtscan_source_1.0.35packetio.c
lea rcx, str.dst___0
call sym._assert
mov ecx, dword [rbp + 0x20]
mov rax, qword [rbp + 0x18]
mov dword [rsp + 0x28], 0x10
mov rdx, qword [rbp + 0x28]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, ecx
mov rdx, rax
mov rcx, qword [rbp + 0x10]
mov rax, qword [sym.imp.WSOCK32.dll_sendto]
call rax
add rsp, 0x30
pop rbp
ret
Function at 0x403d3f
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov dword [rbp + 0x20], r8d
mov qword [rbp + 0x28], r9
mov qword [rbp - 8], 0x10
cmp qword [rbp + 0x18], 0
jne 0x403d7f
mov r8d, 0x23
lea rdx, str.C:Usersl00810585Downloads_nbtscan_source_1.0.35packetio.c
lea rcx, [0x00409fce]
call sym._assert
cmp qword [rbp + 0x28], 0
jne 0x403d9f
mov r8d, 0x24
lea rdx, str.C:Usersl00810585Downloads_nbtscan_source_1.0.35packetio.c
lea rcx, str.src___0
call sym._assert
mov ecx, dword [rbp + 0x20]
mov rdx, qword [rbp + 0x18]
lea rax, [rbp - 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 0
mov r8d, ecx
mov rcx, qword [rbp + 0x10]
mov rax, qword [sym.imp.WSOCK32.dll_recvfrom]
call rax
add rsp, 0x40
pop rbp
ret

Function at 0x40560f
Capabilities:
Initialize winsock library

Disassembly:
push rbp
sub rsp, 0x2c0
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x250], ecx
mov dword [rbp + 0x258], edx
mov eax, dword [rbp + 0x258]
movzx eax, al
mov edx, dword [rbp + 0x258]
movzx edx, dl
shl edx, 8
or eax, edx
mov word [rbp + 0x23e], ax
movzx eax, word [rbp + 0x23e]
lea rdx, [rbp + 0xa0]
mov ecx, eax
mov rax, qword [sym.imp.WSOCK32.dll_WSAStartup]
call rax
mov dword [rbp + 0x238], eax
cmp dword [rbp + 0x238], 0
je 0x405698
lea rax, [rbp - 0x60]
mov ecx, dword [rbp + 0x238]
mov r8d, 0x100
mov rdx, rax
call sym.printable_wserror
mov rdx, rax
lea rcx, str.ERROR:_initializing_Winsock___s_
call sym.dieA
cmp dword [rbp + 0x250], 0
je 0x40572a
movzx eax, word [rbp + 0xa0]
shr ax, 8
movzx edx, al
movzx eax, word [rbp + 0xa0]
movzx eax, al
mov r8d, edx
mov edx, eax
lea rcx, str.Using_Winsock__d._d
call sym.printf
movzx edx, word [rbp + 0xa0]
movzx eax, word [rbp + 0xa2]
cmp dx, ax
je 0x40570a
movzx eax, word [rbp + 0xa2]
shr ax, 8
movzx edx, al
movzx eax, word [rbp + 0xa2]
movzx eax, al
mov r8d, edx
mov edx, eax
lea rcx, str.___d._d_available_
call sym.printf
mov ecx, 0xa
call sym.putchar
mov ecx, 1
mov rax, qword [sym.__acrt_iob_func]
call rax
mov rcx, rax
call sym.fflush
nop
add rsp, 0x2c0
pop rbp
ret
Function at 0x405d10
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x0040e6a4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x405e98
mov rax, qword [0x0040e6a8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x405d5c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x405de5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x405d40
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x405ecd
mov rax, qword [0x0040e6a8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x0040e6a8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x405eb0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x405dde
sub eax, 0x40
and eax, 0xffffffbf
jne 0x405e40
add dword [0x0040e6a4], 1
cmp edi, 8
jae 0x405e13
test dil, 4
jne 0x405e84
test edi, edi
je 0x405e08
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x405e9f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x405e08
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x405e2c
jmp 0x405e08
add rsi, qword [0x0040e6a8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x405dde
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x405e08
xor esi, esi
jmp 0x405d67
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x405e08
mov rax, qword [0x0040e6a8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x406620
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0040e980]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0040e960]
test rbx, rbx
je 0x406674
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x40666b
test rsi, rsi
je 0x40666b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x406650
lea rcx, [0x0040e980]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x4068b0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x4068c0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x4068d0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x406911
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x406908
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x406913
add rax, 0x28
cmp rax, r9
jne 0x4068f4
xor eax, eax
ret

Function at 0x4069b0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x0040ad30]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x406a1d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x406a1d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x406a1d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x406a14
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x406a1f
add rax, 0x28
cmp rax, r9
jne 0x406a00
xor eax, eax
add rsp, 0x28
ret

Function at 0x406b20
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x0040ad30]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x406b40
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x406b38
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x406b9d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x406b94
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x406ba4
add rax, 0x28
cmp rax, r9
jne 0x406b80
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x406bc0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x0040ad30]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x406c2e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x406c2e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x406c2e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x406c2e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x406c25
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x406c35
add rcx, 0x28
cmp rcx, rax
jne 0x406c10
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x406c48
jmp 0x406c2e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x406c56
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x406c2e
test r9d, r9d
jg 0x406c40
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x407d90
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x18007536b
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x180157f90
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x1801b2a40]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1801c7745]
call fcn.18007703a
mov rax, qword [rbp + 0x140]
mov rcx, qword [0x1801b9e90]
add rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
lea r9, [rbp + 0x44]
mov r8d, 0x40
mov edx, 1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
cmp eax, 1
jne 0x180158027
mov rax, qword [rbp + 0x28]
mov byte [rax], 0
jmp 0x18015802e
mov rax, qword [rbp + 0x28]
mov byte [rax], 1
lea r9, [rbp + 0x44]
mov r8d, dword [rbp + 0x44]
mov edx, 1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, [rbp - 0x20]
lea rdx, [0x18019bc60]
call fcn.180076b12
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.180075f46
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x180075fa0
Capabilities:
Create thread

Disassembly:
jmp 0x18015c530
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x30]
lea rcx, [0x1801c7745]
call fcn.18007703a
mov eax, dword [rbp + 0xf8]
mov dword [rbp + 0xc0], eax
cmp dword [rbp + 0xc0], 0
je 0x18015c5b0
cmp dword [rbp + 0xc0], 1
je 0x18015c578
jmp 0x18015c5b5
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rbp + 0xf0]
lea r8, [0x1800768bf]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x18015c5b5
call fcn.1800753b1
mov eax, 1
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret

Function at 0x1800761c6
Capabilities:
Terminate process

Disassembly:
jmp 0x18015dbf0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x18007648c
Capabilities:
Write file on windows

Disassembly:
jmp 0x180097d70
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1801c7071]
call fcn.18007703a
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fwrite]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x18007659f
Capabilities:
Read file on windows

Disassembly:
jmp 0x180097d00
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1801c7071]
call fcn.18007703a
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1800765b3
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x180098310
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x1801c7071]
call fcn.18007703a
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x180169a80]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x180098448
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x1800983a9
mov dword [rbp + 0x160], 1
jmp 0x1800983b3
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x180098443
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x64], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x18009841d
cmp qword [rbp + 0x198], 2
jb 0x18009841d
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18009841d
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18009841d
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x180098374
jmp 0x1800984d5
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x84], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x1800984d5
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x1800984ac
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1800984ac
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1800984ac
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x180098448
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x1800766c6
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x180158be0
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1801b2a40]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x1801c7745]
call fcn.18007703a
mov rax, qword [0x1801b9e90]
add rax, 0x185cd2f
mov qword [rbp + 8], rax
mov byte [rbp + 0x24], 0x74
mov byte [rbp + 0x25], 0xf
mov byte [rbp + 0x26], 0x83
mov byte [rbp + 0x27], 0xfa
mov byte [rbp + 0x28], 1
mov byte [rbp + 0x29], 0
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x180158cd6
mov rax, qword [0x1801b9e90]
add rax, 0x185cd40
mov rcx, qword [rbp + 8]
add rcx, 6
sub rax, rcx
mov dword [rbp + 0x64], eax
mov r8d, 6
lea rdx, [rbp + 0x24]
mov rcx, qword [rbp + 0x48]
call fcn.180075f50
mov rax, qword [rbp + 0x48]
mov byte [rax], 0xf
mov rax, qword [rbp + 0x48]
mov byte [rax + 1], 0x83
mov rax, qword [rbp + 0x48]
mov ecx, dword [rbp + 0x64]
mov dword [rax + 2], ecx
mov r8d, 6
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call fcn.1800767f7
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rcx, [rbp - 0x20]
lea rdx, [0x18019b920]
call fcn.180076b12
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.180075f46
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x1800767f7
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x180158e30
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x128]
mov rax, qword [0x1801b2a40]
xor rax, rbp
mov qword [rbp + 0xd8], rax
lea rcx, [0x1801c7745]
call fcn.18007703a
mov eax, dword [rbp + 0x110]
lea r9, [rbp + 4]
mov r8d, 0x40
mov edx, eax
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [rbp + 0x110]
mov r8d, eax
mov rdx, qword [rbp + 0x108]
mov rcx, qword [rbp + 0x100]
call fcn.180075f50
mov eax, dword [rbp + 0x110]
lea r9, [rbp + 4]
mov r8d, dword [rbp + 4]
mov edx, eax
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, [rbp - 0x20]
lea rdx, [0x18019b8a0]
call fcn.180076b12
mov rcx, qword [rbp + 0xd8]
xor rcx, rbp
call fcn.180075f46
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret