joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400de8d0
Capabilities:
Hash data using sha256

Disassembly:
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0x100
mov rax, qword [0x140554040]
xor rax, rsp
mov qword [rbp - 9], rax
mov r15, qword [rbp + 0x67]
mov rdi, rdx
mov r12, qword [rbp + 0x77]
mov esi, 0x37
mov byte [rsp + 0x28], r9b
test rcx, rcx
jne 0x1400de914
lea eax, [rsi - 0x36]
jmp 0x1400deaf5
mov ecx, 0x1b8
mov qword [rsp + 0x130], rbx
mov eax, ecx
mov qword [rsp + 0xf8], r13
mov r13d, dword [rbp + 0x7f]
rol ecx, 8
ror eax, 8
xor ecx, eax
mov qword [rsp + 0xf0], r14
and ecx, 0xff00ff
mov byte [rsp + 0x20], 1
xor ecx, eax
mov qword [rsp + 0x38], 2
mov dword [rsp + 0x30], ecx
xor r14d, r14d
nop dword [rax]
mov r8d, 1
mov dword [rsp + 0x40], 0x6a09e667
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x44], 0xbb67ae85
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x48], 0x3c6ef372
mov dword [rsp + 0x4c], 0xa54ff53a
mov dword [rsp + 0x50], 0x510e527f
mov dword [rsp + 0x54], 0x9b05688c
mov dword [rsp + 0x58], 0x1f83d9ab
mov dword [rsp + 0x5c], 0x5be0cd19
mov qword [rbp - 0x49], r14
mov dword [rbp - 0x41], r14d
mov qword [rbp - 0x39], r14
call fcn.1400d7c30
mov ebx, eax
test eax, eax
jne 0x1400dea61
inc byte [rsp + 0x20]
lea r8d, [rax + 4]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1400d7c30
mov ebx, eax
test eax, eax
jne 0x1400dea61
cmp byte [rsp + 0x28], 4
je 0x1400dea08
lea r8d, [rax + 1]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x40]
call fcn.1400d7c30
mov ebx, eax
test eax, eax
jne 0x1400dea61
test r15, r15
jne 0x1400dea1a
cmp dword [rbp + 0x6f], r14d
jbe 0x1400dea31
mov ebx, 0xffffff53
jmp 0x1400dea61
mov r8d, dword [rbp + 0x6f]
lea rcx, [rsp + 0x40]
mov rdx, r15
call fcn.1400d7c30
mov ebx, eax
test eax, eax
jne 0x1400dea61
test r12, r12
je 0x1400dea51
test r13d, r13d
je 0x1400dea51
mov r8d, r13d
lea rcx, [rsp + 0x40]
mov rdx, r12
call fcn.1400d7c30
mov ebx, eax
test eax, eax
jne 0x1400dea61
lea rdx, [rbp - 0x29]
lea rcx, [rsp + 0x40]
call fcn.1400d85e0
mov ebx, eax
mov ecx, 0x78
lea rax, [rsp + 0x40]
nop dword [rax + rax]
mov byte [rax], r14b
lea rax, [rax + 1]
add ecx, 0xffffffff
jne 0x1400dea70
test ebx, ebx
jne 0x1400deaac
cmp esi, 0x20
jbe 0x1400dea9d
movups xmm0, xmmword [rbp - 0x29]
add esi, 0xffffffe0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
add rdi, 0x20
jmp 0x1400deaac
mov r8d, esi
lea rdx, [rbp - 0x29]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
sub qword [rsp + 0x38], 1
jne 0x1400de960
mov r13, qword [rsp + 0xf8]
lea rdx, [rbp - 0x29]
mov ecx, 0x20
nop dword [rax]
mov byte [rdx], r14b
lea rdx, [rdx + 1]
add ecx, 0xffffffff
jne 0x1400dead0
test ebx, ebx
mov rbx, qword [rsp + 0x130]
setne r14b
mov eax, r14d
mov r14, qword [rsp + 0xf0]
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1400e9c90
add rsp, 0x100
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400dec30
Capabilities:
Hash data using sha256

Disassembly:
push rbp
push rdi
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140554040]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15, rdx
mov edi, 1
test rcx, rcx
jne 0x1400dec63
mov eax, edi
jmp 0x1400dee55
movups xmm0, xmmword [r9]
mov qword [rsp + 0x140], rbx
test r8d, r8d
movups xmm1, xmmword [r9 + 0x10]
mov qword [rsp + 0x118], rsi
mov esi, edi
cmovne esi, r8d
mov qword [rsp + 0x110], r12
mov qword [rsp + 0x108], r13
test sil, 0x1f
mov qword [rsp + 0x100], r14
mov eax, esi
mov r14d, 0
mov r13d, r14d
mov r12d, r14d
setne r13b
shr eax, 5
add r13d, eax
mov eax, dword [r9 + 0x30]
mov dword [rbp - 0x10], eax
lea ebx, [r14 + 0x37]
movzx eax, word [r9 + 0x34]
movups xmmword [rbp - 0x40], xmm0
mov word [rbp - 0xc], ax
movups xmm0, xmmword [r9 + 0x20]
movzx eax, byte [r9 + 0x36]
mov byte [rbp - 0xa], al
movups xmmword [rbp - 0x30], xmm1
movups xmmword [rbp - 0x20], xmm0
je 0x1400dee0b
nop dword [rax]
mov r8d, ebx
mov dword [rsp + 0x40], 0x6a09e667
lea rdx, [rbp - 0x40]
mov dword [rsp + 0x44], 0xbb67ae85
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x48], 0x3c6ef372
mov dword [rsp + 0x4c], 0xa54ff53a
mov dword [rsp + 0x50], 0x510e527f
mov dword [rsp + 0x54], 0x9b05688c
mov dword [rsp + 0x58], 0x1f83d9ab
mov dword [rsp + 0x5c], 0x5be0cd19
mov qword [rbp - 0x60], r14
mov dword [rbp - 0x58], r14d
mov qword [rbp - 0x50], r14
call fcn.1400d7c30
mov edi, eax
test eax, eax
jne 0x1400ded64
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1400d85e0
mov edi, eax
mov eax, 0x78
lea rcx, [rsp + 0x40]
nop
mov byte [rcx], r14b
lea rcx, [rcx + 1]
add eax, 0xffffffff
jne 0x1400ded70
test edi, edi
jne 0x1400dee0b
test r15, r15
je 0x1400dedff
test esi, esi
je 0x1400dedff
cmp esi, 0x20
jb 0x1400dedec
movups xmm0, xmmword [rsp + 0x20]
add esi, 0xffffffe0
lea rcx, [rbp - 0xc]
movups xmm1, xmmword [rsp + 0x30]
mov edx, 0x36
lea rax, [rbp - 0xc]
movups xmmword [r15], xmm0
movups xmmword [r15 + 0x10], xmm1
add r15, 0x20
sub rdx, rcx
nop dword [rax]
add byte [rax + 2], 1
jne 0x1400dedff
add byte [rax + 1], 1
jne 0x1400dedff
add byte [rax], 1
jne 0x1400dedff
add byte [rax - 1], 1
jne 0x1400dedff
add byte [rax - 2], 1
jne 0x1400dedff
sub rax, 5
lea rcx, [rdx + rax]
test rcx, rcx
jns 0x1400dedc0
jmp 0x1400dedff
mov r8d, esi
lea rdx, [rsp + 0x20]
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov esi, r14d
inc r12d
cmp r12d, r13d
jb 0x1400decf0
mov r13, qword [rsp + 0x108]
lea rcx, [rbp - 0x40]
mov r12, qword [rsp + 0x110]
mov rsi, qword [rsp + 0x118]
nop word [rax + rax]
mov byte [rcx], r14b
lea rcx, [rcx + 1]
add ebx, 0xffffffff
jne 0x1400dee30
mov rbx, qword [rsp + 0x140]
test edi, edi
setne r14b
mov eax, r14d
mov r14, qword [rsp + 0x100]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400e9c90
add rsp, 0x120
pop r15
pop rdi
pop rbp
ret
Function at 0x1400df560
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x140554040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
test rcx, rcx
jne 0x1400df58a
mov eax, 0xffffff53
jmp 0x1400df785
mov qword [rsp + 0xb8], rbp
xor ebp, ebp
mov qword [rcx + 0x10], rbp
mov byte [rcx + 0x18], bpl
mov qword [rcx + 8], r9
xor ecx, ecx
mov qword [rsp + 0xc8], rdi
call fcn.1400dfd10
test eax, eax
jne 0x1400df76a
mov rax, qword [0x140706608]
mov ecx, 0x80
mov qword [rsp + 0xc0], rsi
test rax, rax
je 0x1400df5d4
call rax
jmp 0x1400df5da
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 0x10], rax
mov esi, 0x34
test rax, rax
jne 0x1400df5f4
lea edi, [rax - 0x7d]
mov byte [rbx + 0x18], 2
jmp 0x1400df72f
mov edi, 1
mov dword [rsp + 0x20], 0xf0000000
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400df708
mov rcx, qword [rbx]
lea r8, [rsp + 0x40]
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x1400df708
mov rcx, qword [rbx]
xor edx, edx
mov qword [rsp + 0x98], r12
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x80], r15
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov r12d, 4
mov edi, ebp
mov r14d, ebp
mov r8d, r12d
mov r15, rbp
lea r13d, [r12 - 1]
nop dword [rax]
nop word [rax + rax]
mov eax, r8d
lea rdx, [rsp + 0x40]
add rax, r15
lea rcx, [rsp + 0x40]
add rdx, rax
add rcx, r15
call fcn.1400856c0
test eax, eax
mov r8d, esi
cmove edi, r13d
add r14d, r12d
sub r8d, r14d
add r15, r12
cmp r8d, r12d
cmova r8d, r12d
cmp r14d, 0x30
jb 0x1400df680
mov r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
mov r13, qword [rsp + 0x90]
mov r12, qword [rsp + 0x98]
test edi, edi
jne 0x1400df70c
mov rax, qword [rbx + 8]
lea r8d, [rdi + 0x30]
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x44]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov dword [rsp + 0x20], ebp
call fcn.1400df4a0
mov edi, eax
test eax, eax
je 0x1400df72f
jmp 0x1400df70c
mov byte [rbx + 0x18], 2
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400df72b
mov rax, qword [0x1407065f8]
test rax, rax
je 0x1400df725
call rax
jmp 0x1400df72b
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x10], rbp
lea rax, [rsp + 0x40]
mov byte [rax], bpl
lea rax, [rax + 1]
add esi, 0xffffffff
jne 0x1400df734
mov rsi, qword [rsp + 0xc0]
test edi, edi
jne 0x1400df752
mov byte [rbx + 0x18], 1
jmp 0x1400df773
cmp edi, 3
je 0x1400df76a
cmp edi, 1
mov byte [rbx + 0x18], 2
mov eax, 0xffffff39
cmove edi, eax
mov ebp, edi
jmp 0x1400df773
mov byte [rbx + 0x18], 3
mov ebp, 0xffffff2f
mov rdi, qword [rsp + 0xc8]
mov eax, ebp
mov rbp, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400e9c90
add rsp, 0xa0
pop rbx
ret
Function at 0x1400e0d10
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1e8
mov rax, qword [0x140554040]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov r13, r9
mov r12d, r8d
mov rbp, rdx
mov r14, rcx
test rcx, rcx
je 0x1400e0ef7
test rdx, rdx
je 0x1400e0ef7
test r9, r9
je 0x1400e0ef7
mov r15, qword [rsp + 0x248]
test r15, r15
je 0x1400e0ef7
xor edi, edi
mov qword [r11 + 0x18], rbx
mov ebx, dword [rsp + 0x240]
xorps xmm0, xmm0
mov qword [r11 - 0xb0], rdi
movups xmmword [rsp + 0x154], xmm0
mov dword [rsp + 0x164], edi
mov dword [rsp + 0x140], edi
and byte [r11 - 0x4d], 0xf8
mov qword [r11 - 0x38], rsi
cmp ebx, 0xf0
ja 0x1400e0ede
lea eax, [rbx - 0x10]
test eax, 0xffffffe7
jne 0x1400e0ede
cmp ebx, 0x28
je 0x1400e0ede
movups xmm0, xmmword [r15]
mov esi, ebx
mov dword [rsp + 0x114], ebx
shr esi, 2
lea rcx, [rsp + 0x20]
mov r8d, ebx
mov rdx, r9
movups xmmword [rsp + 0x118], xmm0
lea eax, [rsi + 6]
mov dword [rsp + 0x110], eax
call sub.VCRUNTIME140.dll_memcpy
test esi, esi
je 0x1400e0e33
lea r9, [rsp + 0x20]
mov r8d, esi
nop word [rax + rax]
mov ecx, dword [r9]
lea r9, [r9 + 4]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [r9 - 4], ecx
sub r8, 1
jne 0x1400e0e10
mov r9d, 1
lea rcx, [rsp + 0x20]
mov r8d, ebx
mov rdx, r13
call fcn.1400da8b0
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x118], xmm0
test r12d, r12d
je 0x1400e0ee3
mov esi, r12d
shr esi, 4
test r12b, 0xf
jne 0x1400e0ede
test esi, esi
je 0x1400e0ee3
sub r14, rbp
mov r9d, dword [rsp + 0x110]
dec esi
movups xmm0, xmmword [rbp]
shr r9d, 1
movups xmmword [rsp + 0x128], xmm0
lea eax, [r9 - 1]
cmp eax, 6
ja 0x1400e0ed7
lea rbx, [r14 + rbp]
mov rdx, rbp
mov r8, rbx
lea rcx, [rsp + 0x20]
call fcn.1400d9990
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x118]
mov rcx, rbx
call fcn.1400ca1d0
movups xmm2, xmmword [rsp + 0x128]
add rbp, 0x10
movups xmmword [rsp + 0x118], xmm2
test esi, esi
jne 0x1400e0e71
jmp 0x1400e0ee3
mov edi, 0xffffff1e
jmp 0x1400e0ee3
mov edi, 0xffffff53
mov rsi, qword [rsp + 0x1e0]
mov eax, edi
mov rbx, qword [rsp + 0x230]
jmp 0x1400e0efc
mov eax, 0xffffff53
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400e9c90
add rsp, 0x1e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x1400e42a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rdx]
mov r14, r8
movzx edi, r9w
mov rsi, rdx
mov rbx, rcx
test rax, rax
jne 0x1400e42f7
mov rax, qword [0x140706608]
mov ecx, 0x1b0
test rax, rax
je 0x1400e42df
call rax
jmp 0x1400e42e5
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsi], rax
test rax, rax
jne 0x1400e42f7
mov eax, 0xffffff83
jmp 0x1400e4403
xor edx, edx
mov r8d, 0x1b0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400e43fe
mov rax, qword [rbx + 0xb0]
xorps xmm0, xmm0
xor ebx, ebx
mov qword [rcx + 0x148], rax
movups xmmword [rcx + 0x134], xmm0
and byte [rcx + 0x1ab], 0xf8
mov dword [rcx + 0x144], ebx
mov dword [rcx + 0xf4], ebx
mov dword [rcx + 0x120], ebx
mov rsi, qword [rsi]
test rsi, rsi
je 0x1400e43f5
cmp edi, 0xf0
ja 0x1400e43f5
lea eax, [rdi - 0x10]
test eax, 0xffffffe7
jne 0x1400e43f5
cmp edi, 0x28
je 0x1400e43f5
mov qword [rsp + 0x30], rbp
mov r8, rdi
mov dword [rsi + 0xf4], edi
mov ebp, edi
shr ebp, 2
mov rdx, r14
mov rcx, rsi
lea eax, [rbp + 6]
mov dword [rsi + 0xf0], eax
movups xmmword [rsi + 0xf8], xmm0
call sub.VCRUNTIME140.dll_memcpy
test ebp, ebp
je 0x1400e43d1
mov rdx, rsi
mov r8d, ebp
nop dword [rax]
mov ecx, dword [rdx]
lea rdx, [rdx + 4]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [rdx - 4], ecx
sub r8, 1
jne 0x1400e43b0
xor r9d, r9d
mov r8d, edi
mov rdx, r14
mov rcx, rsi
call fcn.1400da8b0
mov rbp, qword [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rsi + 0xf8], xmm0
mov eax, ebx
jmp 0x1400e4403
mov ebx, 0xffffff53
mov eax, ebx
jmp 0x1400e4403
mov eax, 0xffffff53
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400eaa88
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400eaad2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400eaad2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400eaad2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400eaad2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400eaad2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400eaad4
xor al, al
add rsp, 0x28
ret
Function at 0x1400ee300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, r8d
mov rbx, rcx
test rcx, rcx
jne 0x1400ee323
lea eax, [rcx + 0x23]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rcx + 0x88]
test rcx, rcx
je 0x1400ee33e
mov rax, qword [rcx + 0x10]
call qword [rax + 0x18]
xor edx, edx
cmp eax, dword [rbx + 0x10]
cmovb edx, eax
mov r8d, edi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp sym.Client.exe_FT_Load_Glyph
Function at 0x1400f09a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 8
mov r9, rcx
test rcx, rcx
je 0x1400f0a6c
xor edx, edx
movzx r10d, dx
cmp dx, word [rcx]
jge 0x1400f0a67
mov qword [rsp + 0x10], rbx
mov qword [rsp], rdi
nop dword [rax + rax]
mov rax, qword [r9 + 0x18]
movzx ecx, r10w
movsxd r11, edx
movsx rdi, word [rax + rcx*2]
mov rax, qword [r9 + 8]
lea rdx, [rax + r11*8]
lea r8, [rax + rdi*8]
cmp rdx, r8
jae 0x1400f0a19
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [r8]
mov rax, qword [rdx]
mov qword [rdx], rcx
add rdx, 8
mov qword [r8], rax
sub r8, 8
cmp rdx, r8
jb 0x1400f0a00
mov rax, qword [r9 + 0x10]
lea r8, [rax + r11]
add rax, rdi
cmp r8, rax
jae 0x1400f0a47
nop dword [rax]
movzx ecx, byte [rax]
movzx edx, byte [r8]
mov byte [r8], cl
inc r8
mov byte [rax], dl
dec rax
cmp r8, rax
jb 0x1400f0a30
movsx ecx, word [r9]
lea edx, [rdi + 1]
inc r10w
movzx eax, r10w
cmp eax, ecx
jl 0x1400f09d0
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
xor dword [r9 + 0x20], 4
add rsp, 8
ret
Function at 0x1400ffa30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2f0]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call sym.Client.exe_FT_DivFix
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x1400ffa86
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x1400ffadd
mov ebp, 0x4b0000
jmp 0x1400ffaeb
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call sym.Client.exe_FT_MulFix
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x1400ffb01
mov eax, r12d
jmp 0x1400ffb0a
mov edx, edi
mov ecx, ebp
call sym.Client.exe_FT_MulFix
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x1400ffb26
shl esi, 0x10
mov ecx, esi
jmp 0x1400ffc15
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x1400ffb84
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call sym.Client.exe_FT_DivFix
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x1400ffb74
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call sym.Client.exe_FT_MulDiv
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call sym.Client.exe_FT_DivFix
add ebx, eax
jmp 0x1400ffc1e
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x1400ffb91
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x1400ffbd0
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call sym.Client.exe_FT_DivFix
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x1400ffbd5
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call sym.Client.exe_FT_MulDiv
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call sym.Client.exe_FT_DivFix
add ebx, eax
jmp 0x1400ffc1e
cmp eax, r12d
jge 0x1400ffc0e
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call sym.Client.exe_FT_DivFix
sub ebp, eax
sub r15d, esi
je 0x1400ffc0e
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call sym.Client.exe_FT_MulDiv
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call sym.Client.exe_FT_DivFix
add ebx, eax
jmp 0x1400ffc1e
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call sym.Client.exe_FT_DivFix
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rbp
pop rbx
jmp sym.Client.exe_FT_DivFix
Function at 0x14014c770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x140554040]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rsi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x278], rdi
nop dword [rax]
mov r10d, dword [rbx + 0x14]
mov eax, r10d
mov r14d, dword [rbx + 4]
cmp r10d, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x14014c90c
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x14014c90c
cmp r10d, r14d
jne 0x14014c810
sub rbx, 0x10
jmp 0x14014c954
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x14014c882
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x14014c844
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x14014c84c
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x14014c86b
movzx edx, r11b
mov rcx, rsi
call fcn.14014d850
test al, al
jne 0x14014c965
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.14014df80
test al, al
jne 0x14014c965
mov edx, dword [rsi + 0x64]
lea r9, [0x14014e2e0]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x14014c8ae
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.14014c5f0
jmp 0x14014c902
mov eax, dword [rbx + 4]
neg ecx
movzx edi, byte [rsi + 0x6a]
neg eax
mov dword [rbx + 4], eax
neg edx
mov eax, dword [rbx + 0xc]
neg eax
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0xc], eax
mov rcx, rsi
mov eax, dword [rbx + 0x14]
neg eax
mov dword [rsp + 0x20], edx
mov edx, 2
mov dword [rbx + 0x14], eax
call fcn.14014c5f0
test dil, dil
je 0x14014c8fa
cmp byte [rsi + 0x6a], 0
jne 0x14014c8fa
mov rdx, qword [rsi + 0x70]
mov ecx, dword [rdx + 0x20]
neg ecx
mov dword [rdx + 0x20], ecx
mov ecx, dword [rbx + 4]
neg ecx
mov dword [rbx + 4], ecx
test al, al
jne 0x14014c965
sub rbx, 0x10
jmp 0x14014c954
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], r10d
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [r10 + r9]
mov dword [rbx + 0x10], eax
mov eax, ecx
sar edx, 1
sar eax, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0x14], eax
mov dword [rbx + 0xc], edx
add rbx, 0x10
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x14014c969
mov ebp, dword [rbx]
jmp 0x14014c7d0
mov al, 1
jmp 0x14014c972
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400e9c90
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x14014c9a0
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

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 rax, qword [rcx + 0x20]
xor r14d, r14d
sub rax, 0x34
mov qword [rcx + 0x78], r14
mov qword [rcx + 0x28], rax
mov ebp, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r14w
mov esi, r14d
mov dword [rcx + 0x3c], r14d
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r14w
cmp r14w, word [rcx + 0xb8]
jge 0x14014caeb
movzx r10d, r14w
mov edi, r14d
mov r8, qword [rbx + 0xd0]
mov r9d, ebp
mov dword [rbx + 0x88], r14d
movzx edx, r10w
mov qword [rbx + 0x80], r14
mov rcx, rbx
movzx r8d, word [rdi + r8]
call fcn.14014ce80
test al, al
jne 0x14014cb86
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
movzx r10d, word [rdi + rax]
lea eax, [r8 - 1]
test edx, eax
jne 0x14014ca7b
cmp edx, dword [rbx + 0x60]
jl 0x14014ca7b
cmp edx, dword [rbx + 0x64]
jg 0x14014ca7b
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x14014ca7b
mov rax, qword [rbx + 0x70]
movzx ecx, byte [rcx + 0x18]
xor cl, byte [rax + 0x18]
test cl, 8
jne 0x14014ca7b
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x14014ca9e
test byte [r9 + 0x18], 8
je 0x14014ca9e
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x14014caaf
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.14014d850
test al, al
jne 0x14014cb86
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x14014cad2
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xb8]
inc esi
add rdi, 2
inc r10w
cmp esi, eax
jl 0x14014ca04
movzx edi, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp di, 1
jbe 0x14014cb8a
test rdx, rdx
je 0x14014cb8a
mov ebp, 0xffff
nop dword [rax + rax]
lea rsi, [rdx + 8]
cmp di, 1
jbe 0x14014cb28
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x14014cb2b
mov r10, r14
mov qword [rsi], r10
test byte [rdx + 0x18], 8
mov r11d, dword [rdx + 0x20]
mov r8d, r11d
mov eax, dword [rdx + 0x1c]
je 0x14014cb46
dec r11d
add r11d, eax
jmp 0x14014cb5d
sub r8d, eax
inc r8d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.14014db70
test al, al
jne 0x14014cb86
lea edx, [r11 + 1]
mov rcx, rbx
call fcn.14014db70
test al, al
jne 0x14014cb86
mov rdx, qword [rsi]
add di, bp
jne 0x14014cb10
jmp 0x14014cb8e
mov al, 1
jmp 0x14014cb99
mov qword [rbx + 0x78], r14
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret