joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400943d0
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x140094578
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x140094435
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x140094435
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x140094435
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x14009446c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x1400944c2
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400944c2
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400944c2
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400944c2
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400944c2
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.140093e80
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x140094524
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14006f700
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.140094250
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x140094570
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14006f700
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140095ce0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x140110240]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x140095d75
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x140095dd6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.14006f700
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400a94a0
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x140095e91
sub ecx, 1
je 0x140095f04
sub ecx, 1
je 0x140095e40
cmp ecx, 1
je 0x140095e23
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400ad804]
call fcn.14006f700
jmp 0x140095f04
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.140095a10
test eax, eax
je 0x140095f04
jmp 0x140095daa
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140095f04
sub rax, rsi
cmp rax, rbp
jae 0x140095f04
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.14006f880
jmp 0x140095f04
cmp r8d, 4
jle 0x140095f04
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140095f04
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.14006f620
mov esi, eax
test eax, eax
je 0x140095ee3
mov edx, 5
mov rcx, rbx
call fcn.1400969d0
mov eax, esi
jmp 0x140095daa
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.14007ec30
mov rcx, r14
call fcn.14007ef10
test eax, eax
je 0x140095da8
mov edx, 5
mov rcx, rbx
call fcn.1400969d0
mov eax, Ordinal_45
jmp 0x140095daa
Function at 0x1400a8de0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400a8e22
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400a8e69
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400a8ec2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400a8e80
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400a8f03
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400ff672]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400ff673]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400a8ed0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400a9df0
Capabilities:
Parse pe header

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

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xf0
mov rax, qword [0x1800f0040]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x70], 0x68
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xor ebx, ebx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], rbx
xor r8d, r8d
movups xmmword [r11 - 0x50], xmm0
mov qword [rsp + 0x30], rbx
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
movups xmmword [r11 - 0x70], xmm0
mov dword [r11 - 0x4c], 1
movups xmmword [r11 - 0x60], xmm0
mov word [r11 - 0x48], bx
movups xmmword [r11 - 0x40], xmm0
movups xmmword [r11 - 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x180006dfd
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x68], ebx
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x68]
jmp 0x180006e02
mov eax, 0xffffffff
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.180014590
add rsp, 0xf0
pop rbx
ret
Function at 0x18000e740
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
test edx, edx
je 0x18000e77e
cmp edx, 1
jne 0x18000e774
xor eax, eax
lea r8, [0x18000c4f0]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
add rsp, 0x38
ret
test r8, r8
jne 0x18000e774
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]

Function at 0x18000e790
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 3], 0
je 0x18000e7b3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x7a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 2
jb 0x18000e7a0
mov byte [rcx + 3], 0
ret

Function at 0x18000e7c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 0x3d], al
je 0x18000e7e3
lea edx, [rax + 0x7a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x3c
jb 0x18000e7d0
mov byte [rcx + 0x3d], 0
lea r8, [rcx + 0x3c]
mov rdx, rcx
mov rcx, rbx
call fcn.1800113a0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18000e800
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 0x39], al
je 0x18000e823
lea edx, [rax + 0x7a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x38
jb 0x18000e810
mov byte [rcx + 0x39], 0
lea r8, [rcx + 0x38]
mov rdx, rcx
mov rcx, rbx
call fcn.1800113a0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18000e840
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 0x1d], al
je 0x18000e863
lea edx, [rax + 0x7a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1c
jb 0x18000e850
mov byte [rcx + 0x1d], 0
lea r8, [rcx + 0x1c]
mov rdx, rcx
mov rcx, rbx
call fcn.1800113a0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18000eef0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 0x2d], al
je 0x18000ef13
lea edx, [rax + 0x7a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x2c
jb 0x18000ef00
mov byte [rcx + 0x2d], 0
lea r8, [rcx + 0x2c]
mov rdx, rcx
mov rcx, rbx
call fcn.1800113a0
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x18000f2c0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x18000f2e1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x18000f30e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18000f310
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x18000f369
test ecx, ecx
jle 0x18000f349
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x18000f369
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18000f369
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
mov rbx, qword [rcx]
test rbx, rbx
je 0x1801066d8
cmp rbx, 0xffffffffffffffff
je 0x180106740
cmp dword [rbx], 0xc0bab1fd
mov eax, 0x16
je 0x180106680
lea r12, [rbx + 0x18]
mov rcx, r12
call qword [0x180119a2c]
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x1801066e8
mov edx, dword [rbx + 8]
test edx, edx
je 0x180106770
sub edx, 1
add eax, 1
mov dword [rbx + 8], edx
mov dword [rbx + 0xc], eax
mov eax, 0x16
add rsp, 0x48
pop rbx
pop r12
ret
mov edx, dword [rbx + 0x10]
cmp dword [rbx + 8], edx
jle 0x180106750
lea rax, [rbx + 0x98]
lea r9, [rbx + 0x70]
mov edx, 1
xor eax, eax
add rsp, 0x48
invalid
pop rbx
pop r12
ret
mov rcx, r12
call qword [0x180119abc]
xor eax, eax
shr cl, 0xf3
invalid
invalid
invalid
Function at 0x18000f390
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x18000f3b2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x18000f3c1
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18000f3e4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18000f3e6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18000f422
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x18000f4be
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x18000f45d
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
cmp rbx, 0xfff
jbe 0x18000f49e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x18000f4be
cmp rbx, rax
ja 0x18000f470
test rbx, rbx
je 0x18000f4be
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
add al, ch
pop rdx
idiv bh
invalid
Function at 0x18000f920
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1800f0040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18000f94d
xor eax, eax
jmp 0x18000fab9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x18000f987
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x18000f987
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 0x18000fab9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18000faac
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18000f9ca
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 0x18000f9f5
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 0x18000fab1
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 0x18000fa64
sub eax, 1
je 0x18000fa64
cmp eax, 2
jne 0x18000faac
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 0x18000fab1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x18000fa92
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 0x18000faac
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x18000fab1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180014590
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x18000fca0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 0x19], al
je 0x18000fcc3
lea edx, [rax + 0x7a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x18
jb 0x18000fcb0
mov byte [rcx + 0x19], 0
lea r8, [rcx + 0x18]
mov rdx, rcx
mov rcx, rbx
call fcn.1800113a0
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x18000fce0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 9], al
je 0x18000fd03
lea edx, [rax + 0x7a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 8
jb 0x18000fcf0
mov byte [rcx + 9], 0
lea r8, [rcx + 8]
mov rdx, rcx
mov rcx, rbx
call fcn.1800113a0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18000fd90
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 0x15], al
je 0x18000fdb3
lea edx, [rax + 0x7a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x14
jb 0x18000fda0
mov byte [rcx + 0x15], 0
lea r8, [rcx + 0x14]
mov rdx, rcx
mov rcx, rbx
call fcn.1800113a0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18000fdd0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 0x21], al
je 0x18000fdf3
lea edx, [rax + 0x7a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x20
jb 0x18000fde0
mov byte [rcx + 0x21], 0
lea r8, [rcx + 0x20]
mov rdx, rcx
mov rcx, rbx
call fcn.1800113a0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18000fe10
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 0xd], al
je 0x18000fe33
lea edx, [rax + 0x7a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xc
jb 0x18000fe20
mov byte [rcx + 0xd], 0
lea r8, [rcx + 0xc]
mov rdx, rcx
mov rcx, rbx
call fcn.1800113a0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x18000fe50
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 0x11], al
je 0x18000fe73
lea edx, [rax + 0x7a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x10
jb 0x18000fe60
mov byte [rcx + 0x11], 0
lea r8, [rcx + 0x10]
mov rdx, rcx
mov rcx, rbx
call fcn.1800113a0
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x180010a80
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1800f0040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180010b53
cmp byte [rcx + 0x71], 0
je 0x180010b53
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180010b4f
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 0x180010b14
sub eax, 1
je 0x180010b18
cmp eax, 2
jne 0x180010b4f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180014590
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180010b46
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 0x180010b4f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x180010afc
xor al, al
jmp 0x180010afc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180014590
add rsp, 0x60
pop rbx
ret
Function at 0x180013cf0
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, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x180013d2a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x180013d2f
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 0x180013d78
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180018700]
cmp byte [rcx + rax], 0
je 0x180013d78
dec r8
sub rdx, 1
jne 0x180013d5e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400115e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov eax, edx
mov edi, 0x40
shl rax, 4
mov rbx, rcx
cmp rax, 0x400
cmovbe edi, edx
cmp edi, dword [rcx]
je 0x140011756
mov rax, qword [0x1400e7238]
test rax, rax
je 0x140011617
call rax
mov ecx, edi
shl rcx, 4
call fcn.14000cbd0
mov rcx, qword [0x1400e7240]
mov rdi, rax
test rcx, rcx
je 0x140011633
call rcx
test rdi, rdi
je 0x140011756
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x30], rsi
call fcn.14000d020
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [0x1400e4000]
movsxd rsi, eax
xor edx, edx
shr rsi, 4
mov rcx, rdi
mov r8d, esi
shl r8, 4
mov dword [rbx], esi
call fcn.1400c1960
mov rcx, qword [rbx + 8]
xor r10d, r10d
mov qword [rbx + 8], r10
test rcx, rcx
je 0x140011741
lea r11, [0x1400cdb70]
nop dword [rax]
mov r9, qword [rcx + 0x18]
mov eax, r10d
movzx edx, byte [r9]
test dl, dl
je 0x1400116c1
nop
movzx edx, dl
lea r9, [r9 + 1]
movzx r8d, byte [rdx + r11]
lea edx, [rax*8]
xor r8d, edx
movzx edx, byte [r9]
xor eax, r8d
test dl, dl
jne 0x1400116a0
mov r9, qword [rcx]
xor edx, edx
div esi
mov r8d, edx
shl r8, 4
add r8, rdi
je 0x140011719
mov eax, dword [r8]
test eax, eax
je 0x1400116e1
mov rdx, qword [r8 + 8]
jmp 0x1400116e4
mov rdx, r10
inc eax
mov qword [r8 + 8], rcx
mov dword [r8], eax
test rdx, rdx
je 0x140011719
mov qword [rcx], rdx
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rax, qword [rdx + 8]
test rax, rax
je 0x14001170f
mov qword [rax], rcx
mov qword [rdx + 8], rcx
jmp 0x140011735
mov qword [rbx + 8], rcx
mov qword [rdx + 8], rcx
jmp 0x140011735
mov rax, qword [rbx + 8]
mov qword [rcx], rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x14001172d
mov qword [rax + 8], rcx
mov qword [rcx + 8], r10
mov qword [rbx + 8], rcx
mov rcx, r9
test r9, r9
jne 0x140011690
mov rsi, qword [rsp + 0x30]
mov eax, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret