joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005540
Capabilities:
Create directory

Disassembly:
jmp 0x14010ab50
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14010ab72
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000ad70
or eax, 0xffffffff
jmp 0x14010ab74
xor eax, eax
add rsp, 0x28
ret

Function at 0x140005ed0
Capabilities:
Clear file content

Disassembly:
jmp 0x14012e6e8
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov ebp, 1
mov r8d, ebp
xor edx, edx
mov esi, ecx
call fcn.14000f490
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14012e729
call fcn.140008260
mov eax, dword [rax]
jmp 0x14012e7cf
xor edx, edx
mov ecx, esi
lea r8d, [rdx + 2]
call fcn.14000f490
cmp rax, 0xffffffffffffffff
je 0x14012e71d
mov rdi, rbx
sub rdi, rax
test rdi, rdi
jle 0x14012e810
mov r15d, 0x1000
mov rdx, rbp
mov ecx, r15d
call fcn.14000a250
mov rbx, rax
test rax, rax
jne 0x14012e774
call fcn.140008260
mov dword [rax], listen
jmp 0x14012e7fd
mov edx, 0x8000
mov ecx, esi
call fcn.140004160
mov ebp, eax
mov r8d, edi
cmp rdi, r15
mov rdx, rbx
mov ecx, esi
cmovge r8d, r15d
call fcn.140006340
cmp eax, 0xffffffff
je 0x14012e7e8
cdqe
sub rdi, rax
test rdi, rdi
jg 0x14012e782
mov edx, ebp
mov ecx, esi
call fcn.140004160
mov rcx, rbx
call fcn.14000e1e0
xor r8d, r8d
mov rdx, r14
mov ecx, esi
call fcn.14000f490
cmp rax, 0xffffffffffffffff
je 0x14012e71d
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
call fcn.14000d6e0
cmp dword [rax], 5
jne 0x14012e7fd
call fcn.140008260
mov dword [rax], reloc.WSOCK32.dll_listen
call fcn.140008260
mov rcx, rbx
mov edi, dword [rax]
call fcn.14000e1e0
mov eax, edi
jmp 0x14012e7cf
jns 0x14012e7b6
xor r8d, r8d
mov rdx, rbx
mov ecx, esi
call fcn.14000f490
cmp rax, 0xffffffffffffffff
je 0x14012e71d
mov ecx, esi
call fcn.140005f70
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14012e7b6
call fcn.140008260
mov dword [rax], reloc.WSOCK32.dll_listen
call fcn.14000d6e0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
jmp 0x14012e71d
Function at 0x1400069e0
Capabilities:
Parse pe header

Disassembly:
jmp 0x14012f8d0
mov rax, rcx
mov ecx, 0x5a4d
cmp word [rax], cx
je 0x14012f8e0
xor eax, eax
ret
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
xor eax, eax
cmp dword [rcx], 0x4550
jne 0x14012f8fd
mov edx, 0x20b
cmp word [rcx + 0x18], dx
sete al
ret

Function at 0x140006eb0
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400ff240
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400feea8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400feea8
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400feea8
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400feea8
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400feea8
cmp dword [rcx + 0x84], 0xe
jbe 0x1400feea8
cmp dword [rcx + 0xf8], esi
je 0x1400feea8
mov ecx, r14d
call fcn.1400ff108
mov ecx, 2
call fcn.14000b200
nop
cmp byte [0x14019fe99], 0
jne 0x1400fef72
mov r15d, 1
mov eax, r15d
xchg dword [0x14019fe88], eax
test ebx, ebx
jne 0x1400fef1b
mov rdi, qword [0x140188050]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x14019fe90]
cmp rcx, rax
je 0x1400fef12
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [section..00cfg]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1401a0a88]
jmp 0x1400fef27
cmp ebx, r15d
jne 0x1400fef2d
lea rcx, [0x1401a0aa8]
call fcn.14000c080
nop
test ebx, ebx
jne 0x1400fef44
lea rdx, [0x140136bf0]
lea rcx, [0x1401368b0]
call fcn.140009a90
lea rdx, [0x140136e10]
lea rcx, [0x140136d00]
call fcn.140009a90
movzx eax, byte [0x14019fe99]
test esi, esi
cmove eax, r15d
mov byte [0x14019fe99], al
jmp 0x1400fef72
mov ecx, 2
call fcn.140006760
test esi, esi
jne 0x1400fef89
mov ecx, r14d
call fcn.1400ff000
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400fee38
Function at 0x1400071c0
Capabilities:
Access the windows event log

Disassembly:
jmp 0x1400a0070
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x98
movzx esi, dx
movzx ebp, cx
xorps xmm0, xmm0
lea rdx, str.DPTF
xor ecx, ecx
xor ebx, ebx
movdqu xmmword [rsp + 0x50], xmm0
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rdi, rax
test rax, rax
je 0x1400a0131
mov rdx, qword [rsp + 0xd0]
lea rax, [0x140159a50]
lea r8, [rsp + 0xd8]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x78]
call fcn.14000cd90
mov ecx, 2
mov r9d, 0x100
movzx r8d, bp
movups xmm0, xmmword [rax]
lea rax, str.Error_in_formatting_event_message
movups xmmword [rsp + 0x60], xmm0
mov rbx, qword [rsp + 0x64]
test rbx, rbx
cmovne rax, rbx
xor edx, edx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edx
mov word [rsp + 0x28], cx
mov rcx, rdi
mov qword [rsp + 0x20], rdx
movzx edx, si
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
test rbx, rbx
je 0x1400a013e
mov rcx, rbx
call fcn.140006db0
test rdi, rdi
je 0x1400a014c
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140008300
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400ff1c0
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400fee38

Function at 0x140008750
Capabilities:
Terminate process

Disassembly:
jmp 0x1400b9988
sub rsp, 0x28
mov ecx, reloc.WSOCK32.dll_socket
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x1400b99a1
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.1400038b0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140008e20
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400f66b0
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x60
test rdx, rdx
je 0x1400f66ea
test r8, r8
je 0x1400f66ea
test r9, r9
jne 0x1400f66f2
call fcn.140008260
mov dword [rax], socket
call fcn.14000c430
xor eax, eax
add rsp, 0x60
pop rbp
ret
lea rax, [rbp + 0x28]
mov qword [rbp - 0x38], r9
mov qword [rbp - 0x28], rax
lea r8, [rbp - 0x28]
lea rax, [rbp + 0x10]
mov qword [rbp - 0x30], r9
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x38]
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x30]
lea rax, [rbp + 0x20]
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x10], rax
call fcn.140002280
jmp 0x1400f66ec
Function at 0x1400093b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x14007cc40
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov r14, qword [rcx + 0x40]
xor edi, edi
cmp dword [rcx + 0x10], 7
mov rbx, rcx
mov dword [rsp + 0x30], 0x18
mov r15d, edi
mov qword [rsp + 0x34], rdi
mov ebp, edi
mov qword [rsp + 0x3c], rdi
mov esi, edi
je 0x14007cc88
mov qword [rcx + 0xa30], 1
jmp 0x14007ce8c
cmp dword [rcx + 0xa38], 1
jne 0x14007cd40
test byte [rcx + 8], 1
je 0x14007ce8c
test r14, r14
je 0x14007ce8c
mov edx, 3
mov rcx, r14
call fcn.14000d820
cmp rax, 2
jbe 0x14007ce8c
test byte [rbx + 8], 4
movzx eax, word [r14]
mov word [rsp + 0x88], ax
mov byte [rsp + 0x8a], sil
je 0x14007cd25
add r14, 3
je 0x14007cced
movzx eax, word [r14]
mov word [rsp + 0x80], ax
jmp 0x14007cd07
xor eax, eax
mov word [rsp + 0x80], ax
call fcn.140008260
mov dword [rax], socket
call fcn.14000c430
lea rcx, [rsp + 0x80]
mov byte [rsp + 0x82], sil
call fcn.140004290
mov eax, eax
mov qword [rbx + 0xa40], rax
lea rcx, [rsp + 0x88]
call fcn.140004290
mov eax, eax
mov qword [rbx + 0xa30], rax
jmp 0x14007ce8c
xor edx, edx
xor r9d, r9d
or r8d, 0xffffffff
lea ecx, [rdx + 0x24]
call fcn.140004670
mov rsi, rax
test rax, rax
jne 0x14007cd63
mov edi, 0x708
jmp 0x14007ce8c
mov rdx, qword [rbx + 0x28]
test rdx, rdx
je 0x14007cde5
cmp qword [rbx + 0x30], rdi
je 0x14007cde5
xor r8d, r8d
mov r9d, 0x80000000
lea ecx, [r8 + 8]
call fcn.140004670
mov rdx, qword [rbx + 0x30]
xor r8d, r8d
mov r9d, 0x80000000
mov r15, rax
lea ecx, [r8 + 8]
call fcn.140004670
mov rbp, rax
test r15, r15
je 0x14007cd59
test rax, rax
je 0x14007cd59
mov r8, rsi
mov rdx, rax
mov rcx, r15
call fcn.140007450
mov edi, eax
test eax, eax
jne 0x14007ce8c
mov ecx, dword [rsi + 0xc]
call fcn.14007f620
mov qword [rbx + 0x48], rax
mov rcx, rax
mov edx, dword [rsi + 0xc]
mov r8, qword [rsi + 4]
mov r9d, edx
call fcn.14007fb00
mov eax, dword [rsi + 0xc]
jmp 0x14007ce5d
mov ecx, dword [0x1401836e8]
call fcn.14007f620
mov rcx, rax
test rax, rax
je 0x14007cd59
mov eax, dword [rbx + 0x10]
mov dword [rsi], eax
mov qword [rsi + 4], rcx
mov eax, dword [0x1401836e8]
mov dword [rsi + 0xc], eax
cmp qword [rbx + 0x48], rdi
jne 0x14007ce60
mov r8, qword [rbx + 0x20]
lea rax, [rsp + 0x30]
mov edx, dword [rbx + 0x54]
mov r9b, 0xff
movzx ecx, byte [rbx + 4]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call fcn.140006ba0
mov edi, eax
test eax, eax
jne 0x14007ce8c
mov ecx, dword [rsi + 0x10]
call fcn.14007f620
mov qword [rbx + 0x48], rax
mov rcx, rax
mov edx, dword [rsi + 0x10]
mov r8, qword [rsi + 4]
mov r9d, edx
call fcn.14007fb00
mov eax, dword [rsi + 0x10]
mov dword [rbx + 0x50], eax
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x14007ce8c
mov edx, dword [rbx + 8]
test dl, 1
je 0x14007ce7c
mov rax, qword [rcx + 4]
mov qword [rbx + 0xa30], rax
test dl, 4
je 0x14007ce8c
mov rax, qword [rcx + 0x10]
mov qword [rbx + 0xa40], rax
mov rcx, r15
call fcn.1400055d0
mov rcx, rbp
call fcn.1400055d0
mov rcx, rsi
call fcn.1400055d0
mov rbx, qword [rsp + 0x90]
mov eax, edi
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140009540
Capabilities:
Terminate process

Disassembly:
jmp 0x1400a8fd0
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x140009830
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400b01e0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x14015d3b0]
mov ecx, 4
lea r8, [0x14015d3a8]
lea rdx, str.FlsAlloc
call fcn.1400afa98
mov rbx, rax
test rax, rax
je 0x1400b0223
mov rcx, rax
call fcn.140007330
mov rcx, rdi
call rbx
jmp 0x1400b0229
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140009a60
Capabilities:
Get common file path

Disassembly:
jmp 0x140109134
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x140188050]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edi, edi
lea rcx, [rsp + 0x22]
xor edx, edx
mov word [rsp + 0x20], di
mov r8d, 0x208
call fcn.1400082a0
lea rdx, [rsp + 0x20]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, 0x104
ja 0x1401091ae
movzx ecx, word [rsp + 0x20]
test cx, cx
je 0x14010920b
cmp word [rsp + 0x22], 0x3a
jne 0x14010920b
lea eax, [rcx - 0x61]
cmp ax, 0x19
movzx eax, cx
ja 0x1401091a9
sub eax, 0x20
lea edi, [rax - 0x40]
jmp 0x14010920b
lea esi, [rax + 1]
mov edx, 2
mov ecx, esi
call fcn.14000a250
mov rbx, rax
test rax, rax
je 0x1401091d4
mov rdx, rax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x1401091e1
call fcn.140008260
mov dword [rax], listen
jmp 0x140109203
cmp word [rbx], di
je 0x140109203
cmp word [rbx + 2], 0x3a
jne 0x140109203
movzx eax, word [rbx]
sub ax, 0x61
cmp ax, 0x19
movzx eax, word [rbx]
ja 0x140109200
sub eax, 0x20
lea edi, [rax - 0x40]
mov rcx, rbx
call fcn.14000e1e0
mov eax, edi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14000d260
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14000a650
Capabilities:
Delete file

Disassembly:
jmp 0x14011a0b8
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14011a0d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000ad70
or eax, 0xffffffff
jmp 0x14011a0da
xor eax, eax
add rsp, 0x28
ret

Function at 0x14000ab50
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1401159a4
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x140162298]
mov ecx, 5
lea r8, [0x140162290]
lea rdx, str.FlsGetValue
call fcn.1401151d4
mov rdi, rax
test rax, rax
je 0x1401159e6
mov rcx, rax
call qword [section..00cfg]
mov ecx, ebx
call rdi
jmp 0x1401159ee
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000b4e0
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140115a10
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1401622a8]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 6
lea r8, [0x1401622a0]
call fcn.1401151d4
mov rsi, rax
test rax, rax
je 0x140115a5d
mov rcx, rax
call qword [section..00cfg]
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x140115a68
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000b620
Capabilities:
Read file on windows

Disassembly:
jmp 0x14010d9d4
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15d, r8d
mov r13, rdx
movsxd rsi, ecx
cmp esi, 0xfffffffe
jne 0x14010da10
call fcn.14000d6e0
and dword [rax], 0
call fcn.140008260
mov dword [rax], 9
jmp 0x14010dad5
test ecx, ecx
js 0x14010dabd
cmp esi, dword [0x1401a0fdc]
jae 0x14010dabd
mov r14, rsi
mov r12, rsi
sar r12, 6
lea rax, [0x1401a0b10]
and r14d, 0x3f
shl r14, 6
mov rax, qword [rax + r12*8]
movzx ecx, byte [rax + r14 + 0x38]
and ecx, 1
je 0x14010dabd
xor eax, eax
cmp r8d, 0x7fffffff
setbe al
test eax, eax
jne 0x14010da71
call fcn.14000d6e0
and dword [rax], 0
call fcn.140008260
mov dword [rax], socket
jmp 0x14010dad0
mov ecx, esi
call fcn.14000a3a0
or ebx, 0xffffffff
lea rax, [0x1401a0b10]
mov rax, qword [rax + r12*8]
test byte [rax + r14 + 0x38], 1
jne 0x14010daa3
call fcn.140008260
mov dword [rax], 9
call fcn.14000d6e0
and dword [rax], 0
jmp 0x14010dab2
mov r8d, r15d
mov rdx, r13
mov ecx, esi
call fcn.1400051f0
mov ebx, eax
mov ecx, esi
call fcn.140002810
mov eax, ebx
jmp 0x14010dad8
call fcn.14000d6e0
and dword [rax], 0
call fcn.140008260
mov dword [rax], 9
call fcn.14000c430
or eax, 0xffffffff
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rsi
ret

Function at 0x14000baf0
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1401158cc
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x140162278]
mov ecx, 3
lea r8, [0x140162270]
lea rdx, str.FlsAlloc
call fcn.1401151d4
mov rbx, rax
test rax, rax
je 0x140115910
mov rcx, rax
call qword [section..00cfg]
mov rcx, rdi
call rbx
jmp 0x140115916
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000bfd0
Capabilities:
Get common file path

Disassembly:
jmp 0x140096d10
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x240
mov rax, qword [0x140188050]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.1400082a0
xor eax, eax
mov dword [rbx], 9
mov qword [rbx + 4], rax
lea rcx, [rsp + 0x20]
mov edx, 0x104
mov qword [rbx + 0xc], rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r14d, eax
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140096e19
lea ecx, [rax + 1]
mov qword [rsp + 0x250], rsi
lea rsi, [rcx + rcx]
mov qword [rsp + 0x258], rdi
mov qword [rsp + 0x260], r15
mov r15d, ecx
mov rcx, rsi
call fcn.140008f40
mov rdi, rax
test rax, rax
je 0x140096db6
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.1400082a0
mov rsi, qword [rsp + 0x250]
mov qword [rbx + 4], rdi
test rdi, rdi
je 0x140096de4
lea r8, [rsp + 0x20]
mov rdx, r15
mov rcx, rdi
call fcn.14000ad90
lea ecx, [r14 + r14]
lea eax, [rcx + 2]
mov dword [rbx + 0x10], ecx
mov dword [rbx + 0xc], eax
mov rdi, qword [rsp + 0x258]
mov rax, rbx
mov r15, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14000d260
mov rbx, qword [rsp + 0x268]
add rsp, 0x240
pop r14
ret
mov rax, rbx
jmp 0x140096df7
Function at 0x14000c560
Capabilities:
Hash data using sha1

Disassembly:
jmp 0x140028fd0
test rcx, rcx
je 0x140029018
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x72]
call fcn.1400082a0
mov dword [rbx + 0x56], 0x67452301
mov dword [rbx + 0x5a], 0xefcdab89
mov dword [rbx + 0x5e], 0x98badcfe
mov dword [rbx + 0x62], 0x10325476
mov dword [rbx + 0x66], 0xc3d2e1f0
mov qword [rbx + 0x6a], 0
add rsp, 0x20
pop rbx
ret

Function at 0x14000cb30
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400ff1d0
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400fee38

Function at 0x14000d000
Capabilities:
Write file on windows

Disassembly:
jmp 0x14009c730
jmp 0x14009bb80
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x14009bbd5
mov rcx, qword [rcx]
test rcx, rcx
je 0x14009bbd5
call fcn.140008a50
test eax, eax
je 0x14009bbd5
cmp qword [rbx + 0x248], 0
je 0x14009bbd5
mov rcx, qword [rbx]
mov r8d, edi
mov rdx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140009250
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp dword [rcx + 0x210], edi
jne 0x14009c75d
lea ecx, [rdi + 0x15]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
test rdx, rdx
jne 0x14009c778
lea ecx, [rdx + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
lea r9, [rsp + 0x40]
cmp dword [rcx + 0x218], edi
jne 0x14009c7a2
mov rcx, qword [rcx + 0x208]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov qword [rcx + 0x258], rdi
mov qword [rsp + 0x48], rsi
lea rsi, [rcx + 0x250]
mov rcx, qword [rcx + 0x208]
mov qword [rsi], rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test eax, eax
jne 0x14009c808
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14009c806
mov rcx, qword [rbx + 0x208]
lea r9d, [rdi + 1]
lea r8, [rsp + 0x40]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov eax, edi
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14000d7d0
Capabilities:
Print debug messages

Disassembly:
jmp 0x14011b388
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, 0x50
mov esi, r8d
mov r14, rdx
mov rbx, rcx
call fcn.1400089e0
mov bpl, al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor edi, edi
test eax, eax
je 0x14011b3db
test rbx, rbx
je 0x14011b3cc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bpl, bpl
je 0x14011b3db
mov edi, 4
jmp 0x14011b484
call fcn.140002510
test al, al
jne 0x14011b3f8
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb edi, edi
neg edi
add edi, 3
jmp 0x14011b484
test bpl, bpl
je 0x14011b45b
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [0x14011b1e0]
mov dword [rsp + 0x20], edi
xor edx, edx
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14011b484
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rcx, rbx
test eax, eax
je 0x14011b455
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14011b484
mov edi, dword [rsp + 0x44]
jmp 0x14011b44d
call fcn.14000d290
test al, al
jne 0x14011b46c
bts esi, 0x15
xor ecx, ecx
jmp 0x14011b474
call fcn.1400051c0
mov rcx, rax
mov r9d, esi
mov r8, r14
mov rdx, rbx
call fcn.14000a5e0
mov edi, eax
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret
Function at 0x140028d00
Capabilities:
Encode data using base64

Disassembly:
jmp 0x140028d00
mov qword [rsp + 0x20], rbx
push rdi
push r14
mov r11, rdx
lea r10, [r9 + 2]
mov r14, r8
xor edi, edi
movabs r8, 0xaaaaaaaaaaaaaaab
mov rbx, r9
mov rax, r8
mul r10
shr rdx, 1
lea r10, [rdx*4 + 1]
cmp r11, r10
jb 0x140028ebd
mov rax, r8
mov qword [rsp + 0x28], r15
mul rbx
lea r15, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov r11, rdx
shr r11, 1
je 0x140028df0
mov qword [rsp + 0x18], rbp
mov rdi, r11
mov qword [rsp + 0x20], rsi
mov rbp, r11
lea rsi, [r14 + 2]
nop dword [rax]
movzx eax, byte [rsi - 2]
movzx r10d, byte [rsi - 1]
movzx r8d, al
movzx edx, byte [rsi]
lea rsi, [rsi + 3]
shl al, 4
movzx r9d, r10b
shr r9b, 4
or r9b, al
shl r10b, 2
movzx eax, dl
shr r8b, 2
shr al, 6
and r9b, 0x3f
or r10b, al
and dl, 0x3f
movzx eax, r8b
and r10b, 0x3f
movzx eax, byte [rax + r15]
mov byte [rcx], al
movzx eax, r9b
movzx eax, byte [rax + r15]
mov byte [rcx + 1], al
movzx eax, r10b
movzx eax, byte [rax + r15]
mov byte [rcx + 2], al
movzx eax, dl
movzx eax, byte [rax + r15]
mov byte [rcx + 3], al
add rcx, 4
sub rbp, 1
jne 0x140028d70
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x18]
lea rax, [r11 + r11*2]
sub rbx, rax
sub rbx, 1
je 0x140028e76
cmp rbx, 1
jne 0x140028ea9
lea rax, [r14 + rdi*2]
movzx edx, byte [rdi + rax]
movzx r10d, byte [rdi + rax + 1]
movzx r8d, dl
movzx r9d, r10b
shr r8b, 2
shr r9b, 4
and r10b, 0xf
movzx eax, r8b
shl dl, 4
or r9b, dl
shl r10b, 2
and r9b, 0x3f
movzx eax, byte [rax + r15]
mov byte [rcx], al
movzx eax, r9b
movzx eax, byte [rax + r15]
mov byte [rcx + 1], al
movzx eax, r10b
movzx eax, byte [rax + r15]
mov r15, qword [rsp + 0x28]
mov byte [rcx + 2], al
mov byte [rcx + 3], 0x3d
add rcx, 4
mov rax, rcx
mov byte [rcx], 0
mov rbx, qword [rsp + 0x30]
pop r14
pop rdi
ret
lea rax, [r14 + rdi*2]
movzx edx, byte [rdi + rax]
movzx eax, dl
and dl, 3
shr al, 2
movzx eax, al
shl dl, 4
movzx eax, byte [rax + r15]
mov byte [rcx], al
movzx eax, dl
movzx eax, byte [rax + r15]
mov byte [rcx + 1], al
mov word [rcx + 2], 0x3d3d
add rcx, 4
mov r15, qword [rsp + 0x28]
mov rax, rcx
mov byte [rcx], 0
mov rbx, qword [rsp + 0x30]
pop r14
pop rdi
ret
mov rax, rdi
mov rbx, qword [rsp + 0x30]
pop r14
pop rdi
ret

Function at 0x140028fd0
Capabilities:
Hash data using sha1

Disassembly:
jmp 0x140028fd0
test rcx, rcx
je 0x140029018
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x72]
call fcn.1400082a0
mov dword [rbx + 0x56], 0x67452301
mov dword [rbx + 0x5a], 0xefcdab89
mov dword [rbx + 0x5e], 0x98badcfe
mov dword [rbx + 0x62], 0x10325476
mov dword [rbx + 0x66], 0xc3d2e1f0
mov qword [rbx + 0x6a], 0
add rsp, 0x20
pop rbx
ret