joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff65a76bcb0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x7ff65a7b0200]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ws2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x7ff65a76bd45
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy_1
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x7ff65a76bda6
lea rdx, [0x7ff65a792428]
mov rcx, rdi
call fcn.7ff65a7465d0
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.7ff65a77fd80
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x7ff65a76be61
sub ecx, 1
je 0x7ff65a76bed4
sub ecx, 1
je 0x7ff65a76be10
cmp ecx, 1
je 0x7ff65a76bdf3
lea r8, [0x7ff65a792458]
mov rcx, rdi
lea rdx, [0x7ff65a78f530]
call fcn.7ff65a7465d0
jmp 0x7ff65a76bed4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.7ff65a76b9e0
test eax, eax
je 0x7ff65a76bed4
jmp 0x7ff65a76bd7a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x7ff65a76bed4
sub rax, rsi
cmp rax, rbp
jae 0x7ff65a76bed4
mov r8, rsi
lea rdx, [0x7ff65a792448]
mov rcx, rdi
call fcn.7ff65a746750
jmp 0x7ff65a76bed4
cmp r8d, 4
jle 0x7ff65a76bed4
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x7ff65a76bed4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.7ff65a7464f0
mov esi, eax
test eax, eax
je 0x7ff65a76beb3
mov edx, 5
mov rcx, rbx
call fcn.7ff65a76c9a0
mov eax, esi
jmp 0x7ff65a76bd7a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.7ff65a754dd0
mov rcx, r14
call fcn.7ff65a7550b0
test eax, eax
je 0x7ff65a76bd78
mov edx, 5
mov rcx, rbx
call fcn.7ff65a76c9a0
mov eax, 0x2a
jmp 0x7ff65a76bd7a
Function at 0x151d70
Capabilities:
Create thread
Get system information on windows
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x220
lea rax, str.ypool.net
mov rdi, rdx
mov esi, ecx
mov qword [0x00191300], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.0015b210
call fcn.0015b228
lea rcx, [rsp + 0x48]
cdq
mov ebx, 1
and edx, 7
mov dword [0x00191310], ebx
add eax, edx
and eax, 7
sub eax, edx
add eax, 0x1f90
mov dword [0x00191308], eax
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x68]
cmp eax, ebx
mov rdx, rdi
mov ecx, esi
cmovg ebx, eax
mov eax, 4
cmp ebx, eax
cmovl eax, ebx
mov dword [0x0019130c], eax
call fcn.00151980
mov r11d, dword [0x00191310]
lea rcx, [0x0016bc98]
mov dword [0x00191360], r11d
call fcn.0015b13c
lea rcx, [0x0016bcd0]
call fcn.0015b13c
lea rcx, [0x0016bd08]
call fcn.0015b13c
lea rcx, [0x0016bd40]
call fcn.0015b13c
lea rcx, [0x0016bd78]
call fcn.0015b13c
lea rcx, str.Launching_miner..._n
call fcn.0015b13c
mov eax, dword [0x00191310]
mov dword [rsp + 0x30], 0x200
mov dword [rsp + 0x34], 0x100
mov dword [rsp + 0x38], 0x80
mov dword [rsp + 0x3c], 0x20
mov dword [rsp + 0x40], 8
cmp eax, 5
jb 0x151e84
mov eax, 5
mov edx, dword [rsp + rax*4 + 0x30]
lea rcx, str.Using__d_megabytes_of_memory_per_thread_n
call fcn.0015b13c
mov edx, dword [0x0019130c]
lea rcx, str.Using__d_threads_n
call fcn.0015b13c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0x4000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
lea rdx, [rsp + 0x80]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov rbx, qword [0x00191300]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
jne 0x151efa
lea rcx, str.Cannot_resolve__s._Is_it_a_valid_URL__n
mov rdx, rbx
call fcn.0015b13c
or ecx, 0xffffffff
call fcn.0015b820
int3
mov rax, qword [rax + 0x18]
or edi, 0xffffffff
mov rdx, qword [rax]
test rdx, rdx
je 0x151f0b
mov edi, dword [rdx]
mov ecx, 0x20
call fcn.0015b01c
mov ecx, edi
mov r10d, edi
shr ecx, 0x10
shr r10d, 0x18
movzx r8d, dil
movzx edx, cl
mov ecx, edi
mov dword [rsp + 0x28], r10d
shr ecx, 8
mov dword [rsp + 0x20], edx
lea rdx, str._d._d._d._d
movzx r9d, cl
mov rcx, rax
mov rbx, rax
call fcn.0015af80
lea rcx, [0x00170a20]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x00191318]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
movzx eax, word [0x00191308]
xor edi, edi
mov word [0x00191348], ax
mov rax, qword [0x001912f0]
mov qword [0x00191340], rbx
mov qword [0x00191350], rax
mov rax, qword [0x001912f8]
mov ebx, edi
mov qword [0x00191358], rax
cmp dword [0x0019130c], ebx
jbe 0x151fd7
nop word [rax + rax]
lea r8, [0x00151170]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
inc ebx
cmp ebx, dword [0x0019130c]
jb 0x151fb0
call fcn.00151640
int3
Function at 0x151fe0
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, edx
mov edx, 1
mov rdi, rcx
mov ebp, 2
lea r8d, [rdx + 5]
mov ecx, ebp
call qword [sym.imp.WS2_32.dll_socket]
movzx ecx, bx
mov rsi, rax
xor eax, eax
mov dword [rsp + 0x20], eax
mov word [rsp + 0x20], bp
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x2c], eax
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, rdi
mov word [rsp + 0x22], ax
call qword [sym.imp.WS2_32.dll_inet_addr]
lea r8d, [rbp + 0xe]
lea rdx, [rsp + 0x20]
mov rcx, rsi
mov dword [rsp + 0x24], eax
call qword [sym.imp.WS2_32.dll_connect]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
xor ecx, ecx
test eax, eax
cmovne rsi, rcx
mov rax, rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1522a0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rdx, qword [rcx + 8]
mov rbx, rcx
mov rax, qword [rdx]
mov dword [rax], 1
mov dword [rdx + 8], 4
mov rdx, qword [rcx + 8]
mov ecx, dword [rdx + 8]
lea eax, [rcx + 4]
cmp eax, dword [rdx + 0xc]
jbe 0x1522d3
mov byte [rsp + 0x30], 1
jmp 0x1522e6
mov rax, qword [rdx]
mov byte [rsp + 0x30], 0
mov dword [rcx + rax], 5
add dword [rdx + 8], 4
mov rcx, qword [rbx + 8]
lea rdx, [rbx + 0x18]
lea r9, [rsp + 0x30]
mov r8d, 0x80
call fcn.001530f0
mov rcx, qword [rbx + 8]
lea rdx, [rbx + 0x98]
lea r9, [rsp + 0x30]
mov r8d, 0x80
call fcn.001530f0
mov r11, qword [rbx + 8]
mov ecx, dword [r11 + 8]
lea eax, [rcx + 4]
cmp eax, dword [r11 + 0xc]
ja 0x15233e
mov eax, dword [rbx + 0x118]
mov rdx, rcx
mov rcx, qword [r11]
mov dword [rdx + rcx], eax
add dword [r11 + 8], 4
mov rdx, qword [rbx + 8]
mov ecx, dword [rdx + 8]
lea eax, [rcx + 0x13]
cmp eax, dword [rdx + 0xc]
jbe 0x15235b
lea rcx, str.xptPacketbuffer_writeData__:_Packetbuffer_too_small_n
call fcn.0015b13c
jmp 0x15238f
mov rax, qword [rdx]
mov byte [rcx + rax], 0x12
inc dword [rdx + 8]
mov ecx, dword [rdx + 8]
mov rax, qword [str.jhProtominer_v0.1f]
add rcx, qword [rdx]
mov qword [rcx], rax
mov rax, qword [0x0016b5d8]
mov qword [rcx + 8], rax
movzx eax, word [0x0016b5e0]
mov word [rcx + 0x10], ax
add dword [rdx + 8], 0x12
mov rax, qword [rbx + 8]
xor r9d, r9d
mov ecx, dword [rax + 8]
mov rdx, qword [rax]
movzx eax, byte [rdx]
sub ecx, 4
shl ecx, 8
or ecx, eax
mov dword [rdx], ecx
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx]
mov r8d, dword [rdx + 8]
mov rdx, qword [rdx]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.WS2_32.dll_send]
Function at 0x152800
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, qword [0x00191368]
test rdi, rdi
jne 0x15281a
xor al, al
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x40], rbx
lea rcx, [rdi + 0x20a18]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rdi + 0x20a40]
mov ecx, dword [rax + 8]
xor r13d, r13d
test ecx, ecx
je 0x1528a8
mov qword [rsp + 0x48], rbp
mov ebp, r13d
test ecx, ecx
je 0x152898
mov qword [rsp + 0x50], rsi
mov rsi, r13
nop dword [rax + rax]
mov rax, qword [rdi + 0x20a40]
mov rcx, qword [rax]
mov rbx, qword [rsi + rcx]
mov rcx, rdi
mov rdx, rbx
call fcn.001523d0
mov rcx, rbx
call fcn.0015b8c0
mov rax, qword [rdi + 0x20a40]
inc ebp
add rsi, 8
cmp ebp, dword [rax + 8]
jb 0x152860
mov rsi, qword [rsp + 0x50]
mov rax, qword [rdi + 0x20a40]
mov rbp, qword [rsp + 0x48]
mov dword [rax + 8], r13d
lea rcx, [rdi + 0x20a18]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [rdi + 0x124]
mov r12, qword [rsp + 0x28]
mov ebx, 4
test eax, eax
je 0x1528cc
lea ebx, [rax + 4]
mov edx, dword [rdi + 0x128]
mov rax, qword [rdi + 0x10]
mov rcx, qword [rdi]
mov r8d, ebx
xor r9d, r9d
sub r8d, edx
add rdx, qword [rax]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x152919
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x152a34
mov rbx, qword [rsp + 0x40]
mov r13, qword [rsp + 0x20]
mov byte [rdi + 0x130], 1
xor al, al
add rsp, 0x30
pop rdi
ret
add dword [rdi + 0x128], eax
cmp dword [rdi + 0x128], ebx
jne 0x152980
cmp ebx, 4
jne 0x152980
mov r8, qword [rdi + 0x10]
mov rax, qword [r8]
mov edx, dword [rax]
mov ecx, edx
shr ecx, 8
cmp ecx, 0x1ffffc
jb 0x152960
lea rcx, str.xptServer_receiveData__:_Packet_exceeds_2mb_size_limit_n
call fcn.0015b13c
mov rbx, qword [rsp + 0x40]
mov r13, qword [rsp + 0x20]
xor al, al
add rsp, 0x30
pop rdi
ret
movzx eax, dl
lea edx, [rcx + 4]
mov dword [rdi + 0x124], ecx
mov dword [rdi + 0x12c], eax
cmp edx, dword [r8 + 0xc]
jbe 0x152980
mov rcx, r8
call fcn.001530b0
mov eax, dword [rdi + 0x124]
lea ecx, [rax + 4]
cmp dword [rdi + 0x128], ecx
jb 0x152a34
mov rax, qword [rdi + 0x10]
mov dword [rax + 0x10], ecx
mov eax, dword [rdi + 0x12c]
cmp eax, 2
jne 0x1529b1
mov rcx, rdi
call fcn.00152a50
jmp 0x1529dc
cmp eax, 3
jne 0x1529c0
mov rcx, rdi
call fcn.00152b80
jmp 0x1529dc
cmp eax, 5
jne 0x1529cf
mov rcx, rdi
call fcn.00152f30
jmp 0x1529dc
cmp eax, 7
jne 0x152a1f
mov rcx, rdi
call fcn.00153030
test al, al
jne 0x152a1f
mov rcx, qword [rdi]
mov dword [rdi + 0x128], r13d
mov dword [rdi + 0x124], r13d
mov dword [rdi + 0x12c], r13d
test rcx, rcx
je 0x152a06
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rdi], r13
mov rbx, qword [rsp + 0x40]
mov r13, qword [rsp + 0x20]
mov byte [rdi + 0x130], 1
xor al, al
add rsp, 0x30
pop rdi
ret
mov dword [rdi + 0x128], r13d
mov dword [rdi + 0x124], r13d
mov dword [rdi + 0x12c], r13d
mov rbx, qword [rsp + 0x40]
mov r13, qword [rsp + 0x20]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x15b820
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.0015e28c
nop
cmp dword [0x0016fc38], 1
je 0x15b7cc
mov dword [0x0016fc34], 1
mov byte [0x0016fc30], r12b
test ebx, ebx
jne 0x15b7b8
mov rcx, qword [0x001925e8]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x15b7a5
mov rcx, qword [0x001925e0]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x15b744
call fcn.0015d7a0
cmp qword [rdi], rax
jne 0x15b744
jmp 0x15b72a
cmp rdi, rsi
jb 0x15b7a5
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.0015d7a0
mov qword [rdi], rax
call rbx
mov rcx, qword [0x001925e8]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x001925e0]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x15b783
cmp r13, rax
je 0x15b7a3
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x15b72a
lea rdx, [0x0016a338]
lea rcx, [0x0016a320]
call fcn.0015b574
lea rdx, [0x0016a348]
lea rcx, [0x0016a340]
call fcn.0015b574
nop
test r12d, r12d
je 0x15b7db
mov ecx, 8
call fcn.0015e18c
test r12d, r12d
jne 0x15b806
mov dword [0x0016fc38], 1
lea ecx, [r12 + 8]
call fcn.0015e18c
mov ecx, r15d
call fcn.0015b508
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x15b694
Function at 0x16154c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.0015d7a0
xor ebx, ebx
mov rdi, rax
cmp qword [0x001703a0], rbx
jne 0x161652
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x161727
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x161727
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x001703a0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x001703a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x001703b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x001703c0], rax
test rax, rax
je 0x161649
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x001703b8], rax
jmp 0x161659
mov rax, qword [0x001703b8]
jmp 0x161660
mov rax, qword [0x001703b8]
mov r11, qword [0x001703c0]
cmp rax, rdi
je 0x1616c8
cmp r11, rdi
je 0x1616c8
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x001703c0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1616c8
test rax, rax
je 0x1616c8
call rsi
test rax, rax
je 0x1616c2
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1616c2
test byte [rsp + 0x38], 1
jne 0x1616c8
bts ebp, 0x15
jmp 0x161706
mov rcx, qword [0x001703a8]
cmp rcx, rdi
je 0x161706
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x161706
call rax
mov rbx, rax
test rax, rax
je 0x161706
mov rcx, qword [0x001703b0]
cmp rcx, rdi
je 0x161706
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x161706
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x001703a0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x161727
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x161729
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x16451b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x0016e6d0]
jne 0x16143a
rol rcx, 0x10
test cx, 0xffff
jne 0x161436
repz ret
ror rcx, 0x10
jmp 0x164474
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x00170540]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x00170638]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1644f9
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x00170540]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x16451b
mov rax, qword [rsp + 0x88]
mov qword [0x00170638], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x001705d8], rax
mov rax, qword [0x00170638]
mov qword [0x001704b0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x001705c0], rax
mov dword [0x001704a0], 0xc0000409
mov dword [0x001704a4], 1
mov rax, qword [0x0016e6d0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x0016e6d8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x00170538], eax
mov ecx, 1
call fcn.00161440
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x0016b5b8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x00170538], 0
jne 0x1645a2
mov ecx, 1
call fcn.00161440
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x141229000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x14122900a
jmp 0x14122b00f
jmp fcn.140b92160
Function at 0x14000720c
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x140072044], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x14000726c
movdqa xmm0, xmmword [0x140047bb0]
movdqa xmm1, xmmword [0x140047ba0]
movdqa xmmword [0x14005cda0], xmm0
movdqa xmm0, xmmword [0x140047b80]
movdqa xmmword [0x14005cdb0], xmm1
movdqa xmm1, xmmword [0x140047b90]
movdqa xmmword [0x14005cdc0], xmm0
movdqa xmmword [0x14005cdd0], xmm1
xor edx, edx
mov r8d, 0xf0
call fcn.1400329c0
xor edx, edx
mov qword [rbx + 0x110], rdx
mov byte [rbx + 0x118], dl
mov rcx, qword [rbx + 0xf8]
lea rax, [0x140047b60]
mov eax, dword [rdx + rax]
mov dword [rdx + rcx], eax
add rdx, 4
cmp rdx, 0x20
jl 0x140007288
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
shl edi, 0x10
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor dword [rax + 0xc], edi
add rsp, 0x20
pop rdi
ret

Function at 0x140008210
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
xor r14d, r14d
mov bpl, dl
mov word [rcx + 0x93ea], r14w
mov rsi, rcx
mov byte [rcx + 0x93e1], r14b
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.14000786c
mov rdi, rax
test rax, rax
je 0x140008295
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.14003635c
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14000786c
mov rdi, rax
test rax, rax
je 0x140008295
mov rbx, qword [rsp + 0x40]
mov rcx, rsi
mov rdx, rbx
test bpl, bpl
je 0x14000828e
call fcn.1400083d8
jmp 0x14000825a
call fcn.140007f50
jmp 0x14000825a
test bpl, bpl
jne 0x1400082a2
mov rcx, rsi
call fcn.1400082b8
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14000a8a4
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x850
mov rax, qword [0x14005c318]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rax, rdx
mov rdi, r8
mov rbx, rcx
lea rdx, [rsp + 0x40]
mov rcx, rax
mov r8d, 0x400
call fcn.140023608
mov esi, 1
mov ecx, esi
call fcn.1400399e0
xor r14d, r14d
cmp rbx, rax
jne 0x14000a8fd
cmp byte [0x14005ddfd], r14b
jne 0x14000a91f
mov ebp, 2
mov ecx, ebp
call fcn.1400399e0
cmp rbx, rax
jne 0x14000a9e7
cmp byte [0x14005ddfe], r14b
je 0x14000a9e7
mov ecx, esi
call fcn.1400399e0
sub rbx, rax
neg rbx
sbb ecx, ecx
add ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbp, rax
call fcn.140005cb4
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x40]
mov esi, 0x1800
mov qword [rsp + 0x20], r14
lea rdi, [0x140060600]
mov r8d, esi
mov rcx, qword [rax]
mov rdx, rdi
call fcn.14003878c
mov ecx, dword [0x14005ddf8]
cmp ecx, 3
jne 0x14000a989
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], r14w
jne 0x14000a977
add r8d, r8d
mov rdx, rdi
jmp 0x14000a9d2
lea rbx, [0x140063600]
cmp ecx, 4
mov rdx, rbx
mov r8, rsi
mov rcx, rdi
jne 0x14000a9a5
call fcn.140025d24
jmp 0x14000a9aa
call fcn.140025c8c
test dword [0x14005ddf8], 0xfffffffd
jne 0x14000a9c2
mov rdx, rbx
mov rcx, rbx
call qword [sym.imp.USER32.dll_CharToOemA]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], r14b
jne 0x14000a9c6
mov rdx, rbx
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14000aa50
call fcn.140005cb4
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x40]
lea rdi, [0x140060600]
mov qword [rsp + 0x20], r14
mov r8d, 0x1800
mov rdx, rdi
mov rcx, qword [rax]
call fcn.14003878c
mov ecx, ebp
call fcn.1400399e0
mov ecx, r14d
cmp rbx, rax
setne cl
add ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], r14w
jne 0x14000aa30
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.140030c60
add rsp, 0x850
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret