joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012040
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14001209d
lea rbx, [0x140045f60]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140012084
cmp r10, 2
jb 0x140012084
cmp byte [r9], r8b
jne 0x140012084
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140012060
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400120df
lea rbx, [0x140045f60]
cmp r8b, 0x23
jne 0x1400120c3
cmp byte [r9], r8b
jne 0x1400120c3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400120b0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140012220
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14001223a
mov qword [r8], 0
call fcn.1400120f0
mov rbx, rax
test rax, rax
jne 0x140012253
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14001232a
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001232a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14001232a
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001232a
cmp rdi, 0xffffffffffffffff
je 0x14001232a
mov rax, qword [0x1400528c8]
test rax, rax
je 0x1400122c7
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14001232a
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140012317
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400528c8]
test rax, rax
je 0x14001230c
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140012333
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140012325
mov qword [r14], rdi
mov rax, rsi
jmp 0x140012335
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140012bb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x90
mov rdi, r9
movaps xmmword [rsp + 0x70], xmm7
mov r9, qword [0x1400528c8]
movaps xmm7, xmm1
movaps xmmword [rsp + 0x60], xmm8
movq xmm8, r8
mov rbx, rdi
mov rbp, qword [r9 + 0x3ea8]
cmp rdi, 0xffffffffffffffff
jae 0x140012df4
nop dword [rax]
movzx ecx, byte [rbx]
test cl, cl
je 0x140012c0d
lea rax, [rbx + 1]
cmp cl, 0x23
jne 0x140012c04
cmp byte [rax], cl
je 0x140012c0d
mov rbx, rax
cmp rax, 0xffffffffffffffff
jb 0x140012bf0
cmp rdi, rbx
je 0x140012df4
movss xmm0, dword [r9 + 0x37f8]
lea rcx, [rsp + 0x50]
mov r8, qword [rbp + 0x270]
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xb8], r14
movss dword [rsp + 0x5c], xmm0
movaps xmmword [rsp + 0x80], xmm6
mov dword [rsp + 0x50], 0x3f733333
mov dword [rsp + 0x54], 0x3f733333
mov dword [rsp + 0x58], 0x3f733333
call fcn.1400125c0
lea rsi, [r9 + 0x3c18]
mov r11d, eax
movss xmm2, dword [rsi]
lea r14, [r9 + 0x3c10]
mov r10, qword [r14]
mov rcx, rbx
xorps xmm6, xmm6
test eax, 0xff000000
je 0x140012d16
test rbx, rbx
jne 0x140012cb1
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp byte [rdi + rcx], 0
jne 0x140012ca0
add rcx, rdi
cmp rdi, rcx
je 0x140012d16
test r10, r10
jne 0x140012cbe
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
ucomiss xmm2, xmm6
jp 0x140012cce
jne 0x140012cce
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [r8 + 0x88]
mov byte [rsp + 0x48], 0
lea rax, [rsp + 0x50]
movss dword [rsp + 0x40], xmm6
movq r9, xmm8
mov qword [rsp + 0x38], rcx
mov rdx, r8
mov qword [rsp + 0x30], rdi
mov rcx, r10
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r11d
movups xmmword [rsp + 0x50], xmm0
call fcn.140035f20
mov r9, qword [0x1400528c8]
mulss xmm7, dword [r9 + 0x37f8]
lea rcx, [rsp + 0x50]
mov r8, qword [rbp + 0x270]
mov dword [rsp + 0x50], 0x3f266666
mov dword [rsp + 0x54], 0x3d4ccccd
movss dword [rsp + 0x5c], xmm7
mov dword [rsp + 0x58], 0x3f666666
call fcn.1400125c0
movss xmm2, dword [rsi]
mov r9d, eax
mov rcx, qword [r14]
mov rsi, qword [rsp + 0xb0]
mov r14, qword [rsp + 0xb8]
test eax, 0xff000000
je 0x140012dec
test rbx, rbx
jne 0x140012d91
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140012d80
add rbx, rdi
cmp rdi, rbx
je 0x140012dec
test rcx, rcx
jne 0x140012d9e
mov rax, qword [r8 + 0x38]
mov rcx, qword [rax + 8]
ucomiss xmm2, xmm6
jp 0x140012dae
jne 0x140012dae
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [r8 + 0x88]
mov byte [rsp + 0x48], 0
lea rax, [rsp + 0x50]
movss dword [rsp + 0x40], xmm6
mov rdx, r8
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
movq r9, xmm8
movups xmmword [rsp + 0x50], xmm0
call fcn.140035f20
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x60]
add rsp, 0x90
pop rdi
pop rbp
pop rbx
ret
Function at 0x140014950
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xc8]
mov rax, qword [rcx + 0xd0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x140045f60]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, qword [0x1400528c8]
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rax + 0x3ef4], ebx
jne 0x1400149dd
mov dword [rax + 0x3ef8], ebx
cmp dword [rax + 0x3f40], ebx
jne 0x1400149ec
mov byte [rax + 0x3f44], 1
cmp dword [rax + 0x3edc], ebx
jne 0x140014a03
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140025e30
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140020590
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140052010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400528c8]
mov edi, ecx
cmp byte [rbx + 0x424d], 0
jne 0x1400205f1
cmp byte [rbx + 0x424e], 0
jne 0x1400205f1
movsx r9d, word [rbx + 0x532e]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140011fc0
test dil, 1
je 0x140020718
jmp 0x14002067a
movss xmm1, dword [rbx + 0x38b0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x532e]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14004a870]
mulss xmm1, dword [0x14004a85c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd94]
addss xmm1, dword [rbx + 0xd98]
mov qword [rbx + 0x3fc8], rax
mov dword [rbx + 0x3fb4], 1
movss dword [rbx + 0x3fc0], xmm0
movss dword [rbx + 0x3fc4], xmm1
movss xmm0, dword [rbx + 0x390c]
mulss xmm0, dword [0x14004a770]
or dword [rbx + 0x3fb0], 0x41
movss dword [rbx + 0x4010], xmm0
call fcn.140011fc0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400206d0
lea r11, [0x140045f60]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1400206b3
cmp byte [r8], r9b
jne 0x1400206b3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400206a0
not ecx
call fcn.1400198e0
test rax, rax
je 0x140020718
cmp byte [rax + 0x8e], 0
je 0x140020718
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x532e]
mov edx, 0x10
movsx r9d, word [rbx + 0x532e]
call fcn.140011fc0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14001c070
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140042d20
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140024fe0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140025087
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14002503a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140026d00
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400126a0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400528bd]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002508f
mov rcx, rbx
call fcn.1400126a0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140043908
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140043952
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140043952
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140043952
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140043952
cmp dword [rcx + 0x84], 0xe
jbe 0x140043952
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140043954
xor al, al
add rsp, 0x28
ret
Function at 0x1400015e0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 0xf
mov rbx, rcx
jbe 0x1400015f3
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140001607
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
jmp 0x140001631
and eax, 0xfffffffe
cmp qword [rbx + 0x18], 0xf
jbe 0x140001614
mov rbx, qword [rbx]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
test eax, eax
je 0x140001631
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x140006564]
call fcn.140003460
lea rdx, [0x140003640]
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 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]
Function at 0x1400018a0
Capabilities:
Execute command

Disassembly:
sub rsp, 0x28
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Starting_BGMI___use_this_to_start_BGMI_everytime....
call fcn.140003460
mov rcx, rax
lea rdx, [0x140003640]
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]
lea rcx, str.files_adb.exe_push_files_ano_emu_c2.dat__data_data_com.pubg.imobile_files_ano_tmp___nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.timeout_1__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.files_adb.exe_shell_rm__rf__data_data_com.pubg.imobile_files_AreaData.dat__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.files_adb.exe_push_Resolution_assetUserCustom.ini__sdcard_Android_data_com.pubg.imobile_files_UE4Game_ShadowTrackerExtra_ShadowTrackerExtra_Saved_Config_Android_UserCustom.ini__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.files_adb.exe_shell_am_start__n_com.pubg.imobile_com.epicgames.ue4.SplashActivity__nul_2_1
add rsp, 0x28
jmp qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]

Function at 0x140001910
Capabilities:
Execute command

Disassembly:
sub rsp, 0x28
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Initializing_ADB_server
call fcn.140003460
lea rcx, str.files_adb.exe_kill_server__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14000681c]
call fcn.140003460
lea rcx, str.files_adb.exe_start_server__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14000681c]
call fcn.140003460
mov rcx, rax
lea rdx, [0x140003640]
add rsp, 0x28
jmp 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]
Function at 0x140001c90
Capabilities:
Execute command
Terminate process

Disassembly:
sub rsp, 0x28
lea rcx, str.files_adb.exe_shell_exit__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test eax, eax
jne 0x140001ccd
lea rdx, str.Device_s__found.
call fcn.140003460
mov rcx, rax
lea rdx, [0x140003640]
add rsp, 0x28
jmp 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]
lea rdx, str._nNO_EMULATORS_FOUND____
call fcn.140003460
mov rcx, rax
lea rdx, [0x140003640]
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]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Enable_ADB_in_emulator_settings_of_GAMELOOP__LDPLAYER.
call fcn.140003460
mov rcx, rax
lea rdx, [0x140003640]
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]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Exiting...
call fcn.140003460
mov rcx, rax
lea rdx, [0x140003640]
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]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 5
lea rcx, [rsp + 0x38]
call fcn.140003880
mov rcx, rax
call fcn.140003890
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140002bf0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140002c1d
xor eax, eax
jmp 0x140002d89
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140002c57
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140002c57
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140002d89
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140002d7c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140002c9a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140002cc5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002d81
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002d34
sub eax, 1
je 0x140002d34
cmp eax, 2
jne 0x140002d7c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002d81
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002d62
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140002d7c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140002d81
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140004450
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400030b0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140003183
cmp byte [rcx + 0x71], 0
je 0x140003183
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000317f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140003144
sub eax, 1
je 0x140003148
cmp eax, 2
jne 0x14000317f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140004450
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140003176
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000317f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000312c
xor al, al
jmp 0x14000312c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140004450
add rsp, 0x60
pop rbx
ret

Function at 0x140004ea0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004eea
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004eea
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004eea
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004eea
cmp dword [rcx + 0x84], 0xe
jbe 0x140004eea
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004eec
xor al, al
add rsp, 0x28
ret
Function at 0x140628058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1406281df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140628089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14062806f
add dl, dl
jne 0x140628096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406280f6
xor eax, eax
add dl, dl
jne 0x1406280a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406281ad
add dl, dl
jne 0x1406280b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406280c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406280d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406280dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406280ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14062807e
mov eax, 1
add dl, dl
jne 0x140628106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140628113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406280fb
sub eax, ebx
mov ebx, 1
jne 0x14062814c
mov ecx, 1
add dl, dl
jne 0x14062812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14062813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140628123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140628168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140628175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14062815d
cmp eax, 0x7d00
jae 0x14062819b
cmp eax, 0x500
jb 0x140628196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062807e
cmp eax, 0x7f
ja 0x14062819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406281d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14062807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20