joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401c6cf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1402f2018]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov r14d, edx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
mov dword [rsp + 0x40], esi
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
movdqa xmm0, xmmword [0x1402c2ea0]
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x58], 0x74737271
mov dword [rsp + 0x5c], 0x78777675
mov word [rsp + 0x60], 0x7a79
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
xor r8d, r8d
lea rdx, [0x1402adca8]
mov rcx, rdi
call fcn.140035ee0
mov ebp, 1
mov dword [rsp + 0x40], ebp
test r14d, r14d
jle 0x1401c6e43
movabs r15, 0x7fffffffffffffff
movzx ebx, byte [rsp + 0x90]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x1a
sub ecx, eax
movsxd rax, ecx
movzx ecx, byte [rsp + rax + 0x48]
mov byte [rsp + 0x90], cl
mov rax, qword [rdi + 0x10]
cmp rax, r15
je 0x1401c6e73
mov r9, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1401c6def
mov r9, qword [rdi]
mov qword [rsp + 0x30], 1
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov r8, rdi
movzx edx, bl
lea rcx, [rsp + 0x70]
call fcn.140037e80
or ebp, 2
mov dword [rsp + 0x40], ebp
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.1400410d0
lea rcx, [rsp + 0x70]
call fcn.140036090
inc esi
cmp esi, r14d
jl 0x1401c6da8
mov rax, rdi
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1402283f0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.140035ce0
int3
Function at 0x1401dd960
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x60
cmp byte [0x1402fb399], 0
mov rbx, rcx
jne 0x1401ddb91
cmp byte [0x1402fb398], 0
jne 0x1401ddb91
mov qword [rax + 0x18], rdi
mov rdi, qword [0x1402fb580]
cmp byte [rdi + 0xa7], 0
je 0x1401ddb89
movdqa xmm0, xmmword [0x1402c2f50]
lea rcx, [rax - 0x47]
mov qword [rax + 8], rbp
mov edx, 0xfd0c5087
movdqu xmmword [rax - 0x48], xmm0
mov qword [rax + 0x10], rsi
mov dword [rax - 0x38], 0x327265
mov byte [rax - 0x34], 0
call fcn.1400356d0
mov rcx, qword [rdi + 0x180]
mov rdx, qword [rdi + 0x188]
mov rsi, qword [0x1402fb4f0]
mov rbp, qword [0x1402fb490]
cmp rcx, rdx
je 0x1401dda02
nop dword [rax]
cmp dword [rcx + 0x30], eax
je 0x1401ddb97
add rcx, 0x50
cmp rcx, rdx
jne 0x1401dd9f0
mov byte [rbx + 0x4c0], 0
mov rax, qword [rbx + 0x20]
cmp byte [rax + 0x2b0], 0
je 0x1401dda33
mov rcx, rbx
call fcn.1401df010
mov rdi, qword [0x1402fb580]
mov rsi, qword [0x1402fb4f0]
mov rbp, qword [0x1402fb490]
movdqa xmm0, xmmword [0x1402c2f00]
lea rcx, [rsp + 0x39]
mov edx, 0xfd0c5087
mov dword [rsp + 0x48], 0x61686365
movdqu xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x4c], 0x75656772
mov word [rsp + 0x50], reloc.WS2_32.dll_WSASetLastError
mov byte [rsp + 0x52], 0
call fcn.1400356d0
mov rcx, qword [rdi + 0x180]
mov rdx, qword [rdi + 0x188]
cmp rcx, rdx
je 0x1401dda8e
nop
cmp dword [rcx + 0x30], eax
je 0x1401ddaa6
add rcx, 0x50
cmp rcx, rdx
jne 0x1401dda80
cmp byte [rbp + 0x6c], 0
jne 0x1401ddaa6
cmp byte [rdi + 0xe8], 0
je 0x1401ddaad
cmp byte [rdi + 0x130], 0
je 0x1401ddaad
mov byte [rsi + 0x198], 0
mov rcx, rbx
call fcn.1401df510
mov rax, qword [rbx + 0x490]
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
cmp byte [rax + 0x2b0], 0
je 0x1401ddae0
cmp byte [rbx + 0x4c0], 0
jne 0x1401ddae0
mov rcx, rbx
call fcn.1401dec30
mov rax, qword [0x1402fb4f0]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x2b2], 0
je 0x1401ddb3c
cmp byte [rbx + 0x4c0], 0
jne 0x1401ddb3c
mov rax, qword [rbx + 0x18]
cmp byte [rax + 0x2b0], 0
je 0x1401ddb12
mov rcx, rbx
call fcn.1401de8b0
mov rax, qword [rbx + 8]
cmp byte [rax + 0x2b0], 0
je 0x1401ddb27
mov rcx, rbx
call fcn.1401dddb0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x2b0], 0
je 0x1401ddb3c
mov rcx, rbx
call fcn.1401de500
mov rax, qword [0x1402fb4f0]
mov rcx, qword [rax + 0x10]
cmp byte [rcx + 0x2b2], 0
je 0x1401ddb89
cmp byte [rbx + 0x4c0], 0
jne 0x1401ddb89
mov rax, qword [rbx + 0x4a8]
cmp byte [rax + 0x2b0], 0
je 0x1401ddb71
mov rcx, rbx
call fcn.1401dddb0
mov rax, qword [rbx + 0x4b0]
cmp byte [rax + 0x2b0], 0
je 0x1401ddb89
mov rcx, rbx
call fcn.1401de500
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x4c0], 1
mov word [rsi + 0x198], 0
mov byte [rbp + 0x6c], 0
jmp 0x1401dda09
Function at 0x1401dfa40
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1402f2018]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
call fcn.14013edd0
call fcn.14013edd0
mov rax, qword [0x1402fb450]
movzx ecx, byte [rax + 0x2b0]
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x1401dfafc
mov rax, qword [rbx + 8]
cmp byte [rax + 0x48], 0
jne 0x1401dfafc
mov rax, qword [0x1402fb580]
cmp byte [rax + 0xe8], 0
je 0x1401dfaa0
cmp byte [rax + 0x130], 0
jne 0x1401dfafc
call fcn.14013edd0
mov rbx, rax
call fcn.14013edd0
mov rcx, qword [0x1402fb450]
xor edx, edx
movzx ecx, byte [rcx + 0x2b0]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ecx, ecx
mov qword [rsp + 0x20], 1
mov qword [rsp + 0x30], rcx
lea r8, [rsp + 0x20]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rcx
mov word [rsp + 0x28], cx
mov rcx, rbx
mov word [rsp + 0x2a], ax
mov dword [rsp + 0x2c], 0xa
call fcn.14006ca60
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1402283f0
add rsp, 0x50
pop rbx
ret
Function at 0x140200360
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x110
mov rax, qword [0x1402f2018]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov r14, rdx
mov rbx, rcx
lea rdx, [rsp + 0x20]
call fcn.1401ff7b0
mov r9, rax
test rax, rax
je 0x1402003b9
mov r8, qword [rsp + 0x20]
mov al, 3
sub r9, rbx
mov qword [r14], r8
mov byte [r14 + 8], al
lea rax, [r9 + 1]
jmp 0x14020053a
lea rdx, [0x14029c970]
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strpbrk
test rax, rax
je 0x1402003f0
movzx edi, byte [rax]
or edi, 0x20
cmp edi, 0x6e
je 0x140200538
cmp edi, 0x78
jne 0x1402003f2
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1402006a0
jmp 0x1402003ff
xor edi, edi
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtod
mov rcx, qword [rsp + 0x20]
lea rbp, [0x14029f890]
cmp rcx, rbx
je 0x140200445
movzx eax, byte [rcx]
test byte [rax + rbp + 1], 8
je 0x140200432
nop word [rax + rax]
inc rcx
mov qword [rsp + 0x20], rcx
movzx eax, byte [rcx]
test byte [rax + rbp + 1], 8
jne 0x140200420
xor r9d, r9d
cmp byte [rcx], r9b
cmove r9, rcx
test r9, r9
jne 0x140200524
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rbx
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
je 0x140200538
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140200465
cmp rcx, 0xc8
ja 0x140200538
lea rdx, [rsp + 0x30]
mov rcx, rbx
sub rdx, rbx
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140200490
call sub.api_ms_win_crt_locale_l1_1_0.dll_localeconv
sub rsi, rbx
lea rdx, [rsp + 0x20]
mov rcx, qword [rax]
movzx eax, byte [rcx]
lea rcx, [rsp + 0x30]
mov byte [rsp + rsi + 0x30], al
cmp edi, 0x78
jne 0x1402004c6
call fcn.1402006a0
jmp 0x1402004cb
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtod
mov rcx, qword [rsp + 0x20]
lea rax, [rsp + 0x30]
cmp rcx, rax
je 0x140200538
movzx eax, byte [rcx]
test byte [rax + rbp + 1], 8
je 0x140200502
nop dword [rax]
nop dword [rax + rax]
inc rcx
mov qword [rsp + 0x20], rcx
movzx eax, byte [rcx]
test byte [rax + rbp + 1], 8
jne 0x1402004f0
xor r9d, r9d
cmp byte [rcx], r9b
cmove r9, rcx
test r9, r9
je 0x140200538
lea rcx, [rsp + 0x30]
mov rax, rbx
sub rax, rcx
add r9, rax
test r9, r9
je 0x140200538
mov al, reloc.WS2_32.dll_send
movsd qword [r14], xmm0
sub r9, rbx
mov byte [r14 + 8], al
lea rax, [r9 + 1]
jmp 0x14020053a
xor eax, eax
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1402283f0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1402006a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r15
sub rsp, 0x20
mov qword [rsp + 0x40], rbx
mov r15, rdx
mov rbx, rcx
call sub.api_ms_win_crt_locale_l1_1_0.dll_localeconv
xor edi, edi
lea r12, [0x14029f890]
xorps xmm1, xmm1
mov r10d, edi
mov esi, edi
mov r9d, edi
mov r8, qword [rax]
mov r11d, edi
movsx ebp, byte [r8]
mov qword [r15], rbx
movzx eax, byte [rbx]
test byte [rax + r12 + 1], 8
je 0x1402006ff
nop
movzx eax, byte [rbx + 1]
inc rbx
test byte [rax + r12 + 1], 8
jne 0x1402006f0
mov qword [rsp + 0x48], r14
lea rdx, [rbx + 1]
cmp al, 0x2d
jne 0x140200714
mov r14d, 1
jmp 0x14020071d
cmp al, 0x2b
mov r14d, edi
cmovne rdx, rbx
cmp byte [rdx], 0x30
mov rbx, qword [rsp + 0x40]
jne 0x140200858
movzx eax, byte [rdx + 1]
sub al, 0x58
test al, 0xdf
jne 0x140200858
movsd xmm2, qword [0x14029c9e0]
add rdx, 2
nop word [rax + rax]
movzx r8d, byte [rdx]
movsx rcx, r8b
cmp ecx, ebp
jne 0x14020076c
test r11d, r11d
jne 0x1402007c1
mov r11d, 1
inc rdx
jmp 0x140200750
test byte [r8 + r12 + 1], 0x10
je 0x1402007c1
test r10d, r10d
jne 0x140200783
cmp r8b, 0x30
jne 0x140200783
inc esi
jmp 0x1402007b4
inc r10d
cmp r10d, 0x1e
jg 0x1402007b1
test byte [rcx + r12 + 1], 2
je 0x140200799
add ecx, 0xffffffd0
jmp 0x14020079f
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x1402007b4
inc r9d
test r11d, r11d
je 0x1402007bc
dec r9d
inc rdx
jmp 0x140200750
lea eax, [rsi + r10]
test eax, eax
je 0x140200858
mov qword [r15], rdx
lea r9d, [r9*4]
movzx eax, byte [rdx]
sub al, 0x50
test al, 0xdf
jne 0x14020083f
movzx r10d, byte [rdx + 1]
cmp r10b, 0x2d
jne 0x1402007f3
mov eax, 2
jmp 0x140200800
cmp r10b, 0x2b
mov rax, rdi
sete al
inc rax
lea r8, [rax + rdx]
movzx edx, byte [rax + rdx]
test byte [rdx + r12 + 1], 2
je 0x140200858
movsx eax, dl
lea edi, [rdi + rdi*4]
inc r8
lea edi, [rdi - 0x18]
lea edi, [rax + rdi*2]
movzx eax, byte [r8]
movzx edx, al
test byte [rax + r12 + 1], 2
jne 0x140200810
mov eax, edi
mov qword [r15], r8
neg eax
cmp r10b, 0x2d
cmovne eax, edi
add r9d, eax
test r14d, r14d
je 0x14020084b
xorps xmm1, xmmword [0x1402c2fa0]
mov edx, r9d
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ldexp
jmp 0x14020085b
xorps xmm0, xmm0
mov r14, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r12
pop rdi
ret
Function at 0x140205b40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rdx, r8
je 0x140205c57
push rbx
sub rsp, 0x20
mov qword [rsp + 0x30], rdi
mov r11, r8
lea rdi, [0x140000000]
mov r10, rdx
mov rbx, rcx
movzx edx, byte [r10 + 9]
movzx eax, dl
and al, 7
cmp al, 3
jne case.0x140205baa.8
xor dl, 7
mov byte [r10 + 9], dl
test dl, 0x20
je case.0x140205baa.8
movzx eax, byte [r10 + 8]
add eax, 0xfffffffc
cmp eax, 0x22
ja case.0x140205baa.8
cdqe
movzx eax, byte [rdi + rax + 0x205c6c]
mov ecx, dword [rdi + rax*4 + 0x205c58]
add rcx, rdi
jmp rcx
and dl, 0xe7
or dl, 0x20
mov byte [r10 + 9], dl
jmp case.0x140205baa.8
mov rcx, qword [r10 + 0x10]
lea rax, [r10 + 0x18]
cmp rcx, rax
je 0x140205bcd
and dl, 0xc7
jmp 0x140205bd3
and dl, 0xe7
or dl, 0x20
mov byte [r10 + 9], dl
test byte [rcx + 8], 0x40
je case.0x140205baa.8
mov rdx, qword [rcx]
test byte [rdx + 9], 0x18
je case.0x140205baa.8
mov rcx, rbx
call fcn.1402062f0
jmp case.0x140205baa.8
cmp word [r10 + 0xa], 0
jne case.0x140205baa.5
mov rax, qword [r10 + 0x18]
test rax, rax
je 0x140205c17
test byte [rax + 9], 0x18
je 0x140205c17
mov rdx, rax
mov rcx, rbx
call fcn.1402062f0
movzx edx, byte [r10 + 9]
and dl, 0xe7
or dl, 0x20
mov byte [r10 + 9], dl
jmp case.0x140205baa.8
mov rcx, r10
call fcn.140205000
mov rcx, qword [rbx + 0x88]
mov qword [rax], rcx
mov qword [rbx + 0x88], r10
and byte [r10 + 9], 0xc7
mov r10, qword [r10]
cmp r10, r11
jne 0x140205b63
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
Function at 0x1402071e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rdi, rcx
xor ebp, ebp
mov rcx, rdx
mov esi, ebp
mov r15d, ebp
mov r12d, r8d
mov rbx, rdx
call fcn.140208db0
movzx ecx, byte [rbx + 0xb]
mov r14d, 1
shl r14d, cl
test eax, eax
je 0x14020725d
mov r10d, ebp
mov r11d, eax
nop dword [rax]
mov rax, qword [rbx + 0x10]
test byte [r10 + rax + 8], 0x40
je 0x140207253
mov rdx, qword [r10 + rax]
test byte [rdx + 9], 0x18
je 0x140207253
mov rcx, rdi
mov esi, 1
call fcn.1402062f0
add r10, 0x10
sub r11, 1
jne 0x140207230
mov r11d, ebp
test r14d, r14d
je 0x140207302
nop dword [rax]
mov rdx, qword [rbx + 0x18]
mov ecx, r14d
sub ecx, r11d
mov eax, r11d
dec ecx
test r12d, r12d
cmovne eax, ecx
lea rcx, [rax + rax*2]
movzx eax, byte [rdx + rcx*8 + 8]
lea r10, [rdx + rcx*8]
movzx ecx, byte [rdx + rcx*8 + 9]
and cl, 0x40
test al, 0xf
jne 0x1402072a9
test cl, cl
je 0x1402072f6
mov byte [r10 + 9], ntohl
jmp 0x1402072f6
test cl, cl
je 0x1402072da
mov rdx, qword [r10 + 0x10]
test rdx, rdx
je 0x1402072da
movzx ecx, byte [rdx + 8]
movzx r8d, byte [rdx + 9]
and cl, 0xf
cmp cl, 4
jne 0x140207323
test r8b, 0x18
je 0x1402072da
mov rcx, rdi
call fcn.1402062f0
movzx eax, byte [r10 + 8]
and al, 0x40
test al, al
je 0x1402072f6
mov rdx, qword [r10]
test byte [rdx + 9], 0x18
je 0x1402072f6
mov rcx, rdi
mov esi, 1
call fcn.1402062f0
inc r11d
cmp r11d, r14d
jb 0x140207270
cmp byte [rdi + 0x65], 0
jne 0x140207344
mov rcx, qword [rdi + 0x90]
mov qword [rbx + 0x30], rcx
mov qword [rdi + 0x90], rbx
and byte [rbx + 9], 0xc7
jmp 0x1402073b5
mov ecx, r8d
and al, 0x40
and ecx, 0x18
je 0x1402072dc
mov ebp, 1
test al, al
je 0x1402072f6
mov rax, qword [r10]
test byte [rax + 9], 0x18
je 0x1402072f6
mov r15d, ebp
jmp 0x1402072f6
test r15d, r15d
je 0x140207361
mov rax, qword [rdi + 0xa0]
mov qword [rbx + 0x30], rax
mov qword [rdi + 0xa0], rbx
and byte [rbx + 9], 0xc7
jmp 0x1402073b5
test ebp, ebp
je 0x14020737d
mov rax, qword [rdi + 0xa8]
mov qword [rbx + 0x30], rax
mov qword [rdi + 0xa8], rbx
and byte [rbx + 9], 0xc7
jmp 0x1402073b5
movzx eax, byte [rbx + 9]
movzx ecx, al
and cl, 7
cmp cl, 5
jne 0x1402073ab
mov rcx, rbx
call fcn.140205000
mov rcx, qword [rdi + 0x90]
mov qword [rax], rcx
mov qword [rdi + 0x90], rbx
and byte [rbx + 9], 0xc7
jmp 0x1402073b5
cmp cl, 6
jne 0x1402073b5
xor al, 2
mov byte [rbx + 9], al
mov rbx, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140207530
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov eax, 1
movzx ecx, byte [rdx + 0xb]
mov rbx, rdx
shl eax, cl
mov rcx, rdx
cdqe
lea r8, [rax + rax*2]
mov rax, qword [rdx + 0x18]
lea rbp, [rax + r8*8]
call fcn.140208db0
xor esi, esi
test eax, eax
je 0x1402075a8
mov r10d, esi
mov r11d, eax
nop word [rax + rax]
mov rax, qword [rbx + 0x10]
test byte [r10 + rax + 8], 0x40
je 0x14020759e
mov rdx, qword [r10 + rax]
test byte [rdx + 9], 0x18
je 0x14020759e
mov rcx, rdi
call fcn.1402062f0
add r10, 0x10
sub r11, 1
jne 0x140207580
mov r10, qword [rbx + 0x18]
cmp r10, rbp
jae 0x140207604
movzx eax, byte [r10 + 8]
test al, 0xf
jne 0x1402075c8
test byte [r10 + 9], 0x40
je 0x1402075fb
mov byte [r10 + 9], ntohl
jmp 0x1402075fb
test byte [r10 + 9], 0x40
je 0x1402075e6
mov rdx, qword [r10 + 0x10]
test byte [rdx + 9], 0x18
je 0x1402075e6
mov rcx, rdi
call fcn.1402062f0
movzx eax, byte [r10 + 8]
test al, 0x40
je 0x1402075fb
mov rdx, qword [r10]
test byte [rdx + 9], 0x18
je 0x1402075fb
mov rcx, rdi
call fcn.1402062f0
add r10, 0x18
cmp r10, rbp
jb 0x1402075b1
movzx eax, byte [rbx + 9]
movzx ecx, al
and cl, 7
cmp cl, 5
jne 0x14020766f
movzx eax, byte [rbx + 8]
add eax, 0xfffffffb
cmp eax, 0x21
ja case.0x14020763a.9
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x2076a8]
mov ecx, dword [rdx + rax*4 + 0x207690]
add rcx, rdx
jmp rcx
lea rsi, [rbx + 0x30]
jmp case.0x14020763a.9
lea rsi, [rbx + 0x10]
jmp case.0x14020763a.9
lea rsi, [rbx + 0x40]
jmp case.0x14020763a.9
lea rsi, [rbx + 0x78]
jmp case.0x14020763a.9
lea rsi, [rbx + 0x20]
mov rax, qword [rdi + 0x90]
mov qword [rsi], rax
mov qword [rdi + 0x90], rbx
and byte [rbx + 9], 0xc7
jmp 0x140207679
cmp cl, 6
jne 0x140207679
xor al, 2
mov byte [rbx + 9], al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140207b90
Capabilities:
Encode data using xor

Disassembly:
mov eax, edx
mov r9, rcx
xor eax, r8d
test rdx, rdx
je 0x140207bbf
nop dword [rax]
movzx r8d, byte [r9 + rdx - 1]
mov ecx, eax
shl ecx, 5
add r8d, ecx
mov ecx, eax
shr ecx, 2
add r8d, ecx
xor eax, r8d
sub rdx, 1
jne 0x140207ba0
ret

Function at 0x140207e10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
mov rsi, r8
mov rbp, rdx
cmp r8, 0x28
ja 0x140207e35
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
jmp fcn.1402078e0
movabs rax, 0x7fffffffffffffdf
cmp rsi, rax
jae 0x140207e9d
mov rax, qword [rcx + 0x18]
add r8, 0x19
mov qword [rsp + 0x30], rbx
mov edx, reloc.WS2_32.dll_sendto
mov qword [rsp + 0x38], rdi
mov ebx, dword [rax + 0x60]
call fcn.140205490
mov r8, rsi
mov rdx, rbp
mov rdi, rax
mov dword [rax + 0xc], ebx
lea rcx, [rax + 0x18]
mov byte [rax + 0xa], 0
mov byte [rax + rsi + 0x18], 0
mov qword [rax + 0x10], rsi
call sub.VCRUNTIME140.dll_memcpy
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
call fcn.14020fa10
int3
Function at 0x140227ca4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140227d28
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140227d28
dec r8
sub rdx, 1
jne 0x140227d0e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14022940c
Capabilities:
Parse pe header

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

Function at 0x140229b90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 6], dil
je 0x140229bc4
mov ecx, edi
nop dword [rax]
lea eax, [rcx + 0x4a]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x140229bb0
mov byte [r8 + 6], dil
lea rax, [r8 + 5]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x140229bf1
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x140229c0f
mov qword [rsp + 0x30], 5
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
movzx eax, byte [r8 + 4]
mov byte [rsp + 0x24], al
mov byte [rsp + 0x25], dil
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140229c1d
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14007dc00
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140229c94
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140229c8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140229c8f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140228660
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140229cb0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 7], dil
je 0x140229ce4
mov ecx, edi
nop dword [rax]
lea eax, [rcx + 0x4a]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 6
jb 0x140229cd0
mov byte [r8 + 7], dil
lea rax, [r8 + 6]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x140229d11
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x140229d30
mov qword [rsp + 0x30], 6
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
movzx eax, word [r8 + 4]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x26], dil
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140229d3e
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14007dc00
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140229db5
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140229db0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140229db0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140228660
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret