joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140032320
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 0x140032496
mov rax, qword [0x1400eb3e8]
test rax, rax
je 0x140032357
call rax
mov ecx, edi
shl rcx, 4
call fcn.14002d7e0
mov rcx, qword [0x1400eb3f0]
mov rdi, rax
test rcx, rcx
je 0x140032373
call rcx
test rdi, rdi
je 0x140032496
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x30], rsi
call fcn.14002dc30
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [0x1400e8420]
movsxd rsi, eax
xor edx, edx
shr rsi, 4
mov rcx, rdi
mov r8d, esi
shl r8, 4
mov dword [rbx], esi
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbx + 8]
xor r10d, r10d
mov qword [rbx + 8], r10
test rcx, rcx
je 0x140032481
lea r11, [0x1400d2790]
nop dword [rax]
mov r9, qword [rcx + 0x18]
mov eax, r10d
movzx edx, byte [r9]
test dl, dl
je 0x140032401
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 0x1400323e0
mov r9, qword [rcx]
xor edx, edx
div esi
mov r8d, edx
shl r8, 4
add r8, rdi
je 0x140032459
mov eax, dword [r8]
test eax, eax
je 0x140032421
mov rdx, qword [r8 + 8]
jmp 0x140032424
mov rdx, r10
inc eax
mov qword [r8 + 8], rcx
mov dword [r8], eax
test rdx, rdx
je 0x140032459
mov qword [rcx], rdx
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rax, qword [rdx + 8]
test rax, rax
je 0x14003244f
mov qword [rax], rcx
mov qword [rdx + 8], rcx
jmp 0x140032475
mov qword [rbx + 8], rcx
mov qword [rdx + 8], rcx
jmp 0x140032475
mov rax, qword [rbx + 8]
mov qword [rcx], rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x14003246d
mov qword [rax + 8], rcx
mov qword [rcx + 8], r10
mov qword [rbx + 8], rcx
mov rcx, r9
test r9, r9
jne 0x1400323d0
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
Function at 0x1400324b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
xor r11d, r11d
lea rsi, [0x1400d2790]
mov rdi, rdx
mov r10, rcx
cmp qword [rcx + 0x10], r11
je 0x14003251e
movzx eax, byte [rdx]
mov r9, rdx
test al, al
je 0x140032500
nop word [rax + rax]
movzx eax, al
lea r9, [r9 + 1]
movzx ecx, byte [rax + rsi]
lea eax, [r11*8]
xor ecx, eax
movzx eax, byte [r9]
xor r11d, ecx
test al, al
jne 0x1400324e0
mov eax, r11d
xor edx, edx
div dword [r10]
mov eax, edx
shl rax, 4
add rax, qword [r10 + 0x10]
mov r11d, edx
mov r9, qword [rax + 8]
mov r10d, dword [rax]
jmp 0x140032526
mov r9, qword [rcx + 8]
mov r10d, dword [rcx + 4]
mov dword [r8], r11d
test r10d, r10d
je 0x140032589
nop
mov rax, qword [r9 + 0x18]
dec r10d
mov r8, rdi
movzx edx, byte [rax]
test dl, dl
je 0x14003256e
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8]
movzx edx, dl
movzx ecx, byte [rcx + rsi]
cmp byte [rdx + rsi], cl
jne 0x14003256e
movzx edx, byte [rax + 1]
inc rax
inc r8
test dl, dl
jne 0x140032550
movzx ecx, byte [r8]
movzx edx, byte [rcx + rsi]
movzx ecx, byte [rax]
movzx eax, byte [rcx + rsi]
cmp eax, edx
je 0x140032596
mov r9, qword [r9]
test r10d, r10d
jne 0x140032530
xor eax, eax
mov rsi, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
mov rsi, qword [rsp + 8]
mov rax, r9
mov rdi, qword [rsp + 0x10]
ret
Function at 0x1400325b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rsi, rdx
lea r8, [rsp + 0x48]
mov rbx, rcx
call fcn.1400324b0
mov rcx, rax
test rax, rax
je 0x14003265b
mov rdi, qword [rax + 0x10]
test rbp, rbp
jne 0x14003264b
mov rdx, qword [rax + 8]
mov rax, qword [rax]
test rdx, rdx
je 0x1400325f9
mov qword [rdx], rax
jmp 0x1400325fd
mov qword [rbx + 8], rax
mov rdx, qword [rcx]
test rdx, rdx
je 0x14003260d
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140032630
mov edx, dword [rsp + 0x48]
shl rdx, 4
add rdx, rax
cmp qword [rdx + 8], rcx
jne 0x14003262e
mov rax, qword [rcx]
mov qword [rdx + 8], rax
dec dword [rdx]
call fcn.14002dc30
sub dword [rbx + 4], 1
jne 0x140032653
mov rcx, rbx
call fcn.140032230
mov rax, rdi
jmp 0x140032760
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, rdi
jmp 0x140032760
test rbp, rbp
je 0x14003275e
mov ecx, 0x20
call fcn.14002d7e0
mov rdi, rax
test rax, rax
jne 0x14003267e
mov rax, rbp
jmp 0x140032760
mov qword [rax + 0x18], rsi
mov qword [rax + 0x10], rbp
mov edx, dword [rbx + 4]
inc edx
mov dword [rbx + 4], edx
cmp edx, 0xa
jb 0x1400326e4
mov eax, dword [rbx]
add eax, eax
cmp edx, eax
jbe 0x1400326e4
add edx, edx
mov rcx, rbx
call fcn.140032320
test eax, eax
je 0x1400326e4
movzx ecx, byte [rsi]
xor eax, eax
test cl, cl
je 0x1400326de
lea r8, [0x1400d2790]
nop dword [rax]
movzx ecx, cl
lea rsi, [rsi + 1]
movzx edx, byte [rcx + r8]
lea ecx, [rax*8]
xor edx, ecx
movzx ecx, byte [rsi]
xor eax, edx
test cl, cl
jne 0x1400326c0
xor edx, edx
div dword [rbx]
jmp 0x1400326e8
mov edx, dword [rsp + 0x48]
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14003273e
mov ecx, edx
shl rcx, 4
add rcx, rax
je 0x14003273e
mov eax, dword [rcx]
test eax, eax
je 0x140032708
mov rdx, qword [rcx + 8]
jmp 0x14003270a
xor edx, edx
inc eax
mov qword [rcx + 8], rdi
mov dword [rcx], eax
test rdx, rdx
je 0x14003273e
mov qword [rdi], rdx
mov rax, qword [rdx + 8]
mov qword [rdi + 8], rax
mov rax, qword [rdx + 8]
test rax, rax
je 0x140032734
mov qword [rax], rdi
mov qword [rdx + 8], rdi
jmp 0x14003275e
mov qword [rbx + 8], rdi
mov qword [rdx + 8], rdi
jmp 0x14003275e
mov rax, qword [rbx + 8]
mov qword [rdi], rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x140032752
mov qword [rax + 8], rdi
mov qword [rdi + 8], 0
mov qword [rbx + 8], rdi
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400608a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push r14
push r15
sub rsp, 0x30
mov r14, rcx
mov qword [rcx], 0
mov ecx, 0x28
mov rbp, r8
mov r15, rdx
call fcn.14002d7e0
mov rbx, rax
test rax, rax
jne 0x1400608e4
mov eax, 7
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
cmp dword [0x1400e83e4], 0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
jne 0x140060901
lea rdi, [rbx + 0x10]
lea rsi, [rbx + 8]
jmp 0x14006093a
lea rsi, [rax + 8]
mov qword [rax + 0x10], r15
lea rdi, [rax + 0x10]
mov qword [rsp + 0x28], rsi
mov r9, rbx
mov dword [rsp + 0x20], 0
lea r8, [0x140030790]
mov qword [rax + 0x18], rbp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
jne 0x14006094a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
cmp qword [rdi], 0
mov rdi, qword [rsp + 0x58]
jne 0x140060967
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, rbp
mov dword [rsi], eax
call r15
mov qword [rbx + 0x20], rax
mov rsi, qword [rsp + 0x50]
xor eax, eax
mov qword [r14], rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
Function at 0x14006b120
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x30
mov r14, qword [rcx + 0x10]
xor r10d, r10d
mov rbx, rcx
mov esi, r9d
add rcx, 0x88
mov ebp, r8d
nop dword [rax]
cmp dword [rcx + 0xc], 0
jle 0x14006b162
cmp dword [rcx], esi
jne 0x14006b162
movsx eax, word [rcx + 4]
cmp eax, ebp
je 0x14006b1b8
inc r10d
add rcx, 0x14
cmp r10d, 0xa
jl 0x14006b150
mov qword [rsp + 0x40], rdi
mov r9d, ebp
mov edi, dword [rsp + 0x60]
mov r8d, esi
mov rcx, r14
mov dword [rsp + 0x20], edi
call fcn.14006b030
movzx r8d, byte [rsp + 0x68]
test r8b, r8b
je 0x14006b25f
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x14006b26f
movsxd rax, dword [r14 + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], r8b
jmp 0x14006b26f
mov eax, dword [rbx + 0x74]
mov dword [rcx + 0x10], eax
inc dword [rbx + 0x74]
mov eax, dword [rcx + 0xc]
cmp dword [rbx + 0x94], eax
jne 0x14006b1d3
mov byte [rbx + 0x8e], 0
cmp dword [rbx + 0xa8], eax
jne 0x14006b1e2
mov byte [rbx + 0xa2], 0
cmp dword [rbx + 0xbc], eax
jne 0x14006b1f1
mov byte [rbx + 0xb6], 0
cmp dword [rbx + 0xd0], eax
jne 0x14006b200
mov byte [rbx + 0xca], 0
cmp dword [rbx + 0xe4], eax
jne 0x14006b20f
mov byte [rbx + 0xde], 0
cmp dword [rbx + 0xf8], eax
jne 0x14006b21e
mov byte [rbx + 0xf2], 0
cmp dword [rbx + 0x10c], eax
jne 0x14006b22d
mov byte [rbx + 0x106], 0
cmp dword [rbx + 0x120], eax
jne 0x14006b23c
mov byte [rbx + 0x11a], 0
cmp dword [rbx + 0x134], eax
jne 0x14006b24b
mov byte [rbx + 0x12e], 0
cmp dword [rbx + 0x148], eax
jne 0x14006b25a
mov byte [rbx + 0x142], 0
mov eax, dword [rcx + 0xc]
jmp 0x14006b276
mov r9d, edi
mov r8d, ebp
mov edx, esi
mov rcx, rbx
call fcn.14006aa20
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14006d3f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
push rdi
push r12
sub rsp, 0x28
mov r12d, r8d
mov rdi, rdx
mov rsi, rcx
test rcx, rcx
je 0x14006d5f2
test rdx, rdx
je 0x14006d5f2
mov r11d, dword [rcx + 4]
mov r9d, dword [rdx + 4]
mov ecx, r9d
mov qword [rsp + 0x58], rbp
or ecx, r11d
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x50], ecx
bt ecx, 0xa
jae 0x14006d47b
and r9d, r11d
bt r9d, 0xa
jae 0x14006d561
mov eax, dword [rdx + 8]
cmp dword [rsi + 8], eax
jne 0x14006d561
xor eax, eax
mov r14, qword [rsp + 0x68]
mov r13, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx r10d, byte [rsi]
cmp r10b, byte [rdx]
je 0x14006d4c0
cmp r10b, 0x5f
jne 0x14006d498
mov rcx, qword [rsi + 0x10]
call fcn.14006d3f0
cmp eax, 2
jl 0x14006d4b9
cmp byte [rdi], 0x5f
jne 0x14006d561
mov rdx, qword [rdi + 0x10]
mov r8d, r12d
mov rcx, rsi
call fcn.14006d3f0
cmp eax, 2
jge 0x14006d561
mov eax, 1
jmp 0x14006d45d
lea eax, [r10 + 0x66]
test al, 0xfd
je 0x14006d50c
mov rax, qword [rsi + 8]
test rax, rax
je 0x14006d50c
mov r8, qword [rdx + 8]
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14006d4f3
inc rax
test ecx, ecx
jne 0x14006d4e0
test edx, edx
je 0x14006d508
xor ebx, ebx
cmp r10b, 0x5f
setne bl
lea eax, [rbx + 1]
jmp 0x14006d45d
mov ecx, dword [rsp + 0x50]
xor r9d, r11d
test r9b, 0x10
jne 0x14006d561
bt ecx, 0xe
jb 0x14006d45b
bt ecx, 0xb
jb 0x14006d561
mov rdx, qword [rdi + 0x10]
mov r8d, r12d
mov rcx, qword [rsi + 0x10]
call fcn.14006d3f0
test eax, eax
jne 0x14006d561
mov rdx, qword [rdi + 0x18]
mov r8d, r12d
mov rcx, qword [rsi + 0x18]
call fcn.14006d3f0
test eax, eax
jne 0x14006d561
mov r15, qword [rsi + 0x20]
xor ebx, ebx
mov r13, qword [rdi + 0x20]
test r15, r15
jne 0x14006d56b
test r13, r13
je 0x14006d5b6
mov eax, 2
jmp 0x14006d45d
test r13, r13
je 0x14006d561
mov eax, dword [r15]
cmp eax, dword [r13]
jne 0x14006d561
mov ebp, ebx
test eax, eax
jle 0x14006d5b6
mov r14, rbx
mov rdx, qword [r13 + 8]
mov rcx, qword [r15 + 8]
movzx eax, byte [rdx + r14 + 0x18]
cmp byte [rcx + r14 + 0x18], al
jne 0x14006d561
mov rdx, qword [rdx + r14]
mov r8d, r12d
mov rcx, qword [rcx + r14]
call fcn.14006d3f0
test eax, eax
jne 0x14006d561
inc ebp
add r14, 0x28
cmp ebp, dword [r15]
jl 0x14006d582
test dword [rsp + 0x50], 0x2000
jne 0x14006d45b
movzx eax, word [rdi + 0x30]
cmp word [rsi + 0x30], ax
jne 0x14006d561
mov eax, dword [rsi + 0x2c]
mov ecx, dword [rdi + 0x2c]
cmp eax, ecx
je 0x14006d45b
cmp eax, r12d
jne 0x14006d561
mov eax, 2
test ecx, ecx
cmovns ebx, eax
mov eax, ebx
jmp 0x14006d45d
xor ebx, ebx
mov eax, 2
cmp rdi, rsi
cmove eax, ebx
add rsp, 0x28
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14006f1c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r15
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
xor esi, esi
movsxd r15, edx
mov r12d, r8d
mov rbx, rcx
test rdi, rdi
jne 0x14006f22e
call fcn.140050a70
mov qword [rbx + 0x10], rax
mov rdi, rax
test rax, rax
je 0x14006f20f
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.140050c60
cmp qword [rbx + 0x1c0], rsi
jne 0x14006f225
mov rax, qword [rbx]
test byte [rax + 0x4c], 8
jne 0x14006f225
mov byte [rbx + 0x23], 1
test rdi, rdi
je 0x14006f3cb
movzx eax, byte [rbx + 0x1f]
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], r14
lea r14, [rbx + 0x54]
test al, al
jne 0x14006f254
mov ebp, dword [r14]
inc ebp
mov dword [r14], ebp
inc dword [r14]
mov r14d, dword [r14]
jmp 0x14006f277
sub al, 1
movzx ecx, al
mov byte [rbx + 0x1f], cl
mov ebp, dword [rbx + rcx*4 + 0x24]
jne 0x14006f26a
inc dword [r14]
mov r14d, dword [r14]
jmp 0x14006f277
dec cl
movzx eax, cl
mov byte [rbx + 0x1f], al
mov r14d, dword [rbx + rax*4 + 0x24]
mov r9d, ebp
mov dword [rsp + 0x20], 2
mov r8d, r15d
mov edx, 0x33
mov rcx, rdi
call fcn.140050c60
mov eax, dword [rdi + 0x94]
bts eax, r15d
mov dword [rdi + 0x94], eax
cmp r15d, 1
je 0x14006f2d1
mov rax, qword [rdi]
mov rdx, r15
shl rdx, 5
mov rcx, qword [rax + 0x20]
mov rax, qword [rdx + rcx + 8]
cmp byte [rax + 0x11], sil
je 0x14006f2d1
mov eax, dword [rdi + 0x98]
bts eax, r15d
mov dword [rdi + 0x98], eax
mov r9d, r14d
mov dword [rsp + 0x20], esi
mov r8d, r12d
mov edx, 0x19
mov rcx, rdi
call fcn.140050c60
xor r9d, r9d
mov dword [rsp + 0x20], ebp
mov r8d, r14d
mov edx, 0x53
mov rcx, rdi
call fcn.140050c60
mov r12d, eax
mov rax, qword [rdi + 8]
test rax, rax
je 0x14006f318
movsxd rcx, dword [rdi + 0x3c]
lea rdx, [rcx + rcx*2]
mov byte [rax + rdx*8 - 0x15], 0x90
mov r9d, 2
mov dword [rsp + 0x20], r14d
mov r8d, r15d
mov edx, 0x34
mov rcx, rdi
call fcn.140050c60
mov edx, dword [rdi + 0x3c]
cmp edx, r12d
jbe 0x14006f347
mov rax, qword [rdi + 8]
lea rcx, [r12 + r12*2]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
test ebp, ebp
je 0x14006f38d
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x14006f38d
mov ecx, esi
lea rax, [rbx + 0x88]
nop dword [rax]
cmp dword [rax + 0xc], ebp
je 0x14006f389
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x14006f370
mov dword [rbx + rdx*4 + 0x24], ebp
inc byte [rbx + 0x1f]
jmp 0x14006f38d
mov byte [rax + 6], 1
mov rbp, qword [rsp + 0x50]
test r14d, r14d
je 0x14006f3c6
movzx ecx, byte [rbx + 0x1f]
cmp cl, 8
jae 0x14006f3c6
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], r14d
je 0x14006f3c2
inc esi
add rax, 0x14
cmp esi, 0xa
jl 0x14006f3a7
mov dword [rbx + rcx*4 + 0x24], r14d
inc byte [rbx + 0x1f]
jmp 0x14006f3c6
mov byte [rax + 6], 1
mov r14, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r12
pop rdi
ret
Function at 0x140073bc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov ebp, dword [rcx + 0x28]
xor r10d, r10d
xor ebx, ebx
mov rdi, r8
mov r14, rdx
mov rsi, rcx
test ebp, ebp
jle 0x140073cbe
mov qword [rsp + 0x48], r15
lea r15, [0x1400d2790]
nop word [rax + rax]
mov r9d, ebx
xor r9d, 1
cmp ebx, 2
cmovge r9d, ebx
test rdi, rdi
je 0x140073c65
mov rcx, qword [rsi + 0x20]
mov rax, rdi
movsxd rdx, r9d
shl rdx, 5
mov r8, qword [rdx + rcx]
movzx edx, byte [rdi]
test dl, dl
je 0x140073c50
nop dword [rax]
movzx ecx, byte [r8]
movzx edx, dl
movzx ecx, byte [rcx + r15]
cmp byte [rdx + r15], cl
jne 0x140073c50
movzx edx, byte [rax + 1]
inc rax
inc r8
test dl, dl
jne 0x140073c30
movzx ecx, byte [r8]
movzx edx, byte [rcx + r15]
movzx ecx, byte [rax]
movzx eax, byte [rcx + r15]
cmp eax, edx
jne 0x140073c99
mov rax, qword [rsi + 0x20]
lea r8, [rsp + 0x40]
movsxd rcx, r9d
mov rdx, r14
shl rcx, 5
mov rcx, qword [rcx + rax + 0x18]
add rcx, 8
call fcn.1400324b0
test rax, rax
je 0x140073c96
mov r10, qword [rax + 0x10]
test r10, r10
jne 0x140073ca3
jmp 0x140073c99
xor r10d, r10d
inc ebx
cmp ebx, ebp
jl 0x140073c00
mov r15, qword [rsp + 0x48]
mov rax, r10
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rax, r10
jmp 0x140073cab

Function at 0x140073de0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov esi, dword [rcx + 0x28]
xor r9d, r9d
xor ebx, ebx
mov rdi, r8
mov rbp, rdx
test esi, esi
jle 0x140073ecd
mov qword [rsp + 0x48], r14
mov r14, qword [rcx + 0x20]
mov qword [rsp + 0x50], r15
lea r15, [0x1400d2790]
nop word [rax + rax]
mov eax, ebx
xor eax, 1
cmp ebx, 2
cmovge eax, ebx
movsxd r8, eax
shl r8, 5
mov r10, qword [r8 + r14 + 0x18]
test rdi, rdi
je 0x140073e85
movzx edx, byte [rdi]
mov rax, rdi
mov r8, qword [r8 + r14]
test dl, dl
je 0x140073e70
nop word [rax + rax]
movzx ecx, byte [r8]
movzx edx, dl
movzx ecx, byte [rcx + r15]
cmp byte [rdx + r15], cl
jne 0x140073e70
movzx edx, byte [rax + 1]
inc rax
inc r8
test dl, dl
jne 0x140073e50
movzx ecx, byte [r8]
movzx edx, byte [rcx + r15]
movzx ecx, byte [rax]
movzx eax, byte [rcx + r15]
cmp eax, edx
jne 0x140073ea9
lea rcx, [r10 + 0x20]
mov rdx, rbp
lea r8, [rsp + 0x40]
call fcn.1400324b0
test rax, rax
je 0x140073ea6
mov r9, qword [rax + 0x10]
test r9, r9
jne 0x140073eb3
jmp 0x140073ea9
xor r9d, r9d
inc ebx
cmp ebx, esi
jl 0x140073e20
mov r14, qword [rsp + 0x48]
mov rax, r9
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsp + 0x58]
mov rax, r9
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x140088eb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push r13
push r14
sub rsp, 0x38
mov r14, qword [rcx + 0x1b8]
mov rsi, rcx
mov rbx, qword [rcx + 0x10]
mov r13, qword [rcx]
test r14, r14
je 0x1400890b1
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], r12
xor r12d, r12d
mov qword [rsp + 0x30], r15
nop dword [rax]
movsxd r9, dword [r14 + 0x10]
movzx eax, byte [rsi + 0x1f]
mov r15d, dword [r14 + 0x14]
shl r9, 5
add r9, qword [r13 + 0x20]
test al, al
jne 0x140088f10
inc dword [rsi + 0x54]
mov ebp, dword [rsi + 0x54]
jmp 0x140088f1c
dec al
movzx eax, al
mov byte [rsi + 0x1f], al
mov ebp, dword [rsi + rax*4 + 0x24]
mov r9, qword [r9 + 0x18]
xor edx, edx
mov r8d, dword [r14 + 0x10]
mov rcx, rsi
mov dword [rsp + 0x20], 0x37
mov r9, qword [r9 + 0x68]
call fcn.1400887e0
xor r9d, r9d
mov dword [rsp + 0x20], r12d
lea r8d, [r15 + 1]
mov edx, 0x4d
mov rcx, rbx
call fcn.140050c60
lea r9d, [r15 + 1]
mov r12d, eax
xor r8d, r8d
mov dword [rsp + 0x20], 0
mov edx, 0x4a
mov rcx, rbx
call fcn.140050c60
mov edx, dword [rbx + 0x3c]
cmp edx, r12d
jbe 0x140088f86
mov rax, qword [rbx + 8]
lea rcx, [r12 + r12*2]
mov dword [rax + rcx*8 + 8], edx
mov rax, qword [rbx + 0x30]
mov ecx, dword [rbx + 0x3c]
dec ecx
mov dword [rax + 0x64], ecx
mov rax, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], edi
jg 0x140088fab
mov rcx, rbx
call fcn.140050bb0
test eax, eax
jne 0x140088fdf
mov rax, qword [rbx + 8]
lea rcx, [rdi + rdi*2]
inc dword [rbx + 0x3c]
xor r12d, r12d
mov word [rax + rcx*8], 0x31
mov byte [rax + rcx*8 + 3], 0
lea rdx, [rax + rcx*8]
lea eax, [r15 - 1]
mov dword [rdx + 8], 2
mov dword [rdx + 4], eax
mov dword [rdx + 0xc], ebp
mov qword [rdx + 0x10], r12
jmp 0x140088fe2
xor r12d, r12d
mov rax, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], edi
jg 0x140088ffb
mov rcx, rbx
call fcn.140050bb0
test eax, eax
jne 0x140089027
mov rax, qword [rbx + 8]
lea rcx, [rdi + rdi*2]
inc dword [rbx + 0x3c]
mov word [rax + rcx*8], 0x4b
mov byte [rax + rcx*8 + 3], 0
lea rdx, [rax + rcx*8]
lea eax, [r15 + 1]
mov dword [rdx + 4], r12d
mov dword [rdx + 0xc], eax
mov dword [rdx + 8], ebp
mov qword [rdx + 0x10], r12
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14008903d
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 8
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
mov edx, 0x3d
mov rcx, rbx
call fcn.140050c60
test ebp, ebp
je 0x140089091
cmp byte [rsi + 0x1f], 8
jae 0x140089091
mov ecx, r12d
lea rax, [rsi + 0x88]
nop dword [rax]
cmp dword [rax + 0xc], ebp
je 0x14008908d
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x140089070
movzx eax, byte [rsi + 0x1f]
mov dword [rsi + rax*4 + 0x24], ebp
inc byte [rsi + 0x1f]
jmp 0x140089091
mov byte [rax + 6], 1
mov r14, qword [r14]
test r14, r14
jne 0x140088ef0
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
add rsp, 0x38
pop r14
pop r13
pop rsi
pop rbx
ret
Function at 0x1400c32b8
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 0x1400c32f2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400c32f7
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 0x1400c3340
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400c8960]
cmp byte [rcx + rax], 0
je 0x1400c3340
dec r8
sub rdx, 1
jne 0x1400c3326
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400c39e4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1400c3358
mov ebx, eax
test eax, eax
jne 0x1400c3a14
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1400c3a77
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400c3a6e
test al, 0x10
je 0x1400c3a6e
bt eax, 0xa
jae 0x1400c3a67
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1400c3a88
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1400c3a63
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1400c3a63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x1400c3a6e
and dword [rsp + 0x3c], 0
jmp 0x1400c3a73
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c49b8
Capabilities:
Parse pe header

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