joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14019bbe0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x14039fd98]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x50], 0
movzx eax, byte [rsp + 0xd0]
setne bpl
or bpl, al
mov rax, qword [rcx + 0x48]
mov r12, qword [rax]
mov rax, qword [rax + 0x10]
mov rcx, qword [rax]
mov rax, qword [rcx]
mov byte [rsp + 0x20], bpl
call qword [rax + 0x20]
cmp r12, 2
jl 0x14019bd90
lea r13, [rsp + 0x50]
lea rax, [rsi + rsi*2]
lea rax, [rax*2 + 0xc]
mov qword [rsp + 0x28], rax
mov r15d, 1
jmp 0x14019bc86
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmm2, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x20], xmm2
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx], xmm0
inc r15
cmp r15, r12
je 0x14019bd90
mov rax, qword [rbx]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0
mov byte [rsp + 0x3c], 0
mov dword [rsp + 0x3e], 0
mov byte [rsp + 0x42], 0
mov dword [rsp + 0x44], 0
mov byte [rsp + 0x48], 0
mov dword [rsp + 0x4a], 0
mov byte [rsp + 0x4e], 0
mov byte [r13 + 8], 0
mov qword [r13], 0
mov rax, qword [r14 + 0x48]
mov rax, qword [rax + 0x10]
mov rcx, r15
shl rcx, 4
mov rcx, qword [rax + rcx]
mov rax, qword [rcx]
mov byte [rsp + 0x20], bpl
lea rdx, [rsp + 0x30]
mov r8, rdi
mov r9, rsi
call qword [rax + 0x20]
cmp byte [rsp + 0x58], 0
jne 0x14019bc7a
cmp byte [rbx + 0x28], 0
jne 0x14019bc60
mov rax, qword [rsp + 0x28]
mov rcx, rsi
cmp qword [rbx], rsi
jg 0x14019bd5e
jmp 0x14019bc7a
mov byte [rbx + rax], 0
mov r11d, r10d
and r11d, r9d
mov r9d, r8d
and r9d, r11d
mov word [rsp + rax + 0x2e], r9w
xor r8d, edx
not r8d
and r8d, r11d
mov word [rbx + rax - 4], r8w
and r8d, edx
mov word [rbx + rax - 2], r8w
inc rcx
add rax, 6
cmp rcx, qword [rbx]
jge 0x14019bc7a
movzx r9d, word [rbx + rax - 4]
movzx edx, word [rbx + rax - 2]
movzx r10d, word [rsp + rax + 0x2c]
movzx r8d, word [rsp + rax + 0x2e]
cmp r9w, r10w
jne 0x14019bd20
cmp dx, r8w
jne 0x14019bd20
cmp byte [rsp + rax + 0x30], 0
mov r8d, edx
mov r11d, r9d
jne 0x14019bd27
jmp 0x14019bd20
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140265fe0
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1401ae050
Capabilities:
Access peb ldr_data

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
call fcn.1401adee0
mov rax, qword [rsi + 0x60]
cmp rax, 1
je 0x1401ae0a1
test rax, rax
jne 0x1401ae0ad
mov eax, dword [0x1403a2d98]
mov ecx, dword [0x1403a6ee0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x10]
jg 0x1401ae153
mov rsi, qword [0x1403a2d90]
jmp 0x1401ae146
mov rax, qword [rsi + 0x70]
mov rsi, qword [rax]
jmp 0x1401ae146
mov rdx, qword [rsi]
mov ecx, 0x20
call fcn.1401168f0
mov rdi, rax
mov eax, dword [0x1403a6ee0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x18]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], rax
cmp qword [rsi + 0x60], 0
jle 0x1401ae12b
xor ebx, ebx
nop word cs:[rax + rax]
mov r14, qword [rsi + 0x70]
mov rdx, qword [rdi]
inc rdx
mov rcx, rdi
call fcn.1401015f0
mov rax, qword [r14 + rbx*8]
mov rcx, qword [rdi]
mov rdx, qword [rdi + 0x10]
mov qword [rdx + rcx*8 - 8], rax
inc rbx
cmp rbx, qword [rsi + 0x60]
jl 0x1401ae100
mov rdx, qword [rsi]
mov ecx, 0x20
call fcn.1401168f0
mov rsi, rax
mov rcx, rax
mov rdx, rdi
call fcn.1401aade0
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1403a2d98]
call fcn.140266468
cmp dword [0x1403a2d98], 0xffffffff
jne 0x1401ae095
mov ecx, 8
call fcn.140266260
lea rcx, [0x140321400]
mov qword [rax], rcx
mov qword [0x1403a2d90], rax
lea rcx, [0x1403a2d98]
call fcn.140266408
jmp 0x1401ae095
Function at 0x1401b2c20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, r8
mov rax, qword [0x14039fd98]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov eax, dword [0x1403a6ee0]
mov r8, qword gs:[0x58]
mov rax, qword [r8 + rax*8]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x58], 0x200000
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov byte [rsp + 0x78], 1
mov dword [rsp + 0x7c], edx
mov dword [rsp + 0x80], 0
mov rax, qword [rcx + 8]
mov rcx, qword [rax + 7]
cmp rcx, 2
jl 0x1401b2cc2
lea rcx, [rsp + 0x30]
mov dl, 1
call fcn.1401ae670
mov dword [rsp + 0x58], eax
jmp 0x1401b2cde
mov dword [rsp + 0x58], 0x200000
mov rax, qword [rax + 7]
sar rax, 1
inc rax
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x78], 0
lea rbx, [rsp + 0x30]
mov rcx, rbx
call fcn.1401ae8f0
mov rdi, rax
mov rcx, rbx
call fcn.1401afca0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x98]
test al, al
je 0x1401b2d33
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x90]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 8]
mov rcx, qword [rcx + 7]
sar rcx, 1
cmp qword [rax], rcx
jne 0x1401b2d33
mov byte [rsp + 0x80], 1
mov qword [rsi], rdi
mov rbx, qword [rsp + 0x68]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x98]
cmp byte [rsp + 0x80], 0
setne cl
test rbx, rbx
sete dl
and dl, cl
and dl, al
mov byte [rsi + 0x10], dl
movzx eax, byte [rsp + 0x81]
mov byte [rsi + 0x11], al
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
call fcn.1401b2100
mov rax, qword [rsi + 0x18]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 8], rcx
mov qword [rsi + 0x28], rbx
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140265fe0
nop
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401c5cc0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x14039fd98]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, dword [0x1403a6ee0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rax, qword [rsi + 0x20]
mov rbx, qword [rax + 0x2f8]
mov rdx, qword [0x14039dc60]
mov r8d, 4
mov rcx, rdi
call fcn.1400f65d0
mov qword [rsp + 0x40], rax
mov rcx, rdi
call fcn.140100270
mov qword [rsp + 0x48], rax
mov rcx, rbx
call fcn.140100290
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
mov r13d, 1
lea rbp, [0x1403253f0]
lea rdi, [rsp + 0x40]
lea rbx, [rsp + 0x28]
lea r12, [0x1403a4190]
jmp 0x1401c5d92
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 8]
mov rax, qword [rcx + rax*8 + 0x27]
mov qword [r14 + 8], rax
mov qword [r12 + r13*8], r14
inc r13
cmp r13, 0x27b
je 0x1401c5de0
mov ecx, 0x5d
call fcn.140122570
mov r14, rax
mov r15, qword [rbp + r13*8]
mov rcx, r15
call fcn.1402774d0
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], rax
mov rcx, r15
mov rdx, rax
call fcn.1401786c0
mov qword [rsp + 0x38], rax
mov rcx, rdi
mov rdx, rbx
call fcn.1401c8350
cmp rax, 0xffffffffffffffff
jne 0x1401c5d70
mov rax, qword [0x14039dc60]
jmp 0x1401c5d7e
lea r13, [0x1403a3990]
xor ebp, ebp
lea rdi, [rsp + 0x27]
lea rbx, [rsp + 0x40]
lea r14, [rsp + 0x28]
jmp 0x1401c5e32
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 8]
mov rax, qword [rcx + rax*8 + 0x27]
mov qword [r15 + 8], rax
mov rax, qword [r15 + 8]
mov qword [r13], rax
mov qword [r12 + rbp*8 + 0x13d8], r15
inc rbp
add r13, 8
cmp rbp, 0x100
je 0x1401c5e7e
mov byte [rsp + 0x27], bpl
mov ecx, 0x5d
call fcn.140122570
mov r15, rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], 1
mov edx, 1
mov rcx, rdi
call fcn.1401786c0
mov qword [rsp + 0x38], rax
mov rcx, rbx
mov rdx, r14
call fcn.1401c8350
cmp rax, 0xffffffffffffffff
jne 0x1401c5e00
mov rax, qword [0x14039dc60]
jmp 0x1401c5e0e
mov rax, qword [rsi + 0x20]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], 0
mov rcx, qword [rcx + 8]
mov qword [rax + 0x2f8], rcx
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1401c5eb5
mov rcx, qword [0x14039dc60]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140265fe0
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1401cd660
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x14039ddc0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401cd68c
cmp byte [rax + 8], 0
jne 0x1401cd691
mov rcx, rax
call fcn.14006e790
test rax, rax
jne 0x1401cd691
call fcn.140195d30
mov rax, qword [rax + 0x68]
test rax, rax
je 0x1401cd6a3
cmp qword [rax + 0x10], rsi
sete al
jmp 0x1401cd6a5
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x1401cd6b0
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x14039fd98]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ecx, dword [0x14039ddc0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401cd6ef
cmp byte [rax + 8], 0
jne 0x1401cd6f4
mov rcx, rax
call fcn.14006e790
test rax, rax
jne 0x1401cd6f4
call fcn.140195d30
mov rbx, qword [rax + 0x68]
test rbx, rbx
je 0x1401cd79c
lea rdi, [rsi + 8]
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov byte [rbx + 0x28], 1
mov rax, qword [rsi + 0x98]
test rax, rax
je 0x1401cd7b4
inc rax
mov qword [rsi + 0x98], rax
lea r14, [rsi + 0x48]
cmp qword [rsi + 0x48], r14
jne 0x1401cd7b4
cmp qword [rsi + 0x68], 0
je 0x1401cd7b4
mov ecx, 0x30
call fcn.140266260
mov rbx, rax
mov qword [rax + 0x10], rsi
mov rax, qword [0x14031f400]
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], 0
mov byte [rbx + 0x28], 0
mov qword [rbx], r14
mov rax, qword [rsi + 0x50]
mov qword [rbx + 8], rax
mov qword [rsi + 0x50], rbx
mov qword [rax], rbx
inc qword [rsi + 0x28]
mov rcx, rdi
call fcn.1400a1310
lea rcx, str.DartWorker
lea rdx, [0x1401cdc30]
mov r8, rbx
call fcn.140195f90
test eax, eax
jne 0x1401cd7d2
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140265fe0
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140265fe0
mov rcx, rdi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400a1310
lea rcx, str..._.._runtime_vm_thread_pool.cc
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x28], 0x12b
lea rdx, str.Could_not_start_worker_thread:_result___d.
lea rcx, [rsp + 0x20]
mov r8d, eax
call fcn.1400235e0
int3

Function at 0x1401cd800
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x14039ddc0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401cd82e
cmp byte [rax + 8], 0
jne 0x1401cd833
mov rcx, rax
call fcn.14006e790
test rax, rax
jne 0x1401cd833
call fcn.140195d30
mov rbx, qword [rax + 0x68]
test rbx, rbx
je 0x1401cd877
lea rdi, [rsi + 8]
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
cmp byte [rbx + 0x28], 0
je 0x1401cd868
mov byte [rbx + 0x28], 0
mov rax, qword [rsi + 0x98]
test rax, rax
je 0x1401cd868
dec rax
mov qword [rsi + 0x98], rax
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400a1310
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401d01d0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov rax, qword [0x14039fd98]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov edx, dword [0x1403a2400]
cmp edx, 0x10000001
jb 0x1401d0207
lea rcx, str.warning:_value_specified_for___old_gen_heap_size__d_is_larger_than_the_physically_addressable_range__using_0_unlimited__instead.__n
call fcn.140196c20
mov dword [0x1403a2400], 0
mov edx, dword [0x1403a23f0]
cmp edx, 0x10000001
jb 0x1401d0231
lea rcx, str.warning:_value_specified_for___new_gen_semi_max_size__d_is_larger_than_the_physically_addressable_range__using__lld_instead.__n
mov r8d, reloc.WS2_32.dll_recv
call fcn.140196c20
mov dword [0x1403a23f0], 0x10
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
mov qword [0x1403a5d98], rax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140265fe0
nop
add rsp, 0x58
ret

Function at 0x1401d0260
Capabilities:
Allocate or change rwx memory

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rbx, rcx
lea rsi, [rdx + rcx]
sub rsi, qword [0x1403a5d98]
test byte [0x1403a21d8], 1
mov ebp, 0x40
mov eax, 4
cmovne ebp, eax
test r8b, r8b
cmove ebp, eax
xor r15d, r15d
xor ecx, ecx
mov rdx, rsi
mov r8d, 0x2000
mov r9d, ebp
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1401d031c
mov r14, rax
add rax, rdi
dec rax
neg rdi
and rdi, rax
mov rcx, rdi
mov rdx, rbx
mov r8d, 0x1000
mov r9d, ebp
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp rax, rdi
je 0x1401d02f3
mov rcx, r14
mov rdx, rsi
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor r15d, r15d
jmp 0x1401d031c
test rdi, rdi
je 0x1401d02ee
mov ecx, 0x30
call fcn.140266260
mov r15, rax
mov qword [rax], rdi
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], r14
mov qword [rax + 0x28], rsi
mov rax, r15
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1401f2480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea rax, vtable.icu_68::Locale.0
mov qword [rcx], rax
lea rax, [rcx + 0x30]
mov qword [rcx + 0x28], rax
mov qword [rcx + 0xd0], 0
xor edx, edx
xor r8d, r8d
jmp fcn.1401f1db0

Function at 0x1401f8a50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x1401fc5a0
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, edx
and eax, 0xfffffc00
mov edi, 0xffffffff
cmp eax, 0xd800
je 0x1401fc621
mov esi, r8d
mov r14d, edx
mov rbx, rcx
mov rcx, qword [rcx + 0x20]
mov r15, qword [rcx + 8]
cmp edx, 0xffff
ja 0x1401fc5ee
mov rax, qword [rcx]
mov ecx, r14d
shr ecx, 6
movzx ecx, word [rax + rcx*2]
mov eax, r14d
and eax, 0x3f
add eax, ecx
jmp 0x1401fc614
cmp r14d, 0x10ffff
ja 0x1401fc607
cmp dword [rcx + 0x18], r14d
jle 0x1401fc60e
mov edx, r14d
call fcn.14020f560
jmp 0x1401fc614
mov eax, dword [rcx + 0x14]
dec eax
jmp 0x1401fc614
mov eax, dword [rcx + 0x14]
add eax, 0xfffffffe
cdqe
movzx ecx, word [r15 + rax*2]
cmp rcx, 1
jne 0x1401fc62f
mov eax, edi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
cmp cx, word [rbx + 0x10]
jae 0x1401fc665
cmp cx, 2
jne 0x1401fc6f6
lea eax, [rsi - 0x1161]
cmp eax, 0x14
ja 0x1401fc621
lea eax, [r14 + r14*4]
lea eax, [r14 + rax*4]
add eax, esi
lea ecx, [rax + rax*8]
lea ecx, [rcx + rcx*2]
lea edi, [rcx + rax]
add edi, 0xffd7b964
jmp 0x1401fc621
cmp ecx, 0xfbff
ja 0x1401fc621
movzx eax, word [rbx + 0x1e]
cmp cx, ax
jb 0x1401fc621
movzx eax, ax
sub ecx, eax
sar ecx, 1
movsxd rax, ecx
add rax, rax
add rax, qword [rbx + 0x28]
cmp esi, 0x10ffff
ja 0x1401fc621
cmp esi, 0x33ff
ja 0x1401fc742
add esi, esi
movzx edx, si
movzx ecx, word [rax]
cmp edx, ecx
jbe 0x1401fc6c6
nop word [rax + rax]
mov r8, rax
and ecx, 1
or ecx, 2
lea rax, [rax + rcx*2]
movzx ecx, word [r8 + rcx*2]
cmp edx, ecx
ja 0x1401fc6b0
mov r8d, ecx
and r8d, 0x7ffe
mov edi, 0xffffffff
cmp edx, r8d
jne 0x1401fc7ba
movzx edi, word [rax + 2]
test cl, 1
je 0x1401fc7ba
shl edi, 0x10
mov r8d, edi
jmp 0x1401fc7b3
movzx edx, word [rbx + 0xe]
cmp dx, cx
jne 0x1401fc71d
lea eax, [rsi - 0x11a8]
cmp eax, 0x1a
ja 0x1401fc621
lea edi, [r14 + rsi]
add edi, 0xffffee59
jmp 0x1401fc621
mov eax, ecx
and eax, 0xfffffffe
add rax, qword [rbx + 0x30]
cmp cx, dx
jbe 0x1401fc687
movzx ecx, word [rax]
and ecx, 0x1f
lea rax, [rax + rcx*2]
add rax, 2
jmp 0x1401fc687
mov ecx, esi
shr ecx, 9
add ecx, 0x3400
shl esi, 6
and ecx, 0xfffe
mov edi, 0xffffffff
jmp 0x1401fc76e
and edx, 1
or rdx, 2
mov r8, rdx
lea rax, [rax + rdx*2]
movzx edx, word [rax]
cmp ecx, edx
ja 0x1401fc760
mov r8d, edx
and r8d, 0x7ffe
cmp ecx, r8d
jne 0x1401fc7ba
movzx r8d, word [rax + 2]
cmp r8w, si
jae 0x1401fc7a0
mov r8d, 3
test dx, dx
js 0x1401fc7ba
lea rax, [rax + r8*2]
jmp 0x1401fc76e
xor esi, r8d
test esi, 0xffc0
jne 0x1401fc7ba
and r8d, 0x3f
shl r8d, 0x10
movzx edi, word [rax + 4]
or edi, r8d
sar edi, 1
jmp 0x1401fc621
Function at 0x1401fc5a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x1401fc5a0
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, edx
and eax, 0xfffffc00
mov edi, 0xffffffff
cmp eax, 0xd800
je 0x1401fc621
mov esi, r8d
mov r14d, edx
mov rbx, rcx
mov rcx, qword [rcx + 0x20]
mov r15, qword [rcx + 8]
cmp edx, 0xffff
ja 0x1401fc5ee
mov rax, qword [rcx]
mov ecx, r14d
shr ecx, 6
movzx ecx, word [rax + rcx*2]
mov eax, r14d
and eax, 0x3f
add eax, ecx
jmp 0x1401fc614
cmp r14d, 0x10ffff
ja 0x1401fc607
cmp dword [rcx + 0x18], r14d
jle 0x1401fc60e
mov edx, r14d
call fcn.14020f560
jmp 0x1401fc614
mov eax, dword [rcx + 0x14]
dec eax
jmp 0x1401fc614
mov eax, dword [rcx + 0x14]
add eax, 0xfffffffe
cdqe
movzx ecx, word [r15 + rax*2]
cmp rcx, 1
jne 0x1401fc62f
mov eax, edi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
cmp cx, word [rbx + 0x10]
jae 0x1401fc665
cmp cx, 2
jne 0x1401fc6f6
lea eax, [rsi - 0x1161]
cmp eax, 0x14
ja 0x1401fc621
lea eax, [r14 + r14*4]
lea eax, [r14 + rax*4]
add eax, esi
lea ecx, [rax + rax*8]
lea ecx, [rcx + rcx*2]
lea edi, [rcx + rax]
add edi, 0xffd7b964
jmp 0x1401fc621
cmp ecx, 0xfbff
ja 0x1401fc621
movzx eax, word [rbx + 0x1e]
cmp cx, ax
jb 0x1401fc621
movzx eax, ax
sub ecx, eax
sar ecx, 1
movsxd rax, ecx
add rax, rax
add rax, qword [rbx + 0x28]
cmp esi, 0x10ffff
ja 0x1401fc621
cmp esi, 0x33ff
ja 0x1401fc742
add esi, esi
movzx edx, si
movzx ecx, word [rax]
cmp edx, ecx
jbe 0x1401fc6c6
nop word [rax + rax]
mov r8, rax
and ecx, 1
or ecx, 2
lea rax, [rax + rcx*2]
movzx ecx, word [r8 + rcx*2]
cmp edx, ecx
ja 0x1401fc6b0
mov r8d, ecx
and r8d, 0x7ffe
mov edi, 0xffffffff
cmp edx, r8d
jne 0x1401fc7ba
movzx edi, word [rax + 2]
test cl, 1
je 0x1401fc7ba
shl edi, 0x10
mov r8d, edi
jmp 0x1401fc7b3
movzx edx, word [rbx + 0xe]
cmp dx, cx
jne 0x1401fc71d
lea eax, [rsi - 0x11a8]
cmp eax, 0x1a
ja 0x1401fc621
lea edi, [r14 + rsi]
add edi, 0xffffee59
jmp 0x1401fc621
mov eax, ecx
and eax, 0xfffffffe
add rax, qword [rbx + 0x30]
cmp cx, dx
jbe 0x1401fc687
movzx ecx, word [rax]
and ecx, 0x1f
lea rax, [rax + rcx*2]
add rax, 2
jmp 0x1401fc687
mov ecx, esi
shr ecx, 9
add ecx, 0x3400
shl esi, 6
and ecx, 0xfffe
mov edi, 0xffffffff
jmp 0x1401fc76e
and edx, 1
or rdx, 2
mov r8, rdx
lea rax, [rax + rdx*2]
movzx edx, word [rax]
cmp ecx, edx
ja 0x1401fc760
mov r8d, edx
and r8d, 0x7ffe
cmp ecx, r8d
jne 0x1401fc7ba
movzx r8d, word [rax + 2]
cmp r8w, si
jae 0x1401fc7a0
mov r8d, 3
test dx, dx
js 0x1401fc7ba
lea rax, [rax + r8*2]
jmp 0x1401fc76e
xor esi, r8d
test esi, 0xffc0
jne 0x1401fc7ba
and r8d, 0x3f
shl r8d, 0x10
movzx edi, word [rax + 4]
or edi, r8d
sar edi, 1
jmp 0x1401fc621
Function at 0x140200d80
Capabilities:
Get geographical location

Disassembly:
push rsi
sub rsp, 0x90
mov rax, qword [0x14039fd98]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x2c], 0
mov rsi, qword [0x1403a6888]
test rsi, rsi
jne 0x140200ed4
lea rsi, [0x1403a6890]
xor ecx, ecx
mov edx, 0x5c
mov r8, rsi
mov r9d, 0x55
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jle 0x140200eba
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x7d], 0
mov eax, 1
jmp 0x140200e19
mov byte [rsp + rax + 0x30], 0x2d
add rax, 2
movzx ecx, word [rsi + rax*2 - 2]
cmp cx, 0x5f
jne 0x140200e30
mov byte [rsp + rax + 0x2f], 0x2d
jmp 0x140200e38
mov byte [rsp + rax + 0x2f], cl
test cl, cl
je 0x140200e5a
cmp rax, 0x55
je 0x140200e52
movzx ecx, word [rsi + rax*2]
cmp cx, 0x5f
je 0x140200e10
mov byte [rsp + rax + 0x30], cl
test cl, cl
jne 0x140200e15
jmp 0x140200e5a
mov byte [rsp + 0x84], 0
mov ecx, 0x41
call fcn.1401e96d0
test rax, rax
je 0x140200eba
mov rsi, rax
lea rcx, [rsp + 0x30]
lea r9, [rsp + 0x2c]
mov rdx, rax
mov r8d, 0x40
call fcn.140215d80
cmp dword [rsp + 0x2c], 0
jle 0x140200e95
mov rcx, rsi
call fcn.1401e97a0
jmp 0x140200eba
cdqe
mov byte [rsi + rax], 0
mov qword [0x1403a6888], rsi
mov byte [0x1403a693a], 1
lea rdx, [0x140200ad0]
mov ecx, reloc.WS2_32.dll_socket
call fcn.14020ef30
mov rsi, qword [0x1403a6888]
test rsi, rsi
jne 0x140200ed4
lea rsi, [0x140335da4]
mov qword [0x1403a6888], rsi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140265fe0
mov rax, rsi
add rsp, 0x90
pop rsi
ret
Function at 0x14021ccc0
Capabilities:
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
cmp dword [r8], 0
jle 0x14021ccdb
xor eax, eax
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.140211ba0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000080
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x14021cd89
mov r14, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x14021cd89
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 8], rax
test rax, rax
je 0x14021cdb4
mov qword [rdi + 0x28], rbx
mov al, 1
jmp 0x14021ccd1
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x8007000e
jne 0x14021cccf
mov dword [rsi], 7
jmp 0x14021cccf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14021cccf