joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6b6b00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x6b6cf1
push rbp
mov rbp, rsp
sub rsp, 0x68
movq qword [rsp + 0x60], xmm15
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x90], rdi
mov dword [rsp + 0x98], esi
mov qword [rsp + 0xa0], r8
mov dword [rsp + 0xa8], r9d
mov byte [rsp + 0x3b], 0
mov dword [rsp + 0x3c], 0
mov ebx, 0x20
nop
call sym.modernc.org_libc._TLS_.Alloc
lea rcx, [sym.modernc.org_sqlite_lib._sqlite3Fts5ExprPopulatePoslists.deferwrap1]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x58], rcx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x60], rdx
mov byte [rsp + 0x3b], 1
mov rdx, rax
mov rsi, qword [rsp + 0x88]
mov qword [rax], rsi
mov rdi, rdx
mov r8, qword [rsp + 0x90]
mov qword [rdx + 8], r8
mov rdx, rdi
mov r9d, dword [rsp + 0x98]
movsxd r10, r9d
shl r10, 0x20
dec r10
mov qword [rdi + 0x10], r10
xor eax, eax
jmp 0x6b6bc9
inc eax
mov rsi, r10
mov r10, rsi
cmp dword [rsi + 0x1c], eax
jle 0x6b6c1a
movsxd r11, eax
mov r12, r11
shl r11, 3
add r11, qword [rsi + 0x20]
mov r11, qword [r11]
mov r11, qword [r11]
mov r11, qword [r11 + 0x20]
mov r11, qword [r11 + 8]
test r11, r11
je 0x6b6bf9
xor ebx, ebx
jmp 0x6b6cb1
mov r11, r12
shl r12, 4
add r12, r8
cmp dword [r12 + 0xc], 0
jne 0x6b6c98
mov dword [r12 + 8], 1
jmp 0x6b6bc4
lea r10, [0x0073ae80]
mov qword [rsp + 0x40], r10
lea r10, sym.modernc.org_sqlite_lib._fts5ExprPopulatePoslistsCb
mov qword [rsp + 0x48], r10
mov rsi, qword [rsp + 0xa0]
test rsi, rsi
jne 0x6b6c43
xor eax, eax
jmp 0x6b6c7b
mov r9, qword [rsp + 0x48]
mov r10, qword [rsp + 0x80]
mov r11, r10
mov r10, qword [r10 + 0x78]
mov r10, qword [r10 + 0x10]
mov r12, qword [r10]
mov rbx, qword [r11 + 0x70]
mov rax, rcx
mov rcx, rdx
mov edi, 4
mov r8d, dword [rsp + 0xa8]
mov rdx, r10
call r12
mov dword [rsp + 0x3c], eax
mov byte [rsp + 0x3b], 0
mov rdx, qword [rsp + 0x60]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x3c]
add rsp, 0x68
pop rbp
ret
shl r11, 4
add r11, r8
mov dword [r11 + 8], 0
jmp 0x6b6bc4
inc ebx
mov r11, r13
mov r13, r11
cmp dword [r11], ebx
jle 0x6b6cd1
movsxd r11, ebx
lea r11, [r13 + r11*4]
lea r11, [r11 + 4]
cmp dword [r11], r9d
jne 0x6b6cac
mov ebx, 1
jmp 0x6b6cd3
xor ebx, ebx
test ebx, ebx
jne 0x6b6bf9
mov r11, r12
nop
jmp 0x6b6c98
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x30], r8
mov dword [rsp + 0x38], r9d
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov esi, dword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9d, dword [rsp + 0x38]
jmp sym.modernc.org_sqlite_lib._sqlite3Fts5ExprPopulatePoslists
Function at 0x6c7e20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x6c8005
push rbp
mov rbp, rsp
sub rsp, 0x70
movq qword [rsp + 0x68], xmm15
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rdi
mov dword [rsp + 0xa0], esi
mov qword [rsp + 0xa8], r8
mov byte [rsp + 0x4f], 0
mov ebx, 0x10
call sym.modernc.org_libc._TLS_.Alloc
mov qword [rsp + 0x50], rax
lea rcx, [sym.modernc.org_sqlite_lib._fts5FlushSecureDelete.deferwrap1]
mov qword [rsp + 0x58], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x60], rcx
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x68], rdx
mov byte [rsp + 0x4f], 1
mov rdx, rax
mov qword [rax], 0
mov qword [rsp], rdx
mov rax, rcx
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
mov edi, 0x40
xor esi, esi
mov r8, qword [rsp + 0x98]
mov r9d, dword [rsp + 0xa0]
mov r10d, 0xffffffff
xor r11d, r11d
call sym.modernc.org_sqlite_lib._fts5MultiIterNew
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov rbx, qword [rsp + 0x88]
mov rsi, rbx
mov rcx, qword [rcx]
cmp dword [rsi + 0x3c], 0
je 0x6c7f0d
mov esi, 1
jmp 0x6c7f18
mov rsi, rcx
cmp byte [rsi + 0x14], 0
setne sil
movzx esi, sil
nop dword [rax]
test esi, esi
jne 0x6c7fd1
mov rsi, rcx
mov rsi, qword [rsi + 0x60]
add rsi, 4
movzx esi, word [rsi]
shl rsi, 7
lea rsi, [rcx + rsi]
lea rsi, [rsi + 0x68]
nop
mov rdi, qword [rsp + 0xa8]
cmp qword [rsi + 0x70], rdi
jge 0x6c7f73
mov rax, qword [rsp + 0x80]
call sym.modernc.org_sqlite_lib._fts5MultiIterNextFrom
mov rdx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0xa8]
mov rsi, rbx
cmp dword [rsi + 0x3c], 0
jne 0x6c7fcc
mov rsi, rdx
mov rdx, qword [rdx]
mov r8, rdx
cmp byte [rdx + 0x14], 0
setne r9b
movzx r9d, r9b
test r9d, r9d
jne 0x6c7fd4
mov rdx, qword [rdx + 0x60]
add rdx, 4
movzx edx, word [rdx]
shl rdx, 7
lea rcx, [r8 + rdx]
lea rcx, [rcx + 0x68]
mov rdx, rcx
cmp qword [rdx + 0x70], rdi
jne 0x6c7fd4
mov rax, qword [rsp + 0x80]
nop
call sym.modernc.org_sqlite_lib._fts5DoSecureDelete
mov rsi, qword [rsp + 0x50]
jmp 0x6c7fd4
mov rsi, rdx
jmp 0x6c7fd4
mov rsi, rdx
mov rbx, qword [rsi]
mov rax, qword [rsp + 0x80]
nop
call sym.modernc.org_sqlite_lib._fts5MultiIterFree
mov byte [rsp + 0x4f], 0
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rdx]
call rcx
add rsp, 0x70
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x30], r8
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov esi, dword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp sym.modernc.org_sqlite_lib._fts5FlushSecureDelete
Function at 0x6e5940
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x6e5a87
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp ebx, 0x80
jl 0x6e5987
nop word [rax + rax]
cmp ebx, 0x10000
jge 0x6e5976
mov edx, 0xa2
xor esi, esi
mov edi, 0xffffffff
jmp 0x6e59a1
lea ecx, [rbx - 0x10400]
lea edx, [rbx + 0x28]
cmp ecx, 0x28
cmovb ebx, edx
jmp 0x6e5993
lea ecx, [rbx - 0x41]
lea edx, [rbx + 0x20]
cmp ecx, 0x19
cmovbe ebx, edx
mov eax, ebx
add rsp, 0x10
pop rbp
ret
mov ebx, r11d
mov edi, r8d
cmp esi, edx
jg 0x6e59f5
lea r8d, [rdx + rsi]
mov r9d, r8d
shr r8d, 0x1f
add r8d, r9d
sar r8d, 1
movsxd r9, r8d
nop dword [rax]
cmp r9, 0xa3
jae 0x6e5a79
lea r10, [0x009c1de0]
lea r9, [r10 + r9*4]
movzx r9d, word [r9]
mov r11d, ebx
sub ebx, r9d
test ebx, ebx
jl 0x6e59ec
lea esi, [r8 + 1]
jmp 0x6e599b
lea edx, [r8 - 1]
mov r8d, edi
jmp 0x6e599b
movsxd rdx, edi
lea rsi, [0x009c1de0]
lea rdi, [rsi + rdx*4]
movzx edi, word [rdi]
lea r8, [rsi + rdx*4]
lea r8, [r8 + 3]
movzx r8d, byte [r8]
add r8d, edi
cmp ebx, r8d
jge 0x6e5a4a
lea rdx, [rsi + rdx*4]
lea rdx, [rdx + 2]
movzx edx, byte [rdx]
xor edi, ebx
and edi, edx
bt edi, 0
jb 0x6e5a4a
sar edx, 1
movsxd rdx, edx
cmp rdx, 0x4d
jae 0x6e5a6c
lea rsi, [0x009bcee0]
movzx edx, word [rsi + rdx*2]
add edx, ebx
movzx ebx, dx
test ecx, ecx
je 0x6e5993
cmp ecx, 2
sete dl
movzx ecx, dl
nop dword [rax + rax]
call sym.modernc.org_sqlite_lib._fts5_remove_diacritic
mov ebx, eax
jmp 0x6e5993
mov rax, rdx
mov ecx, 0x4d
call sym.runtime.panicIndex
mov rax, r9
mov ecx, 0xa3
call sym.runtime.panicIndex
nop
mov qword [rsp + 8], rax
mov dword [rsp + 0x10], ebx
mov dword [rsp + 0x14], ecx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov ebx, dword [rsp + 0x10]
mov ecx, dword [rsp + 0x14]
jmp sym.modernc.org_sqlite_lib._sqlite3Fts5UnicodeFold
Function at 0x6fa000
Capabilities:
Parse credit card information

Disassembly:
lea ecx, [rax - 0x61]
cmp cl, 0x19
jbe 0x6fa018
lea ecx, [rax - 0x41]
cmp cl, 0x19
jbe 0x6fa018
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x6fa020
xor eax, eax
ret
cmp rbx, 3
je 0x6fa02c
cmp rbx, 4
jne 0x6fa059
cmp al, 0x2c
ja 0x6fa046
lea ecx, [rax - 0x21]
cmp cl, 1
jbe 0x6fa056
cmp al, 0x24
je 0x6fa056
nop dword [rax]
cmp al, 0x26
jae 0x6fa056
jmp 0x6fa059
lea ecx, [rax - 0x3a]
cmp cl, 4
jbe 0x6fa056
cmp al, 0x5b
je 0x6fa056
cmp al, 0x5d
jne 0x6fa059
xor eax, eax
ret
cmp al, 0x2f
ja 0x6fa092
nop dword [rax]
cmp al, 0x26
ja 0x6fa071
cmp al, 0x24
je 0x6fa0b1
cmp al, 0x26
je 0x6fa0b1
jmp 0x6fa12b
lea ecx, [rax - 0x2b]
cmp cl, 1
jbe 0x6fa0b1
lea ecx, [rax - 0x2d]
nop dword [rax]
cmp cl, 1
jbe 0x6fa128
cmp al, 0x2f
je 0x6fa0b1
jmp 0x6fa12b
cmp al, 0x3d
ja 0x6fa0a9
lea ecx, [rax - 0x3a]
cmp cl, 1
jbe 0x6fa0b1
nop
cmp al, 0x3d
je 0x6fa0b1
jmp 0x6fa12b
lea ecx, [rax - 0x3f]
cmp cl, 1
ja 0x6fa120
cmp rbx, 2
jg 0x6fa0e7
cmp rbx, 1
je 0x6fa0e1
nop dword [rax]
cmp rbx, 2
jne 0x6fa12b
cmp al, 0x2f
je 0x6fa0d2
cmp al, 0x3b
je 0x6fa0d2
cmp al, 0x2c
jne 0x6fa0d9
mov ecx, 1
jmp 0x6fa0de
cmp al, 0x3f
sete cl
mov eax, ecx
ret
cmp al, 0x3f
sete al
ret
cmp rbx, 5
jne 0x6fa10a
cmp al, 0x40
je 0x6fa0f9
cmp al, 0x2f
je 0x6fa0f9
cmp al, 0x3f
jne 0x6fa102
mov ecx, 1
nop
jmp 0x6fa107
cmp al, 0x3a
sete cl
mov eax, ecx
ret
cmp rbx, 6
je 0x6fa119
cmp rbx, 7
jne 0x6fa12b
xor eax, eax
ret
mov eax, 1
ret
cmp al, 0x5f
je 0x6fa128
cmp al, 0x7e
jne 0x6fa12b
xor eax, eax
ret
cmp rbx, 7
jne 0x6fa141
cmp al, 0x21
je 0x6fa13d
lea ecx, [rax - 0x28]
cmp cl, 2
ja 0x6fa141
xor eax, eax
nop
ret
mov eax, 1
ret
Function at 0x14000d294
Capabilities:
Pause service
Start service
Stop service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x1401411c8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor ebx, ebx
xor edx, edx
xor ecx, ecx
lea r8d, [rbx + 4]
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x14000d41c
lea r8d, [rbx + 0x35]
mov rcx, rax
lea rdx, [0x1400fac68]
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x14000d3f0
lea rax, [0x14000d480]
mov byte [rsp + 0x20], bl
mov qword [rsp + 0x38], rax
lea r8d, [rbx + 0x38]
lea rax, [rsp + 0x20]
mov dword [rsp + 0x30], 2
xor edx, edx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x80]
mov rcx, rdi
lea edx, [rbx + 1]
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_ControlService]
test eax, eax
je 0x14000d3c4
lea rcx, str.Stopping_the_service_..._n
call qword [sym.imp.msvcrt.dll_wprintf]
lea r8, [rsp + 0x30]
mov rcx, rdi
lea edx, [rbx + 1]
call qword [sym.imp.api_ms_win_service_management_l2_1_0.dll_NotifyServiceStatusChangeW]
test eax, eax
jne 0x14000d372
lea edx, [rbx + 1]
mov ecx, 0x7530
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_SleepEx]
cmp byte [rsp + 0x20], bl
je 0x14000d3b5
mov ecx, 0x1388
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_Sleep]
lea rcx, str.Starting_the_service_..._n
call qword [sym.imp.msvcrt.dll_wprintf]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_StartServiceW]
test eax, eax
je 0x14000d3a6
mov bl, 1
jmp 0x14000d3e5
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
lea rcx, str.Failed_to_start_the_service:_0x_x_n
jmp 0x14000d3d1
lea rcx, str.The_service_did_not_stop._n
call qword [sym.imp.msvcrt.dll_wprintf]
jmp 0x14000d3e5
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
lea rcx, str.Failed_to_stop_the_service:_0x_x_n
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call qword [sym.imp.msvcrt.dll_wprintf]
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
jmp 0x14000d411
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
movzx edx, ax
lea rcx, str.Failed_to_open_service:_0x_x_n
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call qword [sym.imp.msvcrt.dll_wprintf]
mov rcx, rsi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
jmp 0x14000d43d
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
movzx edx, ax
lea rcx, str.Failed_to_open_SCM_handle:_0x_x_n
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call qword [sym.imp.msvcrt.dll_wprintf]
neg bl
sbb eax, eax
not eax
and eax, 0x80004005
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400c20a0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14000d49c
Capabilities:
Pause service
Stop service

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xb0
mov rax, qword [0x1401411c8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 4]
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x14000d5df
mov r8d, 0x35
lea rdx, [0x1400fac68]
mov rcx, rax
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x14000d5b3
xor edx, edx
mov byte [rsp + 0x20], 0
lea rax, [0x14000d480]
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x48]
lea rax, [rsp + 0x20]
lea r8d, [rdx + 0x38]
mov qword [rsp + 0x40], rax
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x80]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_ControlService]
test eax, eax
je 0x14000d57f
lea r8, [rsp + 0x30]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l2_1_0.dll_NotifyServiceStatusChangeW]
test eax, eax
jne 0x14000d569
lea edx, [rax + 1]
mov ecx, 0x7530
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_SleepEx]
cmp byte [rsp + 0x20], 0
je 0x14000d5a8
lea rcx, str.The_service_has_been_stopped_and_must_be_restarted.
call qword [sym.imp.msvcrt.dll_wprintf]
jmp 0x14000d5a8
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
cmp edx, 0x80070426
je 0x14000d5a8
lea rcx, str.Failed_to_stop_the_service.__You_must_restart_the_service_manually_before_any_changes_will_take_effect.__Error:_0x_x_n
call qword [sym.imp.msvcrt.dll_wprintf]
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
jmp 0x14000d5d4
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
movzx edx, ax
lea rcx, str.Failed_to_open_service:_0x_x_n
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call qword [sym.imp.msvcrt.dll_wprintf]
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
jmp 0x14000d600
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
movzx edx, ax
lea rcx, str.Failed_to_open_SCM_handle:_0x_x_n
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call qword [sym.imp.msvcrt.dll_wprintf]
mov eax, 0x80004005
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400c20a0
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret
Function at 0x140016cfc
Capabilities:
Start http server

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor r8d, r8d
mov rsi, rcx
mov ecx, dword [reloc.OLEAUT32.dll_SysReAllocString]
mov edi, 0x80004005
lea ebp, [r8 + 2]
mov edx, ebp
call qword [sym.imp.HTTPAPI.dll_HttpInitialize]
mov ebx, eax
test eax, eax
jne 0x140016dde
lea rax, [rsi + 8]
mov ecx, ebp
mov r9b, 1
mov qword [rsp + 0x20], rax
mov r8, rsi
lea rdx, [0x140016e60]
call qword [sym.imp.IPHLPAPI.DLL_NotifyUnicastIpAddressChange]
mov ebx, eax
test eax, eax
jne 0x140016d64
mov byte [rsi + 2], 1
jmp 0x140016e3e
cmp dword [0x140142444], ebp
jb 0x140016d8b
movzx r8d, bx
lea rdx, str.Failed_to_registed_IP_change_notification:_0x_x
or r8d, 0x80070000
mov ecx, ebp
test ebx, ebx
cmovle r8d, ebx
call fcn.14003929c
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x140016e3c
test byte [rcx + 0x1c], bpl
je 0x140016e3c
cmp byte [rcx + 0x19], bpl
jb 0x140016e3c
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400fcea0]
movzx r9d, bx
mov edx, reloc.WS2_32.dll_ntohs
or r9d, 0x80070000
test ebx, ebx
cmovle r9d, ebx
call fcn.140007608
jmp 0x140016e3c
cmp dword [0x140142444], ebp
jb 0x140016df7
mov r8d, ebx
lea rdx, str.Failed_to_initialize_HTTP_config:_0x_x
mov ecx, ebp
call fcn.14003929c
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x140016e2e
test byte [rcx + 0x1c], bpl
je 0x140016e2e
cmp byte [rcx + 0x19], bpl
jb 0x140016e2e
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400fcea0]
mov edx, 0x10
mov r9d, ebx
call fcn.140007608
movzx edi, bx
or edi, 0x80070000
test ebx, ebx
cmovle edi, ebx
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140019fc4
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x40
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rdi, rcx
and dword [rax + 0x10], 0
lea r8, [rax + 0x10]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetComputerNameExW]
test eax, eax
jne 0x14001a06a
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
cmp eax, 0xea
jne 0x14001a06a
mov edx, dword [rsp + 0x58]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x28]
call fcn.14000db88
nop
lea r8, [rsp + 0x58]
mov rbx, qword [rsp + 0x28]
mov rdx, rbx
mov ecx, 1
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetComputerNameExW]
test eax, eax
je 0x14001a05c
mov r8d, dword [rsp + 0x58]
mov rdx, rbx
mov rcx, rdi
call fcn.140007004
nop
test rbx, rbx
je 0x14001a058
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
xor eax, eax
jmp 0x14001a08a
test rbx, rbx
je 0x14001a06a
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovns ecx, eax
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001a568
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x378]
sub rsp, 0x450
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x1401411c8]
xor rax, rsp
mov qword [rbp + 0x340], rax
mov rsi, r8
mov rdi, rcx
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x70]
call fcn.1400297a0
nop
lea rcx, [rsp + 0x70]
call fcn.14002cf74
mov rbx, qword [rdi + 0xc8]
mov rdi, qword [rdi + 0xd0]
xor r14d, r14d
cmp rbx, rdi
je 0x14001a6c0
lea r15d, [r14 + 7]
or r12, 0xffffffffffffffff
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r14
mov word [rsp + 0x30], r14w
mov r9, r12
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140006c68
nop
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], r14
mov word [rsp + 0x50], r14w
lea rdx, [rbx + 0x20]
mov r9, r12
xor r8d, r8d
lea rcx, [rsp + 0x50]
call fcn.140006c68
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov r9, qword [rsp + 0x40]
xor r8d, r8d
lea rcx, [rbp + 0x260]
call fcn.14000e110
cmp rax, r12
je 0x14001a67d
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001a67d
test al, 0x10
jne 0x14001a711
cmp qword [rsp + 0x68], 8
jb 0x14001a690
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], r14
mov word [rsp + 0x50], r14w
cmp qword [rsp + 0x48], 8
jb 0x14001a6b3
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
add rbx, 0x40
cmp rbx, rdi
jne 0x14001a5e6
mov byte [rsp + 0x20], r14b
mov dl, 1
lea rcx, [rsp + 0x20]
call fcn.140039a54
test eax, eax
jns 0x14001a6e5
lea rcx, [rsp + 0x20]
call fcn.1400396d4
mov ebx, eax
test eax, eax
js 0x14001a763
mov rcx, rsi
call fcn.14003b28c
test al, al
jne 0x14001a760
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
jmp 0x14001a763
mov r9, r12
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140006c68
nop
cmp qword [rsp + 0x68], 8
jb 0x14001a738
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], r14
mov word [rsp + 0x50], r14w
cmp qword [rsp + 0x48], 8
jb 0x14001a75b
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov ebx, r14d
jmp 0x14001a775
mov ebx, r14d
cmp byte [rsp + 0x20], r14b
je 0x14001a775
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_RevertToSelf]
mov byte [rsp + 0x20], r14b
lea rcx, [rsp + 0x70]
call fcn.14001338c
mov eax, ebx
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.1400c20a0
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14001b500
Capabilities:
Send http response

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x50
and qword [r11 - 0x10], 0
mov r10d, r9d
mov rax, qword [rsp + 0x80]
mov r9, r8
mov rdx, qword [rdx + 0x10]
mov r8d, r10d
mov rcx, qword [rcx + 0x20]
mov qword [r11 - 0x18], rax
lea rax, [r11 + 8]
and dword [rsp + 0x38], 0
and qword [r11 - 0x28], 0
mov qword [r11 - 0x30], rax
and qword [r11 - 0x38], 0
call qword [sym.imp.HTTPAPI.dll_HttpSendHttpResponse]
mov ebx, eax
test eax, eax
je 0x14001b595
cmp dword [0x140142444], 2
jb 0x14001b56a
mov r8d, eax
lea rdx, str.HttpSendHttpResponse_failed_with__lu
mov ecx, 2
call fcn.14003929c
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x14001b595
test byte [rcx + 0x1c], 2
je 0x14001b595
cmp byte [rcx + 0x19], 2
jb 0x14001b595
mov rcx, qword [rcx + 0x10]
mov r9d, ebx
call fcn.140019f28
mov eax, ebx
add rsp, 0x50
pop rbx
ret

Function at 0x14001b650
Capabilities:
Send http response

Disassembly:
sub rsp, 0x58
mov rax, qword [rsp + 0x88]
lea r10, [rsp + 0x60]
mov rdx, qword [rdx + 0x10]
xor r11d, r11d
mov rcx, qword [rcx + 0x20]
test rax, rax
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], rax
cmovne r10, r11
mov dword [rsp + 0x38], r11d
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x20], r8
mov r8d, dword [rsp + 0x80]
mov dword [rsp + 0x60], r11d
call qword [sym.imp.HTTPAPI.dll_HttpSendResponseEntityBody]
add rsp, 0x58
ret