joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14014ce30
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x68
pxor xmm0, xmm0
mov rax, r8
mov rsi, rdx
mov rbx, r8
movups xmmword [rsp + 0x40], xmm0
add rax, r9
mov dword [rsp + 0x3c], 0
movups xmmword [rsp + 0x50], xmm0
jo 0x14014ceae
mov qword [rsp + 0x50], r9
call qword [sym.imp.msvcrt.dll__get_osfhandle]
mov r8d, 0x7fffffff
lea r9, [rsp + 0x3c]
mov rdx, rsi
cmp rbx, r8
mov rcx, rax
lea rax, [rsp + 0x40]
cmovbe r8, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x14014cea0
mov eax, dword [rsp + 0x3c]
add rsp, 0x68
pop rbx
pop rsi
ret
call fcn.14015ea70
mov rax, 0xffffffffffffffff
jmp 0x14014ce95
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 0x16
jmp 0x14014cea5

Function at 0x14014cec0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x68
pxor xmm0, xmm0
mov rax, r8
mov rsi, rdx
mov rbx, r8
movups xmmword [rsp + 0x40], xmm0
add rax, r9
mov dword [rsp + 0x3c], 0
movups xmmword [rsp + 0x50], xmm0
jo 0x14014cf3e
mov qword [rsp + 0x50], r9
call qword [sym.imp.msvcrt.dll__get_osfhandle]
mov r8d, 0x7fffffff
lea r9, [rsp + 0x3c]
mov rdx, rsi
cmp rbx, r8
mov rcx, rax
lea rax, [rsp + 0x40]
cmovbe r8, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x14014cf30
mov eax, dword [rsp + 0x3c]
add rsp, 0x68
pop rbx
pop rsi
ret
call fcn.14015ea70
mov rax, 0xffffffffffffffff
jmp 0x14014cf25
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 0x16
jmp 0x14014cf35

Function at 0x14014cf50
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov ebp, ecx
mov rdi, rdx
mov rbx, r8
test r8, r8
je 0x14014cfd1
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rsi, rdx
jmp 0x14014cf82
je 0x14014cfc0
add rsi, rax
sub rbx, rax
je 0x14014cfc0
mov r8d, 0x7fffffff
mov rdx, rsi
mov ecx, ebp
cmp rbx, r8
cmovbe r8, rbx
call sub.msvcrt.dll__read
cdqe
test rax, rax
jns 0x14014cf78
call r12
cmp dword [rax], 4
je 0x14014cf82
call r12
cmp dword [rax], 0xb
je 0x14014cf82
mov rax, 0xffffffffffffffff
jmp 0x14014cfc6
mov rax, rsi
sub rax, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
xor eax, eax
jmp 0x14014cfc6
Function at 0x14014d070
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
mov eax, 0x4040
push rsi
push rbx
call fcn.140083330
sub rsp, rax
lea rdi, [rsp + 0x20]
mov rbx, rdx
mov rdx, rcx
mov rcx, rdi
call fcn.140129cf0
test eax, eax
js 0x14014d14c
lea rsi, [rsp + 0x2030]
xor r9d, r9d
mov edx, 0x1006
mov rcx, rdi
mov r8, rsi
call qword [sym.imp.kernel32.dll_GetFullPathNameW]
test eax, eax
je 0x14014d150
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14014d17b
test rbx, rbx
je 0x14014d118
mov rdx, rsi
mov rcx, rbx
call fcn.14012a330
test eax, eax
js 0x14014d14c
movzx edx, byte [rbx]
test dl, dl
je 0x14014d104
mov rax, rbx
nop
cmp dl, 0x5c
jne 0x14014d0f8
mov byte [rax], 0x2f
movzx edx, byte [rax + 1]
add rax, 1
test dl, dl
jne 0x14014d0f0
mov rax, rbx
add rsp, 0x4040
pop rbx
pop rsi
pop rdi
ret
mov rax, qword [0x14019f130]
mov r8d, 0x13
mov ecx, 0x2ffe
lea rdx, [0x140193359]
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x14014d0d6
call fcn.1400da310
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 0xc
xor eax, eax
jmp 0x14014d107
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
je 0x14014d16b
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 0x16
xor eax, eax
jmp 0x14014d107
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 0x26
xor eax, eax
jmp 0x14014d107
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 2
xor eax, eax
jmp 0x14014d107

Function at 0x14014d1b0
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push r14
mov eax, 0x4040
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.140083330
sub rsp, rax
lea rdi, [rsp + 0x20]
mov rbx, rdx
mov rdx, rcx
mov rcx, rdi
call fcn.140129cf0
test eax, eax
js 0x14014d23f
lea rsi, [rsp + 0x2030]
mov rdx, rbx
mov rcx, rsi
call fcn.140129cf0
test eax, eax
js 0x14014d23f
mov ebx, dword [0x140176010]
test ebx, ebx
je 0x14014d23f
mov rbp, qword [sym.imp.kernel32.dll_MoveFileExW]
mov r13, qword [sym.imp.kernel32.dll_GetLastError]
mov r12, qword [sym.imp.kernel32.dll_GetFileAttributesW]
mov r14, qword [sym.imp.kernel32.dll_Sleep]
mov r8d, 3
mov rdx, rsi
mov rcx, rdi
call rbp
test eax, eax
jne 0x14014d290
call r13
cmp eax, 0x20
je 0x14014d260
cmp eax, 5
je 0x14014d260
call fcn.14015ea70
mov eax, 0xffffffff
add rsp, 0x4040
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
cmp ebx, 1
jle 0x14014d2b0
mov rcx, rsi
call r12
cmp eax, 0xffffffff
je 0x14014d23a
test al, 1
je 0x14014d298
and eax, 0xfffffffe
mov rcx, rsi
mov edx, eax
call qword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
je 0x14014d23a
sub ebx, 1
jmp 0x14014d21b
xor eax, eax
jmp 0x14014d244
mov ecx, 5
sub ebx, 1
call r14
jmp 0x14014d21b
mov ecx, 5
call qword [sym.imp.kernel32.dll_Sleep]
sub ebx, 1
jne 0x14014d21b
jmp 0x14014d23f
Function at 0x14014d2d0
Capabilities:
Delete directory

Disassembly:
push rbx
mov eax, 0x2030
call fcn.140083330
sub rsp, rax
lea rbx, [rsp + 0x20]
mov rdx, rcx
mov rcx, rbx
call fcn.140129cf0
test eax, eax
js 0x14014d32e
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wrmdir]
cmp eax, 0xffffffff
je 0x14014d310
add rsp, 0x2030
pop rbx
ret
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x20
je 0x14014d338
cmp eax, 0x10b
jne 0x14014d32e
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 0x14
mov eax, 0xffffffff
jmp 0x14014d300
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 0x10
jmp 0x14014d32e

Function at 0x14014d4a0
Capabilities:
Get file attributes

Disassembly:
push r12
mov eax, 0x6070
push rbp
push rdi
push rsi
push rbx
call fcn.140083330
sub rsp, rax
lea rdi, [rsp + 0x2050]
mov rbx, rcx
mov rsi, rdx
mov rcx, rdi
call fcn.140129cf0
test eax, eax
js 0x14014d5d0
lea rbp, [rsp + 0x40]
mov rdx, rbx
mov rcx, rbp
call fcn.14012a1a0
test eax, eax
js 0x14014d5d0
mov rax, qword [0x14019f380]
pxor xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rax
movzx eax, byte [rbx]
and eax, 0xffffffdf
sub eax, 0x41
cmp al, 0x19
ja 0x14014d515
cmp byte [rbx + 1], 0x3a
je 0x14014d5a0
lea r12, [rsp + 0x20]
mov rdx, rsi
mov rcx, r12
call fcn.1400de760
test eax, eax
js 0x14014d570
mov rdx, rbx
mov rcx, r12
call fcn.1400ddb00
test eax, eax
js 0x14014d570
lea rsi, [rsp + 0x4060]
mov rdx, qword [rsp + 0x20]
mov rcx, rsi
call fcn.140129cf0
test eax, eax
js 0x14014d570
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetFileAttributesW]
mov rcx, r12
mov ebx, eax
call fcn.14011c2b0
shr ebx, 4
and ebx, 1
lea r8d, [rbx + 2]
jmp 0x14014d57e
mov rcx, r12
call fcn.14011c2b0
mov r8d, 3
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.kernel32.dll_CreateSymbolicLinkW]
cmp al, 1
sbb eax, eax
add rsp, 0x6070
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
movzx eax, byte [rbx + 2]
cmp al, 0x5c
je 0x14014d5b0
cmp al, 0x2f
jne 0x14014d515
lea rsi, [rsp + 0x4060]
mov rdx, rbx
lea r12, [rsp + 0x20]
mov rcx, rsi
call fcn.140129cf0
jmp 0x14014d551
mov eax, 0xffffffff
jmp 0x14014d58e
Function at 0x14014d5e0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push r14
mov eax, 0x2060
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.140083330
sub rsp, rax
lea rsi, [rsp + 0x50]
mov rdx, rcx
mov rcx, rsi
call fcn.140129cf0
test eax, eax
js 0x14014d675
mov ebx, dword [0x140176010]
test ebx, ebx
je 0x14014d675
mov rdi, qword [sym.imp.kernel32.dll_DeleteFileW]
mov rbp, qword [sym.imp.kernel32.dll_GetLastError]
mov r13, qword [sym.imp.kernel32.dll_SetLastError]
mov r12, qword [sym.imp.kernel32.dll_GetFileAttributesW]
mov rcx, rsi
call rdi
test eax, eax
je 0x14014d650
xor eax, eax
add rsp, 0x2060
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
call rbp
mov r14d, eax
cmp eax, 5
je 0x14014d6e0
mov ecx, r14d
call r13
call rbp
cmp eax, 0x20
je 0x14014d680
cmp eax, 5
je 0x14014d680
call fcn.14015ea70
mov eax, 0xffffffff
jmp 0x14014d63c
cmp ebx, 1
jle 0x14014d6c8
mov rcx, rsi
call r12
cmp eax, 0xffffffff
je 0x14014d670
test al, 1
je 0x14014d6b0
and eax, 0xfffffffe
mov rcx, rsi
mov edx, eax
call qword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
je 0x14014d670
sub ebx, 1
jmp 0x14014d631
mov ecx, 5
sub ebx, 1
call qword [sym.imp.kernel32.dll_Sleep]
jmp 0x14014d631
mov ecx, 5
call qword [sym.imp.kernel32.dll_Sleep]
sub ebx, 1
jne 0x14014d631
jmp 0x14014d675
xor edx, edx
lea r8, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetFileAttributesExW]
test eax, eax
je 0x14014d65e
mov eax, dword [rsp + 0x20]
and eax, 0x410
cmp eax, 0x410
jne 0x14014d65e
mov rcx, rsi
call qword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x14014d65e
xor eax, eax
jmp 0x14014d63c
Function at 0x14014d730
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push r13
mov eax, 0x2088
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.140083330
sub rsp, rax
pxor xmm0, xmm0
lea rsi, [rsp + 0x70]
mov r12, rdx
mov rdx, rcx
movups xmmword [rsp + 0x40], xmm0
mov rcx, rsi
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
call fcn.140129cf0
test eax, eax
js 0x14014d890
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetFileAttributesW]
mov r13d, eax
mov ebx, eax
and r13d, 1
jne 0x14014d860
mov r8d, dword [0x140176000]
pxor xmm0, xmm0
mov rax, qword [0x140193378]
mov dword [rsp + 0x6c], 0
movups xmmword [rsp + 0x5c], xmm0
lea r9, [rsp + 0x48]
mov rcx, rsi
mov edx, 0xc0000000
mov dword [rsp + 0x40], 0xc0000000
mov dword [rsp + 0x44], r8d
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x48], 0x18
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
movups xmmword [rsp + 0x4c], xmm0
call qword [sym.imp.kernel32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14014d8a0
mov edx, dword [rsp + 0x68]
mov rcx, rax
call qword [sym.imp.msvcrt.dll__open_osfhandle]
mov ebp, eax
test eax, eax
js 0x14014d8c0
mov ecx, eax
mov rdx, r12
call fcn.14014c4b0
mov ecx, ebp
mov edi, eax
call sub.msvcrt.dll__close
cmp r13d, ebx
je 0x14014d84c
call qword [sym.imp.kernel32.dll_GetLastError]
mov rcx, rsi
mov edx, ebx
mov ebp, eax
call qword [sym.imp.kernel32.dll_SetFileAttributesW]
mov ecx, ebp
call qword [sym.imp.kernel32.dll_SetLastError]
mov eax, edi
add rsp, 0x2088
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r13d, eax
mov rcx, rsi
and r13d, 0xfffffffe
mov edx, r13d
call qword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
jne 0x14014d78b
lea rdx, str.failed_to_set_attributes
mov ecx, 2
call fcn.1400da2e0
nop dword [rax]
mov edi, 0xffffffff
jmp 0x14014d84c
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x20
je 0x14014d8b5
cmp eax, 5
je 0x14014d8b5
call fcn.14015ea70
mov edi, 0xffffffff
jmp 0x14014d82c
mov rcx, rdi
call qword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x14014d8b5
Function at 0x14016af50
Capabilities:
Read file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov r12, rdx
mov rdx, qword [r9]
mov rbx, rcx
mov rsi, r8
mov r13, r9
cmp rdx, r8
jae 0x14016b020
mov r8d, dword [rbx + 0x90]
lea rbp, [rcx + 0x68]
lea rdi, [rsp + 0x3c]
mov rcx, qword [rcx + 0x88]
test r8d, r8d
je 0x14016afc5
mov rdx, rbp
xor r9d, r9d
mov r8, rdi
call qword [sym.imp.kernel32.dll_GetOverlappedResult]
mov edx, dword [rsp + 0x3c]
add rdx, qword [r13]
mov qword [r13], rdx
test eax, eax
je 0x14016aff0
mov dword [rbx + 0x90], 0
cmp rdx, rsi
jae 0x14016b020
mov rcx, qword [rbx + 0x88]
lea rax, [r12 + rdx]
mov r8d, esi
mov qword [rsp + 0x20], rbp
mov r9, rdi
sub r8d, edx
mov rdx, rax
call qword [sym.imp.kernel32.dll_ReadFile]
mov edx, dword [rsp + 0x3c]
add rdx, qword [r13]
mov qword [r13], rdx
test eax, eax
jne 0x14016afaf
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
mov eax, dword [rbx + 0x90]
test eax, eax
jne 0x14016b040
cmp edx, 0x3e5
je 0x14016b04d
mov eax, 0xffffffff
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov qword [r13], 0
mov eax, edx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov eax, 0xffffffff
cmp edx, 0x3e4
jne 0x14016b02a
mov dword [rbx + 0x90], 1
mov eax, 0xffffffdb
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret

Function at 0x14016b070
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov r12, rdx
mov rdx, qword [r9]
mov rbx, rcx
mov rsi, r8
mov r13, r9
cmp rdx, r8
jae 0x14016b140
mov r8d, dword [rbx + 0x90]
lea rbp, [rcx + 0x68]
lea rdi, [rsp + 0x3c]
mov rcx, qword [rcx + 0x88]
test r8d, r8d
je 0x14016b0e5
mov rdx, rbp
xor r9d, r9d
mov r8, rdi
call qword [sym.imp.kernel32.dll_GetOverlappedResult]
mov edx, dword [rsp + 0x3c]
add rdx, qword [r13]
mov qword [r13], rdx
test eax, eax
je 0x14016b110
mov dword [rbx + 0x90], 0
cmp rdx, rsi
jae 0x14016b140
mov rcx, qword [rbx + 0x88]
lea rax, [r12 + rdx]
mov r8d, esi
mov qword [rsp + 0x20], rbp
mov r9, rdi
sub r8d, edx
mov rdx, rax
call qword [sym.imp.kernel32.dll_WriteFile]
mov edx, dword [rsp + 0x3c]
add rdx, qword [r13]
mov qword [r13], rdx
test eax, eax
jne 0x14016b0cf
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
mov eax, dword [rbx + 0x90]
test eax, eax
jne 0x14016b160
cmp edx, 0x3e5
je 0x14016b16d
mov eax, 0xffffffff
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov qword [r13], 0
mov eax, edx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov eax, 0xffffffff
cmp edx, 0x3e4
jne 0x14016b14a
mov dword [rbx + 0x90], 1
mov eax, 0xffffffdb
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x14016b640
Capabilities:
Initialize winhttp library

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
pxor xmm0, xmm0
mov rax, qword [0x14019f380]
mov rsi, qword [rcx + 0x30]
movups xmmword [rcx + 0xc0], xmm0
mov rbx, rcx
mov rcx, rsi
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x3c], 0x2a80
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x78], xmm0
call sub.msvcrt.dll_strlen
xor r9d, r9d
lea rcx, [rsp + 0x38]
mov rdx, rsi
mov dword [rsp + 0x20], 0xa
mov r8, rax
call fcn.1400be150
test eax, eax
js 0x14016b890
lea rcx, [rbx + 0x20]
call fcn.1400f6280
test al, al
jne 0x14016b830
mov rdx, qword [rbx + 0x28]
lea rsi, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.140127dc0
test eax, eax
js 0x14016b8ac
call fcn.1400ed8c0
lea rdi, [rsp + 0x70]
lea rdx, str.git_2.0___s_
test rax, rax
mov r8, rax
lea rax, str.libgit2_1.7.1
mov rcx, rdi
cmove r8, rax
call fcn.14011d460
test eax, eax
js 0x14016b89a
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140127dc0
test eax, eax
js 0x14016b8b1
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call sub.winhttp.dll_WinHttpOpen
mov qword [rbx + 0xc0], rax
mov rcx, rax
test rax, rax
je 0x14016b8d7
lea rbp, [rsp + 0x3c]
mov r9d, 4
mov edx, 0x54
mov r8, rbp
call sub.winhttp.dll_WinHttpSetOption
test eax, eax
je 0x14016b860
mov rcx, qword [rbx + 0xc0]
mov r9d, 0xffffffff
mov r8d, 0xea60
mov dword [rsp + 0x20], 0xffffffff
mov edx, 0xffffffff
call sub.winhttp.dll_WinHttpSetTimeouts
test eax, eax
je 0x14016b8c4
mov rcx, qword [rbx + 0xc0]
movzx r8d, word [rsp + 0x38]
xor r9d, r9d
mov rdx, qword [rsp + 0x40]
call sub.winhttp.dll_WinHttpConnect
mov qword [rbx + 0xc8], rax
mov rcx, rax
test rax, rax
je 0x14016b8ea
xor r9d, r9d
mov r8d, 0x10030
lea rdx, [0x14016b950]
call sub.winhttp.dll_WinHttpSetStatusCallback
cmp rax, 0xffffffffffffffff
je 0x14016b904
xor ebp, ebp
mov rcx, rdi
call fcn.14011c2b0
mov rcx, rsi
call fcn.14011c2b0
mov rbx, qword [0x14019f130]
mov rcx, qword [rsp + 0x40]
call qword [rbx + 0x10]
mov rcx, qword [rsp + 0x48]
call qword [rbx + 0x10]
mov eax, ebp
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rsi, [rsp + 0x50]
mov r8, qword [rbx + 0x28]
lea rdx, str.__s_
mov rcx, rsi
call fcn.14011d460
test eax, eax
js 0x14016b8fd
mov rdx, qword [rsp + 0x50]
jmp 0x14016b6d7
mov rcx, qword [rbx + 0xc0]
mov r9d, 4
mov r8, rbp
mov edx, 0x54
and dword [rsp + 0x3c], 0xffffdfff
call sub.winhttp.dll_WinHttpSetOption
jmp 0x14016b77f
lea rsi, [rsp + 0x50]
lea rdi, [rsp + 0x70]
mov rcx, rbx
mov ebp, 0xffffffff
call fcn.14016b5b0
jmp 0x14016b7fa
lea rdi, [rsp + 0x70]
lea rdx, str.unable_to_convert_host_to_wide_characters
mov ecx, 2
call fcn.1400da2e0
jmp 0x14016b89a
lea rdx, str.failed_to_set_timeouts_for_WinHTTP
mov ecx, 2
call fcn.1400da2e0
jmp 0x14016b89a
lea rdx, str.failed_to_init_WinHTTP
mov ecx, 2
call fcn.1400da2e0
jmp 0x14016b89a
lea rdx, str.failed_to_connect_to_host
mov ecx, 2
call fcn.1400da2e0
jmp 0x14016b89a
lea rdi, [rsp + 0x70]
jmp 0x14016b89a
lea rdx, str.failed_to_set_status_callback
mov ecx, 2
call fcn.1400da2e0
jmp 0x14016b89a
Function at 0x140171c70
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov esi, 0x1505
mov rbx, qword [rcx]
mov eax, r8d
mov dword [rsp + 0x90], r8d
mov rbp, rcx
mov rdi, rdx
and eax, 0x1e
mov dword [rsp + 0x2c], eax
jne 0x140171cf0
cmp rbx, rdx
jb 0x140171cc4
jmp 0x140171cfc
mov edx, esi
add rbx, 1
shl edx, 5
add edx, esi
xor eax, edx
mov esi, eax
cmp rdi, rbx
je 0x140171cd5
movsx eax, byte [rbx]
cmp al, 0xa
jne 0x140171cb0
cmp rbx, rdi
mov rdi, rbx
adc rdi, 0
mov eax, esi
mov qword [rbp], rdi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r14, qword [sym.imp.msvcrt.dll_isspace]
cmp rbx, rdx
jb 0x140171d5e
mov rdi, rbx
jmp 0x140171cd5
cmp byte [r12 + 1], 0xa
je 0x140171d1e
test byte [rsp + 0x90], 2
je 0x140171dd9
movzx r15d, byte [r13]
cmp r15b, 0xa
je 0x140171e30
add r12, 2
mov rbx, r13
nop dword [rax]
movzx ecx, r15b
call r14
test eax, eax
jne 0x140171da0
mov eax, esi
movsx edx, r15b
mov rbx, r12
shl eax, 5
add eax, esi
mov esi, edx
xor esi, eax
cmp rbx, rdi
jae 0x140171e38
movzx r15d, byte [rbx]
cmp r15b, 0xa
je 0x140171ccb
cmp dword [rsp + 0x2c], 0x10
lea r12, [rbx + 1]
jne 0x140171d38
cmp r15b, 0xd
jne 0x140171d43
cmp r12, rdi
jae 0x140171d43
cmp byte [rbx + 1], 0xa
jne 0x140171d43
movzx r15d, byte [r12]
mov rbx, r12
cmp r15b, 0xa
je 0x140171ccb
add r12, 1
jmp 0x140171d77
mov r13, rbx
jmp 0x140171dc5
movzx ecx, byte [r13]
mov r15d, ecx
call r14
test eax, eax
je 0x140171d08
cmp r15b, 0xa
je 0x140171d08
mov r12, r13
add r13, 1
cmp r13, rdi
jb 0x140171da8
mov rdi, r13
jmp 0x140171cd5
test byte [rsp + 0x90], 4
jne 0x140171e15
test byte [rsp + 0x90], 8
je 0x140171d1e
cmp r13, rbx
je 0x140171d55
mov eax, esi
add rbx, 1
shl eax, 5
add eax, esi
movsx esi, byte [rbx - 1]
xor esi, eax
cmp r13, rbx
jne 0x140171dfa
jmp 0x140171d55
mov eax, esi
movzx r15d, byte [r13]
shl eax, 5
add eax, esi
xor eax, 0x20
mov esi, eax
cmp r15b, 0xa
jne 0x140171d2d
mov rbx, r13
jmp 0x140171ccb
mov r13, rbx
jmp 0x140171dd1
Function at 0x140009038
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov r9, rcx
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
mov rsi, rdx
movzx eax, byte [rbx + rcx + 0x10]
movabs rdx, 0x100000001b3
xor r8, rax
inc rcx
imul r8, rdx
cmp rcx, 4
jb 0x14000905c
mov rdx, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x18]
and rdx, r8
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x1400090b3
cmp qword [rcx + rdx*8], rbx
jne 0x1400090a8
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x1400090ac
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400090c0
cmp qword [rcx + rdx*8], rbx
jne 0x1400090c0
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rax, qword [rbx + 8]
mov rdi, qword [rbx]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov rdx, qword [rbx + 0x30]
cmp rdx, 8
jb 0x1400090f5
mov rcx, qword [rbx + 0x18]
inc rdx
mov r8d, 2
call fcn.1400020a4
mov edx, 1
mov rcx, rbx
lea r8d, [rdx + 0x37]
call fcn.1400020a4
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000b51c
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400148a0], eax
call fcn.14000b2a4
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_UnhandledExceptionFilter]
cmp dword [0x1400148a0], 0
jne case.default.0x14000b572
mov ecx, 1
call fcn.14000b2a4
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_TerminateProcess]
xchg edx, eax
invalid
Function at 0x180e3b058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x180e3b1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180e3b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180e3b06f
add dl, dl
jne 0x180e3b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180e3b0f6
xor eax, eax
add dl, dl
jne 0x180e3b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180e3b1ad
add dl, dl
jne 0x180e3b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180e3b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180e3b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180e3b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180e3b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180e3b07e
mov eax, 1
add dl, dl
jne 0x180e3b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180e3b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180e3b0fb
sub eax, ebx
mov ebx, 1
jne 0x180e3b14c
mov ecx, 1
add dl, dl
jne 0x180e3b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180e3b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180e3b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180e3b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180e3b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180e3b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180e3b15d
cmp eax, 0x7d00
jae 0x180e3b19b
cmp eax, 0x500
jb 0x180e3b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180e3b07e
cmp eax, 0x7f
ja 0x180e3b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180e3b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180e3b1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x180e3b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20