joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801ab9e0
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x180280040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
cmp qword [rcx + 0x38], 2
jae 0x1801aba1e
lea rcx, str.Unable_to_display_player_info_as_it_may_be_corrupt.
call fcn.1800b1450
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1801e4790
add rsp, 0x70
pop rbx
ret
call fcn.18006b8b0
lea rcx, str.Player_information:
call fcn.1800b1450
lea rdx, [rbx + 0x28]
lea rcx, [rsp + 0x30]
call fcn.1801aa820
nop
cmp qword [rax + 0x18], 0xf
jbe 0x1801aba48
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.Username:__s
call fcn.1800a22d0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1801aba98
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801aba93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801aba93
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801e41e4
mov edx, dword [rbx + 0x13c]
lea rcx, str.UserID:__u
call fcn.1800a22d0
lea rdx, [rbx + 0x150]
cmp qword [rdx + 0x18], 0xf
jbe 0x1801ababb
mov rdx, qword [rdx]
lea rcx, str.Country:__s
call fcn.1800a22d0
mov edx, dword [rbx + 0x48]
lea rcx, str.NetID:__d
call fcn.1800a22d0
movss xmm2, dword [rbx + 0xc]
cvtps2pd xmm2, xmm2
movss xmm1, dword [rbx + 8]
cvtps2pd xmm1, xmm1
movq r8, xmm2
movq rdx, xmm1
lea rcx, str.Real_position:__.2f___.2f
call fcn.1800a22d0
movss xmm0, dword [rbx + 0x1c]
mulss xmm0, dword [0x1802103f4]
mulss xmm0, dword [0x180207f50]
cvttss2si r8d, xmm0
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x180228f40]
mulss xmm0, dword [0x180207f50]
cvttss2si edx, xmm0
lea rcx, str.Tile_position:__d___d
call fcn.1800a22d0
mov qword [rsp + 0x24], 0
lea rdx, [rsp + 0x24]
lea rcx, str.Copy_UID
call fcn.1800a2500
test al, al
je 0x1801abc09
mov r8d, dword [rbx + 0x13c]
lea r10, [rsp + 0x65]
nop dword [rax]
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x1801abb70
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x65]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.180002bf0
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rcx, qword [rsp + 0x30]
call fcn.18007c080
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1801abc09
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801abc04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801abc04
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801e41e4
movss xmm1, dword [0x180210278]
xorps xmm0, xmm0
call fcn.18007bb70
mov qword [rsp + 0x24], 0
lea rdx, [rsp + 0x24]
lea rcx, str.Wrench
call fcn.1800a2500
test al, al
je 0x1801abc3f
mov ecx, dword [rbx + 0x48]
call fcn.1801aab80
call fcn.18006e450
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1801e4790
add rsp, 0x70
pop rbx
ret
Function at 0x1801ce2f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x180280040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r14, r8
mov rdi, rdx
xor ebp, ebp
lea ecx, [rbp + 0x20]
call fcn.1801e41a8
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1801ce33c
lea rdx, [rdi + 0x20]
mov rcx, rax
call fcn.18000c860
mov rsi, rax
jmp 0x1801ce33f
mov rsi, rbp
mov ecx, 0x20
call fcn.1801e41a8
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1801ce375
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rbp
mov r8, qword [r14 + 8]
mov rdx, qword [r14]
mov rcx, rax
call fcn.180002fc0
jmp 0x1801ce378
mov rbx, rbp
mov ecx, 0x20
call fcn.1801e41a8
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1801ce39c
mov rdx, rdi
mov rcx, rax
call fcn.18000c860
mov rdi, rax
jmp 0x1801ce39f
mov rdi, rbp
mov ecx, 0x18
call fcn.1801e41a8
test rax, rax
je 0x1801ce3bb
mov qword [rax], rsi
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
jmp 0x1801ce3be
mov rax, rbp
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x1801cadf0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1801ce43c
cmp dword [rsp + 0x48], 0
je 0x1801ce431
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x1801ce431
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1801e4790
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x48], ebp
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x1801d7400
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor r14d, r14d
mov dword [rsp + 0x24], r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], r14b
mov dword [rsp + 0x24], 1
mov rax, qword [rdx + 0x10]
cmp rax, 0xf
jbe 0x1801d7464
movzx r8d, byte [rsp + 0x20]
mov rdx, rax
call fcn.1800258b0
mov qword [rdi + 0x10], r14
mov rax, qword [rbx + 0x10]
mov r13d, 0xfffffffa
cmp qword [rbx + 0x18], 0xf
jbe 0x1801d747c
mov r15, qword [rbx]
mov rcx, r15
mov rbx, r15
jmp 0x1801d7482
mov r15, rbx
mov rcx, rbx
add rax, rcx
mov qword [rsp + 0x28], rax
cmp rbx, rax
je 0x1801d7598
lea r8, [0x18022c090]
movzx ebx, byte [rsp + 0x20]
nop
shl r14d, 8
movzx eax, byte [r15]
add r14d, eax
add r13d, 8
js 0x1801d752f
movsxd r12, r14d
movsxd rsi, r13d
lea ecx, [r13 + 6]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
mov ebp, edx
imul eax, edx, 0xfffffffa
add r13d, eax
nop dword [rax]
mov rax, r12
mov rcx, rsi
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1801d750d
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1801d7502
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1801d7525
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.180005960
lea r8, [0x18022c090]
sub rsi, 6
sub rbp, 1
jne 0x1801d74d0
inc r15
cmp r15, qword [rsp + 0x28]
jne 0x1801d74a0
cmp r13d, 0xfffffffa
jle 0x1801d7598
lea ecx, [r13 + 8]
shl r14d, 8
movsxd rax, r14d
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1801d7585
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1801d757a
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1801d7598
movzx r8d, byte [rsp + 0x20]
mov edx, 1
mov rcx, rdi
call fcn.180005960
mov rcx, qword [rdi + 0x10]
test cl, 3
je 0x1801d75e8
movzx ebx, byte [rsp + 0x20]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1801d75cb
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1801d75c3
mov rax, qword [rdi]
mov word [rax + rcx], 0x3d
jmp 0x1801d75df
mov r9b, 0x3d
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.180005960
mov rcx, qword [rdi + 0x10]
test cl, 3
jne 0x1801d75a6
mov rax, rdi
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1801d8da0
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x478
mov rax, qword [0x180280040]
xor rax, rsp
mov qword [rsp + 0x460], rax
movzx eax, word [rcx]
mov rsi, r9
mov rdi, r8
mov ebp, edx
mov rbx, rcx
cmp ax, 2
je 0x1801d8ddc
cmp ax, 0x17
jne 0x1801d8e8a
movzx ecx, word [rcx + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
xor edx, edx
lea rcx, [rsp + 0x50]
mov dword [rsi], eax
mov r8d, 0x401
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0x50]
mov r9d, 0x401
mov qword [rsp + 0x20], rax
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x1801d8e8a
lea rax, [rsp + 0x50]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1801d8e36
mov rax, qword [rdi + 0x18]
cmp rbx, rax
ja 0x1801d8e70
mov rsi, rdi
cmp rax, 0xf
jbe 0x1801d8e54
mov rsi, qword [rdi]
mov r8, rbx
mov qword [rdi + 0x10], rbx
lea rdx, [rsp + 0x50]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov al, 1
mov byte [rsi + rbx], 0
jmp 0x1801d8e8c
movzx r8d, byte [rsp + 0x40]
lea r9, [rsp + 0x50]
mov rdx, rbx
mov rcx, rdi
call fcn.180005310
mov al, 1
jmp 0x1801d8e8c
xor al, al
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1801e4790
add rsp, 0x478
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1801d9470
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x180280040]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rax, qword [rcx + 8]
mov rdi, rcx
mov r8, qword [rcx + 0x28]
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0x48], rax
lea esi, [rax + 1]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, esi
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
jns 0x1801d94ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1801d94c0
test ebx, ebx
jle 0x1801d9502
mov rcx, qword [rdi + 8]
call fcn.1801d93e0
test al, al
je 0x1801d9502
mov al, 1
jmp 0x1801d9504
xor al, al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1801e4790
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1801dbc70
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov r14, rcx
nop word [rax + rax]
mov r9d, edi
mov r8d, esi
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
test eax, eax
jns 0x1801dbcc4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1801dbca0
mov rbp, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1801dc820
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x180280040]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov qword [rsp + 0x48], rcx
lea edi, [rcx + 1]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov ecx, edi
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x1801dc88f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1801dc860
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1801e4790
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x1801dd150
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x1801dd189
mov rax, 0xffffffffffffffff
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov rdi, qword [rdi + 8]
mov qword [rsp + 0x38], rbx
xor r9d, r9d
mov r8d, esi
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
movsxd rbx, eax
test eax, eax
jns 0x1801dd1b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1801dd192
mov rbp, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1801dead0
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
xor edx, edx
call fcn.1801de680
mov r11, rax
cmp rax, 0xf
jae 0x1801deaf1
xor al, al
add rsp, 0x20
pop rbx
ret
xor r9d, r9d
xor eax, eax
xor r8b, r8b
mov rdx, r11
xor r10b, r10b
nop
cmp eax, 2
jl 0x1801deb0a
test r10b, r10b
je 0x1801deb3f
movzx ecx, byte [rdx]
cmp cl, 0xcc
jne 0x1801deb17
xor r8b, r8b
jmp 0x1801deb2d
cmp eax, 1
jle 0x1801deb56
test r8b, r8b
jne 0x1801deb56
cmp cl, 0xc3
jne 0x1801deb56
mov r8b, 1
movzx r10d, r8b
mov ecx, 1
dec r9d
add eax, ecx
dec rdx
cmp eax, 3
jl 0x1801deb00
add rax, r11
movsxd rcx, r9d
inc rcx
add rcx, rax
mov al, 1
mov qword [rbx], rcx
add rsp, 0x20
pop rbx
ret
xor r8b, r8b
xor eax, eax
dec r9d
dec rdx
jmp 0x1801deb00
Function at 0x1801e01b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, qword [rcx]
mov r10d, 0x270
mov ecx, dword [r9]
cmp ecx, r10d
jne 0x1801e0211
lea r8, [r9 + 8]
nop dword [rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1801e01d0
mov ecx, dword [r9]
jmp 0x1801e02fb
cmp ecx, 0x4e0
jb 0x1801e02fb
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1801e0230
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1801e0280
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x1801e0400
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x180280040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14, r8
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor ebp, ebp
lea rcx, [r8 + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
mov rdi, rdx
shr rdi, 1
shl rdi, 2
xorps xmm0, xmm0
cmp rdi, r8
jae 0x1801e046b
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], bpl
jmp 0x1801e05c0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], bpl
test rdi, rdi
jne 0x1801e0494
mov qword [rsp + 0x50], rdi
mov byte [rsp + rdi + 0x40], dil
jmp 0x1801e04cb
lea rcx, [rsp + 0x40]
cmp rdi, 0xf
ja 0x1801e04b5
mov qword [rsp + 0x50], rdi
mov r8, rdi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov byte [rsp + rdi + 0x40], 0
jmp 0x1801e04cb
mov byte [rsp + 0x20], 0
mov r9, rdi
movzx r8d, byte [rsp + 0x30]
mov rdx, rdi
call fcn.1800055e0
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
lea r8, [r14 + rsi]
lea r9, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
cmp r14, 3
jl 0x1801e055a
nop dword [rax]
movzx eax, byte [rsi]
shr rax, 2
movzx eax, byte [rax + r9]
mov byte [rdx], al
movzx ecx, byte [rsi]
and ecx, 3
shl rcx, 4
movzx eax, byte [rsi + 1]
shr rax, 4
or rcx, rax
movzx eax, byte [rcx + r9]
mov byte [rdx + 1], al
movzx ecx, byte [rsi + 1]
and ecx, 0xf
shl rcx, 2
movzx eax, byte [rsi + 2]
shr rax, 6
or rcx, rax
movzx eax, byte [rcx + r9]
mov byte [rdx + 2], al
movzx eax, byte [rsi + 2]
and eax, 0x3f
movzx eax, byte [rax + r9]
mov byte [rdx + 3], al
add rdx, 4
add rsi, 3
sub r14, 3
cmp r14, 3
jge 0x1801e04f0
sub r8, rsi
je 0x1801e05af
movzx eax, byte [rsi]
shr rax, 2
movzx eax, byte [rax + r9]
mov byte [rdx], al
movzx ecx, byte [rsi]
and ecx, 3
shl rcx, 4
cmp r8, 1
jne 0x1801e0589
movzx eax, byte [rcx + r9]
mov byte [rdx + 1], al
mov al, 0x3d
jmp 0x1801e05a8
movzx eax, byte [rsi + 1]
shr rax, 4
or rax, rcx
movzx eax, byte [rax + r9]
mov byte [rdx + 1], al
movzx eax, byte [rsi + 1]
and eax, 0xf
movzx eax, byte [r9 + rax*4]
mov byte [rdx + 2], al
mov byte [rdx + 3], 0x3d
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1801e4790
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1801e05f0
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbp, r8
mov r15, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov dword [rsp + 0x24], ebx
test r8, r8
je 0x1801e062f
test bpl, 3
jne 0x1801e0627
cmp byte [rdx + r8 - 1], 0x3d
jne 0x1801e062f
mov r14d, 1
jmp 0x1801e0632
mov r14d, ebx
mov eax, r14d
lea rsi, [r8 + 3]
shr rsi, 2
sub rsi, rax
shl rsi, 2
mov rdx, rsi
shr rdx, 2
lea rax, [rax + rdx*2]
add rdx, rax
xor r8d, r8d
call fcn.18000ccd0
mov dword [rsp + 0x24], 1
lea r10, [0x18022c9a0]
test rsi, rsi
je 0x1801e06f7
lea r8, [r15 + 2]
lea r9, [rsi - 1]
shr r9, 2
inc r9
movzx eax, byte [r8 - 2]
mov ecx, dword [r10 + rax*4]
shl ecx, 6
movzx eax, byte [r8 - 1]
or ecx, dword [r10 + rax*4]
shl ecx, 6
movzx eax, byte [r8]
or ecx, dword [r10 + rax*4]
shl ecx, 6
movzx eax, byte [r8 + 1]
or ecx, dword [r10 + rax*4]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1801e06ba
mov rdx, qword [rdi]
mov eax, ecx
sar eax, 0x10
mov byte [rdx + rbx], al
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1801e06cf
mov rdx, qword [rdi]
mov eax, ecx
sar eax, 8
mov byte [rdx + rbx + 1], al
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1801e06e5
mov rax, qword [rdi]
mov byte [rax + rbx + 2], cl
add rbx, 3
add r8, 4
sub r9, 1
jne 0x1801e0681
test r14d, r14d
je 0x1801e0798
movzx eax, byte [rsi + r15]
mov edx, dword [r10 + rax*4]
shl edx, 6
movzx eax, byte [rsi + r15 + 1]
or edx, dword [r10 + rax*4]
shl edx, 0xc
mov r8, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1801e0726
mov r8, qword [rdi]
mov ecx, edx
sar ecx, 0x10
mov rax, qword [rdi + 0x10]
mov byte [r8 + rax - 1], cl
lea rax, [rsi + 2]
cmp rbp, rax
jbe 0x1801e0798
movzx eax, byte [rsi + r15 + 2]
cmp al, 0x3d
je 0x1801e0798
mov r9d, dword [r10 + rax*4]
shl r9d, 6
sar r9d, 8
sar edx, 8
or r9b, dl
mov rax, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rax, rdx
jae 0x1801e0785
lea rcx, [rax + 1]
mov qword [rdi + 0x10], rcx
mov rcx, rdi
cmp rdx, 0xf
jbe 0x1801e077a
mov rcx, qword [rdi]
mov byte [rcx + rax], r9b
mov byte [rcx + rax + 1], 0
jmp 0x1801e0798
movzx r8d, byte [rsp + 0x20]
mov edx, 1
mov rcx, rdi
call fcn.180005960
mov rax, rdi
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1801e26e0
Capabilities:
Move file

Disassembly:
sub rsp, 0x28
cmp qword [rdx + 0x18], 0xf
jbe 0x1801e26ee
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 0xf
jbe 0x1801e26f8
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x1801e3aa0
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 0x1801e3ada
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1801e3adf
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 0x1801e3b28
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180249f00]
cmp byte [rcx + rax], 0
je 0x1801e3b28
dec r8
sub rdx, 1
jne 0x1801e3b0e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140c6d0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140c6d237
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 0x140c6d0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c6d0c7
add dl, dl
jne 0x140c6d0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c6d14e
xor eax, eax
add dl, dl
jne 0x140c6d0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c6d205
add dl, dl
jne 0x140c6d10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c6d11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c6d128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c6d135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140c6d142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140c6d0d6
mov eax, 1
add dl, dl
jne 0x140c6d15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c6d16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c6d153
sub eax, ebx
mov ebx, 1
jne 0x140c6d1a4
mov ecx, 1
add dl, dl
jne 0x140c6d186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c6d193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c6d17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c6d0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140c6d1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c6d1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c6d1b5
cmp eax, 0x7d00
jae 0x140c6d1f3
cmp eax, 0x500
jb 0x140c6d1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c6d0d6
cmp eax, 0x7f
ja 0x140c6d1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c6d0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140c6d22a
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 0x140c6d0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20