joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013594
Capabilities:
Create thread
Hide graphical window

Disassembly:
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14000e8fc]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsp + 0xa0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x88], 0
lea rax, [0x14000f2e4]
mov qword [rsp + 0x78], rax
lea rax, [0x1400476f8]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x70], 3
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x14001364c
lea rdx, str._n_n_FireFox
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001cf4
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x60], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x80000000
xor r8d, r8d
lea rdx, str.FireFox_29.1.5
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x14006ce30], rax
mov edx, 5
mov rcx, qword [0x14006ce30]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [0x1400476e8]
mov rcx, qword [0x14006ce30]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [0x14006ce30]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x14006ce30]
call qword [sym.imp.USER32.dll_UpdateWindow]
add rsp, 0xc0
pop rdi
ret
Function at 0x140013720
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x88
mov rax, qword [0x14006bf00]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea rdx, [0x14006c4a8]
mov ecx, 0x20
call sub.d3d9.dll_Direct3DCreate9Ex
test eax, eax
jge 0x140013756
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov r8d, 0x40
xor edx, edx
lea rcx, [0x14006c460]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x14006c2bc]
mov dword [0x14006c460], eax
mov eax, dword [0x14006c2c0]
mov dword [0x14006c464], eax
mov dword [0x14006c468], 0x15
mov dword [0x14006c474], 0
mov dword [0x14006c490], 0x50
mov dword [0x14006c478], 1
mov dword [0x14006c48c], 1
mov rax, qword [0x14006ce30]
mov qword [0x14006c480], rax
mov dword [0x14006c488], 1
mov rax, qword [0x14006c4a8]
mov rax, qword [rax]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [0x14006ce38]
mov qword [rsp + 0x30], rax
lea rax, [0x14006c460]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20
mov r9, qword [0x14006ce30]
mov r8d, 1
xor edx, edx
mov rcx, qword [0x14006c4a8]
call qword [rsp + 0x48]
mov qword [rsp + 0x28], 0x14
mov qword [rsp + 0x20], 0x10
mov r9d, 8
mov r8d, 0x3a0
mov edx, 0x1548
lea rcx, [0x140047728]
call fcn.14001a328
xor ecx, ecx
call fcn.140019f8c
call fcn.14001c034
mov qword [rsp + 0x40], rax
mov rcx, qword [0x14006ce30]
call fcn.1400329dc
mov rcx, qword [0x14006ce38]
call fcn.1400320a8
xor ecx, ecx
call fcn.14002b318
lea rdx, str.C:_tahoma.ttf
lea rcx, [rsp + 0x68]
call fcn.140004b90
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x98]
call fcn.140028bdc
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x68]
call fcn.140010a90
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
movss xmm2, dword [0x140048464]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.140026288
mov qword [0x14006c3f8], rax
mov rax, qword [0x14006c4a8]
mov rax, qword [rax]
mov rcx, qword [0x14006c4a8]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140044190
add rsp, 0x88
ret
Function at 0x140013da0
Capabilities:
Create thread
Execute command

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0xa0
mov rax, qword [0x14006bf00]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rcx, [0x140047664]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x48], rax
call fcn.14000c608
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14000d32c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.140011698
lea rdx, [0x1400133dc]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
cmp qword [0x14006c2b0], 0
jne 0x140013e67
lea rdx, str.Fortnite
lea rcx, [rsp + 0x70]
call fcn.140004d84
lea rcx, [rsp + 0x70]
call fcn.140010af4
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x14006c2b0], rax
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140013e23
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, [0x140047678]
mov rcx, qword [rsp + 0x38]
call fcn.140005170
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.14000f86c
mov dword [0x14006c2b8], eax
xor edx, edx
mov rcx, qword [0x14006cd70]
call fcn.14000c3b8
movzx eax, al
test eax, eax
je 0x140013ed8
mov edx, dword [0x14006c2b8]
mov rcx, qword [0x14006cd70]
call fcn.140006bc4
lea rdx, str.FortniteClient_Win64_Shipping.exe
mov rcx, qword [0x14006cd70]
call fcn.14000c1b0
mov qword [0x14006c2a8], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.140006688
mov rcx, rax
call fcn.140006478
mov rcx, rax
call fcn.140013f3c
call fcn.140013594
call fcn.140013720
call fcn.140013918
call fcn.140013c80
xor eax, eax
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140044190
add rsp, 0xa0
pop rdi
ret

Function at 0x140015e24
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movss xmm0, dword [r8]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
jp 0x140015e40
jne 0x140015e40
movss xmm0, dword [r8 + 4]
ucomiss xmm0, xmm1
jp 0x140015e40
je 0x140015e5e
mov rax, qword [0x14006cfb0]
movsd xmm0, qword [r8]
movsd qword [rax + 0x1af4], xmm0
mov dword [rax + 0x1acc], 4
comiss xmm3, xmm1
jb 0x140015e7c
mov rax, qword [0x14006cfb0]
movss dword [rax + 0x1b28], xmm3
mov dword [rax + 0x1ae0], 1
mov r8d, dword [rsp + 0x28]
jmp fcn.140015e88
Function at 0x14001bfd4
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [rcx + 0x1e8]
mov r10, r8
movsxd r9, dword [rcx + 0x1e0]
mov r11, rdx
mov rcx, r11
mov r8d, dword [rax + r9*4 - 4]
mov eax, r10d
sub eax, edx
neg r10
sbb edx, edx
and edx, eax
jmp fcn.14001ca2c

Function at 0x14001c6bc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r15, r9d
mov rsi, r8
test r8, r8
je 0x14001c6e3
and qword [r8], 0
call fcn.14001c7f8
mov rbx, rax
test rax, rax
je 0x14001c7dc
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001c7d3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14001c7d3
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001c7d3
mov rax, qword [0x14006cfb0]
mov rbp, rdi
test rax, rax
je 0x14001c74b
inc dword [rax + 0x3c8]
mov rdx, qword [0x14006cfc0]
lea rcx, [r15 + rdi]
call qword [0x14006bd60]
mov rdi, rax
test rax, rax
je 0x14001c7d3
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rbp
je 0x14001c7aa
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14006cfb0]
test rax, rax
je 0x14001c798
dec dword [rax + 0x3c8]
mov rdx, qword [0x14006cfc0]
mov rcx, rdi
call qword [0x14006bd68]
jmp 0x14001c7dc
test r15d, r15d
jle 0x14001c7bd
lea rcx, [rdi + rbp]
mov r8, r15
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14001c7ce
mov qword [rsi], rbp
mov rax, rdi
jmp 0x14001c7de
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
cmp dword [0x14006cfd4], 0
lea rsi, [0x14006cfd0]
mov ebx, r8d
mov edi, edx
mov r10, rcx
jne 0x14001ca93
xor r9d, r9d
mov r11, rsi
mov r8d, r9d
mov edx, 8
mov ecx, r8d
mov eax, r8d
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov r8d, ecx
xor r8d, eax
sub rdx, 1
jne 0x14001ca61
mov dword [r11], r8d
inc r9d
add r11, 4
cmp r9d, 0x100
jb 0x14001ca59
not ebx
mov edx, ebx
test edi, edi
jle 0x14001cab5
movzx eax, byte [r10]
inc r10
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [rsi + rcx*4]
sub edi, 1
jne 0x14001ca9b
jmp 0x14001caef
mov r8b, byte [r10]
inc r10
test r8b, r8b
je 0x14001caef
mov r9b, 0x23
cmp r8b, r9b
jne 0x14001cad4
cmp byte [r10], r9b
jne 0x14001cad4
cmp byte [r10 + 1], r9b
cmove edx, ebx
movzx ecx, dl
movzx eax, r8b
mov r8b, byte [r10]
xor rcx, rax
shr edx, 8
inc r10
xor edx, dword [rsi + rcx*4]
test r8b, r8b
jne 0x14001cac3
mov rbx, qword [rsp + 8]
not edx
mov rsi, qword [rsp + 0x10]
mov eax, edx
mov rdi, qword [rsp + 0x18]
ret
Function at 0x140022934
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x14006cfb0]
mov rbx, rcx
and dword [rax + 0x2d9c], 0
test rcx, rcx
je 0x14002299d
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.1400229a8
lea rdx, [0x140048784]
mov rcx, rbx
mov rdi, rax
call fcn.14001c7f8
mov rbx, rax
test rax, rax
je 0x14002299d
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14003178c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
xor r14d, r14d
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rsi, rdx
movsxd rdi, r9d
mov rbp, rcx
test r9d, r9d
jle 0x14003197d
lea rbx, [r8 + 0x20]
xor r13d, r13d
lea r8d, [r14 + 1]
mov r11d, 0x100
xorps xmm7, xmm7
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14003182e
movsxd r10, dword [rsi + 0x24]
mov r9, qword [rsi + 8]
movsx ecx, r11w
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, r11w
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
mov r8d, 1
movd xmm0, eax
jmp 0x140031850
movsxd rdx, dword [rsi + 0x1c]
mov rax, qword [rsi + 8]
xorps xmm6, xmmword [0x140048520]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
mov al, byte [rbp + 0x20]
xor r15d, r15d
cvtdq2ps xmm0, xmm0
mov byte [rbx], al
mov al, byte [rbp + 0x24]
mov byte [rbx + 1], al
divss xmm6, xmm0
cmp dword [rbx - 0x10], r15d
jle 0x140031970
mov rcx, qword [rsp + 0xe0]
mov rax, r13
shl rax, 4
add rcx, 6
xor r12d, r12d
add rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14003189e
mov edx, dword [rbx - 0x1c]
add edx, r15d
jmp 0x1400318a2
mov edx, dword [rax + r12]
mov rcx, rsi
call fcn.140030ef8
mov edx, eax
xorps xmm3, xmm3
mov eax, dword [rbp + 0x24]
xorps xmm2, xmm2
mov rcx, rsi
cvtsi2ss xmm3, rax
mov eax, dword [rbp + 0x20]
cvtsi2ss xmm2, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
mulss xmm3, xmm6
mulss xmm2, xmm6
movss dword [rsp + 0x20], xmm7
call fcn.140031330
mov rcx, qword [rsp + 0x60]
mov r8d, 1
movzx eax, word [rbp + 0x20]
add r14d, r8d
sub ax, word [rsp + 0xd8]
add r13, r8
add ax, word [rbp + 0x1c]
add r15d, r8d
add ax, word [rsp + 0x50]
add r12, 4
sub ax, r8w
mov word [rcx - 2], ax
movzx eax, word [rbp + 0x24]
sub ax, word [rsp + 0x54]
add ax, word [rbp + 0x1c]
add ax, word [rsp + 0x58]
sub ax, r8w
mov word [rcx], ax
add rcx, 0x10
mov qword [rsp + 0x60], rcx
cmp r15d, dword [rbx - 0x10]
jl 0x14003188d
mov r11d, 0x100
add rbx, 0x28
sub rdi, r8
jne 0x1400317dc
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov eax, r14d
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140032adc
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14006bf00]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.14001c034
mov rcx, qword [0x14006d428]
lea rdx, [rbp - 0x18]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rbp - 0x10]
sub ecx, dword [rbp - 0x18]
movd xmm1, ecx
mov ecx, dword [rbp - 0xc]
sub ecx, dword [rbp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rbp - 0x20]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x20]
xorps xmm1, xmm1
sub rax, qword [0x14006d430]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x14006d438]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rbp - 0x20]
mov qword [0x14006d430], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, 0x10
mov byte [rdi + 0x128], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, bl
mov byte [rdi + 0x129], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
mov byte [rdi + 0x12b], 0
mov byte [rdi + 0x12a], al
call fcn.14001c034
cmp byte [rax + 0x3a7], 0
lea rbx, [rax + 0x110]
je 0x140032c05
cvttss2si ecx, dword [rbx]
lea rdx, [rbp - 0x30]
cvttss2si eax, dword [rax + 0x114]
mov dword [rbp - 0x30], ecx
mov rcx, qword [0x14006d428]
mov dword [rbp - 0x2c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x2c]
mov ecx, dword [rbp - 0x30]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx], eax
mov dword [rbx + 4], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x14006d428]
jne 0x140032c5a
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140032c5a
mov rcx, qword [0x14006d428]
lea rdx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140032c5a
movd xmm0, dword [rbp - 0x28]
movd xmm1, dword [rbp - 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc8], 0
je 0x140032c68
or eax, 0xffffffff
jmp 0x140032c6d
call fcn.14001c070
cmp dword [0x14006be98], eax
je 0x140032c80
mov dword [0x14006be98], eax
call fcn.140032ca8
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140044190
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret

Function at 0x1400447d4
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x140007b3e
xor eax, eax
jmp 0x140007c24
cmp qword [rcx + 0x68], 0
je 0x140007b4f
call fcn.140007c40
jmp 0x140007c24
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140007b66
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140007b68
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140007b9a
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140029590
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x140007c1e
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140007bd1
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x140007bfa
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140012e30
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x140007c1e
cmp rsi, rbx
ja 0x140007bd8
test rsi, rsi
je 0x140007c1e
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140012e30
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140009a34
Capabilities:
Parse pe header

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

Function at 0x140016138
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140015f34
Function at 0x14001d1fc
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.140009340
sub rsp, rax
mov rax, qword [0x14003d040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140019d0c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14001d24b
mov rax, rbp
jmp 0x14001d353
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 + 0x3f490]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14001e31c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x3f490]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14001d34f
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 0x14001d34f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14001e31c
test rax, rax
js 0x14001d34f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14001d34f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14001d341
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14001d341
cmp byte [rcx], 0xd
jne 0x14001d327
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14001d336
cmp byte [rcx + 1], 0xa
jne 0x14001d336
inc rcx
jmp 0x14001d336
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x3d470]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14001d309
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14001d353
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140008ce0
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 0x14001d574
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001d58a
mov al, 1
jmp 0x14001d5ea
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001d59b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001d5e8
mov ecx, dword [rcx + 0x18]
nop
call fcn.140021e88
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001d5e8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001d5e8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001d5e8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001d5ea
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14001d6bc
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, [0x14003f490]
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 0x14001d713
cmp word [rdx], r13w
jne 0x14001d713
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001d718
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14001d83d
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14001d85e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14001d751
mov rdx, r9
mov word [rbx], cx
jmp 0x14001d778
cmp r9, r8
jae 0x14001d788
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 0x14001d732
jmp 0x14001d83d
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 0x14001d832
cmp dword [rsp + 0x80], esi
je 0x14001d832
lea r8, [0x14003f490]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001d80a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14001d7da
mov word [rbx], r13w
jmp 0x14001d83a
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 0x14001d7e7
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001d83a
cmp word [rsp + 0x70], r13w
jne 0x14001d817
cmp rbx, r14
je 0x14001d7d4
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001e324
cmp word [rsp + 0x70], r13w
je 0x14001d83d
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, [0x14003f490]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001d837
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14001d83d