joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140162f00
Capabilities:
Terminate process

Disassembly:
push rbx
mov eax, 0x100c0
call fcn.1401e44c0
sub rsp, rax
mov rax, qword [0x14039a678]
xor rax, rsp
mov qword [rsp + 0x100b0], rax
lea rcx, [rsp + 0x20]
call fcn.140180db0
nop
xor edx, edx
mov r8d, 0x10000
lea rcx, [rsp + 0xb0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], SafeArrayGetLBound
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x50], al
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp rbx, 0xffffffffffffffff
je 0x140162ffe
cmp rax, 0xffffffffffffffff
je 0x140162ffe
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x20]
call fcn.140182020
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.1400da710
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400da650
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1401da4f0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400dc600
lea rcx, [rsp + 0x90]
call fcn.1400db820
lea rdx, [rsp + 0x50]
lea rcx, [0x14039ef70]
call fcn.140117c40
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x140163010
Capabilities:
Terminate process

Disassembly:
push rbx
mov eax, 0x100c0
call fcn.1401e44c0
sub rsp, rax
mov rax, qword [0x14039a678]
xor rax, rsp
mov qword [rsp + 0x100b0], rax
lea rcx, [rsp + 0x20]
call fcn.140180db0
nop
xor edx, edx
mov r8d, 0x10000
lea rcx, [rsp + 0xb0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], SafeArrayGetLBound
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x50], al
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp rbx, 0xffffffffffffffff
je 0x14016310e
cmp rax, 0xffffffffffffffff
je 0x14016310e
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x20]
call fcn.140181ef0
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.1400da710
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400da650
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1401da4f0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400dc600
lea rcx, [rsp + 0x90]
call fcn.1400db820
lea rdx, [rsp + 0x50]
lea rcx, [0x14039ef70]
call fcn.140117c40
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140163120
Capabilities:
Terminate process

Disassembly:
push rbx
mov eax, 0x100c0
call fcn.1401e44c0
sub rsp, rax
mov rax, qword [0x14039a678]
xor rax, rsp
mov qword [rsp + 0x100b0], rax
lea rcx, [rsp + 0x20]
call fcn.140180db0
nop
xor edx, edx
mov r8d, 0x10000
lea rcx, [rsp + 0xb0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], SafeArrayGetLBound
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x50], al
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp rbx, 0xffffffffffffffff
je 0x14016321e
cmp rax, 0xffffffffffffffff
je 0x14016321e
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x20]
call fcn.140181f30
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.1400da710
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400da650
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1401da4f0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400dc600
lea rcx, [rsp + 0x90]
call fcn.1400db820
lea rdx, [rsp + 0x50]
lea rcx, [0x14039ef70]
call fcn.140117c40
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x140163230
Capabilities:
Terminate process

Disassembly:
push rbx
mov eax, 0x100c0
call fcn.1401e44c0
sub rsp, rax
mov rax, qword [0x14039a678]
xor rax, rsp
mov qword [rsp + 0x100b0], rax
lea rcx, [rsp + 0x20]
call fcn.140180db0
nop
xor edx, edx
mov r8d, 0x10000
lea rcx, [rsp + 0xb0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], SafeArrayGetLBound
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x50], al
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp rbx, 0xffffffffffffffff
je 0x14016332e
cmp rax, 0xffffffffffffffff
je 0x14016332e
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x20]
call fcn.140181eb0
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.1400da710
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400da650
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1401da4f0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400dc600
lea rcx, [rsp + 0x90]
call fcn.1400db820
lea rdx, [rsp + 0x50]
lea rcx, [0x14039ef70]
call fcn.140117c40
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140163340
Capabilities:
Terminate process

Disassembly:
push rbx
mov eax, 0x100c0
call fcn.1401e44c0
sub rsp, rax
mov rax, qword [0x14039a678]
xor rax, rsp
mov qword [rsp + 0x100b0], rax
lea rcx, [rsp + 0x20]
call fcn.140180db0
nop
xor edx, edx
mov r8d, 0x10000
lea rcx, [rsp + 0xb0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], SafeArrayGetLBound
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x50], al
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp rbx, 0xffffffffffffffff
je 0x14016343e
cmp rax, 0xffffffffffffffff
je 0x14016343e
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x20]
call fcn.140182060
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.1400da710
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400da650
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1401da4f0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400dc600
lea rcx, [rsp + 0x90]
call fcn.1400db820
lea rdx, [rsp + 0x50]
lea rcx, [0x14039ef70]
call fcn.140117c40
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140163f10
Capabilities:
Create service

Disassembly:
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x4a8
mov rax, qword [0x14039a678]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov r15, qword [rsp + 0x500]
mov ebp, r8d
mov r12, qword [rsp + 0x508]
mov rdi, rdx
mov rsi, rcx
lea rdx, [rsp + 0x70]
mov r8d, 0x104
xor ecx, ecx
mov r14, r9
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x140163f7f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.GetModuleFileName_failed_w_err_0x_08lx_n
call fcn.14011c5f0
jmp 0x14016406b
lea r8, [rsp + 0x70]
mov qword [rsp + 0x4a0], rbx
lea rdx, [0x1402a1f68]
lea rcx, [rsp + 0x280]
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 3]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x140163fd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenSCManager_failed_w_err_0x_08lx_n
call fcn.14011c5f0
jmp 0x140164063
mov qword [rsp + 0x60], r12
xor eax, eax
mov qword [rsp + 0x58], r15
mov r9d, 4
mov qword [rsp + 0x50], r14
mov r8, rdi
mov qword [rsp + 0x48], rax
mov rdx, rsi
mov qword [rsp + 0x40], rax
mov rcx, rbx
lea rax, [rsp + 0x280]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], SafeArrayGetLBound
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov rdi, rax
test rax, rax
jne 0x140164042
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateService_failed_w_err_0x_08lx_n
call fcn.14011c5f0
mov rcx, rbx
jmp 0x14016405d
mov rdx, rsi
lea rcx, str._s_is_installed._n
call fcn.14011c5f0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x4a0]
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.1401e3ce0
add rsp, 0x4a8
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140164090
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14039a678]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
mov rdi, rcx
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
xor edx, edx
mov dword [rsp + 0x38], eax
xor ecx, ecx
lea r8d, [rax + 1]
movups xmmword [rsp + 0x20], xmm0
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
jne 0x1401640ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenSCManager_failed_w_err_0x_08lx_n
call fcn.14011c5f0
jmp 0x14016420a
mov r8d, 0x10024
mov qword [rsp + 0x68], rbx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
jne 0x140164129
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenService_failed_w_err_0x_08lx_n
call fcn.14011c5f0
mov rcx, rsi
jmp 0x1401641ff
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1401641c1
mov rdx, rdi
lea rcx, str.Stopping__s.
call fcn.14011c5f0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1401641a2
mov eax, dword [rsp + 0x24]
cmp eax, 3
jne 0x1401641a6
lea rcx, [0x14029e63c]
call fcn.14011c5f0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x140164170
mov eax, dword [rsp + 0x24]
lea rcx, str._n_s_is_stopped._n
mov rdx, rdi
cmp eax, 1
je 0x1401641bc
lea rcx, str._n_s_failed_to_stop._n
call fcn.14011c5f0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x1401641e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.DeleteService_failed_w_err_0x_08lx_n
call fcn.14011c5f0
jmp 0x1401641f3
mov rdx, rdi
lea rcx, str._s_is_removed._n
call fcn.14011c5f0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401e3ce0
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x14017f5f0
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x60
movzx edi, dx
mov rsi, rcx
mov edx, 0x2710
lea rcx, [0x14039e280]
call fcn.1401b6d60
test al, al
je 0x14017f69b
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
lea r14, str.ASUSSystemAnalysis
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x14017f68e
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rsi
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x40], rdx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edx
mov word [rsp + 0x28], r9w
mov qword [rsp + 0x20], rdx
xor r9d, r9d
movzx edx, di
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea rcx, [0x14039e280]
call fcn.1401b6eb0
nop
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop r14
ret
Function at 0x140189220
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x14039a678]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea rcx, [r8 + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
shl rdx, 2
xor esi, esi
cmp rdx, r8
jae 0x140189280
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], SafeArrayGetLBound
mov byte [rbx], sil
jmp 0x1401893b0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], SafeArrayGetLBound
mov byte [rsp + 0x28], sil
test rdx, rdx
jne 0x1401892a8
mov qword [rsp + 0x38], rdx
mov byte [rsp + rdx + 0x28], dl
jmp 0x1401892b8
lfence
xor r8d, r8d
lea rcx, [rsp + 0x28]
call fcn.1400e8070
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rax, qword [rsp + 0x28]
lea r8, [r14 + rdi]
lea r9, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
cmp r14, 3
jl 0x14018934a
nop word [rax + rax]
movzx ecx, byte [rdi]
shr rcx, 2
movzx ecx, byte [rcx + r9]
mov byte [rax], cl
movzx edx, byte [rdi]
and edx, 3
shl rdx, 4
movzx ecx, byte [rdi + 1]
shr rcx, 4
or rdx, rcx
movzx ecx, byte [rdx + r9]
mov byte [rax + 1], cl
movzx edx, byte [rdi + 1]
and edx, 0xf
shl rdx, 2
movzx ecx, byte [rdi + 2]
shr rcx, 6
or rdx, rcx
movzx ecx, byte [rdx + r9]
mov byte [rax + 2], cl
movzx ecx, byte [rdi + 2]
and ecx, 0x3f
movzx ecx, byte [rcx + r9]
mov byte [rax + 3], cl
add rax, 4
add rdi, 3
sub r14, 3
cmp r14, 3
jge 0x1401892e0
sub r8, rdi
je 0x14018939f
movzx ecx, byte [rdi]
shr rcx, 2
movzx ecx, byte [rcx + r9]
mov byte [rax], cl
movzx edx, byte [rdi]
and edx, 3
shl rdx, 4
cmp r8, 1
jne 0x140189379
movzx ecx, byte [rdx + r9]
mov byte [rax + 1], cl
mov cl, 0x3d
jmp 0x140189398
movzx ecx, byte [rdi + 1]
shr rcx, 4
or rcx, rdx
movzx ecx, byte [rcx + r9]
mov byte [rax + 1], cl
movzx ecx, byte [rdi + 1]
and ecx, 0xf
movzx ecx, byte [r9 + rcx*4]
mov byte [rax + 2], cl
mov byte [rax + 3], 0x3d
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401e3ce0
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x1401ade90
Capabilities:
Initialize winhttp library
Reference http user-agent string

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
xor ebp, ebp
mov qword [rcx], rbp
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], 7
mov word [rcx], bp
lea r8d, [rbp + 0x73]
lea rdx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_89.0.4389.128_Safari_537.36
call fcn.1400e83c0
nop
mov byte [rdi + 0x20], bpl
mov qword [rdi + 0x28], rbp
mov qword [rdi + 0x30], rbp
mov qword [rdi + 0x38], rbp
mov dword [rdi + 0x40], 0x7530
mov dword [rdi + 0x44], 0x7530
mov dword [rdi + 0x48], 0x7530
mov qword [rdi + 0x50], rbp
mov qword [rdi + 0x58], rbp
mov qword [rdi + 0x60], rbp
lea rsi, [rdi + 0x68]
mov qword [rsi + 0x38], rbp
lea rbx, [rdi + 0xb0]
mov qword [rsp + 0x58], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
lfence
lea ecx, [rbp + 0x28]
call fcn.1401e3748
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
lea rcx, [rdi + 0xc0]
call fcn.1401ad8b0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi + 0x50], xmm0
mov qword [rdi + 0x60], rax
mov byte [rdi + 0xa8], al
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1401adf73
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x1400d34f5.0]
mov qword [rsi + 0x38], rbp
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1401adf80
mov rcx, qword [rdi]
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rcx, rax
mov qword [rdi + 0x28], rax
test rax, rax
jne 0x1401adfa7
mov dword [rdi + 0x60], 2
jmp 0x1401adfbf
mov eax, dword [rdi + 0x48]
mov dword [rsp + 0x20], eax
mov r9d, dword [rdi + 0x44]
mov r8d, dword [rdi + 0x40]
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
nop
mov rax, rdi
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401aed30
Capabilities:
Receive http response

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
movzx r15d, r9b
mov rsi, r8
mov r14, rdx
mov r13, rcx
mov dword [rsp + 0x48], 0
lea rdi, [rcx + 0xc0]
mov qword [rsp + 0x70], rdi
test rdi, rdi
je 0x1401aed83
mov rcx, rdi
call fcn.1401ad900
nop
mov rcx, r14
call fcn.1401b44b0
mov dword [rsp + 0x48], 1
xor ebx, ebx
mov qword [rsp + 0x60], rbx
xor eax, eax
mov r12d, 0x4000
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], eax
mov rcx, r13
call fcn.1401af9e0
mov rcx, r14
call fcn.1401b5e70
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x30], rax
xor eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
mov r9, r14
xor r8d, r8d
mov rdx, rsi
mov rcx, r13
call fcn.1401af0f0
test al, al
je 0x1401aef86
lea rdx, [r14 + 8]
mov rcx, r13
call fcn.1401af8f0
test al, al
je 0x1401aee58
mov rcx, r14
call fcn.1401b47e0
lea r8, [r14 + 0x80]
cmp qword [r14 + 0x98], 8
jb 0x1401aee1b
mov r8, qword [r14 + 0x80]
cmp qword [r14 + 0x90], 3
jne 0x1401aefb8
mov edx, 3
lea rcx, [0x1402ae248]
sub r8, rcx
nop dword [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x1401aefb8
add rcx, 2
sub rdx, 1
jne 0x1401aee40
test r15b, r15b
jne 0x1401aeebb
mov rcx, r12
call fcn.1401e3f7c
mov rbx, rax
mov qword [rsp + 0x60], rax
mov r8, r12
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
movzx esi, byte [rsp + 0xd0]
nop dword [rax]
nop word [rax + rax]
lea rdx, [rsp + 0x40]
mov rcx, qword [r13 + 0x38]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x1401aef9f
mov r8d, dword [rsp + 0x40]
test r8d, r8d
jne 0x1401aeec0
mov byte [r14], 1
xor eax, eax
mov dword [r13 + 0x60], eax
jmp 0x1401aef4a
cmp r8d, r12d
jbe 0x1401aeefc
mov rcx, r8
call fcn.1401e3f7c
mov r15, rax
mov rcx, rbx
mov rbx, rax
mov qword [rsp + 0x60], rax
test rcx, rcx
je 0x1401aeee5
call fcn.1401e3efc
mov r12d, dword [rsp + 0x40]
mov r8d, r12d
xor edx, edx
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x44]
mov rdx, rbx
mov rcx, qword [r13 + 0x38]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1401aefd1
lea rcx, [r14 + 0x20]
mov r9d, dword [rsp + 0x44]
add r9, rbx
mov rdx, qword [rcx + 8]
mov byte [rsp + 0x20], sil
mov r8, rbx
call fcn.1401adbd0
jmp 0x1401aee90
test rbx, rbx
je 0x1401aef58
mov rcx, rbx
call fcn.1401e3efc
nop
test rdi, rdi
je 0x1401aef66
mov rcx, rdi
call fcn.1401ad910
nop
mov rax, r14
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov dword [rsp + 0x4c], 2
lea rdx, [0x140303618]
lea rcx, [rsp + 0x4c]
call fcn.14021a94c
mov dword [rsp + 0x54], 9
lea rdx, [0x140303618]
lea rcx, [rsp + 0x54]
call fcn.14021a94c
mov dword [rsp + 0x50], 6
lea rdx, [0x140303618]
lea rcx, [rsp + 0x50]
call fcn.14021a94c
mov dword [rsp + 0x58], 9
lea rdx, [0x140303618]
lea rcx, [rsp + 0x58]
call fcn.14021a94c
int3
Function at 0x1401af020
Capabilities:
Initialize winhttp library

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x18], 8
mov rbx, rcx
jb 0x1401af033
mov rcx, qword [rcx]
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rbx + 0x28], rax
mov rcx, rax
test rax, rax
jne 0x1401af062
mov dword [rbx + 0x60], 2
add rsp, 0x30
pop rbx
ret
mov eax, dword [rbx + 0x48]
xor edx, edx
mov r9d, dword [rbx + 0x44]
mov r8d, dword [rbx + 0x40]
mov dword [rsp + 0x20], eax
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
mov al, 1
add rsp, 0x30
pop rbx
ret
Function at 0x1401af8f0
Capabilities:
Read http header

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x30
xor r9d, r9d
mov qword [rsp + 0x28], 0
mov rbx, rdx
mov dword [rsp + 0x40], 0
mov rbp, rcx
lea rax, [rsp + 0x40]
mov rcx, qword [rcx + 0x38]
xor r8d, r8d
lea edx, [r9 + 0x16]
mov qword [rsp + 0x20], rax
xor dil, dil
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1401af9c7
mov ecx, dword [rsp + 0x40]
mov qword [rsp + 0x48], rsi
call fcn.1401e3f7c
mov rcx, qword [rbp + 0x38]
mov rsi, rax
xor r8d, r8d
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x40]
mov r9, rsi
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0x16]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x1401af9ba
mov rdx, qword [rbx]
mov qword [rbx + 8], rdx
cmp rdx, qword [rbx + 0x10]
je 0x1401af99b
mov rcx, rbx
call fcn.1401b08c0
mov rdx, qword [rbx + 8]
mov r9d, dword [rsp + 0x40]
mov r8, rsi
movzx eax, byte [rsp + 0x40]
add r9, rsi
mov rcx, rbx
mov byte [rsp + 0x20], al
call fcn.1401adbd0
mov dil, 1
mov rcx, rsi
call fcn.1401e3efc
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
movzx eax, dil
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1401b1510
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x18], 8
mov rbx, rcx
mov qword [rsp + 0x20], rcx
jb 0x1401b1528
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401b1547
test al, 0x10
jne 0x1401b1547
mov rcx, rbx
call fcn.140103e20
mov al, 1
add rsp, 0x30
pop rbx
ret
mov rcx, rbx
call fcn.140103e20
xor al, al
add rsp, 0x30
pop rbx
ret

Function at 0x1401b1590
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x18], 8
mov rbx, rcx
mov qword [rsp + 0x20], rcx
jb 0x1401b15a8
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401b15c7
test al, 0x10
je 0x1401b15c7
mov rcx, rbx
call fcn.140103e20
mov al, 1
add rsp, 0x30
pop rbx
ret
mov rcx, rbx
call fcn.140103e20
xor al, al
add rsp, 0x30
pop rbx
ret
Function at 0x1401b2cb0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x80
mov rsi, rdx
mov rbx, rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
mov qword [rcx], rbp
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], 7
mov word [rcx], bp
mov dword [rsp + 0x30], 1
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], 7
lea r8d, [rbp + 0x15]
lea rdx, str.Drives_Bitmap:_0x_08x
lea rcx, [rsp + 0x38]
call fcn.1400e83c0
mov edx, edi
lea rcx, [rsp + 0x38]
call fcn.14017ee40
mov ecx, reloc.OLEAUT32.dll_SafeArrayPutElement
nop dword [rax + rax]
mov eax, 1
shl eax, cl
test edi, eax
je 0x1401b2d45
sub ecx, 1
jns 0x1401b2d30
jmp 0x1401b2e01
mov dword [rsi], eax
add cl, 0x41
movsx edx, cl
mov qword [rbx + 0x10], 1
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1401b2d62
mov rax, qword [rbx]
mov word [rax], dx
mov word [rax + 2], bp
mov rcx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
mov rax, r8
sub rax, rcx
cmp rax, 2
jb 0x1401b2d9e
lea rdx, [rcx + 2]
mov qword [rbx + 0x10], rdx
mov rax, rbx
cmp r8, 8
jb 0x1401b2d91
mov rax, qword [rbx]
mov dword [rax + rcx*2], 0x5c003a
mov word [rax + rdx*2], bp
jmp 0x1401b2dc0
lfence
mov qword [rsp + 0x20], 2
lea r9, [0x1402ae8ec]
xor r8d, r8d
lea edx, [r8 + 2]
mov rcx, rbx
call fcn.14010d630
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], 7
mov r8d, 0x1b
lea rdx, str.Available_volume_label___s_
lea rcx, [rsp + 0x58]
call fcn.1400e83c0
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1401b2df7
mov rdx, qword [rbx]
lea rcx, [rsp + 0x58]
call fcn.14017ee40
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret