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

Disassembly:
cmp rcx, qword [0x100003110]
jne 0x1000020ab
rol rcx, 0x10
test cx, 0xffff
jne 0x1000020a7
ret 0
ror rcx, 0x10
jmp 0x10000239c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100003200]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1000032f8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x100002421
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x100003200]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x100002443
mov rax, qword [rsp + 0x88]
mov qword [0x1000032f8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x100003298], rax
mov rax, qword [0x1000032f8]
mov qword [0x100003170], rax
mov rax, qword [rsp + 0x90]
mov qword [0x100003280], rax
mov dword [0x100003160], 0xc0000409
mov dword [0x100003164], 1
mov rax, qword [0x100003110]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100003118]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x100001250]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x100002238
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100002285
cmp rcx, 0xffffffffffffffff
je 0x100002285
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10000227d
cmp dword [rcx + 0x3c], edx
jl 0x10000227d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10000227d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100002285
mov rax, rdx
add rsp, 0x18
ret

Function at 0x140f677c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f677ca
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f677f3
pop rbp
sub rbp, 0x33
sub rbp, 0xf677c0
sub rsp, 0x20
jmp 0x140f67812
mov rax, 0xf677c0
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffff9cee07ae
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f67831
jmp 0x140f67848
out 0x27, al
and eax, 0xaeae9227
scasb al, byte [rdi]
out 0x2f, al
outsd dx, dword [rsi]
cmpsb byte [rsi], byte [rdi]
scasd eax, dword [rdi]
scasb al, byte [rdi]
scasb al, byte [rdi]
out 0xaf, al
out 0x69, al
outsb dx, byte [rsi]
cmpsb byte [rsi], byte [rdi]
scasb al, byte [rdi]
scasb al, byte [rdi]
scasb al, byte [rdi]
out 0x69, al
insb byte [rdi], dx
xchg byte [rsi + 0x59e6aeae], ch
out 0xaf, al
outsd dx, dword [rsi]
and eax, 0xaeaea22f
scasb al, byte [rdi]
out 0xaf, al
invalid
Function at 0x140003e70
Capabilities:
Create directory

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
mov qword [rsp + 0x88], rdx
call sub.msvcrt.dll_strlen
mov rcx, rbx
mov r13, rax
call sub.msvcrt.dll__strdup
mov rbp, rax
test rax, rax
je 0x1400040dd
lea rcx, [r13 + 1]
call sub.msvcrt.dll_malloc
mov rsi, rax
test rax, rax
je 0x1400040d5
mov byte [rax], 0
lea r12, [0x14002a690]
mov rcx, rbp
mov rdx, r12
call sub.msvcrt.dll_strtok
mov rdi, rax
test rax, rax
je 0x140003f50
mov r15, qword [sym.imp.msvcrt.dll__errno]
mov r14, qword [sym.imp.libcurl_4.dll_curl_msnprintf]
nop word [rax + rax]
mov rdx, r12
xor ecx, ecx
call sub.msvcrt.dll_strtok
mov rbx, rax
test rax, rax
je 0x140003f50
mov rcx, rsi
call sub.msvcrt.dll_strlen
test rax, rax
jne 0x140003f78
cmp rdi, rbp
je 0x140004000
mov qword [rsp + 0x20], rdi
lea r9, [0x14002a693]
mov rdx, r13
mov rcx, rsi
lea r8, [0x14002a695]
call r14
mov rcx, rsi
call sub.msvcrt.dll__mkdir
cmp eax, 0xffffffff
je 0x140003fa5
mov rdi, rbx
jmp 0x140003ef0
xor ebx, ebx
mov rcx, rsi
call sub.msvcrt.dll_free
mov rcx, rbp
call sub.msvcrt.dll_free
mov eax, ebx
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, r13
lea rcx, [rsi + rax]
mov qword [rsp + 0x20], rdi
lea r9, [0x14002a693]
sub rdx, rax
lea r8, [0x14002a695]
call r14
mov rcx, rsi
call sub.msvcrt.dll__mkdir
cmp eax, 0xffffffff
jne 0x140003f41
call r15
cmp dword [rax], 0xd
je 0x140003f41
call r15
cmp dword [rax], 0x11
je 0x140003f41
call r15
mov eax, dword [rax]
cmp eax, 0x1e
je 0x140004040
jg 0x140004059
cmp eax, 0xd
je 0x140004081
cmp eax, 0x1c
jne 0x14000409d
mov rcx, qword [rsp + 0x88]
mov r8, rsi
lea rdx, str.No_space_left_on_the_file_system_that_will_contain_the_directory__s
call fcn.14000e830
mov ebx, 0x17
jmp 0x140003f52
mov edx, 0x3a
mov rcx, rbp
call sub.msvcrt.dll_strchr
test rax, rax
je 0x140004030
cmp byte [rax + 1], 0
jne 0x140004030
mov rdx, rbp
mov rcx, rsi
call sub.msvcrt.dll_strcpy
jmp 0x140003f41
mov rdx, rdi
mov rcx, rsi
call sub.msvcrt.dll_strcpy
jmp 0x140003f34
mov rcx, qword [rsp + 0x88]
mov r8, rsi
lea rdx, str._s_resides_on_a_read_only_file_system
call fcn.14000e830
jmp 0x140003ff2
cmp eax, 0x26
je 0x1400040b9
cmp eax, 0x2755
jne 0x14000409d
mov rcx, qword [rsp + 0x88]
mov r8, rsi
lea rdx, str.Cannot_create_directory__s_because_you_exceeded_your_quota
call fcn.14000e830
jmp 0x140003ff2
mov rcx, qword [rsp + 0x88]
mov r8, rsi
lea rdx, str.You_do_not_have_permission_to_create__s
call fcn.14000e830
jmp 0x140003ff2
mov rcx, qword [rsp + 0x88]
mov r8, rsi
lea rdx, str.Error_creating_directory__s
call fcn.14000e830
jmp 0x140003ff2
mov rcx, qword [rsp + 0x88]
mov r8, rsi
lea rdx, str.The_directory_name__s_is_too_long
call fcn.14000e830
jmp 0x140003ff2
mov rcx, rbp
call sub.msvcrt.dll_free
mov ebx, 0x1b
jmp 0x140003f62
Function at 0x140004800
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x158
mov rbx, qword [0x14004add0]
mov rsi, rcx
mov rax, r8
mov rcx, qword [rbx]
mov qword [rsp + 0x148], rcx
mov rcx, qword [0x14004aff0]
cmp byte [rcx], 0
je 0x140004834
cmp edx, 8
jne 0x140004858
xor eax, eax
mov rdx, qword [rsp + 0x148]
sub rdx, qword [rbx]
jne 0x1400048e6
add rsp, 0x158
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rdx, [rsp + 0x38]
lea rdi, [rsp + 0x40]
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x28], rdx
mov r9d, 0x104
mov rdx, rax
mov qword [rsp + 0x38], 0
mov byte [rsp + 0x40], 0
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
je 0x140004834
mov rcx, rdi
call sub.msvcrt.dll__strdup
mov rcx, qword [rsi + 0x248]
mov rdi, rax
call sub.msvcrt.dll_free
mov qword [rsi + 0x248], 0
test rdi, rdi
je 0x1400048dc
mov rcx, rdi
call sub.msvcrt.dll__strdup
mov rcx, rdi
mov qword [rsi + 0x248], rax
mov rbp, rax
call sub.msvcrt.dll_free
test rbp, rbp
jne 0x140004834
mov eax, 0x1b
jmp 0x140004836
call fcn.14001e3f0
nop
nop dword [rax]

Function at 0x1400048f0
Capabilities:
Enumerate process modules

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x260
mov r12, qword [0x14004add0]
mov ecx, 0x47
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, qword [r12]
mov qword [rsp + 0x258], rax
xor eax, eax
lea rbp, [rsp + 0x20]
mov rdi, rbp
rep stosq qword [rdi], rax
mov dword [rsp + 0x20], 0x238
jmp 0x14000494b
call rsi
cmp eax, 0x18
jne 0x1400049f0
xor edx, edx
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140004940
mov rdx, rbp
mov rcx, rax
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x140004a00
mov r13, qword [sym.imp.libcurl_4.dll_curl_slist_append]
xor esi, esi
lea r14, [rsp + 0x150]
jmp 0x14000499f
mov rdx, rbp
mov rcx, rbx
call sub.KERNEL32.dll_Module32Next
test eax, eax
je 0x1400049be
mov rcx, rsi
mov rdx, r14
mov rdi, rsi
call r13
mov rsi, rax
test rax, rax
jne 0x140004990
mov rcx, rdi
xor esi, esi
call qword [sym.imp.libcurl_4.dll_curl_slist_free_all]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x258]
sub rax, qword [r12]
jne 0x140004a0c
mov rax, rsi
add rsp, 0x260
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
xor ecx, ecx
xor esi, esi
call qword [sym.imp.libcurl_4.dll_curl_slist_free_all]
jmp 0x1400049c7
xor ecx, ecx
xor esi, esi
call qword [sym.imp.libcurl_4.dll_curl_slist_free_all]
jmp 0x1400049be
call fcn.14001e3f0
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x1400050e0
Capabilities:
Check if file exists
Timestomp file
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rbp, qword [0x14004add0]
mov rax, qword [rbp]
mov qword [rsp + 0x48], rax
xor eax, eax
mov r12, rdx
mov rdi, r8
call sub.msvcrt.dll__strdup
mov dword [rsp + 0x28], 0
xor r9d, r9d
mov r8d, 7
mov qword [rsp + 0x30], 0
mov rbx, rax
mov edx, pe_nt_image_headers64
mov rcx, rax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
test rbx, rbx
je 0x14000514a
mov rcx, rbx
call sub.msvcrt.dll_free
cmp rsi, 0xffffffffffffffff
je 0x140005200
xor r8d, r8d
xor edx, edx
lea r9, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x1400051d8
movabs rax, 0x19db1ded53e7fff
mov rcx, qword [rsp + 0x40]
cmp rcx, rax
jle 0x140005238
movabs rax, 0xd6bf94d5e57a42bd
xor ebx, ebx
imul rcx
movabs rax, 0xfffffffd49ef6f00
add rdx, rcx
sar rcx, 0x3f
sar rdx, 0x17
sub rdx, rcx
add rdx, rax
mov qword [rdi], rdx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x48]
sub rax, qword [rbp]
jne 0x140005249
mov eax, ebx
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Failed_to_get_filetime:_GetFileTime_failed:_GetLastError__u
mov rcx, r12
mov r8d, eax
call fcn.14000e740
mov ebx, 1
jmp 0x1400051b0
mov rbx, qword [sym.imp.KERNEL32.dll_GetLastError]
call rbx
cmp eax, 2
jne 0x140005218
mov ebx, 1
jmp 0x1400051b9
call rbx
lea rdx, str.Failed_to_get_filetime:_CreateFile_failed:_GetLastError__u
mov rcx, r12
mov ebx, 1
mov r8d, eax
call fcn.14000e740
jmp 0x1400051b9
lea rdx, str.Failed_to_get_filetime:_underflow
mov rcx, r12
call fcn.14000e740
jmp 0x1400051f0
call fcn.14001e3f0
nop
nop
Function at 0x140005250
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rsi, qword [0x14004add0]
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
xor eax, eax
mov rbx, rcx
mov rbp, r8
test rcx, rcx
jns 0x140005290
mov rax, qword [rsp + 0x48]
sub rax, qword [rsi]
jne 0x1400053d0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, rdx
call sub.msvcrt.dll__strdup
mov rdi, rax
movabs rax, 0xd408314bff
cmp rbx, rax
jg 0x140005370
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov r8d, 7
mov rcx, rdi
mov dword [rsp + 0x28], 0
mov edx, 0x100
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r12, rax
test rdi, rdi
je 0x1400052ee
mov rcx, rdi
call sub.msvcrt.dll_free
cmp r12, 0xffffffffffffffff
je 0x140005340
imul rax, rbx, 0x989680
lea r8, [rsp + 0x40]
mov rcx, r12
movabs rdx, 0x19db1ded53e8000
mov r9, r8
add rax, rdx
xor edx, edx
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
je 0x1400053b0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140005276
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov rax, qword [rsp + 0x48]
sub rax, qword [rsi]
jne 0x1400053d0
mov r8, rbx
lea rdx, str.Failed_to_set_filetime__lld_on_outfile:_CreateFile_failed:_GetLastError__u
mov rcx, rbp
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14000e740
mov r8, rbx
lea rdx, str.Failed_to_set_filetime__lld_on_outfile:_overflow
mov rcx, rbp
call fcn.14000e740
test rdi, rdi
je 0x140005276
mov rax, qword [rsp + 0x48]
sub rax, qword [rsi]
jne 0x1400053d0
mov rcx, rdi
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sub.msvcrt.dll_free
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, rbx
lea rdx, str.Failed_to_set_filetime__lld_on_outfile:_SetFileTime_failed:_GetLastError__u
mov rcx, rbp
mov r9d, eax
call fcn.14000e740
jmp 0x140005328
call fcn.14001e3f0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x14000d770
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, qword [0x14004add0]
movq xmm0, qword [0x14002e840]
mov rax, qword [rbx]
mov qword [rsp + 0x58], rax
lea rax, str.GET___G____get_
movq xmm1, rax
lea rax, str.multipart_formpost___F____form_
punpcklqdq xmm0, xmm1
movq xmm2, rax
lea rax, str.PUT___T____upload_file_
movups xmmword [rsp + 0x20], xmm0
movq xmm3, rax
mov eax, dword [r8]
movq xmm0, qword [str.HEAD___I____head_]
punpcklqdq xmm0, xmm2
movups xmmword [rsp + 0x30], xmm0
movq xmm0, qword [str.POST___d____data_]
punpcklqdq xmm0, xmm3
movups xmmword [rsp + 0x40], xmm0
cmp eax, edx
je 0x14000d810
test eax, eax
je 0x14000d810
mov edx, edx
mov r9, qword [rsp + rax*8 + 0x20]
mov rcx, qword [rcx + 0x498]
mov r8, qword [rsp + rdx*8 + 0x20]
lea rdx, str.You_can_only_select_one_HTTP_request_method__You_asked_for_both__s_and__s.
call fcn.14000e740
mov eax, 1
jmp 0x14000d815
mov dword [r8], edx
xor eax, eax
mov rdx, qword [rsp + 0x58]
sub rdx, qword [rbx]
jne 0x14000d825
add rsp, 0x60
pop rbx
ret
call fcn.14001e3f0
nop
nop dword [rax + rax]
Function at 0x14000d830
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rdi, qword [0x14004add0]
mov rax, qword [rdi]
mov qword [rsp + 0x58], rax
lea rax, str.POST
mov rsi, rcx
mov rbx, r8
movq xmm0, rax
lea rax, [0x14002e76b]
movq xmm1, rax
lea rax, [0x14002e779]
punpcklqdq xmm1, xmm1
movq xmm2, rax
movups xmmword [rsp + 0x20], xmm1
movq xmm1, qword [str.HEAD]
punpcklqdq xmm1, xmm0
punpcklqdq xmm0, xmm2
movups xmmword [rsp + 0x30], xmm1
movups xmmword [rsp + 0x40], xmm0
test r8, r8
je 0x14000d8f0
mov edx, edx
mov rbp, qword [sym.imp.libcurl_4.dll_curl_strequal]
mov rcx, r8
mov r12, qword [rsp + rdx*8 + 0x20]
mov rdx, r12
call rbp
test eax, eax
je 0x14000d8e0
mov rax, qword [rsp + 0x58]
sub rax, qword [rdi]
jne 0x14000d92f
mov rcx, qword [rsi + 0x498]
mov r8, r12
lea rdx, str.Unnecessary_use_of__X_or___request___s_is_already_inferred.
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14000e6e0
lea rdx, str.head
mov rcx, rbx
call rbp
test eax, eax
jne 0x14000d908
mov rax, qword [rsp + 0x58]
sub rax, qword [rdi]
jne 0x14000d92f
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsp + 0x58]
sub rax, qword [rdi]
jne 0x14000d92f
mov rcx, qword [rsi + 0x498]
lea rdx, str.Setting_custom_HTTP_method_to_HEAD_with__X___request_may_not_work_the_way_you_want._Consider_using__I___head_instead.
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14000e740
call fcn.14001e3f0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov rcx, rdx
jmp sub.msvcrt.dll_free

Function at 0x14000d960
Capabilities:
Query environment variable
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
add rsp, 0xffffffffffffff80
pxor xmm0, xmm0
mov r9d, 0x58
mov edx, 0xfffffff1
mov r12, qword [0x14004add0]
lea rax, [0x14000d940]
lea r8, str.1.3.1
movq xmm1, rax
lea rax, [0x14002e88a]
mov rdi, qword [r12]
mov qword [rsp + 0x78], rdi
lea rdi, [rsp + 0x20]
movups xmmword [rsp + 0x5c], xmm0
movups xmmword [rsp + 0x4c], xmm0
movups xmmword [rsp + 0x2c], xmm0
movups xmmword [rsp + 0x3c], xmm0
movups xmmword [rsp + 0x68], xmm0
movq xmm0, qword [0x1400409c8]
mov dword [rsp + 0x28], 0x12138
punpcklqdq xmm0, xmm1
mov rcx, rdi
mov qword [rsp + 0x20], rax
movups xmmword [rsp + 0x50], xmm0
call sub.zlib1.dll_inflateInit2_
test eax, eax
je 0x14000da08
mov rax, qword [rsp + 0x78]
sub rax, qword [r12]
jne 0x14000da84
sub rsp, 0xffffffffffffff80
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov ecx, 0x10000
call sub.msvcrt.dll_malloc
mov rsi, rax
test rax, rax
je 0x14000da77
mov rbp, qword [fcn.1400287d0]
jmp 0x14000da4e
mov ecx, 1
call rbp
mov edx, 0x10000
mov r8d, 1
mov rcx, rsi
sub edx, dword [rsp + 0x38]
mov r9, rax
call sub.msvcrt.dll_fwrite
cmp ebx, 1
je 0x14000da6f
mov edx, 2
mov rcx, rdi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x38], 0x10000
call sub.zlib1.dll_inflate
mov ebx, eax
cmp eax, 1
jbe 0x14000da28
mov rcx, rsi
call sub.msvcrt.dll_free
mov rcx, rdi
call sub.zlib1.dll_inflateEnd
jmp 0x14000d9eb
call fcn.14001e3f0
nop
nop word [rax + rax]
Function at 0x14000da90
Capabilities:
Query environment variable

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x190
mov r12, qword [0x14004add0]
mov rbp, qword [r12]
mov qword [rsp + 0x188], rbp
lea rbp, [rsp + 0x80]
mov r9, r8
mov r8, rdx
mov rdx, rcx
lea rdi, [rsp + 0x20]
mov rcx, rbp
call fcn.14000cce0
pxor xmm0, xmm0
mov rcx, rdi
lea rax, [0x14000d940]
movups xmmword [rsp + 0x5c], xmm0
movq xmm1, rax
mov r9d, 0x58
lea rax, [0x14002e88a]
movups xmmword [rsp + 0x4c], xmm0
lea r8, str.1.3.1
mov edx, 0xfffffff1
movups xmmword [rsp + 0x2c], xmm0
movups xmmword [rsp + 0x3c], xmm0
movups xmmword [rsp + 0x68], xmm0
movq xmm0, qword [0x1400409c8]
mov dword [rsp + 0x28], 0x12138
punpcklqdq xmm0, xmm1
mov qword [rsp + 0x20], rax
movups xmmword [rsp + 0x50], xmm0
call sub.zlib1.dll_inflateInit2_
test eax, eax
je 0x14000db60
mov rax, qword [rsp + 0x188]
sub rax, qword [r12]
jne 0x14000dbcb
add rsp, 0x190
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov ecx, 0x10000
call sub.msvcrt.dll_malloc
mov rsi, rax
test rax, rax
jne 0x14000db95
jmp 0x14000dbbe
mov edx, 0x10000
mov r8, rbp
sub edx, dword [rsp + 0x38]
mov rcx, rsi
call fcn.14000cd50
cmp al, 1
jne 0x14000dbb6
and ebx, 1
jne 0x14000dbb6
mov edx, 2
mov rcx, rdi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x38], 0x10000
call sub.zlib1.dll_inflate
mov ebx, eax
cmp eax, 1
jbe 0x14000db78
mov rcx, rsi
call sub.msvcrt.dll_free
mov rcx, rdi
call sub.zlib1.dll_inflateEnd
jmp 0x14000db3a
call fcn.14001e3f0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rdi, qword [0x14004add0]
mov rsi, qword [rdi]
mov qword [rsp + 0x48], rsi
mov rsi, qword [rcx]
mov rbx, rcx
test rsi, rsi
je 0x14000dc07
cmp byte [rsi], 0
jne 0x14000dc20
xor eax, eax
mov rdx, qword [rsp + 0x48]
sub rdx, qword [rdi]
jne 0x14000dca6
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rcx, rsi
call sub.msvcrt.dll_strlen
cmp byte [rsi + rax - 1], 0x2f
mov rbp, rax
je 0x14000dc07
lea rsi, [rsp + 0x20]
lea rdx, [rax + 2]
mov rcx, rsi
call fcn.14001c800
mov rdx, qword [rbx]
mov rcx, rsi
mov r8, rbp
call fcn.14001c8d0
mov rcx, qword [rbx]
test eax, eax
jne 0x14000dc90
call sub.msvcrt.dll_free
mov qword [rbx], 0
mov r8d, 1
mov rcx, rsi
lea rdx, [0x1400409e0]
call fcn.14001c8d0
test eax, eax
jne 0x14000dc9c
mov rcx, rsi
call fcn.14001c9e0
mov qword [rbx], rax
jmp 0x14000dc07
call sub.msvcrt.dll_free
mov qword [rbx], 0
mov eax, 0x1b
jmp 0x14000dc09
call fcn.14001e3f0
nop
nop dword [rax]
Function at 0x14000e580
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
mov r12, rdx
mov r13, r8
mov rdi, r9
call fcn.1400014f0
cmp byte [rbx + 1], 0
mov esi, eax
je 0x14000e5c0
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r12
call sub.msvcrt.dll_strlen
mov rdx, rdi
mov rcx, r13
mov rbp, rax
call qword [sym.imp.libcurl_4.dll_curl_mvaprintf]
mov qword [rsp + 0x28], rax
mov r14, rax
test rax, rax
je 0x14000e5a9
mov rcx, rax
call sub.msvcrt.dll_strlen
mov rbx, rax
test rax, rax
je 0x14000e688
sub rsi, rbp
mov rdi, qword [0x14004b210]
lea rbp, [rsi - 1]
nop word cs:[rax + rax]
mov rdx, qword [rdi]
mov rcx, r12
call sub.msvcrt.dll_fputs
cmp rsi, rbx
jae 0x14000e6be
movzx edx, byte [r14 + rbp]
mov r15, rbp
cmp dl, 0x20
je 0x14000e6a4
mov rax, rbp
cmp dl, 9
jne 0x14000e653
jmp 0x14000e6a4
sub rax, 1
movzx edx, byte [r14 + rax]
cmp dl, 0x20
je 0x14000e6b0
cmp dl, 9
je 0x14000e6b0
test rax, rax
jne 0x14000e640
mov r13, rsi
mov r9, qword [rdi]
mov rcx, r14
mov r8d, 1
mov rdx, r13
sub rbx, 1
add r14, r13
call sub.msvcrt.dll_fwrite
mov rdx, qword [rdi]
mov ecx, 0xa
call sub.msvcrt.dll_fputc
sub rbx, r15
jne 0x14000e610
mov rcx, qword [rsp + 0x28]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp qword [sym.imp.libcurl_4.dll_curl_free]
mov rax, rbp
nop word [rax + rax]
test rax, rax
je 0x14000e658
lea r13, [rax + 1]
mov r15, rax
jmp 0x14000e65b
mov rdx, qword [rdi]
mov rcx, r14
call sub.msvcrt.dll_fputs
mov rdx, qword [rdi]
mov ecx, 0xa
call sub.msvcrt.dll_fputc
jmp 0x14000e688

Function at 0x14000e6e0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, qword [0x14004add0]
mov eax, dword [rcx + 0x1c]
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
mov r9, qword [rbx]
mov qword [rsp + 0x28], r9
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], r9
test eax, eax
jne 0x14000e720
mov rax, qword [rsp + 0x28]
sub rax, qword [rbx]
jne 0x14000e731
add rsp, 0x30
pop rbx
ret
mov r8, rdx
lea rdx, str.Note:
call fcn.14000e580
jmp 0x14000e70f
call fcn.14001e3f0
nop
nop word [rax + rax]

Function at 0x14000e740
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, qword [0x14004add0]
mov qword [rsp + 0x50], r8
mov r8, rdx
lea rdx, str.Warning:
mov qword [rsp + 0x58], r9
mov r9, qword [rbx]
mov qword [rsp + 0x28], r9
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], r9
call fcn.14000e580
mov rax, qword [rsp + 0x28]
sub rax, qword [rbx]
jne 0x14000e787
add rsp, 0x30
pop rbx
ret
call fcn.14001e3f0
nop
nop dword [rax]
Function at 0x14000e790
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rdi, qword [0x14004add0]
mov qword [rsp + 0x60], r8
mov rbx, rcx
mov rsi, rdx
mov qword [rsp + 0x68], r9
mov rax, qword [rdi]
mov qword [rsp + 0x28], rax
xor eax, eax
test rdx, rdx
je 0x14000e7ff
mov r9, rcx
lea rax, [rsp + 0x60]
mov r8d, 6
mov edx, 1
lea rcx, str.curl:
mov qword [rsp + 0x20], rax
call sub.msvcrt.dll_fwrite
mov rdx, rsi
mov rcx, rbx
mov r8, qword [rsp + 0x20]
call qword [sym.imp.libcurl_4.dll_curl_mvfprintf]
mov rdx, rbx
mov ecx, 0xa
call sub.msvcrt.dll_fputc
lea rdx, str.curl:_try_curl___help_or_curl___manual_for_more_information_n
mov rcx, rbx
call qword [sym.imp.libcurl_4.dll_curl_mfprintf]
mov rax, qword [rsp + 0x28]
sub rax, qword [rdi]
jne 0x14000e821
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
call fcn.14001e3f0
nop
nop word [rax + rax]