joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c87c
Capabilities:
Parse pe header

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

Function at 0x140013e8c
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140013eac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14001175c
or eax, 0xffffffff
jmp 0x140013eae
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400141dc
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x140039018]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor esi, esi
mov rbx, rdx
test rdx, rdx
jne 0x140013f1b
call fcn.1400117cc
mov dword [rax], 0x16
call fcn.140016c18
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14000be30
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
test rcx, rcx
je 0x140013ee2
mov dword [rsp + 0x28], esi
lea r8, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140013f89
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jb 0x140013f5c
cmp eax, 3
jbe 0x140013f79
cmp eax, 8
je 0x140013f69
cmp eax, 0x12
je 0x140013f79
call fcn.1400117cc
mov dword [rax], 0x16
jmp 0x140013ef2
call fcn.1400117cc
mov dword [rax], 0xc
jmp 0x140013ef2
call fcn.1400117cc
mov dword [rax], 2
jmp 0x140013ef2
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x34]
cmp eax, 0x80
cmove eax, esi
mov dword [rbx], eax
call fcn.140014124
lea rcx, [rsp + 0x3c]
mov qword [rbx + 8], rax
call fcn.140014124
lea rcx, [rsp + 0x44]
mov qword [rbx + 0x10], rax
call fcn.140014124
mov qword [rbx + 0x18], rax
lea rcx, [rbx + 0x24]
mov eax, dword [rsp + 0x50]
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov dword [rbx + 0x20], eax
call fcn.14001c7b4
test eax, eax
jne 0x140013fe7
mov rax, rdi
jmp 0x140013ef6
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140016c38
int3
jmp 0x140013eb4
Function at 0x1400141e4
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x290
mov rax, qword [0x140039018]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edi, edi
mov rbx, rdx
test rcx, rcx
jne 0x140014059
call fcn.1400117cc
mov dword [rax], 0x16
call fcn.140016c18
or eax, 0xffffffff
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14000be30
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x290
pop rdi
ret
cmp rcx, 0xffffffffffffffff
je 0x140014025
test rbx, rbx
je 0x140014025
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400140b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jb 0x14001408d
cmp eax, 3
jbe 0x1400140a7
cmp eax, 8
je 0x14001409a
cmp eax, 0x12
je 0x1400140a7
call fcn.1400117cc
mov dword [rax], 0x16
jmp 0x140014035
call fcn.1400117cc
mov dword [rax], 0xc
jmp 0x140014035
call fcn.1400117cc
mov dword [rax], 2
jmp 0x140014035
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x34]
cmp eax, 0x80
cmove eax, edi
mov dword [rbx], eax
call fcn.140014124
lea rcx, [rsp + 0x3c]
mov qword [rbx + 8], rax
call fcn.140014124
lea rcx, [rsp + 0x44]
mov qword [rbx + 0x10], rax
call fcn.140014124
mov qword [rbx + 0x18], rax
lea rcx, [rbx + 0x24]
mov eax, dword [rsp + 0x50]
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov dword [rbx + 0x20], eax
call fcn.14001c7b4
test eax, eax
je 0x140014038
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140016c38
int3
jmp 0x140013ffc

Function at 0x140014710
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140014730
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14001175c
or eax, 0xffffffff
jmp 0x140014732
xor eax, eax
add rsp, 0x28
ret

Function at 0x140016004
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140015e30
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x140046490]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1400464a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.140026720
jmp 0x14000123c
mov rax, qword [0x1400464a0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400464a0]
mov dword [rax], 1
mov rax, qword [0x1400464e0]
mov rdx, rax
mov rax, qword [0x1400464d0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x14004a024], 1
mov rax, qword [0x1400464a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1400464c0]
mov rdx, rax
mov rax, qword [0x1400464b0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x1400464a0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x140046490]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x1400463e0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x1400463e0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.1400259a8
mov rax, qword [0x140046520]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x140046480]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.1400251a0
mov eax, dword [0x14004a004]
lea rdx, [0x14004a008]
mov ecx, eax
call fcn.14000147c
call fcn.140024f37
mov rax, qword [0x140046410]
mov rax, qword [rax]
mov rdx, qword [0x14004a010]
mov qword [rax], rdx
mov rcx, qword [0x14004a010]
mov rdx, qword [0x14004a008]
mov eax, dword [0x14004a004]
mov r8, rcx
mov ecx, eax
call fcn.1400016d0
mov dword [0x14004a01c], eax
mov eax, dword [0x14004a020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14004a01c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x14004a024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x14004a01c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140046440]
mov dword [rax], 1
mov rax, qword [0x140046450]
mov dword [rax], 1
mov rax, qword [0x140046460]
mov dword [rax], 1
mov rax, qword [0x140046400]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400251b0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.140026510
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x140025e82
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14004a168]
test eax, eax
je 0x140025f1a
lea rax, [0x14004a140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14004a170]
mov qword [rbp - 8], rax
jmp 0x140025efe
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140025ef2
cmp qword [rbp - 0x10], 0
je 0x140025ef2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140025eb8
lea rax, [0x14004a140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140025f1b
nop
add rsp, 0x30
pop rbp
ret
Function at 0x140026020
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140026048
mov eax, 0
jmp 0x140026096
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140026071
mov eax, 0
jmp 0x140026096
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140026091
mov eax, 0
jmp 0x140026096
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14002609c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14002611a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140026111
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140026111
mov rax, qword [rbp - 8]
jmp 0x14002612f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400260e4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d0270
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d1350
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d0c72
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f3108]
test eax, eax
je 0x2fc4d0d0a
lea rax, [0x2fc4f30e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f3110]
mov qword [rbp - 8], rax
jmp 0x2fc4d0cee
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d0ce2
cmp qword [rbp - 0x10], 0
je 0x2fc4d0ce2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d0ca8
lea rax, [0x2fc4f30e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d0d0b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d0e10
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d0e38
mov eax, 0
jmp 0x2fc4d0e86
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d0e61
mov eax, 0
jmp 0x2fc4d0e86
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d0e81
mov eax, 0
jmp 0x2fc4d0e86
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d0e8c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d0f0a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d0f01
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d0f01
mov rax, qword [rbp - 8]
jmp 0x2fc4d0f1f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d0ed4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400376c0
Capabilities:
Monitor local ipv4 address changes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
xor ebp, ebp
mov esi, ebp
mov edi, ebp
call fcn.140038b70
test eax, eax
je 0x14003784c
call fcn.140038f28
test eax, eax
je 0x14003784c
lea r14, [0x14014f170]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
mov dword [0x1401510f0], ebp
lea r8d, [rbp + 0x20]
lea rcx, [0x140150ce0]
call sub.msvcrt.dll_memset
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140150cf8], rax
test rax, rax
je 0x140037764
mov dword [rsp + 0x28], ebp
lea r8, [0x140037290]
or dword [rsp + 0x20], 0xffffffff
lea rcx, [0x1401510f8]
xor r9d, r9d
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
jne 0x14003776e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1400377ac
lea rdx, [0x140150ce0]
mov esi, 1
lea rcx, [0x140151100]
call qword [sym.imp.IPHLPAPI.DLL_NotifyAddrChange]
mov ebx, eax
cmp eax, 0x3e5
jne 0x1400377ac
lea rcx, [0x140151108]
mov edi, esi
call fcn.140037204
mov ebx, eax
test eax, eax
jne 0x1400377b4
mov ebx, ebp
mov dword [0x1401510ec], esi
test ebx, ebx
je 0x14003783f
mov rcx, r14
mov dword [0x1401510f0], 1
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [0x1401510f8]
test esi, esi
mov rcx, r14
cmovne rax, rbp
mov qword [0x1401510f8], rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test edi, edi
je 0x1400377f5
lea rcx, [0x140150ce0]
call qword [sym.imp.IPHLPAPI.DLL_CancelIPChangeNotify]
mov rcx, qword [0x140150cf8]
test rcx, rcx
je 0x140037807
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea rcx, [0x140150ce0]
lea r8d, [rdx + 0x20]
call sub.msvcrt.dll_memset
mov rcx, qword [0x140151108]
test rcx, rcx
je 0x140037832
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov qword [0x140151108], rbp
mov qword [0x140151100], rbp
mov dword [0x1401510ec], ebp
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
jmp 0x140037885
mov rcx, qword [0x14014dd40]
lea rax, [0x14014dd40]
cmp rcx, rax
je 0x140037880
test byte [rcx + 0x1c], 4
je 0x140037880
cmp byte [rcx + 0x19], 2
jb 0x140037880
mov rcx, qword [rcx + 0x10]
lea r8, [0x14011c768]
mov edx, SafeArrayAccessData
call fcn.140003614
mov eax, 0x8000ffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140038fa0
Capabilities:
Check http status code

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rax - 0x10], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov edi, edx
mov rsi, rcx
and dword [rax - 0x18], 0
lea rbp, [0x14014dd40]
mov rcx, qword [0x14014dd40]
cmp rcx, rbp
je 0x140039000
test byte [rcx + 0x1c], 1
je 0x140039000
cmp byte [rcx + 0x19], 5
jb 0x140039000
mov edx, 0xa
mov r9d, edi
lea r8, [0x14011c7b8]
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
mov rax, qword [0x14014e920]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.140009050]
lea rcx, [0x14014e920]
call rbx
add rax, 0x18
mov qword [rsi], rax
mov dword [rsp + 0x20], 1
cmp edi, 0x192
je 0x140039073
cmp edi, 0x194
je 0x140039073
cmp edi, 0x1f5
je 0x140039073
lea eax, [rdi - 0x2bd]
cmp eax, 0x13
ja 0x140039059
mov ecx, 0x81fbf
bt ecx, eax
jb 0x140039073
cmp edi, 0x321
je 0x140039073
mov r8d, edi
mov edx, 0x67
mov rcx, rsi
call fcn.140039670
jmp 0x14003908d
mov ecx, edi
call fcn.140004a9c
test rax, rax
je 0x14003908d
mov r8d, edi
mov rdx, rax
mov rcx, rsi
call fcn.140004bd4
mov rcx, qword [0x14014dd40]
cmp rcx, rbp
je 0x1400390bd
test byte [rcx + 0x1c], 1
je 0x1400390bd
cmp byte [rcx + 0x19], 5
jb 0x1400390bd
mov edx, reloc.WSOCK32.dll_inet_ntoa
mov r9, qword [rsi]
lea r8, [0x14011c7b8]
mov rcx, qword [rcx + 0x10]
call fcn.140003638
mov rax, rsi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140048410
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [0x14014dd40]
lea rsi, [0x14014dd40]
cmp rcx, rsi
je 0x14004845b
test byte [rcx + 0x1c], 1
je 0x14004845b
cmp byte [rcx + 0x19], 5
jb 0x14004845b
mov eax, dword [rdi]
lea r8, [0x14011cfd8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x2c
mov r9, rbx
mov dword [rsp + 0x20], eax
call fcn.140026264
mov rcx, qword [rbx]
lea rax, [rsp + 0x60]
and dword [rsp + 0x50], 0
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, [0x14011ced8]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x60], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x1400484a8
mov eax, dword [rsp + 0x68]
sub eax, 4
neg eax
sbb ebx, ebx
and ebx, 0xd
mov r10, qword [0x14014dd40]
cmp r10, rsi
je 0x1400484e9
test byte [r10 + 0x1c], 2
je 0x1400484e9
cmp byte [r10 + 0x19], 5
jb 0x1400484e9
mov eax, dword [rsp + 0x50]
lea r8, [0x14011cfd8]
mov rcx, qword [r10 + 0x10]
mov edx, 0x2d
mov r9d, ebx
mov dword [rsp + 0x20], eax
call fcn.14000574c
mov r10, qword [0x14014dd40]
test ebx, ebx
jne 0x14004852b
cmp r10, rsi
je 0x14004851e
test byte [r10 + 0x1c], 2
je 0x14004851e
cmp byte [r10 + 0x19], 4
jb 0x14004851e
mov eax, dword [rsp + 0x50]
lea edx, [rbx + 0x2e]
mov r9d, dword [rdi]
lea r8, [0x14011cfd8]
mov rcx, qword [r10 + 0x10]
mov dword [rsp + 0x20], eax
call fcn.14000574c
mov eax, dword [rsp + 0x50]
mov dword [rdi], eax
mov r10, qword [0x14014dd40]
cmp r10, rsi
je 0x14004856a
test byte [r10 + 0x1c], 1
je 0x14004856a
movzx edx, byte [r10 + 0x19]
mov eax, ebx
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp edx, ecx
jl 0x14004856a
mov ecx, dword [rdi]
lea r8, [0x14011cfd8]
mov dword [rsp + 0x20], ecx
mov edx, 0x2f
mov rcx, qword [r10 + 0x10]
mov r9d, ebx
call fcn.14000574c
mov eax, ebx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret