joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140141d68
Capabilities:
Encode data using xor

Disassembly:
xor edi, edi
jmp 0x140144bf7
test rdx, rdx
lea rsp, [rsp + 8]
je 0x14012b195
mov eax, 0xb13b8a30
sub rax, rax
je 0x1401476b0
mov rax, qword [rbp + riz]
mov edx, 0x2f2bde07
xor rdx, rdx
xor dx, dx
adc rdx, qword [rbp + rdx*2 + 8]
call fcn.14015110c
mov ebp, 0x8cb431a9
mov edi, dword [r8]
sar bpl, 0x84
and rbp, 0x34899339
mov ecx, 0x543de631
mov ebp, dword [r8 + rbp - 0x4801134]
shl ecx, cl
shl cx, 0x28
adc cl, byte [r8 + riz + 8]
add r8, 6
call fcn.14015f3ad
push r11
lea r11, [rax + rax*8 - 0x24e93174]
lea r11, [0x14012b2f8]
movzx eax, byte [rbp + riz]
xor eax, edi
push 0xffffffffc19a640a
and eax, 0xff
xor qword [rsp], 0x6080cd9b
mov eax, dword [r11 + rax*4]
shr edi, 8
xor edi, eax
inc rbp
neg word [rsp + 2]
sal dword [rsp + 2], 0x90
xor edi, 0xa7130a30
inc dword [rsp + 1]
dec rdx
lea rsp, [rsp + 8]
jne 0x1401476c1
call fcn.140142f2f
mov r8d, 0xe50060be
jmp 0x14014e403
sub rdi, 1
movzx r8d, byte [rdi]
mov r9d, 0xdcb86826
sal r9w, 0xcc
sub r9, r9
xor r8b, r10b
shl r9w, 0xea
adc r8b, 0xac
not r8b
dec r9
jp 0x140136db4
Function at 0x140015590
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14019e0c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov r14, rdx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
and dword [rsp + 0x20], 0
lea rcx, str.HTTPREAD
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenA]
xor r9d, r9d
mov rdi, rax
test rax, rax
jne 0x140015601
lea r8, [0x1400ff144]
xor ecx, ecx
lea rdx, [0x1400ff148]
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140015797
and qword [rsp + 0x28], 0
xor r8d, r8d
mov rdx, rbx
mov dword [rsp + 0x20], 0x80000002
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
jne 0x1400156c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x30]
call fcn.1400025b0
cmp qword [rbp - 0x18], 0xf
lea rdx, [rbp - 0x30]
lea r8, [0x1400ff144]
cmova rdx, qword [rbp - 0x30]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor r9d, r9d
lea r8, [0x1400ff144]
lea rdx, [0x1400ff160]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140015797
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400156b7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400157ba
call fcn.14009e720
jmp 0x140015797
and dword [rbp - 0x40], 0
lea r9, [rbp - 0x38]
and qword [rsp + 0x20], 0
lea r8, [rbp - 0x40]
mov edx, 0x20000005
mov dword [rbp - 0x38], 4
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x140015707
lea rdx, [0x1400ff178]
lea r8, [0x1400ff144]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140015785
mov ecx, dword [rbp - 0x40]
call fcn.1400a964c
mov rsi, rax
test rax, rax
jne 0x140015720
lea rdx, [0x1400ff190]
jmp 0x1400156f3
mov r8d, dword [rbp - 0x40]
lea r9, [rbp - 0x3c]
and dword [rbp - 0x3c], 0
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140015764
mov eax, dword [rbp - 0x40]
cmp dword [rbp - 0x3c], eax
jne 0x140015764
mov rcx, rbx
mov qword [r14], rax
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rax, rsi
jmp 0x140015799
xor r9d, r9d
lea r8, [0x1400ff144]
lea rdx, [0x1400ff1a8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rsi
call fcn.1400a8d44
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14009e700
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400a95d4
int3
Function at 0x14001b8c8
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14001b8e8
xor eax, eax
jmp 0x14001b9ce
cmp qword [rcx + 0x68], 0
je 0x14001b8f9
call fcn.14001c468
jmp 0x14001b9ce
mov rax, qword [rcx + 0x38]
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14001b910
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14001b912
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14001b944
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1400ce770
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14001b9c8
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14001b97b
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14001b9a4
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1400a9168
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x14001b9c8
cmp rdi, rbx
ja 0x14001b982
test rdi, rdi
je 0x14001b9c8
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call fcn.1400a9168
sub rdi, rax
sub rbp, rdi
mov rax, rbp
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140021db8
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x140021e12
mov r11b, 0x23
lea rbx, [0x140181a10]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x140021dfc
cmp rdx, 2
jb 0x140021dfc
cmp byte [r10], r11b
jne 0x140021dfc
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rdi
shr r9d, 8
xor r9d, dword [rbx + rcx*4]
test rdx, rdx
jne 0x140021dda
jmp 0x140021e53
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x140021e53
mov r11b, 0x23
lea rbx, [0x140181a10]
cmp dl, r11b
jne 0x140021e37
cmp byte [r10], r11b
jne 0x140021e37
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rbx + rcx*4]
test dl, dl
jne 0x140021e25
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x140021f88
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
test r8, r8
je 0x140021fa8
and qword [r8], 0
lea rdx, [0x1400feaec]
call fcn.140021e64
mov rbx, rax
test rax, rax
je 0x14002208f
mov rcx, rax
call fcn.1400a5f04
mov ebp, eax
cmp eax, 0xffffffff
je 0x140022087
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1400a6d28
test eax, eax
jne 0x140022087
mov rcx, rbx
call fcn.1400a5f04
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140022087
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.1400a6d28
test eax, eax
jne 0x140022087
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x140022087
mov rax, qword [0x14027bfe0]
test rax, rax
je 0x140022029
inc dword [rax + 0xf4]
mov rcx, rbp
call fcn.1400a964c
mov rdi, rax
test rax, rax
je 0x140022087
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call fcn.1400a9168
mov rcx, rbx
cmp rax, rbp
je 0x140022075
call fcn.1400a6760
mov rax, qword [0x14027bfe0]
test rax, rax
je 0x14002206b
dec dword [rax + 0xf4]
mov rcx, rdi
call fcn.1400a8d44
jmp 0x14002208f
call fcn.1400a6760
test rsi, rsi
je 0x140022082
mov qword [rsi], rbp
mov rax, rdi
jmp 0x140022091
mov rcx, rbx
call fcn.1400a6760
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140024668
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14019e0c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsxd r8, dword [rcx + 0xe8]
mov r10d, 4
mov rax, qword [rcx + 0xf0]
mov r9d, r10d
mov dword [rsp + 0x20], edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x20]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x140181a10]
xor ebx, dword [rax + rcx*4]
sub r9, 1
jne 0x1400246a4
mov rcx, qword [0x14027bfe0]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x1400246e2
movsxd r8, edx
mov ecx, ebx
mov edx, r10d
call fcn.1400343b0
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14009e700
add rsp, 0x30
pop rbx
ret
Function at 0x14007b180
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x13d0
call fcn.14009f470
sub rsp, rax
mov rax, qword [0x14019e0c0]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov edi, edx
mov ebx, ecx
call fcn.14007f770
or r9d, 0xffffffff
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x13b4], r9d
mov ecx, 0x270
mov r8d, 1
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, r8d
mov dword [rsp + r8*4 + 0x34], eax
inc r8
cmp r8, rcx
jb 0x14007b1d3
mov ebp, 0x80000000
mov dword [rsp + 0x30], ecx
cmp ebx, ebp
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
lea eax, [rbx - 0x80000000]
lea esi, [rbx + rbp]
cmovae esi, eax
lea ebx, [rdi + rbp]
cmp edi, ebp
lea eax, [rdi - 0x80000000]
cmovae ebx, eax
sub ebx, esi
cmp ebx, r9d
jne 0x14007b234
call fcn.14007c928
mov ecx, eax
jmp 0x14007b26d
inc ebx
mov edi, ebx
call fcn.14007c928
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jae 0x14007b269
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x14007b269
lea rcx, [rsp + 0x20]
call fcn.14007c928
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x14007b255
shr rcx, 0x20
lea edx, [rsi + rcx]
cmp edx, ebp
lea ecx, [rdx - 0x80000000]
lea eax, [rdx + rbp]
cmovae eax, ecx
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.14009e700
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14007b8e4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x14019e0c0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.1400ceeb0
xor r9d, r9d
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 0x24]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea rax, [rsp + 0x20]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x14007b93a
cmp rbx, qword [rdi + 0x18]
ja 0x14007b970
cmp qword [rdi + 0x18], 0xf
mov rsi, rdi
jbe 0x14007b956
mov rsi, qword [rdi]
mov r8, rbx
mov qword [rdi + 0x10], rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400ce770
mov byte [rsi + rbx], 0
jmp 0x14007b980
lea r9, [rsp + 0x20]
mov rdx, rbx
mov rcx, rdi
call fcn.14001e830
cmp qword [rdi + 0x10], 0
setne al
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14009e700
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14007c928
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r9, qword [rcx]
mov ebx, 0x270
mov ecx, dword [r9]
cmp ecx, ebx
jne 0x14007c993
lea r8, [r9 + 8]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, r10d
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub rbx, 1
jne 0x14007c956
mov ecx, dword [r9]
jmp 0x14007ca69
cmp ecx, 0x4e0
jb 0x14007ca69
lea rbx, [r9 + 0x9c4]
mov esi, 0xe3
mov edi, dword [rbx]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov eax, edi
mov r8, rbx
mov edx, eax
add rbx, 4
mov edi, dword [rbx]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rsi, 1
jne 0x14007c9b9
lea rbx, [r9 + 0xd50]
mov esi, 0x18c
mov edi, dword [rbx]
mov eax, edi
mov r8, rbx
mov edx, eax
add rbx, 4
mov edi, dword [rbx]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rsi, 1
jne 0x14007c9fe
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
ret

Function at 0x14007cab8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, [0x1400d4920]
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14007caf2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14007caf7
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14007cb40
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400d4820]
cmp byte [rcx + rax], 0
je 0x14007cb40
dec r8
sub rdx, 1
jne 0x14007cb26
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140095570
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x140082006
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140081fe9
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x140081fd4

Function at 0x14009f660
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14009f6aa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14009f6aa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14009f6aa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14009f6aa
cmp dword [rcx + 0x84], 0xe
jbe 0x14009f6aa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14009f6ac
xor al, al
add rsp, 0x28
ret

Function at 0x1400a5868
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 0x1400a56d3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a56d3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a56d3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a56d3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a56d3
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a56d3
cmp dword [rcx + 0xf8], 0
je 0x1400a56d3
mov ecx, ebx
call fcn.1400a5784
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.1400a5560
nop
cmp dword [rbp + 0x20], 0
je 0x1400a5721
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400a572c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400a5664
Function at 0x1400a5c1c
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.14009f470
sub rsp, rax
mov rax, qword [0x14019e0c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400ba5e4
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400a5c6b
mov rax, rbp
jmp 0x1400a5d73
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 + 0x27b820]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400ba874
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x27b820]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400a5d6f
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 0x1400a5d6f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400ba874
test rax, rax
js 0x1400a5d6f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400a5d6f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400a5d61
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400a5d61
cmp byte [rcx], 0xd
jne 0x1400a5d47
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400a5d56
cmp byte [rcx + 1], 0xa
jne 0x1400a5d56
inc rcx
jmp 0x1400a5d56
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x19e490]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400a5d29
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400a5d73
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14009e700
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 0x1400a6930
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1400a6967
call fcn.1400a76b8
mov dword [rax], 0x16
call fcn.1400a95b4
xor eax, eax
jmp 0x1400a69f5
mov rdx, r9
mov rcx, r8
call fcn.1400a68cc
mov rbx, rax
test rax, rax
je 0x1400a69f2
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400a67f8]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400a69df
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400a762c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400a69c6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400a69d5
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400bcc8c
jmp 0x1400a69f2
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400a69ef
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400b3e18
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov r14, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.1400ae9c8
mov rax, qword [rbp - 0x58]
mov edi, 0xfde9
cmp dword [rax + 0xc], edi
jne 0x1400b3e63
xor ebx, ebx
cmp byte [rbp - 0x48], bl
je 0x1400b3e97
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400b3e97
call fcn.1400bd4a8
xor ebx, ebx
test eax, eax
jne 0x1400b3e85
cmp byte [rbp - 0x48], bl
je 0x1400b3e7e
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, 1
jmp 0x1400b3e97
cmp byte [rbp - 0x48], bl
je 0x1400b3e95
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, ebx
mov r9d, edi
mov qword [rbp - 0x30], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x28], rbx
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x20], rbx
mov rcx, rsi
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
mov byte [rbp - 8], bl
call fcn.1400b3c9c
mov esi, eax
test eax, eax
je 0x1400b3ed3
call fcn.1400a76b8
or edi, 0xffffffff
mov dword [rax], esi
jmp 0x1400b3f2c
mov r9d, edi
mov qword [rbp - 0x60], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x58], rbx
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x50], rbx
mov rcx, r14
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x38], bl
call fcn.1400b3c9c
mov edi, eax
test eax, eax
je 0x1400b3f0f
call fcn.1400a76b8
mov dword [rax], edi
or edi, 0xffffffff
jmp 0x1400b3f1e
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x20]
call fcn.1400c1a68
mov edi, eax
cmp byte [rbp - 0x38], bl
je 0x1400b3f2c
mov rcx, qword [rbp - 0x50]
call fcn.1400bcc8c
cmp byte [rbp - 8], bl
je 0x1400b3f3a
mov rcx, qword [rbp - 0x20]
call fcn.1400bcc8c
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400baff8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14027b820]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400bb04f
cmp word [rdx], r13w
jne 0x1400bb04f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400bb054
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400bb179
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400bb19a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400bb08d
mov rdx, r9
mov word [rbx], cx
jmp 0x1400bb0b4
cmp r9, r8
jae 0x1400bb0c4
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400bb06e
jmp 0x1400bb179
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400bb16e
cmp dword [rsp + 0x80], esi
je 0x1400bb16e
lea r8, [0x14027b820]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400bb146
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400bb116
mov word [rbx], r13w
jmp 0x1400bb176
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1400bb123
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400bb176
cmp word [rsp + 0x70], r13w
jne 0x1400bb153
cmp rbx, r14
je 0x1400bb110
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400ba87c
cmp word [rsp + 0x70], r13w
je 0x1400bb179
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14027b820]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400bb173
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400bb179
Function at 0x1400bbd5c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400bbd72
mov al, 1
jmp 0x1400bbdd2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400bbd83
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400bbdd0
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400c4d74
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400bbdd0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400bbdd0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400bbdd0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400bbdd2
xor al, al
add rsp, 0x20
pop rbx
ret