joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400333d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x14018e228]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x31fc], ecx
test rbx, rbx
je 0x14003343f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.140033450
lea rdx, [0x14013c154]
mov rcx, rbx
mov rdi, rax
call fcn.1400250b0
mov rbx, rax
test rax, rax
je 0x14003343a
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 rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x14003b790
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x14018e228]
cmp byte [rbx + 0x31f8], 0
jne 0x14003b906
cmp dword [rbx + 0x3220], 0
je 0x14003b7cd
mov r8d, 0x2b0c
lea rdx, str.E:SOURCESCDOTS_C_NEWGustaC__1_GustaC__1_Rox_Valorantincludesimguiimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14003b8ff
lea rdx, [0x14013c150]
mov qword [rsp + 0x40], rdi
call fcn.1400250b0
mov rdi, rax
test rax, rax
je 0x14003b8fa
mov qword [rsp + 0x30], rbp
mov rcx, rax
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14003b8e7
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14003b8e7
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14003b8e7
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14003b8e7
mov rbp, rsi
cmp rsi, 0xffffffffffffffff
je 0x14003b8e7
mov rax, qword [0x14018e228]
test rax, rax
je 0x14003b876
inc dword [rax + 0x3b0]
mov rdx, qword [0x14018e238]
mov rcx, rbp
call qword [section..data]
mov rsi, rax
test rax, rax
je 0x14003b8e7
mov r9, rdi
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rbp
je 0x14003b8b2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14003b8c3
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, rbp
mov rcx, rsi
call fcn.140028410
mov rax, qword [0x14018e228]
test rax, rax
je 0x14003b8d5
dec dword [rax + 0x3b0]
mov rdx, qword [0x14018e238]
mov rcx, rsi
call qword [0x140189008]
jmp 0x14003b8f0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov byte [rbx + 0x31f8], 1
movss xmm0, dword [rbx + 0x31fc]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14003b957
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x31fc], xmm0
jb 0x14003b957
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14003b946
call fcn.1400333d0
mov dword [rbx + 0x31fc], 0
add rsp, 0x20
pop rbx
ret
mov byte [rbx + 0x398], 1
mov dword [rbx + 0x31fc], 0
add rsp, 0x20
pop rbx
ret
Function at 0x140066ec0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x70
mov r8, rcx
movaps xmmword [rsp + 0x30], xmm9
movzx ecx, word [rsp + 0xa8]
movaps xmm9, xmm2
mov qword [rsp + 0x20], r9
mov rsi, rdx
mov r9d, dword [rsp + 0xa0]
movsxd rax, dword [r8 + 0x18]
cmp rcx, rax
jb 0x140066efe
mov rbx, qword [r8 + 0x38]
jmp 0x140066f22
mov rax, qword [r8 + 0x20]
movzx ecx, word [rax + rcx*2]
mov eax, 0xffff
cmp cx, ax
jne 0x140066f16
mov rbx, qword [r8 + 0x38]
jmp 0x140066f22
mov rax, qword [r8 + 0x30]
lea rcx, [rcx + rcx*4]
lea rbx, [rax + rcx*8]
test rbx, rbx
je 0x1400670da
mov eax, dword [rbx]
test al, 2
je 0x1400670da
mov qword [rsp + 0x80], rdi
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm6
mov edi, r9d
or edi, 0xffffff
movaps xmmword [rsp + 0x50], xmm7
test al, 1
movaps xmmword [rsp + 0x40], xmm8
cmove edi, r9d
comiss xmm9, xmm0
jb 0x140066f6d
divss xmm9, dword [r8 + 0x14]
jmp 0x140066f76
movss xmm9, dword [0x14013ff9c]
cvttss2si eax, dword [rsp + 0x20]
mov edx, 6
mov rcx, rsi
lea r8d, [rdx - 2]
movd xmm6, eax
cvttss2si eax, dword [rsp + 0x24]
cvtdq2ps xmm6, xmm6
movd xmm7, eax
cvtdq2ps xmm7, xmm7
call fcn.1400661d0
movzx edx, word [rsi + 0x34]
mov rax, qword [rsi + 0x50]
movss xmm8, dword [rbx + 0x24]
movaps xmm1, xmm9
mulss xmm1, dword [rbx + 0x10]
lea ecx, [rdx + 1]
movss xmm4, dword [rbx + 0x20]
movaps xmm3, xmm9
mulss xmm3, dword [rbx + 0x14]
movaps xmm2, xmm9
mulss xmm2, dword [rbx + 8]
addss xmm1, xmm6
mulss xmm9, dword [rbx + 0xc]
addss xmm3, xmm7
movss xmm5, dword [rbx + 0x18]
addss xmm2, xmm6
movss xmm0, dword [rbx + 0x1c]
mov word [rax], dx
addss xmm9, xmm7
mov rax, qword [rsi + 0x50]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x60]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rsi + 0x50]
mov word [rax + 4], cx
mov rax, qword [rsi + 0x50]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rsi + 0x50]
mov word [rax + 8], cx
mov rax, qword [rsi + 0x50]
mov word [rax + 0xa], dx
mov rax, qword [rsi + 0x48]
movss dword [rax], xmm2
movss dword [rax + 4], xmm9
mov rax, qword [rsi + 0x48]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm0
mov rax, qword [rsi + 0x48]
mov dword [rax + 0x10], edi
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm9
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x1c], xmm4
movss dword [rax + 0x20], xmm0
mov rax, qword [rsi + 0x48]
mov dword [rax + 0x24], edi
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x28], xmm1
movss dword [rax + 0x2c], xmm3
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x30], xmm4
movss dword [rax + 0x34], xmm8
mov rax, qword [rsi + 0x48]
mov dword [rax + 0x38], edi
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x3c], xmm2
movss dword [rax + 0x40], xmm3
mov rax, qword [rsi + 0x48]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm8
mov rax, qword [rsi + 0x48]
movaps xmm8, xmmword [rsp + 0x40]
mov dword [rax + 0x4c], edi
add qword [rsi + 0x48], 0x50
add dword [rsi + 0x34], 4
add qword [rsi + 0x50], 0xc
mov rdi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x70
pop rsi
ret
Function at 0x14007be80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
movsxd rsi, edx
mov rdi, rcx
imul rbx, rsi, 0x68
add rbx, qword [rcx + 0x10]
cmp rbx, qword [rcx + 0x10]
jb 0x14007bea9
cmp rbx, qword [rcx + 0x18]
jb 0x14007bec3
mov r8d, 0x231
lea rdx, str.E:SOURCESCDOTS_C_NEWGustaC__1_GustaC__1_Rox_Valorantincludesimguiimgui_internal.h
lea rcx, str.p___Data__p___DataEnd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rdi + 0x1d0]
mov dword [rdi + 0x74], esi
test dword [rbx], 0x4000
movss xmm0, dword [rbx + 0x34]
je 0x14007bee2
addss xmm0, dword [rdi + 0x8c]
lea rsi, [rcx + 0x118]
movss dword [rsi], xmm0
movss xmm1, dword [rdi + 0xc0]
addss xmm1, dword [rdi + 0x7c]
movss dword [rcx + 0x130], xmm0
subss xmm0, dword [rcx + 0x50]
movss dword [rcx + 0x11c], xmm1
subss xmm0, dword [rcx + 0x158]
movss dword [rcx + 0x15c], xmm0
mov eax, dword [rdi + 0x88]
mov dword [rcx + 0x150], eax
movsx eax, byte [rbx + 0x61]
mov dword [rcx + 0x18c], eax
movss dword [rcx + 0x274], xmm1
mov eax, dword [rbx + 0x34]
mov dword [rcx + 0x270], eax
mov eax, dword [rbx + 0x38]
mov dword [rcx + 0x278], eax
mov eax, dword [rbx + 0x3c]
mov dword [rcx + 0x204], eax
cmp byte [rbx + 0x5a], 0
jne 0x14007bf6e
maxss xmm1, dword [rdi + 0x80]
movss dword [rcx + 0x11c], xmm1
movzx eax, byte [rbx + 0x5f]
mov byte [rcx + 0xd4], al
cmp byte [rbx + 0x5f], 0
je 0x14007bf87
xor eax, eax
mov qword [rcx + 0x164], rax
test dword [rdi + 4], 0x100000
je 0x14007bf9b
mov r8d, 2
jmp 0x14007c01b
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [rcx + 0x2f8]
movss xmm4, dword [rbx + 0x20]
movss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rbx + 0x28]
movss xmm1, dword [rbx + 0x2c]
movups xmmword [rcx + 0x290], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [rcx + 0x2f8]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [rbx + 0x57]
mov rdx, qword [rcx + 0x2f8]
lea rcx, [rdi + 0x1e8]
call fcn.1400690a0
mov rdi, qword [0x14018e228]
cmp byte [rdi + 0x3254], 0
je 0x14007c060
cmp byte [rbx + 0x5f], 0
jne 0x14007c060
xor r8d, r8d
lea rdx, [0x1401579b8]
mov rcx, rsi
call fcn.140028ce0
mov dword [rdi + 0x3288], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140085d70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x14018db80]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
movaps xmm6, xmm2
mov ebx, edx
test al, al
je 0x140085db7
nop
cmp al, 0x25
jne 0x140085dac
cmp byte [rcx + 1], al
jne 0x140085db7
inc rcx
movzx eax, byte [rcx + 1]
inc rcx
test al, al
jne 0x140085da0
cmp byte [rcx], 0x25
jne 0x140085ea0
cmp byte [rcx + 1], 0x25
je 0x140085ea0
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rsp + 0x20]
call fcn.14009c5f0
xorps xmm3, xmm3
lea r8, [rsp + 0x20]
cvtss2sd xmm3, xmm6
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.1400252a0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x140085e0e
inc rcx
cmp byte [rcx], 0x20
je 0x140085e06
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x140085e8e
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x140085e29
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x140085e3f
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x140085e7c
movss xmm2, dword [0x14013ffe4]
cmp al, 0x39
ja 0x140085e7c
movzx eax, al
inc rcx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x140085e56
cmp r9b, 0x2d
jne 0x140085e9b
xorps xmm1, xmmword [0x140140080]
movaps xmm0, xmm1
jmp 0x140085ea3
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x140085ea3
movaps xmm0, xmm6
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14012def0
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
ret
Function at 0x140085ed0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x14018db80]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
movaps xmm6, xmm2
mov ebx, edx
test al, al
je 0x140085f17
nop
cmp al, 0x25
jne 0x140085f0c
cmp byte [rcx + 1], al
jne 0x140085f17
inc rcx
movzx eax, byte [rcx + 1]
inc rcx
test al, al
jne 0x140085f00
cmp byte [rcx], 0x25
jne 0x140085ff6
cmp byte [rcx + 1], 0x25
je 0x140085ff6
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rsp + 0x20]
call fcn.14009c5f0
movaps xmm3, xmm6
lea r8, [rsp + 0x20]
movq r9, xmm6
lea rcx, [rsp + 0x40]
mov edx, 0x40
call fcn.1400252a0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x140085f6a
inc rcx
cmp byte [rcx], 0x20
je 0x140085f62
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x140085fe8
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x140085f85
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x140085f9b
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x140085fd6
movsd xmm2, qword [0x14015ba48]
cmp al, 0x39
ja 0x140085fd6
movzx eax, al
inc rcx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x140085fb2
cmp r9b, 0x2d
jne 0x140085ff1
xorps xmm1, xmmword [0x14015baf0]
movaps xmm0, xmm1
jmp 0x140085ff9
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x140085ff9
movaps xmm0, xmm6
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14012def0
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
ret
Function at 0x1400a8400
Capabilities:
Encode data using xor
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x14018db80]
xor rax, rsp
mov qword [rbp + 0xa0], rax
movdqa xmm0, xmmword [0x14015c470]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x90], 1
xor ebx, ebx
mov ecx, ebx
lea eax, [rcx - 0x41]
xor byte [rbp + rcx + 0x80], al
inc rcx
cmp rcx, 0xf
jb 0x1400a8441
mov byte [rbp + 0x90], bl
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 6
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov eax, dword [str.049044]
mov dword [rsp + 0x30], eax
movzx eax, word [0x14015bec4]
mov word [rsp + 0x34], ax
mov byte [rsp + 0x36], bl
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [0x140194fb0]
call fcn.1400be4b0
nop
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x1e]
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x70]
call fcn.1400a6de0
nop
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
sub r8, rdx
lea rcx, [rsp + 0x70]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rsp + 0x78]
call fcn.1400aa710
test rax, rax
jne 0x1400a850e
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
movdqa xmm0, xmmword [0x14015c640]
movdqu xmmword [rbp + 0x80], xmm0
mov dword [rbp + 0x90], 0xb7a396bc
mov dword [rbp + 0x94], 0xbab1fab6
mov word [rbp + 0x98], 0xbb
mov byte [rbp + 0x9a], 1
lea eax, [rbx - 0x41]
xor byte [rbp + rbx + 0x80], al
inc rbx
cmp rbx, 0x19
jb 0x1400a8542
mov byte [rbp + 0x9a], 0
lea rcx, [rbp + 0x80]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call fcn.1400a75c0
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400a85f0
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a85eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a85eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012e0a0
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14012def0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1b0
pop rbp
ret
Function at 0x1400a8610
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14018db80]
xor rax, rsp
mov qword [rbp], rax
movdqa xmm0, xmmword [0x14015c5d0]
xor ebx, ebx
movdqa xmm1, xmmword [0x14015c7b0]
mov ecx, ebx
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm0, xmmword [0x14015c720]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm0, xmmword [0x14015c4c0]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmm1, xmmword [0x14015c570]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm0, xmmword [0x14015c4f0]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmm1, xmmword [str.9tpq___u_]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm0, xmmword [0x14015c500]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm1, xmmword [0x14015c4a0]
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmmword [rbp - 0x30], xmm1
mov dword [rbp - 0x10], 0x6a61332d
mov dword [rbp - 0xc], 0x35676732
mov dword [rbp - 8], 0x6938606e
mov word [rbp - 4], 0x100
nop dword [rax + rax]
lea eax, [rcx - 0x41]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x9c
jb 0x1400a86d0
mov byte [rbp - 3], bl
mov rcx, rbx
mov dword [rsp + 0x30], 0x2fa02fc
mov edx, 0x2bf
mov dword [rsp + 0x34], 0x286029d
mov dword [rsp + 0x38], 0x2b002ac
mov dword [rsp + 0x3c], 0x28002b6
mov dword [rsp + 0x40], 0x2ad02b5
mov dword [rsp + 0x44], 0x2e402ac
mov dword [rsp + 0x48], 0x2a002af
mov dword [rsp + 0x4c], 0x2a1
mov byte [rsp + 0x50], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [rdx + rcx]
xor word [rsp + rcx*2 + 0x30], ax
inc rcx
cmp rcx, 0xf
jb 0x1400a8740
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x50], bl
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
jne 0x1400a8770
lea eax, [rdi - 1]
jmp 0x1400a8845
mov dword [rsp + 0x20], 0xb19e84fb
mov rcx, rbx
mov dword [rsp + 0x24], 0x100b6b7
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x41]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 6
jb 0x1400a8790
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x27], bl
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [rsp + 0x20], 0xa09e84fb
mov rcx, rbx
mov qword [0x140194d70], rax
mov dword [rsp + 0x24], 0x100aab7
nop dword [rax]
lea eax, [rcx - 0x41]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 6
jb 0x1400a87d0
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x27], bl
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140194d78], rax
mov dword [rsp + 0x20], 0xaf9e84fb
mov dword [rsp + 0x24], 0x97b2ac
mov byte [rsp + 0x28], 1
nop
lea eax, [rbx - 0x41]
xor byte [rsp + rbx + 0x20], al
inc rbx
cmp rbx, 7
jb 0x1400a8810
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x28], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x60]
mov qword [0x140194d80], rax
call qword [0x140194d70]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14012def0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1400a9a20
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14018db80]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400a9af3
cmp byte [rcx + 0x71], 0
je 0x1400a9af3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x1400a9aef
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 0x1400a9ab4
sub eax, 1
je 0x1400a9ab8
cmp eax, 2
jne 0x1400a9aef
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14012def0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400a9ae6
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 0x1400a9aef
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400a9a9c
xor al, al
jmp 0x1400a9a9c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14012def0
add rsp, 0x60
pop rbx
ret
Function at 0x1400aa6e0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x4b], 0
je 0x1400aa703
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x41]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x4a
jb 0x1400aa6f0
mov byte [rcx + 0x4b], 0
mov rax, rcx
ret
Function at 0x1400abf10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14018db80]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x1400abf3d
xor eax, eax
jmp 0x1400ac0a6
mov qword [rsp + 0xa0], rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x1400abf7d
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x1400abf7d
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], sil
mov eax, esi
jmp 0x1400ac09e
cmp qword [rdi + 0x80], 0
je 0x1400ac099
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rdi + 0x70]
cmp rax, rcx
jne 0x1400abfb7
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
mov r9, qword [rdi + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x1400abfe2
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x1400ac09e
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], sil
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
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 0x1400ac051
sub eax, 1
je 0x1400ac051
cmp eax, 2
jne 0x1400ac099
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x1400ac09e
mov rbx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbx, rax
je 0x1400ac07f
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x1400ac099
lea rax, [rsp + 0x40]
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, esi
mov eax, ecx
jmp 0x1400ac09e
mov eax, 0xffffffff
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14012def0
mov rsi, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret