joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180226630
Capabilities:
Read http header

Disassembly:
jmp 0x180226630
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x30]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rsp + 0x68]
mov edx, 0xffff
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x18022669f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x18022669f
xor eax, eax
jmp 0x180226707
mov eax, dword [rsp + 0x34]
mov edx, eax
xor ecx, ecx
call sym.ProcessMonitor.dll_PhCreateStringEx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x48]
mov r9, qword [rax + 8]
mov r8, qword [rsp + 0x68]
mov edx, 0xffff
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x1802266f8
mov rcx, qword [rsp + 0x48]
call sym.ProcessMonitor.dll_PhDereferenceObject
xor eax, eax
jmp 0x180226707
mov rcx, qword [rsp + 0x48]
call fcn.1800160a0
mov rax, qword [rsp + 0x48]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804e1970]
call fcn.180014e20
mov rax, rdi
add rsp, 0x50
pop rdi
ret

Function at 0x180226730
Capabilities:
Read http header

Disassembly:
jmp 0x180226730
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x30]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x74], 4
mov r9d, 2
lea r8, [0x1804e1710]
mov edx, dword [rsp + 0xa8]
lea rcx, [rsp + 0x34]
call sym.ProcessMonitor.dll_PhMapFlags1
mov eax, dword [rsp + 0x34]
bts eax, 0x1d
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x74]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x54]
xor r8d, r8d
mov edx, eax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x1802267e2
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x54]
mov dword [rax], ecx
mov al, 1
jmp 0x1802267e4
xor al, al
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804e1a70]
call fcn.180014e20
mov rax, rdi
add rsp, 0x90
pop rdi
ret
Function at 0x180226880
Capabilities:
Receive http response

Disassembly:
jmp 0x180226880
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1080
call fcn.180005520
sub rsp, rax
lea rdi, [rsp + 0x20]
mov ecx, 0x418
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1090]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov dword [rsp + 0x28], 0x1000
mov eax, dword [rsp + 0x28]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x2c], 0
lea r9, [rsp + 0x34]
mov r8d, 0x1000
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x1090]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x180226979
cmp dword [rsp + 0x34], 0
jne 0x180226913
jmp 0x180226979
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0x28], eax
jae 0x180226944
mov eax, dword [rsp + 0x28]
shl eax, 1
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov edx, eax
mov rcx, qword [rsp + 0x20]
call sym.ProcessMonitor.dll_PhReAllocate
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
lea rdx, [rsp + 0x60]
call fcn.18000cf00
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
jmp 0x1802268e8
mov eax, dword [rsp + 0x2c]
inc eax
cmp dword [rsp + 0x28], eax
jae 0x1802269a4
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov edx, eax
mov rcx, qword [rsp + 0x20]
call sym.ProcessMonitor.dll_PhReAllocate
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x20]
mov byte [rcx + rax], 0
cmp dword [rsp + 0x2c], 0
je 0x1802269fe
cmp qword [rsp + 0x1098], 0
je 0x1802269d5
mov rax, qword [rsp + 0x1098]
mov rcx, qword [rsp + 0x20]
mov qword [rax], rcx
jmp 0x1802269df
mov rcx, qword [rsp + 0x20]
call sym.ProcessMonitor.dll_PhFree
cmp qword [rsp + 0x10a0], 0
je 0x1802269f8
mov rax, qword [rsp + 0x10a0]
mov ecx, dword [rsp + 0x2c]
mov dword [rax], ecx
mov al, 1
jmp 0x180226a0a
mov rcx, qword [rsp + 0x20]
call sym.ProcessMonitor.dll_PhFree
xor al, al
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804e1b20]
call fcn.180014e20
mov rax, rdi
mov rcx, qword [rsp + 0x1070]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x1080
pop rdi
ret
Function at 0x180227440
Capabilities:
Receive http response

Disassembly:
jmp 0x180227440
mov word [rsp + 0x18], r8w
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
lea rdi, [rsp + 0x40]
mov ecx, 0x2c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x100]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x98], 0
lea rax, [0x1808ea760]
mov cx, 1
lock xadd word [rax], cx
inc cx
movzx eax, cx
mov word [rsp + 0xe4], ax
lea rax, [rsp + 0xb4]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
movzx r8d, word [rsp + 0xe4]
movzx edx, word [rsp + 0x110]
mov rcx, qword [rsp + 0x108]
call fcn.180227cb0
movzx eax, al
test eax, eax
jne 0x1802274fb
jmp 0x1802275c8
mov rcx, qword [rsp + 0x100]
call fcn.18000dc80
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x18022751a
jmp 0x1802275c8
mov rcx, qword [rsp + 0x40]
call fcn.180010c30
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x180227536
jmp 0x1802275c8
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x58]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x180227570
jmp 0x1802275c8
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x180227583
jmp 0x1802275c8
lea r8, [rsp + 0xd4]
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
call sym.ProcessMonitor.dll_PhHttpSocketReadDataToBuffer
movzx eax, al
test eax, eax
jne 0x1802275a3
jmp 0x1802275c8
lea r9, [rsp + 0x98]
mov r8d, dword [rsp + 0xd4]
mov rdx, qword [rsp + 0x78]
movzx ecx, word [rsp + 0xe4]
call fcn.180227e70
movzx eax, al
cmp qword [rsp + 0x48], 0
je 0x1802275db
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp qword [rsp + 0x78], 0
je 0x1802275ed
mov rcx, qword [rsp + 0x78]
call sym.ProcessMonitor.dll_PhFree
cmp qword [rsp + 0x58], 0
je 0x1802275ff
mov rcx, qword [rsp + 0x58]
call sym.ProcessMonitor.dll_PhFree
mov rax, qword [rsp + 0x98]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804e2280]
call fcn.180014e20
mov rax, rdi
add rsp, 0xf0
pop rdi
ret
Function at 0x180227970
Capabilities:
Initialize winhttp library
Reference cloudflare dns server

Disassembly:
jmp 0x180227970
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x30]
mov ecx, 0x2c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
lea rcx, [0x1805a5810]
call fcn.180012d60
movzx eax, al
test eax, eax
je 0x180227b3e
cmp dword [0x18059ff7c], 0x3f
jb 0x1802279c3
mov dword [rsp + 0xc4], 4
jmp 0x1802279ce
mov dword [rsp + 0xc4], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0xc4]
xor ecx, ecx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [0x1808ea750], rax
cmp qword [0x1808ea750], 0
je 0x180227b32
cmp dword [0x18059ff7c], 0x3f
jae 0x180227a30
mov dword [rsp + 0x34], 0xa00
mov r9d, 4
lea r8, [rsp + 0x34]
mov edx, 0x54
mov rcx, qword [0x1808ea750]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
jmp 0x180227aae
mov dword [rsp + 0x54], 0x2a00
mov r9d, 4
lea r8, [rsp + 0x54]
mov edx, 0x54
mov rcx, qword [0x1808ea750]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov dword [rsp + 0x74], 3
mov r9d, 4
lea r8, [rsp + 0x74]
mov edx, 0x76
mov rcx, qword [0x1808ea750]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
cmp dword [0x18059ff7c], 0x64
jb 0x180227aae
mov dword [rsp + 0x94], 1
mov r9d, 4
lea r8, [rsp + 0x94]
mov edx, 0x85
mov rcx, qword [0x1808ea750]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov dword [rsp + 0xb4], 1
mov r9d, 4
lea r8, [rsp + 0xb4]
mov edx, 0x49
mov rcx, qword [0x1808ea750]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
cmp dword [0x18059ff7c], 0x64
jb 0x180227b32
cmp qword [rsp + 0xf0], 0
je 0x180227aff
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xc8], rax
jmp 0x180227b0e
lea rax, str.1.1.1.1
mov qword [rsp + 0xc8], rax
xor r9d, r9d
mov r8w, 0x1bb
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [0x1808ea750]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [0x1808ea758], rax
lea rcx, [0x1805a5810]
call sym.ProcessMonitor.dll_PhfEndInitOnce
cmp dword [0x18059ff7c], 0x64
jae 0x180227b97
cmp qword [rsp + 0xf0], 0
je 0x180227b64
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xd0], rax
jmp 0x180227b73
lea rax, str.1.1.1.1
mov qword [rsp + 0xd0], rax
xor r9d, r9d
mov r8w, 0x1bb
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [0x1808ea750]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [0x1808ea758], rax
mov rax, qword [0x1808ea758]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804e25c0]
call fcn.180014e20
mov rax, rdi
add rsp, 0xe0
pop rdi
ret
Function at 0x180227bd0
Capabilities:
Prepare http request
Set http header

Disassembly:
jmp 0x180227bd0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x40]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str._dns_query
lea rdx, str.POST
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x180227c3d
xor eax, eax
jmp 0x180227c8c
mov r9d, 0xa0000000
mov r8d, 0xffffffff
lea rdx, str.Content_Type:_application_dns_message
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp dword [0x18059ff7c], 0x3e
ja 0x180227c87
mov dword [rsp + 0x54], 0x1000
mov r9d, 4
lea r8, [rsp + 0x54]
mov edx, 0x1f
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov rax, qword [rsp + 0x40]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804e2610]
call fcn.180014e20
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x1802337e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x1802337e0
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x30]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
movzx edx, byte [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call fcn.18000afe0
test eax, eax
je 0x18023382d
movzx eax, byte [rsp + 0x70]
mov dword [rsp + 0x44], eax
jmp 0x180233835
mov dword [rsp + 0x44], 0x2e
movzx eax, word [rsp + 0x44]
mov word [rsp + 0x34], ax
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x34]
mov rax, qword [rsp + 0x80]
mov r8d, dword [rax]
mov rax, qword [rsp + 0x78]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_TextOutW]
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x68]
add eax, dword [rcx + 0x3c]
mov rcx, qword [rsp + 0x78]
mov dword [rcx], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x88]
mov dword [rcx], eax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x24]
cmp dword [rax], ecx
jne 0x1802338e2
mov rax, qword [rsp + 0x88]
mov dword [rax], 0
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x54]
mov dword [rax], ecx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x68]
add eax, dword [rcx + 0x38]
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov rcx, rsp
lea rdx, [0x1804e4030]
call fcn.180014e20
add rsp, 0x50
pop rdi
ret

Function at 0x180234c10
Capabilities:
Hash data with md5

Disassembly:
jmp 0x180234c10
mov qword [rsp + 8], rcx
push rdi
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0x10325476
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax], 0
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax], 0
pop rdi
ret

Function at 0x180236ba0
Capabilities:
Hash data using sha1

Disassembly:
jmp 0x180236ba0
mov qword [rsp + 8], rcx
push rdi
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 0x18], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 0x18], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 0x18], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 0x18], 0x10325476
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 0x18], 0xc3d2e1f0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 0x2c], 0
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 0x2c], 0
pop rdi
ret
Function at 0x18023b3e0
Capabilities:
Hash data using sha256

Disassembly:
jmp 0x18023b3e0
mov qword [rsp + 8], rcx
push rdi
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax], 0
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0x6a09e667
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0xbb67ae85
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0x3c6ef372
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0xa54ff53a
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0x510e527f
mov eax, 4
imul rax, rax, 5
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0x9b05688c
mov eax, 4
imul rax, rax, 6
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0x1f83d9ab
mov eax, 4
imul rax, rax, 7
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0x5be0cd19
pop rdi
ret
Function at 0x180267440
Capabilities:
Read file on windows

Disassembly:
jmp 0x180267440
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1100
call fcn.180005520
sub rsp, rax
lea rdi, [rsp + 0x50]
mov ecx, 0x42c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1110]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0x10f0], rax
mov qword [rsp + 0xa8], 0
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
mov r9d, 0x80
mov r8d, 0x120089
mov rdx, qword [rsp + 0x1110]
lea rcx, [rsp + 0x68]
call sym.ProcessMonitor.dll_PhCreateFileWin32
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x180267688
mov dword [rsp + 0xb8], 0x1000
mov eax, dword [rsp + 0xb8]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0xbc], 0
mov eax, dword [rsp + 0xb8]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0xb0]
call fcn.180013180
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x1000
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtReadFile]
test eax, eax
jl 0x180267613
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
jne 0x180267580
jmp 0x180267613
mov eax, dword [rsp + 0xc0]
mov ecx, dword [rsp + 0xbc]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0xb8], eax
jae 0x1802675c9
mov eax, dword [rsp + 0xb8]
shl eax, 1
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0xb8]
mov edx, eax
mov rcx, qword [rsp + 0xb0]
call sym.ProcessMonitor.dll_PhReAllocate
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0xc0]
mov ecx, dword [rsp + 0xbc]
mov rdx, qword [rsp + 0xb0]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
lea rdx, [rsp + 0xe0]
call fcn.18000cf00
mov eax, dword [rsp + 0xc0]
mov ecx, dword [rsp + 0xbc]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xbc], eax
jmp 0x180267514
mov eax, dword [rsp + 0xbc]
inc eax
cmp dword [rsp + 0xb8], eax
jae 0x180267653
mov eax, dword [rsp + 0xb8]
inc eax
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0xb8]
mov edx, eax
mov rcx, qword [rsp + 0xb0]
call sym.ProcessMonitor.dll_PhReAllocate
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0xbc]
mov rcx, qword [rsp + 0xb0]
mov byte [rcx + rax], 0
mov rcx, qword [rsp + 0xb0]
call fcn.180008af0
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xb0]
call sym.ProcessMonitor.dll_PhFree
mov rax, qword [rsp + 0xa8]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180507c68]
call fcn.180014e20
mov rax, rdi
mov rcx, qword [rsp + 0x10f0]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x1100
pop rdi
ret
Function at 0x180267930
Capabilities:
Write file on windows

Disassembly:
jmp 0x180267930
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
lea rdi, [rsp + 0x50]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc0]
mov edx, dword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc8]
call fcn.1800052b0
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
jne 0x180267991
mov eax, 0xffffffff
jmp 0x180267a53
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x28], 5
mov dword [rsp + 0x20], 1
mov r9d, 0x80
mov r8d, 0x120116
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x68]
call sym.ProcessMonitor.dll_PhCreateFileWin32
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1802679d9
mov eax, 0xffffffff
jmp 0x180267a53
mov rcx, qword [rsp + 0xa8]
call fcn.18000c070
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x180267a46
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, 0xffffffff
jmp 0x180267a53
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180507e20]
call fcn.180014e20
mov rax, rdi
add rsp, 0xb0
pop rdi
ret

Function at 0x18026b8a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x50]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
cmp qword [rsp + 0x90], 0
jne 0x18026b8db
mov eax, 0xffffffff
jmp 0x18026b97b
mov rax, qword [rsp + 0x90]
add rax, 0x18
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x2000
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax]
call qword [sym.imp.ntdll.dll_NtReadFile]
test eax, eax
jge 0x18026b934
mov eax, 0xffffffff
jmp 0x18026b97b
cmp qword [rsp + 0x60], 0
jne 0x18026b943
mov eax, 0xffffffff
jmp 0x18026b97b
mov rax, qword [rsp + 0x90]
add rax, 0x18
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
lea rax, [rax + rcx + 0x18]
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0x10], rax
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180508770]
call fcn.180014e20
mov rax, rdi
add rsp, 0x80
pop rdi
ret
Function at 0x18026b9a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x50]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
cmp qword [rsp + 0x90], 0
jne 0x18026b9db
mov eax, 0xffffffff
jmp 0x18026ba89
mov rax, qword [rsp + 0x90]
add rax, 0x18
mov rcx, qword [rsp + 0x90]
cmp qword [rcx + 8], rax
jne 0x18026b9fc
xor eax, eax
jmp 0x18026ba89
mov rax, qword [rsp + 0x90]
add rax, 0x18
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x90]
add rcx, 0x18
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rcx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax]
call qword [sym.imp.ntdll.dll_NtWriteFile]
test eax, eax
jge 0x18026ba6f
mov eax, 0xffffffff
jmp 0x18026ba89
mov rax, qword [rsp + 0x90]
add rax, 0x18
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 8], rax
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1805087c0]
call fcn.180014e20
mov rax, rdi
add rsp, 0x80
pop rdi
ret
Function at 0x180329a00
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.180005520
sub rsp, rax
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1808ec100]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x180329bf2
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x180329b46
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x180329b46
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x180329b2b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x180329ac8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x180329bb2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x180329c11
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x180329bed
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x180329c11
jmp 0x180329a9e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x1498
pop rdi
pop rsi
ret