joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140054bb0
Capabilities:
Get process heap force flags

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x24], 0
mov eax, 0x2748
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
and eax, 1
test eax, eax
jne 0x140054c57
mov eax, 0x2748
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
or eax, 1
mov dword [rsp + 0x28], eax
mov rax, qword gs:[0x58]
mov ecx, 0x2748
mov ecx, ecx
mov rax, qword [rax]
mov edx, dword [rsp + 0x28]
mov dword [rcx + rax], edx
mov eax, 0x30
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.140021510
mov rcx, rax
call fcn.140054b30
mov dword [rsp + 0x2c], eax
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x38]
call fcn.140066840
nop
mov eax, 0x2748
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
and eax, 2
test eax, eax
jne 0x140054cd6
mov eax, 0x2748
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax]
or eax, 2
mov dword [rsp + 0x30], eax
mov rax, qword gs:[0x58]
mov ecx, 0x2748
mov ecx, ecx
mov rax, qword [rax]
mov edx, dword [rsp + 0x30]
mov dword [rcx + rax], edx
mov eax, 0x18
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov qword [rsp + 0x40], rax
mov r8d, 0x3d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.1400667a0
nop
mov rcx, qword [rsp + 0x80]
call fcn.14005c890
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.14006a3b0
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x88]
dec rax
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x48], 0
je 0x140054d9e
mov rax, qword [str.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]
mov qword [rsp + 0x60], rax
mov eax, 0x18
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov qword [rsp + 0x50], rax
mov eax, 0x30
mov eax, eax
mov rcx, qword gs:[0x58]
add rax, qword [rcx]
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.140077c60
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
movzx edx, byte [rax]
mov rcx, qword [rsp + 0x80]
call fcn.14006aa00
jmp 0x140054d08
mov rax, qword [rsp + 0x80]
add rsp, 0x78
ret
Function at 0x140057660
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov rax, qword [0x140128218]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x30]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x150]
call fcn.14006ac80
nop
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400afe40
add rsp, 0x148
ret

Function at 0x140057820
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x258
mov rax, qword [0x140128218]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov dword [rsp + 0x28], 0
lea rdx, [rsp + 0x140]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
xor r8d, r8d
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x120]
call fcn.1400780b0
nop
xor r8d, r8d
lea rdx, str.Users
lea rcx, [rsp + 0x80]
call fcn.1400780b0
nop
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x120]
call fcn.140053b10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x40]
call fcn.140053ba0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
call fcn.140053c30
movzx eax, al
test eax, eax
jne 0x1400578fc
mov dword [rsp + 0x24], 1
jmp 0x140057904
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0xa0]
call fcn.140053c70
nop
lea rcx, [rsp + 0xc0]
call fcn.140053c70
nop
lea rcx, [rsp + 0x80]
call fcn.140053c70
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140057988
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x120]
call fcn.140053b10
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x120]
call fcn.1400545a0
nop
lea rcx, [rsp + 0xe0]
call fcn.140053c70
jmp 0x140057872
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x120]
call fcn.140053ba0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x78]
call fcn.1400537a0
mov eax, dword [rsp + 0x28]
or eax, 1
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x100]
call fcn.140053c70
nop
lea rcx, [rsp + 0x120]
call fcn.140053c70
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400afe40
add rsp, 0x258
ret
Function at 0x14005a070
Capabilities:
Connect socket
Convert ip address from string
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x200
mov rax, qword [0x140128218]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x198
rep stosb byte [rdi], al
mov eax, 0x202
mov word [rsp + 0x24], ax
lea rdx, [rsp + 0x50]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x2c], eax
xor r8d, r8d
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov rcx, qword [rsp + 0x210]
mov qword [rcx], rax
mov eax, 2
mov word [rsp + 0x40], ax
mov cx, 0x1544
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x42], ax
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x20]
movzx r8d, byte [rsp + 0x21]
movzx edx, byte [rsp + 0x22]
lea rcx, [rsp + 0x30]
call fcn.14005a1a0
mov rcx, rax
call fcn.140064e60
lea r8, [rsp + 0x44]
mov rdx, rax
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x40]
mov rax, qword [rsp + 0x210]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_connect]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xffffffff
je 0x14005a183
mov rax, qword [rsp + 0x210]
mov byte [rax + 0x68], 1
mov al, 1
jmp 0x14005a185
xor al, al
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.1400afe40
add rsp, 0x200
pop rdi
ret
Function at 0x14005b540
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x140128218]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xd0]
add rax, 0x48
mov rcx, qword [rsp + 0xd0]
add rcx, 0x28
mov r9, rax
mov r8, rcx
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x78]
call fcn.140052570
nop
lea rcx, [rsp + 0x78]
call fcn.140069180
xor edx, edx
mov ecx, reloc.WS2_32.dll_recv
div rcx
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14004bec0
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xd0]
add rax, 0x48
mov rcx, qword [rsp + 0xd0]
add rcx, 0x28
mov r9, rax
mov r8, rcx
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x98]
call fcn.140052570
nop
lea rcx, [rsp + 0x58]
call fcn.14006ab00
lea rcx, [rsp + 0x98]
call fcn.1400596c0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov r8d, reloc.WS2_32.dll_recv
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x14005b666
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x98]
call fcn.14006ab00
nop
lea rcx, [rsp + 0x78]
call fcn.14006ab00
movzx eax, byte [rsp + 0x20]
jmp 0x14005b6f6
lea rcx, [rsp + 0x78]
call fcn.140069180
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x78]
call fcn.1400596c0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x14005b6d4
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0x98]
call fcn.14006ab00
nop
lea rcx, [rsp + 0x78]
call fcn.14006ab00
movzx eax, byte [rsp + 0x21]
jmp 0x14005b6f6
mov byte [rsp + 0x22], 1
lea rcx, [rsp + 0x98]
call fcn.14006ab00
nop
lea rcx, [rsp + 0x78]
call fcn.14006ab00
movzx eax, byte [rsp + 0x22]
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1400afe40
add rsp, 0xc8
ret
Function at 0x14005b710
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov rax, qword [0x140128218]
xor rax, rsp
mov qword [rsp + 0x108], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0xf8]
mov rax, qword [rsp + 0x120]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x14005b7a3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [0x140165d30]
call fcn.140069af0
lea rdx, [0x14010b638]
mov rcx, qword [rsp + 0x128]
call fcn.14006ac80
nop
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x128]
jmp 0x14005b98f
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x90]
call fcn.14005af20
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x120]
add rax, 0x48
mov rcx, qword [rsp + 0x120]
add rcx, 0x28
mov r9, rax
mov r8, rcx
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x70]
call fcn.140052960
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.14004bdb0
imul eax, eax, 0x10
cdqe
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x70]
call fcn.14006ab00
nop
lea rcx, [rsp + 0x90]
call fcn.14006ab00
mov edx, 8
lea rcx, [rsp + 0xd0]
call fcn.140005a40
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0xd0]
call fcn.140077d30
nop
lea rcx, [rsp + 0xd0]
call fcn.140021450
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov r9d, 8
mov r8d, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x14005b8dd
lea rdx, [0x14010b638]
mov rcx, qword [rsp + 0x128]
call fcn.14006ac80
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0xd0]
call fcn.140066500
mov rax, qword [rsp + 0x128]
jmp 0x14005b98f
lea rcx, [rsp + 0xd0]
call fcn.140021450
mov r8, qword [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.14005af20
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x120]
add rax, 0x48
mov rcx, qword [rsp + 0x120]
add rcx, 0x28
mov r9, rax
mov r8, rcx
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xd8]
call fcn.140052960
nop
lea rcx, [rsp + 0xb0]
call fcn.14006ab00
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x128]
call fcn.14006abb0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0xd8]
call fcn.14006ab00
nop
lea rcx, [rsp + 0xd0]
call fcn.140066500
mov rax, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.1400afe40
add rsp, 0x118
ret
Function at 0x14005bd70
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov rax, qword [0x140128218]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xf0]
add rax, 0x48
mov rcx, qword [rsp + 0xf0]
add rcx, 0x28
mov r9, rax
mov r8, rcx
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x90]
call fcn.140052570
nop
lea rcx, [rsp + 0x90]
call fcn.140069180
xor edx, edx
mov ecx, reloc.WS2_32.dll_recv
div rcx
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14004bec0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xf0]
add rax, 0x48
mov rcx, qword [rsp + 0xf0]
add rcx, 0x28
mov r9, rax
mov r8, rcx
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xb0]
call fcn.140052570
nop
lea rcx, [rsp + 0x70]
call fcn.14006ab00
lea rcx, [rsp + 0xb0]
call fcn.1400596c0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov r8d, reloc.WS2_32.dll_recv
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x14005bea6
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0xb0]
call fcn.14006ab00
nop
lea rcx, [rsp + 0x90]
call fcn.14006ab00
movzx eax, byte [rsp + 0x20]
jmp 0x14005bf82
mov dword [rsp + 0x24], 0
movsxd rax, dword [rsp + 0x24]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x90]
call fcn.140069180
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
jae 0x14005bf5d
lea rcx, [rsp + 0x90]
call fcn.140069180
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x90]
call fcn.1400596c0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_send]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xffffffff
jne 0x14005bf58
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0xb0]
call fcn.14006ab00
nop
lea rcx, [rsp + 0x90]
call fcn.14006ab00
movzx eax, byte [rsp + 0x21]
jmp 0x14005bf82
jmp 0x14005beae
mov byte [rsp + 0x22], 1
lea rcx, [rsp + 0xb0]
call fcn.14006ab00
nop
lea rcx, [rsp + 0x90]
call fcn.14006ab00
movzx eax, byte [rsp + 0x22]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400afe40
add rsp, 0xe8
ret
Function at 0x14005eb10
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1c8
mov rax, qword [0x140128218]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1d0]
mov rax, qword [rax]
mov rax, qword [rax]
mov byte [rax], 1
xor r9d, r9d
lea r8, [0x140168dd4]
lea rdx, [rsp + 0x78]
lea rcx, [0x140169000]
call fcn.14005b9b0
nop
xor r8d, r8d
mov rax, qword [rsp + 0x1d0]
mov rdx, qword [rax + 8]
lea rcx, [rsp + 0x58]
call fcn.140078500
nop
lea rcx, [rsp + 0x58]
call fcn.140054640
mov byte [rsp + 0x30], al
lea rcx, [rsp + 0x58]
call fcn.140053c70
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14005ebb0
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rax + 8]
call fcn.1400596c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, socket
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0x108
lea rcx, [rsp + 0xa0]
call fcn.140005a40
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rax + 8]
call fcn.1400596c0
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x22
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.140064b90
nop
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1400596c0
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x48]
call fcn.14006a6f0
mov qword [rsp + 0x50], rax
jmp 0x14005ec3a
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x38], rax
je 0x14005ec66
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
movzx edx, byte [rsp + 0x31]
lea rcx, [rsp + 0xa0]
call fcn.140078580
jmp 0x14005ec2d
lea rcx, [rsp + 0xa0]
call fcn.140064a10
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rax + 8]
call fcn.1400596c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
and eax, 2
test eax, eax
jne 0x14005ecbc
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rax + 8]
call fcn.1400596c0
mov edx, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
nop
lea rcx, [rsp + 0xa0]
call fcn.14005ecf0
nop
lea rcx, [rsp + 0x78]
call fcn.14006ab00
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1400afe40
add rsp, 0x1c8
ret
Function at 0x140065610
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x140128218]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x140065644
xor eax, eax
jmp 0x14006583a
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x140065675
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.140069660
jmp 0x14006583a
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call fcn.1400720d0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x140065723
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.1400234f0
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call fcn.1400722f0
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.14005b4b0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call fcn.140072250
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x14006582a
mov rcx, qword [rsp + 0x80]
call fcn.1400704b0
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x1400657d8
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call fcn.1400c46f4
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x1400657d3
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x14006583a
jmp 0x14006574f
cmp qword [rsp + 0x50], 0
jbe 0x14006582a
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call fcn.1400c46f4
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400afe40
add rsp, 0x78
ret

Function at 0x140066810
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r8d, 0x6c078965
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.140070f00
add rsp, 0x28
ret

Function at 0x140066840
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.140070fb0
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x140080850
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jne 0x140080872
mov rcx, qword [rsp + 0x40]
call fcn.140080920
jmp 0x140080889
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x140080889
mov rcx, qword [rsp + 0x40]
call fcn.1400809d0
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xb
mov rcx, qword [rsp + 0x40]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x140080920
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x140080941
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x1400809c5
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x140080990
mov dword [rsp + 4], 0x9908b0df
jmp 0x140080998
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140080934
add rsp, 0x18
ret
Function at 0x1400809d0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0x26f
mov qword [rsp + 0x30], 0xe3
mov qword [rsp], 0
jmp 0x140080a00
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x140080a82
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x140080a4e
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x140080a56
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x1400809f5
mov qword [rsp + 8], 0xe3
jmp 0x140080a9a
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x140080b21
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
and eax, 1
test eax, eax
je 0x140080aeb
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x140080af3
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x18]
shr eax, 1
xor eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140080a8d
mov qword [rsp + 0x38], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x140080b75
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x140080b7d
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x20]
shr eax, 1
xor eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x50]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rsp + 0x50]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret