joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180076e60
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x180218ee0], ebp
je 0x180076eb7
cmp rbx, 0x20
jae 0x180076ea0
xor ecx, ecx
jmp 0x180076ea2
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180218ee0], ebp
jne 0x180076e96
cmp qword [0x180218ee8], r15
je 0x180076fb3
test rdi, rdi
jne 0x180076ed7
mov ecx, esi
call fcn.180076990
mov ebp, eax
jmp 0x180076fb8
mov ecx, dword [0x18021d28c]
mov ebx, r15d
test ecx, ecx
je 0x180076eff
mov r8, qword [0x18021d280]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x180076f09
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180076ef0
mov ebp, 4
jmp 0x180076fb8
cmp ebx, 0xffffffff
je 0x180076eff
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x180076faa
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1800766b0
mov edx, esi
mov ecx, ebx
call fcn.180076860
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x180076fb8
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180076f94
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180076f8a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x180076f60
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180218ee8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180076fb8
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x180076fb8
mov ebp, 2
xchg dword [0x180218ee0], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x1800779d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x18016f040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
cmp edx, 1
jne 0x180077c1a
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0
mov rdx, rcx
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffffffffffff
mov r9d, 4
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x180077a62
mov qword [rbx], 0
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov qword [rbx + 0x20], 0
mov qword [rbx + 0x28], 0
mov qword [rbx + 0x30], 0
mov qword [rbx + 0x38], 0
test rbx, rbx
je 0x180077acf
lea rax, [rsp + 0x30]
mov r9d, 4
mov r8d, 0x108
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x180077acf
mov rax, rbx
xorps xmm0, xmm0
xor ecx, ecx
mov edx, 2
nop
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmmword [rax - 0x10], xmm0
sub rdx, 1
jne 0x180077aa0
mov qword [rax], rcx
mov qword [rsp + 0x58], rbp
mov rcx, rbx
mov qword [rsp + 0x60], rdi
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
lea rcx, str.tier0_s64.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r8, rax
test rax, rax
je 0x180077baa
movsxd rax, dword [rax + 0x3c]
lea rbx, str.48_89_5C_24___48_89_6C_24___48_89_74_24___57_48_83_EC_30
xor r10d, r10d
mov edi, dword [rax + r8 + 0x50]
add rdi, 0xfffffffffffff000
add rdi, r8
add r8, 0x1000
cmp r8, rdi
jae 0x180077baa
mov ebp, 0x37
nop dword [rax]
movzx r9d, byte [rbx]
cmp r9b, 0x3f
je 0x180077b7f
lea eax, [r9 - 0x30]
cmp al, 9
ja 0x180077b48
movzx r11d, r9b
jmp 0x180077b4c
lea r11d, [r9 - 0x37]
movzx edx, byte [rbx + 1]
mov ecx, 0x30
lea eax, [rdx - 0x30]
cmp al, 9
cmova ecx, ebp
shl r11b, 4
sub dl, cl
or dl, r11b
cmp byte [r8], dl
je 0x180077b7f
test r10, r10
je 0x180077ba2
mov r8, r10
lea rbx, str.48_89_5C_24___48_89_6C_24___48_89_74_24___57_48_83_EC_30
xor r10d, r10d
jmp 0x180077ba2
test r10, r10
mov rax, r8
cmovne rax, r10
mov r10, rax
xor eax, eax
cmp r9b, 0x3f
setne al
add rax, 2
add rbx, rax
cmp byte [rbx - 1], 0
je 0x180077bda
inc r8
cmp r8, rdi
jb 0x180077b30
mov qword [0x18021d118], 0
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.CST_not_found.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov qword [0x18021d118], r10
test r10, r10
je 0x180077bb5
xor r9d, r9d
lea rcx, [0x180077510]
xor r8d, r8d
xor edx, edx
call r10
mov rbp, qword [rsp + 0x58]
mov eax, 1
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800e9960
add rsp, 0x40
pop rbx
ret
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800e9960
add rsp, 0x40
pop rbx
ret
Function at 0x1800786f0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
mov rcx, qword [0x180219838]
test rcx, rcx
je 0x18007871e
mov rax, qword [rcx]
lea rdx, [0x180219800]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [0x180219838], 0
mov r9, qword [0x180218e30]
lea r8, [fcn.1800774e0]
mov qword [rsp + 0x28], 0
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18007875a
mov rcx, rax
add rsp, 0x38
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x38
ret
Function at 0x1800804b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x18016f040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r12, r8
mov r15, rcx
lea r9, [rbp + 0x24]
mov r8d, 0xb
nop dword [rax]
dec r9
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 [r9], r8b
mov r8d, edx
test edx, edx
jne 0x1800804f0
lea r8, [rbp + 0x24]
mov rdx, r9
lea rcx, [rbp - 0x31]
call fcn.180013180
nop
mov r8, qword [rbp - 0x21]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
sub rax, r8
mov r14d, 0xa
lea rdi, str.fuck_vmt:
cmp rax, r14
jb 0x1800805c2
lea rax, [r8 + 0xa]
mov qword [rbp - 0x21], rax
lea rbx, [rbp - 0x31]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x31]
lea rax, [0x180151f32]
cmp rax, rbx
jbe 0x180080586
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x180080586
cmp rbx, rdi
ja 0x18008057e
xor esi, esi
jmp 0x180080589
mov rsi, rbx
sub rsi, rdi
jmp 0x180080589
mov rsi, r14
lea rcx, [rbx + 0xa]
inc r8
mov rdx, rbx
call fcn.18011c600
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.18011c600
lea rcx, [rbx + rsi]
sub r14, rsi
lea rdx, [rdi + 0xa]
add rdx, rsi
mov r8, r14
call fcn.18011c600
lea rax, [rbp - 0x31]
jmp 0x1800805d8
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov rdx, r14
lea rcx, [rbp - 0x31]
call fcn.1800167a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x180080644
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008063f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800806f3
call fcn.1800e9980
movdqa xmm0, xmmword [0x180152470]
movdqu xmmword [rbp - 0x21], xmm0
mov byte [rbp - 0x31], 0
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov qword [rbp - 0x39], 0
test r15, r15
je 0x180080679
mov r15, qword [r15]
lea r8, [rbp - 0x39]
mov rdx, r12
mov rcx, qword [r15 + 0x58]
call fcn.180076b70
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x1800806c1
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800806bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800806ed
call fcn.1800e9980
mov rax, qword [rbp - 0x39]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800e9960
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1800fa800
nop
call fcn.1800fa800
nop
int3
Function at 0x180080700
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x18016f040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r12, r8
mov r15, rcx
lea r9, [rbp + 0x24]
mov r8d, 0x24
nop dword [rax]
dec r9
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 [r9], r8b
mov r8d, edx
test edx, edx
jne 0x180080740
lea r8, [rbp + 0x24]
mov rdx, r9
lea rcx, [rbp - 0x31]
call fcn.180013180
nop
mov r8, qword [rbp - 0x21]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
sub rax, r8
mov r14d, 0xa
lea rdi, str.fuck_vmt:
cmp rax, r14
jb 0x180080812
lea rax, [r8 + 0xa]
mov qword [rbp - 0x21], rax
lea rbx, [rbp - 0x31]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x31]
lea rax, [0x180151f32]
cmp rax, rbx
jbe 0x1800807d6
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x1800807d6
cmp rbx, rdi
ja 0x1800807ce
xor esi, esi
jmp 0x1800807d9
mov rsi, rbx
sub rsi, rdi
jmp 0x1800807d9
mov rsi, r14
lea rcx, [rbx + 0xa]
inc r8
mov rdx, rbx
call fcn.18011c600
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.18011c600
lea rcx, [rbx + rsi]
sub r14, rsi
lea rdx, [rdi + 0xa]
add rdx, rsi
mov r8, r14
call fcn.18011c600
lea rax, [rbp - 0x31]
jmp 0x180080828
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov rdx, r14
lea rcx, [rbp - 0x31]
call fcn.1800167a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x180080894
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008088f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180080946
call fcn.1800e9980
movdqa xmm0, xmmword [0x180152470]
movdqu xmmword [rbp - 0x21], xmm0
mov byte [rbp - 0x31], 0
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov qword [rbp - 0x39], 0
test r15, r15
je 0x1800808c9
mov r15, qword [r15]
lea r8, [rbp - 0x39]
mov rdx, r12
mov rcx, qword [r15 + 0x120]
call fcn.180076b70
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x180080914
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008090f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180080940
call fcn.1800e9980
mov rax, qword [rbp - 0x39]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800e9960
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1800fa800
nop
call fcn.1800fa800
nop
int3
Function at 0x180083e90
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 0x180083eb3
lea eax, [rcx + 0x23]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rcx + 0x88]
test rcx, rcx
je 0x180083ed0
mov rax, qword [rcx + 0x10]
call qword [rax + 0x18]
mov edx, eax
xor eax, eax
cmp edx, dword [rbx + 0x10]
cmovae edx, eax
mov r8d, edi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp sym.Deceitik.dll_FT_Load_Glyph
Function at 0x180086560
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 8
mov r9, rcx
test rcx, rcx
je 0x18008662c
xor edx, edx
movzx r10d, dx
cmp dx, word [rcx]
jge 0x180086627
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 0x1800865d9
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 0x1800865c0
mov rax, qword [r9 + 0x10]
lea r8, [rax + r11]
add rax, rdi
cmp r8, rax
jae 0x180086607
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 0x1800865f0
movsx ecx, word [r9]
lea edx, [rdi + 1]
inc r10w
movzx eax, r10w
cmp eax, ecx
jl 0x180086590
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
xor dword [r9 + 0x20], 4
add rsp, 8
ret
Function at 0x1800952e0
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.Deceitik.dll_FT_DivFix
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x180095336
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 0x18009538d
mov ebp, 0x4b0000
jmp 0x18009539b
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call sym.Deceitik.dll_FT_MulFix
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x1800953b1
mov eax, r12d
jmp 0x1800953ba
mov edx, edi
mov ecx, ebp
call sym.Deceitik.dll_FT_MulFix
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x1800953d6
shl esi, 0x10
mov ecx, esi
jmp 0x1800954c5
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x180095434
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call sym.Deceitik.dll_FT_DivFix
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x180095424
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call sym.Deceitik.dll_FT_MulDiv
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call sym.Deceitik.dll_FT_DivFix
add ebx, eax
jmp 0x1800954ce
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x180095441
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x180095480
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call sym.Deceitik.dll_FT_DivFix
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x180095485
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call sym.Deceitik.dll_FT_MulDiv
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call sym.Deceitik.dll_FT_DivFix
add ebx, eax
jmp 0x1800954ce
cmp eax, r12d
jge 0x1800954be
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call sym.Deceitik.dll_FT_DivFix
sub ebp, eax
sub r15d, esi
je 0x1800954be
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call sym.Deceitik.dll_FT_MulDiv
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call sym.Deceitik.dll_FT_DivFix
add ebx, eax
jmp 0x1800954ce
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call sym.Deceitik.dll_FT_DivFix
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
call sym.Deceitik.dll_FT_DivFix
mov r15, qword [rsp + 0x30]
add eax, 0x8000
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
shr eax, 0x10
cwde
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
Function at 0x1800ce6f0
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
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r15d, r15d
sub rax, 0x34
mov qword [rcx + 0x78], r15
mov qword [rcx + 0x28], rax
mov r14d, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r15w
mov ebp, r15d
mov dword [rcx + 0x3c], r15d
movzx esi, r15w
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r15w
cmp r15w, word [rcx + 0xb8]
jge 0x1800ce84c
movzx r11d, r15w
mov edi, r15d
nop word [rax + rax]
mov rax, qword [rbx + 0xd0]
mov r9d, r14d
mov dword [rbx + 0x88], r15d
movzx edx, r11w
mov qword [rbx + 0x80], r15
mov rcx, rbx
movzx r8d, word [rdi + rax]
call fcn.1800cebb0
test al, al
jne 0x1800ce8da
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
movzx r11d, word [rdi + rax]
lea eax, [r8 - 1]
test edx, eax
jne 0x1800ce7d8
cmp edx, dword [rbx + 0x60]
jl 0x1800ce7d8
cmp edx, dword [rbx + 0x64]
jg 0x1800ce7d8
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x1800ce7d8
mov rax, qword [rbx + 0x70]
movzx ecx, byte [rax + 0x18]
xor cl, byte [r9 + 0x18]
test cl, 8
jne 0x1800ce7d8
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r10, qword [rbx + 0x70]
mov rax, qword [r10 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x1800ce7fb
test byte [r10 + 0x18], 8
je 0x1800ce7fb
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x1800ce80c
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.1800cf590
test al, al
jne 0x1800ce8da
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x1800ce82f
mov qword [r10 + 0x28], rax
movsx eax, word [rbx + 0xb8]
inc ebp
add rdi, 2
inc r11w
cmp ebp, eax
jl 0x1800ce760
movzx esi, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp si, 1
jbe 0x1800ce8de
test rdx, rdx
je 0x1800ce8de
mov ebp, 0xffff
lea r14, [rdx + 8]
cmp si, 1
jbe 0x1800ce87c
movsxd r9, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r8, [rax + r9*4]
jmp 0x1800ce883
mov r9d, dword [rdx + 0x1c]
mov r8, r15
mov qword [r14], r8
test byte [rdx + 0x18], 8
mov edi, dword [rdx + 0x20]
mov r8d, edi
je 0x1800ce899
dec edi
add edi, r9d
jmp 0x1800ce8b2
sub r8d, r9d
lea eax, [r9 - 1]
inc r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov dword [rdx + 0x20], r8d
mov edx, r8d
mov rcx, rbx
call fcn.1800cf8c0
test al, al
jne 0x1800ce8da
lea edx, [rdi + 1]
mov rcx, rbx
call fcn.1800cf8c0
test al, al
jne 0x1800ce8da
mov rdx, qword [r14]
add si, bp
jne 0x1800ce864
jmp 0x1800ce8e2
mov al, 1
jmp 0x1800ce8ed
mov qword [rbx + 0x78], r15
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1800eac70
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 0x1800eacaa
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800eacaf
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 0x1800eacf8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18013ca10]
cmp byte [rcx + rax], 0
je 0x1800eacf8
dec r8
sub rdx, 1
jne 0x1800eacde
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1800fb9e4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1800ea650
sub rsp, rax
mov rax, qword [0x18016f040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1800fb52c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800fba33
mov rax, rbp
jmp 0x1800fbb3b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x218280]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.180109674
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x218280]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800fbb37
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800fbb37
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.180109674
test rax, rax
js 0x1800fbb37
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800fbb37
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800fbb29
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800fbb29
cmp byte [rcx], 0xd
jne 0x1800fbb0f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800fbb1e
cmp byte [rcx + 1], 0xa
jne 0x1800fbb1e
inc rcx
jmp 0x1800fbb1e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x16f4e0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800fbaf1
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800fbb3b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800e9960
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800ff264
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1800ff2d3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800ff2d3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800ff2d3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800ff2d3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800ff2d3
cmp dword [rcx + 0x84], 0xe
jbe 0x1800ff2d3
cmp dword [rcx + 0xf8], 0
je 0x1800ff2d3
mov ecx, ebx
call fcn.1800ff384
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1800ff160
nop
cmp dword [rbp + 0x20], 0
je 0x1800ff321
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800ff32c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1800ff264

Function at 0x180102f9c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x180102fb2
mov al, 1
jmp 0x180103012
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x180102fc3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180103010
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800fad2c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180103010
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180103010
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180103010
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x180103012
xor al, al
add rsp, 0x20
pop rbx
ret