joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18013e550
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov r9, rcx
mov r10, rdx
mov rdx, qword [r8 + 0x1b8]
mov ecx, 0x3020100
mov dword [r8 + 0x1c4], ecx
mov r11, r8
mov eax, 1
add ecx, 0x4040404
mov dword [r8 + rax*4 + 0x1c4], ecx
inc rax
cmp rax, rdx
jbe 0x18013e571
xor r8d, r8d
test r10, r10
je 0x18013e5d3
nop
movzx eax, byte [r9]
or r8, rax
movzx ecx, byte [rax + r11 + 0x1c4]
mov byte [r9], cl
mov byte [r11 + 0x1c3], cl
nop word [rax + rax]
movzx ecx, byte [r11 + rax + 0x1c3]
mov rdx, rax
sub rax, 1
mov byte [rdx + r11 + 0x1c4], cl
jns 0x18013e5b0
inc r9
sub r10, 1
jne 0x18013e590
shr r8, 2
mov qword [r11 + 0x1b8], r8
ret

Function at 0x180142b30
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
call fcn.180142b90
mov ecx, 2
mov rbx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
lea rdx, str._n_nbzip2_libbzip2:_internal_error_number__d._nThis_is_a_bug_in_bzip2_libbzip2___s._nPlease_report_it_to:_bzip2_devel_sourceware.org.__If_this_happened_nwhen_you_were_using_some_program_which_uses_libbzip2_as_a_ncomponent__you_should_also_report_this_bug_to_the_author_s__nof_that_program.__Please_make_an_effort_to_report_this_bug__ntimely_and_accurate_bug_reports_eventually_lead_to_higher_nquality_software.__Thanks._n_n
mov r9, rbx
mov r8d, edi
call fcn.18010e320
cmp edi, 0x3ef
jne 0x180142b84
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
lea rdx, str._n_A_special_note_about_internal_error_number_1007__n_nExperience_suggests_that_a_common_cause_of_i.e._1007_nis_unreliable_memory_or_other_hardware.__The_1007_assertion_njust_happens_to_cross_check_the_results_of_huge_numbers_of_nmemory_reads_writes__and_so_acts__unintendedly__as_a_stress_ntest_of_your_memory_system._n_nI_suggest_the_following:_try_compressing_the_file_again__npossibly_monitoring_progress_in_detail_with_the__vv_flag._n_n_If_the_error_cannot_be_reproduced__and_or_happens_at_different_n__points_in_compression__you_may_have_a_flaky_memory_system._n__Try_a_memory_test_program.__I_have_used_Memtest86_n___www.memtest86.com_.__At_the_time_of_writing_it_is_free__GPLd_._n__Memtest86_tests_memory_much_more_thorougly_than_your_BIOSs_n__power_on_test__and_may_find_failures_that_the_BIOS_doesnt._n_n_If_the_error_can_be_repeatably_reproduced__this_is_a_bug_in_n__bzip2__and_I_would_very_much_like_to_hear_about_it.__Please_n__let_me_know__and__ideally__save_a_copy_of_the_file_causing_the_n__problem____without_which_I_will_be_unable_to_investigate_it._n_n
call fcn.18010e320
mov ecx, 3
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x1408b9268
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1408b93ef
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 0x1408b9299
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408b927f
add dl, dl
jne 0x1408b92a6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408b9306
xor eax, eax
add dl, dl
jne 0x1408b92b5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408b93bd
add dl, dl
jne 0x1408b92c6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408b92d3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408b92e0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408b92ed
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408b92fa
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1408b928e
mov eax, 1
add dl, dl
jne 0x1408b9316
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408b9323
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408b930b
sub eax, ebx
mov ebx, 1
jne 0x1408b935c
mov ecx, 1
add dl, dl
jne 0x1408b933e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1408b934b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408b9333
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408b928e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1408b9378
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1408b9385
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408b936d
cmp eax, 0x7d00
jae 0x1408b93ab
cmp eax, 0x500
jb 0x1408b93a6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408b928e
cmp eax, 0x7f
ja 0x1408b93ae
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408b928e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408b93e2
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 0x1408b928e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1408dc058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1408dc1df
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 0x1408dc089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408dc06f
add dl, dl
jne 0x1408dc096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408dc0f6
xor eax, eax
add dl, dl
jne 0x1408dc0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408dc1ad
add dl, dl
jne 0x1408dc0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408dc0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408dc0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408dc0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408dc0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1408dc07e
mov eax, 1
add dl, dl
jne 0x1408dc106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408dc113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408dc0fb
sub eax, ebx
mov ebx, 1
jne 0x1408dc14c
mov ecx, 1
add dl, dl
jne 0x1408dc12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1408dc13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408dc123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408dc07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1408dc168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1408dc175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408dc15d
cmp eax, 0x7d00
jae 0x1408dc19b
cmp eax, 0x500
jb 0x1408dc196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408dc07e
cmp eax, 0x7f
ja 0x1408dc19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408dc07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408dc1d2
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 0x1408dc07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1401d6113
Capabilities:
Get hostname
Query environment variable

Disassembly:
jmp 0x14054f100
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rcx, str.CURL_GETHOSTNAME
call fcn.1401d9070
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14054f14b
mov eax, dword [rsp + 0x58]
dec eax
cdqe
mov r8, rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
call fcn.1401d846d
mov dword [rsp + 0x20], 0
jmp 0x14054f170
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov byte [rcx + rax], 0
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_gethostname]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x58]
dec eax
cdqe
mov rcx, qword [rsp + 0x50]
mov byte [rcx + rax], 0
cmp dword [rsp + 0x20], 0
je 0x14054f18e
mov eax, dword [rsp + 0x20]
jmp 0x14054f1b4
mov edx, 0x2e
mov rcx, qword [rsp + 0x50]
call fcn.1401d67cb
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14054f1b2
mov rax, qword [rsp + 0x28]
mov byte [rax], 0
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x1401d6811
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x140479ab0
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov r8, qword [rsp + 0x78]
mov edx, dword [rsp + 0x70]
lea rcx, str.send
call fcn.140479dd0
movzx eax, al
test eax, eax
je 0x140479aec
mov eax, 0xffffffff
jmp 0x140479b3a
mov r9d, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x30], eax
cmp qword [rsp + 0x78], 0
je 0x140479b36
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
lea rcx, str.SEND__s:_d_send__lu____ld_n
call fcn.1401dfbf0
nop
mov eax, dword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
Function at 0x1401d6d9d
Capabilities:
Write file on windows

Disassembly:
jmp 0x140260bf0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x140854c8c]
call fcn.1401df641
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140260c48
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140260d5a
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x140260cf3
cmp qword [rbp + 0x28], 0
jle 0x140260cf3
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x140260c91
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.1401dec91
nop
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rbp + 0x130], 0
jle 0x140260d49
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140260d49
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1401d7351
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1404b5a60
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x30]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov dword [rsp + 0x34], 0x4020
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x74], 4
cmp dword [0x140823b6c], 0
jne 0x1404b5ae1
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov ecx, 6
call fcn.1401ddc97
movzx eax, al
test eax, eax
je 0x1404b5ad7
mov dword [0x140823b6c], 2
jmp 0x1404b5ae1
mov dword [0x140823b6c], 1
cmp dword [0x140823b6c], 2
jne 0x1404b5aec
jmp 0x1404b5b4b
lea rax, [rsp + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
mov r8d, 0x1001
mov edx, 0xffff
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x1404b5b24
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x54], eax
jle 0x1404b5b24
jmp 0x1404b5b4b
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov r8d, 0x1001
mov edx, 0xffff
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.WS2_32.dll_setsockopt]
nop
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.1401ddb7f
add rsp, 0x90
pop rdi
ret

Function at 0x1401d7545
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140569520
cmp byte [rcx + 0x47], 0
mov r8, rcx
je 0x1405695ab
mov r9, 0xfffffffffffffffe
lea rax, [rcx + 2]
sub r9, rcx
nop dword [rax + rax]
lea edx, [r9 + rax]
lea ecx, [rdx - 0x2a]
xor byte [rax - 2], cl
lea rax, [rax + 0xe]
lea ecx, [rdx - 0x29]
xor byte [rax - 0xf], cl
lea ecx, [rdx - 0x28]
xor byte [rax - 0xe], cl
lea ecx, [rdx - 0x27]
xor byte [rax - 0xd], cl
lea ecx, [rdx - 0x26]
xor byte [rax - 0xc], cl
lea ecx, [rdx - 0x25]
xor byte [rax - 0xb], cl
lea ecx, [rdx - 0x24]
xor byte [rax - 0xa], cl
lea ecx, [rdx - 0x23]
xor byte [rax - 9], cl
lea ecx, [rdx - 0x22]
xor byte [rax - 8], cl
lea ecx, [rdx - 0x21]
xor byte [rax - 7], cl
lea ecx, [rdx - 0x20]
xor byte [rax - 6], cl
lea ecx, [rdx - 0x1f]
xor byte [rax - 5], cl
lea ecx, [rdx - 0x1e]
xor byte [rax - 4], cl
sub dl, 0x1d
xor byte [rax - 3], dl
lea rcx, [rax + r9]
cmp rcx, 0x46
jb 0x140569540
mov byte [r8 + 0x47], 0
mov rax, r8
ret
Function at 0x1401d7905
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1402050d0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1408545cd]
call fcn.1401df641
nop
mov qword [rbp + 8], 0
jmp 0x14020510f
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x140205165
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x140205104
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1401d7b1c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1405694e0
cmp byte [rcx + 0x136], 0
je 0x140569508
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x2a]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x135
jb 0x1405694f0
mov byte [rcx + 0x136], 0
mov rax, rcx
ret
Function at 0x1401d7b99
Capabilities:
Set socket configuration

Disassembly:
jmp 0x140535f30
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rdi, [rsp + 0x20]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x50]
cmp dword [rsp + 0x58], 0
je 0x140535f65
mov dword [rsp + 0x34], 1
jmp 0x140535f6d
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
mov edx, 0x8004667e
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401ddb7f
mov rax, rdi
add rsp, 0x40
pop rdi
ret

Function at 0x1401d7c5c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x14021be50
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.1401df641
nop
mov rcx, qword [rbp + 0x170]
call fcn.1401dec5a
movzx eax, al
test eax, eax
jne 0x14021be8f
xor al, al
jmp 0x14021bfe4
mov rax, qword [rbp + 0x178]
mov rcx, qword [rbp + 0x170]
mov qword [rax], rcx
mov rax, qword [rbp + 0x178]
mov rax, qword [rax]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x178]
add rax, qword [rcx]
mov rcx, qword [rbp + 0x178]
mov qword [rcx + 8], rax
mov rax, qword [rbp + 0x178]
mov rax, qword [rax + 8]
add rax, 4
mov rcx, qword [rbp + 0x178]
mov qword [rcx + 0x10], rax
mov rax, qword [rbp + 0x178]
mov rax, qword [rax + 8]
add rax, 0x18
mov rcx, qword [rbp + 0x178]
mov qword [rcx + 0x18], rax
mov dword [rbp + 4], 0
jmp 0x14021bf08
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x10
jge 0x14021bf5d
mov rax, qword [rbp + 0x178]
mov rax, qword [rax + 8]
movsxd rcx, dword [rbp + 4]
lea rax, [rax + rcx*8 + 0x88]
mov qword [rbp + 0x138], rax
mov rax, qword [rbp + 0x178]
add rax, 0x20
mov qword [rbp + 0x140], rax
movsxd rax, dword [rbp + 4]
mov rdx, rax
mov rcx, qword [rbp + 0x140]
call fcn.1401e0316
mov rcx, qword [rbp + 0x138]
mov qword [rax], rcx
jmp 0x14021bf00
mov rax, qword [rbp + 0x178]
mov rax, qword [rax + 8]
mov rcx, qword [rbp + 0x178]
mov rcx, qword [rcx + 8]
movzx ecx, word [rcx + 0x14]
lea rax, [rax + rcx + 0x18]
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x44], 0
jmp 0x14021bf91
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 0x178]
mov rax, qword [rax + 0x10]
movzx eax, word [rax + 2]
cmp dword [rbp + 0x44], eax
jge 0x14021bfe2
mov rax, qword [rbp + 0x178]
add rax, 0xa0
mov qword [rbp + 0x138], rax
movsxd rax, dword [rbp + 0x44]
imul rax, rax, 0x28
add rax, qword [rbp + 0x28]
mov qword [rbp + 0x128], rax
lea rdx, [rbp + 0x128]
mov rcx, qword [rbp + 0x138]
call fcn.1401d68c5
nop
jmp 0x14021bf89
mov al, 1
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret
Function at 0x1401d7d24
Capabilities:
Create thread

Disassembly:
jmp 0x14020be30
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, socket
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140818ac0]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14085473c]
call fcn.1401df641
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.1401d8b8e
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.1401da92f
nop
lea rax, [0x1401dc0c2]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.1401dc3d8
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x14020bf0c
lea rcx, [rbp + 8]
call fcn.1401d9f48
nop
jmp 0x14020bf25
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1401d8044
nop
lea rcx, [rbp + 8]
call fcn.1401d9c5f
nop
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401ddb7f
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1401da763
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x1401d8431
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
jmp 0x14028d640
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x838
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x172
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x858]
mov rax, qword [0x140818ac0]
xor rax, rbp
mov qword [rbp + 0x7f8], rax
mov dword [rbp + 0x7e4], 0
lea rcx, reloc.WS2_32.dll_accept
call fcn.1401df641
nop
lea rax, [rbp + 0x704]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x728]
lea rcx, [rbp + 0x704]
call fcn.140285fa0
mov rcx, rax
call fcn.1401e08a7
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14028d746
lea rax, [rbp + 0x744]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x768]
lea rcx, [rbp + 0x744]
call fcn.140286680
mov rcx, rax
call fcn.1401e0a64
mov rdx, rax
mov rcx, qword [rbp + 0x820]
call fcn.1401da330
mov eax, dword [rbp + 0x7e4]
or eax, 1
mov dword [rbp + 0x7e4], eax
mov rax, qword [rbp + 0x820]
jmp 0x14028d885
mov rcx, qword [rbp + 0x828]
call fcn.1401d6cf3
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14028d7e4
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rax, [rbp + 0x794]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x7b8]
lea rcx, [rbp + 0x794]
call fcn.140286c30
mov rcx, rax
call fcn.1401e0a64
mov rdx, rax
mov rcx, qword [rbp + 0x820]
call fcn.1401da330
mov eax, dword [rbp + 0x7e4]
or eax, 1
mov dword [rbp + 0x7e4], eax
mov rax, qword [rbp + 0x820]
jmp 0x14028d885
lea rcx, [rbp + 0x48]
call fcn.1401df5b0
nop
mov dword [rbp + 0x4a4], 0
lea r9, [rbp + 0x4a4]
mov r8d, 0x400
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14028d83f
cmp dword [rbp + 0x4a4], 0
jbe 0x14028d83f
mov eax, dword [rbp + 0x4a4]
mov r8d, eax
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x48]
call fcn.1401dfde4
nop
jmp 0x14028d7f8
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x820]
call fcn.1401dec46
mov eax, dword [rbp + 0x7e4]
or eax, 1
mov dword [rbp + 0x7e4], eax
lea rcx, [rbp + 0x48]
call fcn.1401d7acc
nop
mov rax, qword [rbp + 0x820]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.1401ddb7f
mov rax, rdi
mov rcx, qword [rbp + 0x7f8]
xor rcx, rbp
call fcn.1401da763
lea rsp, [rbp + 0x808]
pop rdi
pop rbp
ret
Function at 0x1401d8760
Capabilities:
Query environment variable

Disassembly:
jmp 0x1404775b0
push rdi
sub rsp, 0x30
lea rcx, [0x1407cd128]
call fcn.1401d9070
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1404775db
mov rcx, qword [rsp + 0x20]
call fcn.1401df579
jmp 0x1404775dd
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x1401d8d41
Capabilities:
Move file

Disassembly:
jmp 0x1404eef00
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xd8
lea rdi, [rsp + 0x20]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov rax, qword [0x140818ac0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x20], 0x3e8
lea rcx, [rsp + 0x78]
call fcn.1401de741
lea rcx, [rsp + 0x38]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0xf0]
call fcn.1401d67d0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0xf8]
call fcn.1401d67d0
mov qword [rsp + 0x60], rax
mov r8d, 1
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x1404eefe7
cmp qword [rsp + 0x58], 0
je 0x1404eefbb
mov rcx, qword [rsp + 0x58]
call fcn.1401d93d6
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x1404eefa0
cmp qword [rsp + 0x60], 0
je 0x1404eefdc
mov rcx, qword [rsp + 0x60]
call fcn.1401d93d6
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x1404eefc1
jmp 0x1404ef0ab
lea rax, [rsp + 0xb0]
lea rcx, [rsp + 0x38]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x88]
call fcn.1401de741
lea rcx, [rsp + 0xa0]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xa0]
call fcn.1401e000a
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jl 0x1404ef051
movsxd rax, dword [rsp + 0x20]
cmp qword [rsp + 0x68], rax
jle 0x1404ef09a
cmp qword [rsp + 0x58], 0
je 0x1404ef06c
mov rcx, qword [rsp + 0x58]
call fcn.1401d93d6
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x1404ef051
cmp qword [rsp + 0x60], 0
je 0x1404ef08d
mov rcx, qword [rsp + 0x60]
call fcn.1401d93d6
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x1404ef072
mov eax, 1
jmp 0x1404ef0ad
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x1404eef86
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401ddb7f
mov rax, rdi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401da763
add rsp, 0xd8
pop rdi
pop rsi
ret