joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800f6760
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x1801561e0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, qword [rcx + 0x18]
lea r8, [rsp + 0x20]
mov rdi, rcx
lea rdx, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov rbp, qword [rsi + 0x1f8]
mov rcx, rbp
mov dword [rsp + 0x20], 0x80
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x1800f67db
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_accept]
mov rbx, rax
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call fcn.1800d1d40
mov rcx, rdi
cmp rbx, 0xffffffffffffffff
jne 0x1800f6803
lea rdx, str.Error_accept__ing_server_connect
call fcn.1800d1360
lea eax, [rbx + 0x1f]
jmp 0x1800f687f
lea rdx, str.Connection_accepted_from_server
call fcn.1800d14d0
mov edx, 1
mov byte [rsi + 0x3d1], 0
mov rcx, rbx
mov qword [rsi + 0x1f8], rbx
call fcn.1801025b0
mov byte [rsi + 0x3e4], 1
cmp qword [rdi + 0x280], 0
je 0x1800f687d
mov dl, 1
mov rcx, rdi
call fcn.1800c0b40
mov rcx, qword [rdi + 0x288]
mov r8d, 1
mov rdx, rbx
call qword [rdi + 0x280]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.1800c0b40
test ebx, ebx
je 0x1800f687d
mov rdx, rsi
mov rcx, rdi
call fcn.1800f6d80
mov eax, Ordinal_46
jmp 0x1800f687f
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180112970
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1800f8360
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1b0]
mov rbx, rcx
mov rdx, qword [rcx + 0x18]
cmp dword [rax + 0x10], 0
je 0x1800f8396
mov dword [rdx + 0x7c8], 0xd
mov r8d, reloc.WS2_32.dll_listen
mov dl, 1
add rsp, 0x20
pop rbx
jmp fcn.1800f8480
cmp byte [rcx + 0xad4], 0
je 0x1800f83ab
xor edx, edx
add rsp, 0x20
pop rbx
jmp fcn.1800f8ef0
cmp byte [rcx + 0xad7], 0
je 0x1800f842c
mov r9, qword [rdx + 0x788]
test r9, r9
jne 0x1800f83ee
mov r9, qword [rcx + 0x790]
test r9, r9
jne 0x1800f83e5
cmp byte [rbx + 0x12f0], 0
lea rcx, str.NLST
lea r9, str.LIST
cmovne r9, rcx
lea r8, str.PRET__s
jmp 0x1800f8405
cmp byte [rcx + 0xae4], 0
lea r8, str.PRET_STOR__s
jne 0x1800f8405
lea r8, str.PRET_RETR__s
add rdx, 0x6f8
mov rcx, rbx
call fcn.18010d330
test eax, eax
jne 0x1800f8436
mov rcx, qword [rbx + 0x18]
mov dword [rcx + 0x7c8], 0x1d
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.1800f8e40
add rsp, 0x20
pop rbx
ret

Function at 0x1800f8750
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1b0]
add rdx, 0x6f8
mov rbx, rcx
cmp dword [rax + 0x10], 0
je 0x1800f879e
cmp qword [rdx + 0x90], 0
je 0x1800f879e
xor r9d, r9d
lea r8, str.REST__d
call fcn.18010d330
test eax, eax
jne 0x1800f87a8
mov rcx, qword [rbx + 0x18]
mov dword [rcx + 0x7c8], 0x1a
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.1800f8360
add rsp, 0x20
pop rbx
ret
Function at 0x1800f8a70
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbp, qword [rcx + 0x18]
lea eax, [rdx - 0xc8]
xor edi, edi
mov esi, r8d
mov rbx, rcx
cmp eax, 0x64
jb 0x1800f8aaf
lea rdx, str.Couldnt_set_desired_mode
call fcn.1800d1360
lea eax, [rdi + 0x11]
jmp 0x1800f8c15
cmp edx, 0xc8
je 0x1800f8ac6
mov r8d, edx
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200
call fcn.1800d14d0
cmp esi, 0x13
jne 0x1800f8adb
mov rdx, rbp
mov rcx, rbx
call fcn.1800f8970
jmp 0x1800f8c11
cmp esi, 0x14
jne 0x1800f8bf3
cmp dword [rbx + 0x720], 2
mov rbp, qword [rbx + 0x18]
jne 0x1800f8b58
mov rax, qword [rbx + 0x1b0]
mov rcx, qword [rax]
test rcx, rcx
je 0x1800f8b58
xor r9d, r9d
mov qword [rsp + 0x40], rdi
lea r8, [rsp + 0x40]
mov dword [rsp + 0x20], 3
xor edx, edx
call fcn.180101600
test eax, eax
jne 0x1800f8c11
mov rcx, qword [rsp + 0x40]
lea edx, [rsi + 0x1b]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1800f8b4d
mov rdi, qword [rsp + 0x40]
mov ecx, 1
sub rax, rdi
cmovne rcx, rax
mov byte [rcx + rdi], 0
jmp 0x1800f8b58
mov rcx, qword [rsp + 0x40]
call qword [fcn.180113e24]
mov rdx, qword [rbx + 0x790]
test rdx, rdx
jne 0x1800f8b7d
cmp byte [rbx + 0x12f0], 0
lea rax, str.NLST
lea rdx, str.LIST
cmovne rdx, rax
lea r8, [0x18012f3b3]
test rdi, rdi
mov r9, r8
lea rax, [0x180122264]
cmovne r9, rdi
lea rcx, [0x1801229ac]
cmovne r8, rax
call fcn.1800e3da0
mov rcx, rdi
mov rsi, rax
call qword [fcn.180113e24]
test rsi, rsi
jne 0x1800f8bbb
lea edi, [rsi + 0x1b]
jmp 0x1800f8c13
lea rdx, [rbp + 0x6f8]
mov r9, rsi
lea r8, [0x180137040]
mov rcx, rbx
call fcn.18010d330
mov rcx, rsi
mov edi, eax
call qword [fcn.180113e24]
test edi, edi
jne 0x1800f8c13
mov rcx, qword [rbx + 0x18]
mov dword [rcx + 0x7c8], 0x1f
jmp 0x1800f8c13
cmp esi, 0x15
jne 0x1800f8bfe
lea r8d, [rsi - 8]
jmp 0x1800f8c07
cmp esi, 0x16
jne 0x1800f8c13
lea r8d, [rsi - 8]
mov dl, 1
mov rcx, rbx
call fcn.1800f8480
mov edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180108e80
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rbp
push r12
push r13
push r15
sub rsp, 0x180
mov rax, qword [0x1801561e0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x50], rcx
mov r15, r8
mov rcx, rdx
mov r12, rdx
xor ebp, ebp
xor ebx, ebx
call case.0x1800c60a9.0
mov r13, rax
test rax, rax
jne 0x180108efe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1800e5c30
mov r9, rax
lea rdx, str.schannel:_invalid_path_name_for_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.1800d1360
xor ecx, ecx
lea ebx, [rbp + 0x4d]
call qword [fcn.180113e24]
jmp 0x1801090b8
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, r13
mov qword [rsp + 0x170], r14
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x180108f71
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1800e5c30
mov r9, rax
lea rdx, str.schannel:_failed_to_open_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.1800d1360
xor ecx, ecx
lea ebx, [r14 + 0x4e]
jmp 0x1801090a2
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x180108fba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1800e5c30
mov r9, rax
lea rdx, str.schannel:_failed_to_determine_size_of_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.1800d1360
mov ebx, Ordinal_79
jmp 0x180109096
mov qword [rsp + 0x178], rdi
mov rdi, qword [rsp + 0x48]
cmp rdi, 0x100000
jle 0x180108fef
mov r8d, 0x100000
lea rdx, str.schannel:_CA_file_exceeds_max_size_of__u_bytes
mov rcx, r15
call fcn.1800d1360
mov ebx, Ordinal_79
jmp 0x18010908e
lea rcx, [rdi + 1]
call qword [0x180156170]
mov rbp, rax
test rax, rax
jne 0x180109009
lea ebx, [rax + 0x1b]
jmp 0x18010908e
mov qword [rsp + 0x1c8], rsi
test rdi, rdi
je 0x180109068
nop word [rax + rax]
mov r8d, edi
mov dword [rsp + 0x40], 0
sub r8d, ebx
mov esi, ebx
lea rdx, [rbx + rbp]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1801090da
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x18010905f
mov edi, esi
jmp 0x180109061
add ebx, eax
mov eax, ebx
cmp rax, rdi
jb 0x180109020
mov rcx, qword [rsp + 0x50]
mov r9, r12
mov r8, rdi
mov byte [rdi + rbp], 0
mov rdx, rbp
mov qword [rsp + 0x20], r15
call fcn.180108c00
mov ebx, eax
mov rsi, qword [rsp + 0x1c8]
mov rdi, qword [rsp + 0x178]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [fcn.180113e24]
mov rcx, r13
call fcn.180113e24
mov r14, qword [rsp + 0x170]
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.180112970
add rsp, 0x180
pop r15
pop r13
pop r12
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1800e5c30
mov r9, rax
lea rdx, str.schannel:_failed_to_read_from_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.1800d1360
mov ebx, Ordinal_79
jmp 0x180109086
Function at 0x180110410
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push r14
push r15
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbp, rcx
mov ecx, dword [rcx + 0x20]
mov r14, rdx
add rcx, 0x18
mov r15d, r8d
lea r9d, [rax + rax]
add rcx, r9
call qword [0x180156170]
mov rbx, rax
test rax, rax
jne 0x180110455
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x50], rdi
cmp r15d, dword [rbp + 0x1c]
jbe 0x1801104a0
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, r14
call qword [rbp + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbp + 0x18]
add r14, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, r14
call qword [rbp + reloc.WS2_32.dll_recv]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor esi, esi
test r15, r15
je 0x180110502
mov rsi, r15
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rbx + 8]
call qword [rbp + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rbp + reloc.WS2_32.dll_htonl]
sub r15, 1
jne 0x1801104c0
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x180110543
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x18012ef7c]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x18012ef7d]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x180110510
mov rdi, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
Function at 0x180110560
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x20
mov rbp, rcx
mov r12, r9
mov rcx, r8
mov r14, rdx
call fcn.1800d3fc0
mov r8d, dword [rbp + 0x18]
mov ecx, dword [rbp + 0x20]
add rcx, 0x18
mov r15d, eax
lea r9d, [r8 + r8]
add rcx, r9
call qword [0x180156170]
mov rbx, rax
test rax, rax
je 0x180110706
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x58], rsi
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x60], rdi
cmp r15d, dword [rbp + 0x1c]
jbe 0x1801105f0
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, r14
call qword [rbp + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbp + 0x18]
add r14, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, r14
call qword [rbp + reloc.WS2_32.dll_recv]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor esi, esi
test r15, r15
je 0x180110652
mov rsi, r15
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x50], al
mov rcx, qword [rbx + 8]
call qword [rbp + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x50], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rbp + reloc.WS2_32.dll_htonl]
sub r15, 1
jne 0x180110610
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x180110693
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x18012ef7c]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x18012ef7d]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x180110660
mov rcx, qword [rsp + 0x70]
call fcn.1800d3fc0
mov r9, qword [rbx]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, r12
call qword [r9 + reloc.WS2_32.dll_htonl]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rbx]
test rdi, rdi
jne 0x1801106c2
mov edi, dword [rsi + 0x18]
add rdi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov r8d, dword [rsi + 0x20]
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call qword [rsi + reloc.WS2_32.dll_htonl]
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov rcx, rbx
call qword [fcn.180113e24]
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
mov eax, reloc.WLDAP32.dll_Ordinal_27
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret

Function at 0x180111fa0
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x180112005
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
test r9b, 2
movzx ecx, r8b
cmove ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x180111fb0
ret
Function at 0x140001000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x84]
mov dword [rsp + 0x40], eax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
jmp 0x14000109b
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x14000117e
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x24], 0xffffffff
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
movsxd rax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x60]
call sub.ntoskrnl.exe_strcmp
test eax, eax
jne 0x14000114f
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xffffffff
je 0x140001179
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x70]
movsxd rax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jmp 0x14000117e
jmp 0x140001091
mov rax, qword [rsp + 0x30]
add rsp, 0x88
ret
Function at 0x14000118c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x70], 0
jne 0x1400011a4
xor eax, eax
jmp 0x1400012b1
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov edx, eax
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x24]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140002540
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x54]
mov r8d, eax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
call fcn.140002280
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 6]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x14000124c
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x20], eax
jae 0x1400012ac
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x70]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x38]
mov edx, dword [rdx + 0xc]
mov r8, qword [rsp + 0x40]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x50], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x50]
mov rcx, rax
call fcn.140002280
mov rax, qword [rsp + 0x38]
add rax, 0x28
mov qword [rsp + 0x38], rax
jmp 0x140001242
mov rax, qword [rsp + 0x40]
add rsp, 0x68
ret
Function at 0x1400012b8
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rcx, qword [rsp + 0x60]
call fcn.14000118c
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400012df
xor al, al
jmp 0x1400013b8
mov byte [rsp + 0x20], 0
mov rcx, qword [rsp + 0x28]
call fcn.140001560
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140001300
jmp 0x14000139e
mov rcx, qword [rsp + 0x28]
call fcn.1400013c0
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14000131c
jmp 0x14000139e
mov rcx, qword [rsp + 0x28]
call fcn.140001760
mov rcx, qword [rsp + 0x28]
call sub.ntoskrnl.exe_RtlImageNtHeader
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
xor edx, edx
xor ecx, ecx
mov rax, qword [rsp + 0x48]
call qword [0x1400030c0]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x140001382
mov byte [rsp + 0x20], 0
jmp 0x14000139e
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.140002540
xor eax, eax
test eax, eax
jne 0x1400012e4
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400013b4
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov al, byte [rsp + 0x20]
add rsp, 0x58
ret
Function at 0x1400013c0
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
cmp qword [rsp + 0x80], 0
jne 0x1400013db
xor al, al
jmp 0x14000155b
mov rcx, qword [rsp + 0x80]
call sub.ntoskrnl.exe_RtlImageNtHeader
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400013fc
xor al, al
jmp 0x14000155b
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 1
jmp 0x140001446
mov rax, qword [rsp + 0x28]
add rax, 0x14
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0xc], 0
je 0x140001557
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.140001c20
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140001493
mov byte [rsp + 0x20], 0
jmp 0x140001557
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
jmp 0x1400014e6
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
add rax, 8
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140001547
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
add rax, 2
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call section..text
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000153e
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
jmp 0x140001545
mov byte [rsp + 0x20], 0
jmp 0x140001547
jmp 0x1400014ca
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140001552
jmp 0x140001557
jmp 0x140001438
mov al, byte [rsp + 0x20]
add rsp, 0x78
ret
Function at 0x140001560
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rcx, qword [rsp + 0x80]
call sub.ntoskrnl.exe_RtlImageNtHeader
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14000158a
xor al, al
jmp 0x14000175a
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax + 4], 0
je 0x140001758
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0
je 0x140001758
mov rax, qword [rsp + 0x28]
add rax, 8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 4]
sub rax, 8
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x20], 0
jmp 0x140001618
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x20], eax
jae 0x14000173b
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax*2]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 0xa
jne 0x1400016b4
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x20]
mov edx, 0xfff
mov r8, qword [rsp + 0x30]
movzx ecx, word [r8 + rcx*2]
and cx, dx
movzx ecx, cx
add rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x30]
mov rax, qword [rax]
sub rax, rcx
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
jmp 0x140001736
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax*2]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
cmp eax, 3
jne 0x140001736
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x20]
mov edx, 0xfff
mov r8, qword [rsp + 0x30]
movzx ecx, word [r8 + rcx*2]
and cx, dx
movzx ecx, cx
add rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x38]
sub rax, qword [rcx + 0x30]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x44]
mov dword [rax], ecx
jmp 0x14000160e
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x1400015bf
mov al, 1
add rsp, 0x78
ret
Function at 0x140001760
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp qword [rsp + 0x50], 0
jne 0x140001775
xor eax, eax
jmp 0x1400017de
mov rcx, qword [rsp + 0x50]
call sub.ntoskrnl.exe_RtlImageNtHeader
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140001790
xor eax, eax
jmp 0x1400017de
mov eax, 8
imul rax, rax, 0xa
mov rcx, qword [rsp + 0x20]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x58]
mov rax, qword [rax]
add rax, 0xa
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x58]
mov qword [rcx], rax
add rsp, 0x48
ret