joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f9f0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows
Read pipe

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x128
lea rbp, [rsp + 0x80]
mov rsi, rdx
mov qword [rbp + 0x80], rcx
lea rcx, [rbp + 0x80]
mov rdx, rcx
call fcn.00746000
test rsi, rsi
je 0x40fa2d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x90]
xorps xmm0, xmm0
movaps xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], 0
mov dword [rbp + 0x40], 0x18
mov dword [rbp + 0x50], 1
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x78], 0
lea rcx, [rbp + 0x88]
lea rdx, [rbp + 0x78]
lea r8, [rbp + 0x40]
xor r9d, r9d
call fcn.00766030
test eax, eax
je 0x40fc48
xorps xmm0, xmm0
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
mov qword [rbp + 0x30], 0
movaps xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], 0
mov dword [rbp - 0x30], 0x68
mov dword [rbp + 0xc], 0x101
mov word [rbp + 0x10], 0
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x80]
test rax, rax
lea rdx, section..rodata
cmovne rdx, rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call fcn.00766038
test eax, eax
je 0x40fc4c
mov rcx, qword [rbp + 0x60]
mov edx, 0xffffffff
call fcn.00767118
mov rcx, qword [rbp + 0x60]
mov edx, 0xffffffff
call fcn.00766558
mov rcx, qword [rbp + 0x68]
call fcn.00765fd8
mov rcx, qword [rbp + 0x60]
call fcn.00765fd8
mov rcx, qword [rbp + 0x88]
lea rax, [rbp + 0xa4]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call fcn.007663e0
test eax, eax
je 0x40fc51
mov ebx, dword [rbp + 0xa4]
test ebx, ebx
je 0x40fc51
inc ebx
mov rcx, rbx
call fcn.00729500
mov rdi, rax
xor edx, edx
mov rcx, rdi
mov r8, rbx
call fcn.0072a3d0
mov rcx, qword [rbp + 0x88]
mov r8d, dword [rbp + 0xa4]
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x5c]
mov rdx, rdi
call fcn.00766418
test rsi, rsi
je 0x40fc3e
test eax, eax
je 0x40fc3e
mov qword [rbp + 0x90], 0
lea rcx, [rbp + 0x90]
mov rdx, rdi
call fcn.00754220
mov qword [rbp + 0x98], 0
lea rdx, [0x007680f6]
lea rcx, [rbp + 0x98]
call fcn.00754220
mov rcx, qword [rbp + 0x90]
mov rdx, qword [rbp + 0x98]
mov r8, rsi
call fcn.00409e00
lea rcx, [rbp + 0x98]
call fcn.007541c0
lea rcx, [rbp + 0x90]
call fcn.007541c0
mov rcx, rdi
call fcn.00729510
jmp 0x40fc51
xor esi, esi
jmp 0x40fc73
call fcn.007661d8
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x40fc62
call fcn.00765fd8
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x40fc70
call fcn.00765fd8
mov sil, 1
lea rcx, [rbp + 0x80]
call fcn.004202c0
mov eax, esi
add rsp, 0x128
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x411e00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
mov eax, 0x4050
call fcn.00729050
sub rsp, rax
lea rbp, [rsp + 0x80]
mov rsi, rcx
call fcn.007661b0
xor edi, edi
cmp eax, 0xffffffff
je 0x411f35
and eax, 0x410
cmp eax, 0x410
jne 0x411f35
call fcn.00766150
lea r14, [rbp + 0x3fc8]
mov edx, 0x20
mov rcx, rax
mov r8, r14
call fcn.00765f20
lea r8, [rbp - 0x3c]
lea rdx, [0x007684a6]
xor edi, edi
xor ecx, ecx
call fcn.00765f18
mov dword [rbp - 0x40], 1
mov dword [rbp - 0x34], 2
mov rcx, qword [rbp + 0x3fc8]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rbx, [rbp - 0x40]
xor edx, edx
mov r9d, 0x10
mov r8, rbx
call fcn.00765e80
mov rcx, qword [rbp + 0x3fc8]
call fcn.00765fd8
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2200000
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
xor r8d, r8d
xor r9d, r9d
mov rcx, rsi
call fcn.00766018
mov rsi, rax
cmp rsi, 0xffffffffffffffff
je 0x411f35
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0x4000
mov edx, 0x900a8
xor r8d, r8d
xor r9d, r9d
mov rcx, rsi
call fcn.00766078
mov edi, eax
mov rcx, rsi
call fcn.00765fd8
test edi, edi
setne al
cmp dword [rbp - 0x40], 0xa0000003
sete dil
and dil, al
mov eax, edi
add rsp, 0x4050
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret

Function at 0x411f50
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
lea rcx, [rbp - 0x30]
call sub.KERNEL32_GetNativeSystemInfo
movzx ecx, word [rbp - 0x30]
cmp ecx, 0xa
setb dl
mov eax, 0x240
shr eax, cl
and eax, 1
and al, dl
add rsp, 0x50
pop rbp
ret
Function at 0x41cfd0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x860
lea rbp, [rsp + 0x80]
mov r15, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rbp + 0x7c8], 0
lea rdx, [0x00768210]
lea rcx, [rbp + 0x7c8]
call fcn.00754220
mov qword [rbp - 0x40], 0
lea rdx, [0x007682d8]
lea rcx, [rbp - 0x40]
call fcn.00754490
lea rdx, [rbp - 0x40]
mov rcx, r15
call fcn.007549c0
lea rcx, [rbp - 0x40]
call fcn.007541c0
mov qword [rbp - 0x40], 0
lea rcx, [rbp - 0x40]
xor r8d, r8d
mov rdx, rsi
call fcn.007460e0
mov rcx, qword [rbp - 0x40]
test rcx, rcx
lea rsi, section..rodata
cmove rcx, rsi
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
mov edx, 0x40000000
xor r8d, r8d
xor r9d, r9d
call fcn.00766010
mov r12, rax
lea rcx, [rbp - 0x40]
call fcn.004202c0
cmp r12, 0xffffffffffffffff
jne 0x41d0b4
call fcn.007661d8
mov edi, eax
cmp edi, 0xe7
jne 0x41d1d9
mov qword [rbp + 0x7d8], 0
lea rcx, [rbp + 0x7d8]
xor r8d, r8d
mov rdx, rbx
call fcn.007460e0
mov rax, qword [rbp + 0x7d8]
test rax, rax
cmovne rsi, rax
lea rdi, [rbp - 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.0072abf0
lea rcx, [rbp + 0x7d8]
call fcn.004202c0
mov rcx, rdi
call fcn.0072ab10
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x7c4]
mov rcx, r12
mov rdx, rdi
mov r8d, eax
call fcn.00766570
mov sil, 1
test eax, eax
jne 0x41d1b1
call fcn.007661d8
mov esi, eax
mov qword [rbp + 0x7d0], 0
lea rcx, [rbp + 0x7d0]
call fcn.007541b0
lea rcx, [rbp + 0x7d0]
mov edx, esi
call fcn.00476e40
mov qword [rbp + 0x7d8], 0
lea rcx, [rbp + 0x7d8]
call fcn.007541b0
lea rdx, [0x00768910]
lea rcx, [rbp + 0x7d8]
lea r8, [rbp + 0x7d0]
call fcn.00755950
lea rdx, [rbp + 0x7d8]
mov rcx, r15
call fcn.007549c0
lea rcx, [rbp + 0x7d8]
call fcn.007541c0
lea rcx, [rbp + 0x7d0]
call fcn.007541c0
xor esi, esi
mov rcx, r12
call fcn.00765fd8
lea rcx, [rbp + 0x7c8]
call fcn.007541c0
mov eax, esi
add rsp, 0x860
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
mov qword [rbp + 0x7d8], 0
lea rcx, [rbp + 0x7d8]
call fcn.007541b0
lea rcx, [rbp + 0x7d8]
mov edx, edi
call fcn.00476e40
mov qword [rbp - 0x40], 0
lea rcx, [rbp - 0x40]
call fcn.007541b0
lea rdx, [0x007688ce]
lea rcx, [rbp - 0x40]
lea r8, [rbp + 0x7d8]
call fcn.00755950
lea rdx, [rbp - 0x40]
mov rcx, r15
call fcn.007549c0
lea rcx, [rbp - 0x40]
call fcn.007541c0
lea rcx, [rbp + 0x7d8]
call fcn.007541c0
xor esi, esi
jmp 0x41d1b9
Function at 0x41e820
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov r14, r9
mov r13, r8
mov r12, rdx
mov r15, rcx
mov qword [rbp], 0
lea rdx, [0x007682d8]
mov rbx, rbp
mov rcx, rbx
call fcn.00754490
mov rcx, r14
mov rdx, rbx
call fcn.007549c0
mov rcx, rbp
call fcn.007541c0
mov qword [rbp], 0
lea rbx, [0x007682d8]
mov rsi, rbp
mov rcx, rsi
mov rdx, rbx
call fcn.00754490
mov rcx, r13
mov rdx, rsi
call fcn.007549c0
mov rcx, rbp
call fcn.007541c0
mov rax, qword [r12]
test rax, rax
cmovne rbx, rax
je 0x41e8b0
mov eax, dword [rax - 4]
jmp 0x41e8b2
xor eax, eax
lea eax, [rax + rax + 1]
mov dword [rbp - 0x10], eax
mov rcx, qword [r15]
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor edx, edx
mov r8d, 1
xor r9d, r9d
call fcn.00765ec0
test eax, eax
je 0x41e94c
mov edi, dword [rbp - 0x10]
mov qword [rbp], 0
lea rdx, [0x007682d8]
mov rcx, rbp
call fcn.00754490
mov rdx, rbp
mov rcx, r13
call fcn.007549c0
mov rcx, rbp
call fcn.007541c0
mov r15b, 1
test edi, edi
jle 0x41eae8
lea rsi, [0x00768270]
nop word cs:[rax + rax]
movzx r8d, byte [rbx]
mov rcx, r13
mov rdx, rsi
call fcn.00755260
inc rbx
dec rdi
jne 0x41e930
jmp 0x41eae8
call fcn.007661d8
mov esi, eax
mov qword [rbp - 8], 0
lea rcx, [rbp - 8]
call fcn.007541b0
lea rcx, [rbp - 8]
mov edx, esi
call fcn.00476e40
mov qword [rbp], 0
mov rcx, rbp
call fcn.007541b0
lea rdx, [0x00768d34]
mov rcx, rbp
lea r8, [rbp - 8]
call fcn.00755950
mov rdx, rbp
mov rcx, r14
call fcn.007549c0
mov rcx, rbp
call fcn.007541c0
lea rcx, [rbp - 8]
call fcn.007541c0
jmp 0x41eae5
xor r15d, r15d
mov eax, r15d
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x41eb60
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov r14, r9
mov rbx, r8
mov r15, rcx
mov qword [rbp - 0x10], rdx
lea rcx, [rbp - 0x10]
mov rdx, rcx
call fcn.00746000
mov qword [rbp], 0
lea rdx, [0x007682d8]
mov rcx, rbp
call fcn.00754490
mov rdx, rbp
mov rcx, r14
call fcn.007549c0
mov rcx, rbp
call fcn.007541c0
mov qword [rbp], 0
lea rdx, [0x007682d8]
mov rcx, rbp
call fcn.00754490
mov rdx, rbp
mov rcx, rbx
call fcn.007549c0
mov rcx, rbp
call fcn.007541c0
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x41ebec
mov eax, dword [rax - 4]
jmp 0x41ebee
xor eax, eax
mov esi, eax
shr esi, 0x1f
add esi, eax
sar esi, 1
mov dword [rbp - 0x14], esi
add esi, 2
mov rcx, rsi
call fcn.00729500
mov rdi, rax
test rdi, rdi
je 0x41eca0
xor edx, edx
mov rcx, rdi
mov r8, rsi
call fcn.0072a3d0
mov qword [rbp], 0
mov rcx, rbp
lea rdx, [rbp - 0x10]
call fcn.00591f90
mov rcx, rbp
mov rdx, rdi
call fcn.0041e6e0
mov rcx, rbp
call fcn.007541c0
mov rcx, qword [r15]
lea rax, [rbp - 0x14]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor edx, edx
mov r8d, 1
xor r9d, r9d
call fcn.00765ea0
test eax, eax
je 0x41eccc
mov qword [rbp], 0
mov rcx, rbp
mov rdx, rdi
call fcn.00754490
mov rdx, rbp
mov rcx, rbx
call fcn.007549c0
mov rcx, rbp
call fcn.007541c0
mov rcx, rdi
call fcn.00729510
mov sil, 1
jmp 0x41ed38
mov qword [rbp], 0
lea rdx, [0x00768dec]
mov rcx, rbp
call fcn.00754490
mov rdx, rbp
mov rcx, r14
call fcn.007549c0
mov rcx, rbp
call fcn.007541c0
jmp 0x41ed36
call fcn.007661d8
mov esi, eax
mov qword [rbp - 8], 0
lea rcx, [rbp - 8]
call fcn.007541b0
lea rcx, [rbp - 8]
mov edx, esi
call fcn.00476e40
mov qword [rbp], 0
mov rcx, rbp
call fcn.007541b0
lea rdx, [0x00768e3e]
mov rcx, rbp
lea r8, [rbp - 8]
call fcn.00755950
mov rdx, rbp
mov rcx, r14
call fcn.007549c0
mov rcx, rbp
call fcn.007541c0
lea rcx, [rbp - 8]
call fcn.007541c0
mov rcx, rdi
call fcn.00729510
xor esi, esi
lea rcx, [rbp - 0x10]
call fcn.004202c0
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
Function at 0x436d80
Capabilities:
Delete file

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x450
lea rbp, [rsp + 0x80]
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rdi
lea r8, [0x0076ba20]
lea rsi, [rbp + 0x1c0]
mov edx, 0x207
mov rcx, rsi
mov r9, rbx
call fcn.0072fb40
mov qword [rsp + 0x20], rdi
lea r8, [0x0076ba2a]
lea rdi, [rbp - 0x50]
mov edx, 0x207
mov rcx, rdi
mov r9, rbx
call fcn.0072fb40
mov dword [r14], 0
mov rcx, rsi
call fcn.00436e60
mov dword [rbp + 0x3cc], 0
lea r8, [rbp + 0x3cc]
mov rcx, rsi
mov rdx, rdi
call fcn.00455580
mov edi, 1
cmp eax, 1
je 0x436e21
mov eax, dword [rbp + 0x3cc]
mov dword [r14], eax
xor edi, edi
lea rcx, [rbp + 0x1c0]
call fcn.00766068
test edi, edi
je 0x436e44
test eax, eax
jne 0x436e44
call fcn.007661d8
add eax, 0x7530
mov dword [r14], eax
xor edi, edi
mov eax, edi
add rsp, 0x450
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x436e60
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xf8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x60], 0
call fcn.00766240
mov dword [rbp + 0x6c], 0
mov ecx, 0x4c
call fcn.00766e08
mov dword [rbp + 0x70], eax
mov ecx, 0x4d
call fcn.00766e08
mov dword [rbp + 0x74], eax
mov qword [rbp + 0x2a], 0
mov dword [rbp + 0x5c], 0
mov qword [rbp + 0x54], 0
mov qword [rbp + 0x4c], 0
mov dword [rbp + 0x18], 0
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
xor ecx, ecx
call fcn.00766cf0
mov r15, rax
mov edx, 7
mov rcx, r15
call fcn.007668a0
mov rdi, rax
lea r8, [rbp - 0x30]
mov edx, 0x20
mov rcx, rdi
call fcn.007668f0
mov r14d, dword [rbp - 0x2c]
mov esi, dword [rbp - 0x28]
mov rcx, rdi
call fcn.00766830
mov word [rbp + 0x28], 0x4d42
mov dword [rbp + 0x32], 0x36
mov dword [rbp + 0x38], 0x28
mov qword [rbp + 0x44], 0x180001
mov dword [rbp + 0x3c], r14d
mov dword [rbp + 0x40], esi
mov rax, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x58]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x38]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x48]
mov qword [rbp], rax
lea eax, [r14 + r14*2]
lea ebx, [rax*8 + 0x1f]
and ebx, 0xffffffe0
sar ebx, 3
imul ebx, esi
mov rcx, r15
call fcn.007667c8
mov r12, rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, [rbp - 0x10]
lea r9, [rbp + 0x60]
xor r8d, r8d
mov rcx, r15
call fcn.007667d8
mov r13, rax
mov rcx, r12
mov rdx, r13
call fcn.007669e8
mov eax, dword [rbp + 0x74]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x70]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x40], str.9Ax_H
xor edx, edx
xor r8d, r8d
mov rcx, r12
mov r9d, r14d
call fcn.00766790
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
mov rcx, qword [rbp + 0x20]
call fcn.00766010
mov rsi, rax
mov qword [rsp + 0x20], 0
lea rdx, [rbp + 0x28]
lea rdi, [rbp + 0x6c]
mov r8d, 0xe
mov rcx, rsi
mov r9, rdi
call fcn.00766570
mov qword [rsp + 0x20], 0
lea rdx, [rbp + 0x38]
mov r8d, 0x28
mov rcx, rsi
mov r9, rdi
call fcn.00766570
mov rdx, qword [rbp + 0x60]
mov qword [rsp + 0x20], 0
mov rcx, rsi
mov r8d, ebx
mov r9, rdi
call fcn.00766570
mov rcx, rsi
call fcn.00765fd8
mov rcx, r12
call fcn.00766820
xor ecx, ecx
mov rdx, r15
call fcn.00766fc0
mov rcx, r13
call fcn.00766830
mov eax, 1
add rsp, 0xf8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x4467b0
Capabilities:
Get session user name

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x268
lea rbp, [rsp + 0x80]
mov rdi, rcx
mov rsi, rdx
mov qword [rbp + 0x1b8], 0
lea rdx, [0x0076f6f1]
lea rcx, [rbp + 0x1b8]
call fcn.00754220
mov dword [rbp + 0x1a4], pe_nt_image_headers64
mov qword [rsi], 0
lea rdx, [0x0076eb4a]
mov rcx, rsi
call fcn.00754490
lea rcx, [rbp - 0x60]
lea rdx, [rbp + 0x1a4]
call fcn.00765ef8
test eax, eax
je 0x446852
mov qword [rbp + 0x1b0], 0
lea rcx, [rbp + 0x1b0]
lea rdx, [rbp - 0x60]
call fcn.00754490
lea rdx, [rbp + 0x1b0]
mov rcx, rsi
call fcn.007549c0
lea rcx, [rbp + 0x1b0]
jmp 0x44688d
mov qword [rbp + 0x1a8], 0
lea rdx, [0x0076eb5a]
lea rcx, [rbp + 0x1a8]
call fcn.00754490
mov r8, qword [rbp + 0x1a8]
lea rdx, [0x0076f890]
mov rcx, rdi
call fcn.00442b80
lea rcx, [rbp + 0x1a8]
call fcn.007541c0
lea rcx, [rbp + 0x1b8]
call fcn.007541c0
mov rax, rsi
add rsp, 0x268
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret

Function at 0x4577d0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x838
lea rbp, [rsp + 0x80]
mov rsi, rdx
mov rdi, rcx
lea rbx, [rbp - 0x50]
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call fcn.0072a3d0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x7b4]
mov r8d, 0x7ff
mov rcx, rsi
mov rdx, rbx
call fcn.00766418
test eax, eax
je 0x457848
mov qword [rdi + 0x48], rbx
mov rcx, rsi
call fcn.00766100
mov rcx, rsi
call fcn.00766080
mov rcx, rsi
call fcn.00765fd8
mov rcx, rdi
call fcn.004564f0
jmp 0x457860
mov rcx, rsi
call fcn.00766100
mov rcx, rsi
call fcn.00766080
mov rcx, rsi
call fcn.00765fd8
nop
add rsp, 0x838
pop rbx
pop rdi
pop rsi
pop rbp
ret

Function at 0x45a4e0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
cmp byte [0x01084d00], 0
je 0x45a598
mov ecx, 0xfffffff4
call fcn.00766258
mov rdi, rax
mov rcx, rsi
call fcn.00463230
mov rcx, rdi
mov rdx, rsi
mov r8d, eax
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call fcn.00766570
mov ecx, 0xfffffff4
call fcn.00766258
mov rsi, rax
mov rcx, qword [0x0096e520]
call fcn.00463230
mov rcx, rsi
mov rdx, qword [0x0096e520]
mov r8d, eax
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call fcn.00766570
mov ecx, 0xfffffff4
call fcn.00766258
mov rsi, rax
mov rcx, rbx
call fcn.00463230
mov rcx, rsi
mov rdx, rbx
mov r8d, eax
lea r9, [rbp + 0x3c]
mov qword [rsp + 0x20], 0
call fcn.00766570
jmp 0x45a5ab
xor ecx, ecx
mov rdx, rbx
mov r8, rsi
mov r9d, 0x2010
call sub.USER32_MessageBoxA
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x4607c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov ebx, edx
mov rax, qword [rbp + 0x28]
mov r13d, dword [rax + 0x18]
mov rcx, qword [rbp + 0x28]
call fcn.00460e10
mov esi, eax
test sil, sil
jne 0x460975
test ebx, ebx
je 0x460975
xor edi, edi
test r13d, r13d
jle 0x4608a1
call fcn.007662a8
mov r14d, eax
mov dword [rbp + 0x3c], 0
test r13d, r13d
jle 0x460885
cmp ebx, 0xffffffff
je 0x460833
call fcn.007662a8
sub eax, r14d
cmp eax, ebx
jb 0x460833
xor esi, esi
jmp 0x460975
mov rax, qword [rbp + 0x28]
cmp dword [rax], 1
jg 0x460885
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0
jne 0x460873
xor eax, eax
mov ecx, 1
mov rdx, qword [rbp + 0x28]
lock cmpxchg dword [rdx], ecx
test eax, eax
jne 0x460873
call fcn.00766168
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov sil, 1
jmp 0x460975
lea rcx, [rbp + 0x3c]
call fcn.00460360
sub r13d, 1
test r13d, r13d
jg 0x46081a
nop
cmp ebx, 0xffffffff
je 0x4608a1
call fcn.007662a8
sub eax, r14d
cmp eax, ebx
jb 0x46089f
xor esi, esi
jmp 0x460975
sub ebx, eax
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x4607dd
mov edx, ecx
add edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x4608a1
nop
call fcn.007662a8
mov r14d, eax
mov rcx, qword [rbp + 0x28]
call fcn.00460a20
xor ecx, ecx
mov rdx, rax
mov r8d, ebx
mov rax, qword [0x010855f8]
call qword [rax + 0x20]
test eax, eax
sete sil
cmp ebx, 0xffffffff
je 0x460904
call fcn.007662a8
sub eax, r14d
cmp eax, ebx
jae 0x460902
sub ebx, eax
jmp 0x460904
xor ebx, ebx
test sil, sil
je 0x460936
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov eax, ecx
test eax, 1
jne 0x460933
mov edx, ecx
sub edx, 2
or edx, 1
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x460909
mov dil, 1
nop
jmp 0x460953
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov edx, ecx
sub edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x460936
mov dil, 1
test dil, dil
je 0x4608c4
nop
test sil, sil
je 0x460975
call fcn.00766168
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov eax, esi
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop r13
pop r14
pop rbp
ret
Function at 0x462420
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [0x01084d00], 0
je 0x4624ba
cmp word [0x01085010], 0xd7b2
jne 0x462453
cmp dword [0x01085018], 0
jbe 0x462453
lea rcx, [0x01085008]
call qword [0x01085030]
mov ecx, 0xfffffff5
call fcn.00766258
mov rcx, rax
lea rdx, str.Runtime_error_____at_0000000000000000
mov r8d, 0x25
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call fcn.00766570
mov ecx, 0xfffffff5
call fcn.00766258
mov rbx, rax
lea rcx, [0x004624f0]
call fcn.004639e0
mov rcx, rbx
mov rdx, rax
mov r8d, 2
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call fcn.00766570
jmp 0x4624db
cmp byte [0x0096e420], 0
jne 0x4624db
xor ecx, ecx
lea rdx, str.Runtime_error_____at_0000000000000000
lea r8, [0x009701b0]
xor r9, r9
call sub.USER32_MessageBoxA
add rsp, 0x40
pop rbx
ret

Function at 0x4627a0
Capabilities:
Create thread

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x48
mov qword [rsp + 0x38], rcx
mov ebx, edx
mov rsi, r8
mov rdi, r9
cmp qword [0x0096e430], 0
je 0x4627d1
mov rcx, rsi
mov rdx, rdi
call qword [0x0096e430]
mov r13, rax
jmp 0x4627e6
mov ecx, 0x10
call fcn.0045b4e0
mov r13, rax
mov qword [r13], rsi
mov qword [r13 + 8], rdi
mov byte [0x01084d01], 1
mov rcx, qword [rsp + 0x38]
mov edx, ebx
lea r8, [0x00462730]
mov r9, r13
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x28], rax
call fcn.00766050
mov rbx, rax
test rbx, rbx
jne 0x46282b
mov rcx, r13
call fcn.0045b510
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop r13
ret

Function at 0x468380
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
lea rcx, [0x01089b60]
call fcn.00766340
mov word [0x01089b88], 0x7f
call fcn.007662d0
and eax, 0xff
cmp eax, 6
setae al
mov byte [0x01089b58], al
cmp byte [0x01089b58], 0
je 0x46841f
lea rcx, [0x00468424]
call fcn.00766218
mov rcx, rax
lea rdx, [0x0046843e]
call fcn.00766238
mov qword [0x01089b40], rax
lea rcx, [0x00468424]
call fcn.00766218
mov rcx, rax
lea rdx, [0x0046845c]
call fcn.00766238
mov qword [0x01089b48], rax
lea rcx, [0x00468424]
call fcn.00766218
mov rcx, rax
lea rdx, [0x0046847a]
call fcn.00766238
mov qword [0x01089b50], rax
add rsp, 0x28
ret
Function at 0x4686c0
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
sub rsp, 0x1d8
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rdx
mov word [rbp + 0x56], r8w
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
nop
mov rcx, qword [rbp + 0x48]
call fcn.004629a0
movzx rax, word [rbp + 0x56]
cmp word [0x00970230], ax
ja 0x468796
movzx rax, word [rbp + 0x56]
cmp ax, word [0x00970630]
mov word [rbp + 0x56], ax
ja 0x468796
mov eax, 0x40
xor ecx, ecx
cmp eax, ecx
jb 0x468795
mov edx, eax
add edx, ecx
shr edx, 1
mov r8d, edx
lea r9, [0x00970230]
mov r10, r8
add r10, r10
movzx r11, word [rbp + 0x56]
cmp word [r9 + r10*8], r11w
jbe 0x468754
mov eax, edx
sub eax, 1
jmp 0x468791
lea rcx, [0x00970230]
mov r9, r8
add r9, r9
movzx r10, word [rbp + 0x56]
cmp word [rcx + r9*8], r10w
jae 0x468774
mov ecx, edx
add ecx, 1
jmp 0x468791
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
lea rax, [0x00970238]
add r8, r8
mov r8, qword [rax + r8*8]
call fcn.00468570
jmp 0x468795
cmp eax, ecx
jae 0x46872a
nop
mov rax, qword [rbp + 0x48]
cmp qword [rax], 0
jne 0x46886b
movzx rcx, word [rbp + 0x56]
movzx ecx, cx
mov edx, 2
call fcn.00766358
test eax, eax
je 0x46886b
movzx rbx, word [rbp + 0x56]
movzx ebx, bx
mov ecx, ebx
mov edx, 0x59
lea r8, [rbp + 0x126]
mov r9d, 0x55
call fcn.007661f0
mov ecx, ebx
mov edx, 0x5a
lea r8, [rbp + 0x7c]
mov r9d, 0x55
call fcn.007661f0
lea rcx, [rbp + 0x68]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.00464550
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x7c]
mov r8d, 0x55
call fcn.00464550
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.00464550
mov rcx, qword [rbp + 0x48]
mov edx, 5
mov r8, qword [rbp + 0x68]
lea r9, [0x004688b8]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, [0x004688c8]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.004649c0
nop
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.00462a80
mov rax, qword [rbp + 0x48]
lea rsp, [rbp + 0x1d8]
pop rbx
pop rbp
ret