joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801c5400
Capabilities:
Create thread

Disassembly:
jmp 0x1801c5400
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x50]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x20], 0
jne 0x1801c5480
mov rax, qword [rsp + 0xa0]
add rax, 0x20
mov byte [rsp + 0x20], 0
mov r9d, 1
xor r8d, r8d
mov edx, 0x1f0003
mov rcx, rax
call qword [sym.imp.ntdll.dll_NtCreateEvent]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1801c5480
mov eax, dword [rsp + 0x50]
jmp 0x1801c5670
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x28], 0
jne 0x1801c54cb
mov rax, qword [rsp + 0xa0]
add rax, 0x28
mov byte [rsp + 0x20], 0
mov r9d, 1
xor r8d, r8d
mov edx, 0x1f0003
mov rcx, rax
call qword [sym.imp.ntdll.dll_NtCreateEvent]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1801c54cb
mov eax, dword [rsp + 0x50]
jmp 0x1801c5670
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x30], 0
jne 0x1801c5588
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ntdll.dll_NtClearEvent]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.ntdll.dll_NtClearEvent]
mov rax, qword [rsp + 0xa0]
add rax, 0x30
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x38], rax
lea rax, [0x1800133b0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0x8000
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_RtlCreateUserThread]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1801c5571
mov eax, dword [rsp + 0x50]
jmp 0x1801c5670
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x18], rcx
xor edx, edx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ntdll.dll_NtSetEvent]
mov r8, qword [rsp + 0xb8]
xor edx, edx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x10], 0
lock or dword [rsp], 0
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x18], 0
cmp dword [rsp + 0x50], 0
je 0x1801c566c
mov edx, 0xc0000001
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_NtTerminateThread]
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_NtClose]
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x30], 0
mov dword [rsp + 0x50], 0xc0000001
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804d0760]
call fcn.180014e20
mov rax, rdi
add rsp, 0x90
pop rdi
ret
Function at 0x1801cd4e0
Capabilities:
Get user security identifier

Disassembly:
jmp 0x1801cd4e0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
lea rdi, [rsp + 0x30]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc0]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc0]
call fcn.180011010
movzx eax, al
test eax, eax
jne 0x1801cd538
mov eax, 0xc0000106
jmp 0x1801cd6f7
call fcn.1800185c0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x98], 0
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x38]
call sub.ADVAPI32.dll_LsaLookupNames2
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1801cd6c9
mov eax, 0x18
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
cmp dword [rcx + rax], 7
je 0x1801cd6c1
mov eax, 0x18
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
cmp dword [rcx + rax], 8
je 0x1801cd6c1
cmp qword [rsp + 0xc8], 0
je 0x1801cd61b
mov eax, 0x18
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
mov rcx, qword [rcx + rax + 8]
call qword [sym.imp.ntdll.dll_RtlLengthSid]
mov eax, eax
mov ecx, 0x18
imul rcx, rcx, 0
mov edx, eax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax + rcx + 8]
call fcn.180013730
mov rcx, qword [rsp + 0xc8]
mov qword [rcx], rax
cmp qword [rsp + 0xd0], 0
je 0x1801cd696
mov eax, 0x18
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
cmp dword [rcx + rax + 0x10], 0
jl 0x1801cd686
mov eax, 0x18
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
movsxd rax, dword [rcx + rax + 0x10]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x78]
add rax, qword [rcx + 8]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rcx, rax
call fcn.180008ce0
mov rcx, qword [rsp + 0xd0]
mov qword [rcx], rax
jmp 0x1801cd696
call sym.ProcessMonitor.dll_PhReferenceEmptyString
mov rcx, qword [rsp + 0xd0]
mov qword [rcx], rax
cmp qword [rsp + 0xd8], 0
je 0x1801cd6bf
mov eax, 0x18
imul rax, rax, 0
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0x98]
mov eax, dword [rdx + rax]
mov dword [rcx], eax
jmp 0x1801cd6c9
mov dword [rsp + 0x30], 0xc0000073
cmp qword [rsp + 0x78], 0
je 0x1801cd6db
mov rcx, qword [rsp + 0x78]
call sub.ADVAPI32.dll_LsaFreeMemory
cmp qword [rsp + 0x98], 0
je 0x1801cd6f3
mov rcx, qword [rsp + 0x98]
call sub.ADVAPI32.dll_LsaFreeMemory
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804d5960]
call fcn.180014e20
mov rax, rdi
add rsp, 0xb0
pop rdi
ret
Function at 0x180215f50
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x180215f50
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x10
mov dword [rsp], 0
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
jne 0x180215f81
mov eax, dword [rsp + 0x20]
and eax, 2
test eax, eax
jne 0x180215f81
mov eax, dword [rsp + 0x20]
and eax, 0x10
test eax, eax
je 0x180215f8b
mov eax, dword [rsp]
bts eax, 0x13
mov dword [rsp], eax
mov eax, dword [rsp + 0x20]
and eax, 4
test eax, eax
jne 0x180215fbb
mov eax, dword [rsp + 0x20]
and eax, 0x20
test eax, eax
jne 0x180215fbb
mov eax, dword [rsp + 0x20]
and eax, 0x80000000
test eax, eax
jne 0x180215fbb
mov eax, dword [rsp + 0x20]
and eax, 0x20000000
test eax, eax
je 0x180215fc5
mov eax, dword [rsp]
bts eax, 0x12
mov dword [rsp], eax
mov eax, dword [rsp + 0x20]
and eax, 8
test eax, eax
jne 0x180215ff5
mov eax, dword [rsp + 0x20]
and eax, 0x40
test eax, eax
jne 0x180215ff5
mov eax, dword [rsp + 0x20]
and eax, 0x40000000
test eax, eax
jne 0x180215ff5
mov eax, dword [rsp + 0x20]
and eax, 0x10000000
test eax, eax
je 0x180215fff
mov eax, dword [rsp]
bts eax, 0x18
mov dword [rsp], eax
mov eax, dword [rsp + 0x20]
and eax, 0x10000
test eax, eax
je 0x180216017
mov eax, dword [rsp]
or eax, 0x10c0000
mov dword [rsp], eax
mov eax, dword [rsp]
add rsp, 0x10
pop rdi
ret
Function at 0x18021b030
Capabilities:
Parse pe header

Disassembly:
jmp 0x18021b030
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r8d, 0x40
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.180009290
jmp 0x18021b08e
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x18021b0a7
mov eax, 0xc000012f
jmp 0x18021b1ec
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x18021b0c4
mov eax, 0xc000007b
jmp 0x18021b1ec
cmp dword [rsp + 0x28], 0x10000000
jae 0x18021b0d9
mov eax, dword [rsp + 0x28]
cmp rax, qword [rsp + 0x60]
jb 0x18021b0e3
mov eax, 0xc000007b
jmp 0x18021b1ec
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x18], rax
mov r8d, 0x18
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
call fcn.180009290
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x18]
movzx ecx, word [rcx + 6]
imul rcx, rcx, 0x28
lea rax, [rax + rcx + 0x18]
mov r8, rax
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
call fcn.180009290
jmp 0x18021b15c
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
cmp dword [rax], 0x4550
je 0x18021b174
mov eax, 0xc000007b
jmp 0x18021b1ec
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
mov word [rcx + 0x30], ax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x30]
cmp eax, 0x10b
je 0x18021b1b1
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x30]
cmp eax, 0x20b
je 0x18021b1b1
mov eax, 0xc000007b
jmp 0x18021b1ec
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
movzx eax, word [rax + 6]
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x18]
movzx ecx, word [rcx + 0x14]
lea rax, [rax + rcx + 0x18]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x28], rax
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x18021b410
Capabilities:
Map section object

Disassembly:
jmp 0x18021b410
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x50]
mov ecx, 0x24
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov byte [rsp + 0x54], 0
mov qword [rsp + 0x88], 0
cmp qword [rsp + 0xf0], 0
jne 0x18021b476
cmp qword [rsp + 0xf8], 0
jne 0x18021b476
mov eax, 0xc0000030
jmp 0x18021b611
cmp qword [rsp + 0xf8], 0
jne 0x18021b4d3
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
mov r9d, 0x80
mov r8d, 0x100081
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0xf8]
call sym.ProcessMonitor.dll_PhCreateFileWin32
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x18021b4ce
mov eax, dword [rsp + 0x50]
jmp 0x18021b611
mov byte [rsp + 0x54], 1
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0xf8]
call sym.ProcessMonitor.dll_PhGetFileSize
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x18021b4f5
jmp 0x18021b5dd
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x68]
xor r8d, r8d
mov edx, 5
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x18021b53d
jmp 0x18021b5dd
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xc8], 0
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0xc8]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x18021b5ba
jmp 0x18021b5dd
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xc8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
cmp qword [rsp + 0x88], 0
je 0x18021b5f6
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtClose]
movzx eax, byte [rsp + 0x54]
test eax, eax
je 0x18021b60d
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804de410]
call fcn.180014e20
mov rax, rdi
add rsp, 0xe0
pop rdi
ret
Function at 0x18021b640
Capabilities:
Map section object

Disassembly:
jmp 0x18021b640
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x50]
mov ecx, 0x24
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov byte [rsp + 0x54], 0
mov qword [rsp + 0x88], 0
cmp qword [rsp + 0xf0], 0
jne 0x18021b6a6
cmp qword [rsp + 0xf8], 0
jne 0x18021b6a6
mov eax, 0xc0000030
jmp 0x18021b841
cmp qword [rsp + 0xf8], 0
jne 0x18021b703
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
mov r9d, 0x80
mov r8d, 0x100081
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0xf8]
call sym.ProcessMonitor.dll_PhCreateFile
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x18021b6fe
mov eax, dword [rsp + 0x50]
jmp 0x18021b841
mov byte [rsp + 0x54], 1
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0xf8]
call sym.ProcessMonitor.dll_PhGetFileSize
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x18021b725
jmp 0x18021b80d
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x68]
xor r8d, r8d
mov edx, 5
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x18021b76d
jmp 0x18021b80d
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xc8], 0
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0xc8]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x18021b7ea
jmp 0x18021b80d
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xc8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
cmp qword [rsp + 0x88], 0
je 0x18021b826
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtClose]
movzx eax, byte [rsp + 0x54]
test eax, eax
je 0x18021b83d
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804de560]
call fcn.180014e20
mov rax, rdi
add rsp, 0xe0
pop rdi
ret
Function at 0x18021bd30
Capabilities:
Parse pe header

Disassembly:
jmp 0x18021bd30
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1f0
lea rdi, [rsp + 0x30]
mov ecx, 0x70
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x200]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x218]
mov rcx, qword [rsp + 0x208]
mov qword [rax], rcx
mov qword [rsp + 0x20], 0
mov r9d, 0x40
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x208]
mov rcx, qword [rsp + 0x200]
call qword [rsp + 0x210]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x18021bdc9
mov eax, dword [rsp + 0x30]
jmp 0x18021bfc0
movzx eax, word [rsp + 0x50]
cmp eax, 0x5a4d
je 0x18021bddf
mov eax, 0xc000012f
jmp 0x18021bfc0
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
je 0x18021be04
cmp dword [rsp + 0x94], 0x10000000
jb 0x18021be0e
mov eax, 0xc000007b
jmp 0x18021bfc0
mov eax, dword [rsp + 0x94]
mov rcx, qword [rsp + 0x208]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
mov r9d, 0x108
lea r8, [rsp + 0xb0]
mov rdx, rax
mov rcx, qword [rsp + 0x200]
call qword [rsp + 0x210]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x18021be60
mov eax, dword [rsp + 0x30]
jmp 0x18021bfc0
cmp dword [rsp + 0xb0], 0x4550
je 0x18021be77
mov eax, 0xc000007b
jmp 0x18021bfc0
mov rax, qword [rsp + 0x218]
movzx ecx, word [rsp + 0xc8]
mov word [rax + 0x20], cx
mov rax, qword [rsp + 0x218]
movzx eax, word [rax + 0x20]
cmp eax, 0x10b
je 0x18021bebb
mov rax, qword [rsp + 0x218]
movzx eax, word [rax + 0x20]
cmp eax, 0x20b
je 0x18021bebb
mov eax, 0xc000007b
jmp 0x18021bfc0
movzx eax, word [rsp + 0xb6]
mov rcx, qword [rsp + 0x218]
mov dword [rcx + 0x10], eax
movzx eax, word [rsp + 0xc4]
mov rcx, qword [rsp + 0x218]
mov ecx, dword [rcx + 0x10]
imul rcx, rcx, 0x28
lea rax, [rax + rcx + 0x18]
mov qword [rsp + 0x1c8], rax
cmp qword [rsp + 0x1c8], 0x100000
jbe 0x18021bf0a
mov eax, 0xc000007b
jmp 0x18021bfc0
mov rcx, qword [rsp + 0x1c8]
call fcn.180019ea0
mov qword [rsp + 0x1d0], rax
mov eax, dword [rsp + 0x94]
mov rcx, qword [rsp + 0x208]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x1c8]
mov r8, qword [rsp + 0x1d0]
mov rdx, rax
mov rcx, qword [rsp + 0x200]
call qword [rsp + 0x210]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x18021bf7d
mov rcx, qword [rsp + 0x1d0]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x30]
jmp 0x18021bfc0
mov rax, qword [rsp + 0x218]
mov rcx, qword [rsp + 0x1d0]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x218]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x218]
mov rcx, qword [rcx + 8]
movzx ecx, word [rcx + 0x14]
lea rax, [rax + rcx + 0x18]
mov rcx, qword [rsp + 0x218]
mov qword [rcx + 0x18], rax
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804de6d0]
call fcn.180014e20
mov rax, rdi
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x1f0
pop rdi
ret
Function at 0x180225f60
Capabilities:
Initialize winhttp library

Disassembly:
jmp 0x180225f60
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xc0
lea rdi, [rsp + 0x30]
mov ecx, 0x24
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xd0]
mov ecx, 0x20
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x30], rax
mov r8d, 0x20
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.180013180
cmp dword [0x18059ff7c], 0x3f
jb 0x180225fc2
mov dword [rsp + 0xb4], 4
jmp 0x180225fcd
mov dword [rsp + 0xb4], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0xb4]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
jne 0x180226014
mov rcx, qword [rsp + 0x30]
call sym.ProcessMonitor.dll_PhFree
xor al, al
jmp 0x1802260e1
cmp dword [0x18059ff7c], 0x3f
jae 0x180226048
mov dword [rsp + 0x44], 0xa00
mov r9d, 4
lea r8, [rsp + 0x44]
mov edx, 0x54
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
jmp 0x1802260cf
mov dword [rsp + 0x64], 0x2a00
mov r9d, 4
lea r8, [rsp + 0x64]
mov edx, 0x54
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov dword [rsp + 0x84], 3
mov r9d, 4
lea r8, [rsp + 0x84]
mov edx, 0x76
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
cmp dword [0x18059ff7c], 0x64
jb 0x1802260cf
mov dword [rsp + 0xa4], 1
mov r9d, 4
lea r8, [rsp + 0xa4]
mov edx, 0x85
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov al, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804e1850]
call fcn.180014e20
mov rax, rdi
add rsp, 0xc0
pop rdi
ret

Function at 0x180226260
Capabilities:
Prepare http request

Disassembly:
jmp 0x180226260
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x40]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x44], 0
mov r9d, 2
lea r8, [0x1804e1700]
mov edx, dword [rsp + 0x88]
lea rcx, [rsp + 0x44]
call sym.ProcessMonitor.dll_PhMapFlags1
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 8]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x10], 0
jne 0x180226307
xor al, al
jmp 0x18022631b
xor r8d, r8d
mov edx, 2
mov rcx, qword [rsp + 0x70]
call sym.ProcessMonitor.dll_PhHttpSocketSetFeature
mov al, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804e18b0]
call fcn.180014e20
mov rax, rdi
add rsp, 0x60
pop rdi
ret
Function at 0x1802263b0
Capabilities:
Receive http response

Disassembly:
jmp 0x1802263b0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
xor edx, edx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x1802263d9
mov dword [rsp + 0x20], 1
jmp 0x1802263e1
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x30
pop rdi
ret

Function at 0x180226400
Capabilities:
Receive http response

Disassembly:
jmp 0x180226400
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov r9, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x180226445
mov dword [rsp + 0x20], 1
jmp 0x18022644d
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x30
pop rdi
ret

Function at 0x1802264c0
Capabilities:
Set http header

Disassembly:
jmp 0x1802264c0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
cmp dword [rsp + 0x50], 0
je 0x1802264e5
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
jmp 0x1802264ed
mov dword [rsp + 0x20], 0xffffffff
mov r9d, 0xa0000000
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
je 0x18022651a
mov dword [rsp + 0x24], 1
jmp 0x180226522
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
add rsp, 0x30
pop rdi
ret

Function at 0x180226540
Capabilities:
Read http header

Disassembly:
jmp 0x180226540
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
xor r8d, r8d
mov edx, 0x16
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x1802265a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1802265a8
xor eax, eax
jmp 0x180226604
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]
xor r8d, r8d
mov edx, 0x16
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x1802265ff
mov rcx, qword [rsp + 0x48]
call sym.ProcessMonitor.dll_PhDereferenceObject
xor eax, eax
jmp 0x180226604
mov rax, qword [rsp + 0x48]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804e1910]
call fcn.180014e20
mov rax, rdi
add rsp, 0x50
pop rdi
ret