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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x18021d29c]
mov ebx, edi
test ecx, ecx
je 0x1800767fd
mov rax, qword [0x18021d290]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180076718
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800766f0
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x1800767fd
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.1800763e0
mov r8d, dword [0x18021d29c]
cmp ebx, r8d
jae 0x180076788
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x18021d290]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x180076781
mov edx, esi
mov ecx, ebx
call fcn.180076590
mov edi, eax
test eax, eax
jne 0x180076788
mov r8d, dword [0x18021d29c]
inc ebx
cmp ebx, r8d
jb 0x180076750
cmp qword [rsp + 0x20], 0
je 0x1800767fd
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800767e9
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800767da
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x1800767b0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180218ee8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180076b90
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 0x180076be7
cmp rbx, 0x20
jae 0x180076bd0
xor ecx, ecx
jmp 0x180076bd2
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180218ee0], ebp
jne 0x180076bc6
cmp qword [0x180218ee8], r15
je 0x180076ce3
test rdi, rdi
jne 0x180076c07
mov ecx, esi
call fcn.1800766c0
mov ebp, eax
jmp 0x180076ce8
mov ecx, dword [0x18021d29c]
mov ebx, r15d
test ecx, ecx
je 0x180076c2f
mov r8, qword [0x18021d290]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x180076c39
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180076c20
mov ebp, 4
jmp 0x180076ce8
cmp ebx, 0xffffffff
je 0x180076c2f
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x180076cda
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1800763e0
mov edx, esi
mov ecx, ebx
call fcn.180076590
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x180076ce8
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180076cc4
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 0x180076cba
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 0x180076c90
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180218ee8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180076ce8
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x180076ce8
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 0x180078950
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
mov rcx, qword [0x180219838]
test rcx, rcx
je 0x18007897e
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.180077210]
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 0x1800789ba
mov rcx, rax
add rsp, 0x38
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x38
ret
Function at 0x1800806b0
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 0x1800806f0
lea r8, [rbp + 0x24]
mov rdx, r9
lea rcx, [rbp - 0x31]
call fcn.180013140
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 0x1800807c2
lea rax, [r8 + 0xa]
mov qword [rbp - 0x21], rax
lea rbx, [rbp - 0x31]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x31]
lea rax, [0x180151efa]
cmp rax, rbx
jbe 0x180080786
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x180080786
cmp rbx, rdi
ja 0x18008077e
xor esi, esi
jmp 0x180080789
mov rsi, rbx
sub rsi, rdi
jmp 0x180080789
mov rsi, r14
lea rcx, [rbx + 0xa]
inc r8
mov rdx, rbx
call fcn.18011c800
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.18011c800
lea rcx, [rbx + rsi]
sub r14, rsi
lea rdx, [rdi + 0xa]
add rdx, rsi
mov r8, r14
call fcn.18011c800
lea rax, [rbp - 0x31]
jmp 0x1800807d8
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov rdx, r14
lea rcx, [rbp - 0x31]
call fcn.180016760
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 0x180080844
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008083f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800808f3
call fcn.1800e9b80
movdqa xmm0, xmmword [0x180152430]
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 0x180080879
mov r15, qword [r15]
lea r8, [rbp - 0x39]
mov rdx, r12
mov rcx, qword [r15 + 0x58]
call fcn.1800768a0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x1800808c1
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800808bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800808ed
call fcn.1800e9b80
mov rax, qword [rbp - 0x39]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800e9b60
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.1800faa00
nop
call fcn.1800faa00
nop
int3
Function at 0x180080900
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 0x180080940
lea r8, [rbp + 0x24]
mov rdx, r9
lea rcx, [rbp - 0x31]
call fcn.180013140
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 0x180080a12
lea rax, [r8 + 0xa]
mov qword [rbp - 0x21], rax
lea rbx, [rbp - 0x31]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x31]
lea rax, [0x180151efa]
cmp rax, rbx
jbe 0x1800809d6
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x1800809d6
cmp rbx, rdi
ja 0x1800809ce
xor esi, esi
jmp 0x1800809d9
mov rsi, rbx
sub rsi, rdi
jmp 0x1800809d9
mov rsi, r14
lea rcx, [rbx + 0xa]
inc r8
mov rdx, rbx
call fcn.18011c800
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.18011c800
lea rcx, [rbx + rsi]
sub r14, rsi
lea rdx, [rdi + 0xa]
add rdx, rsi
mov r8, r14
call fcn.18011c800
lea rax, [rbp - 0x31]
jmp 0x180080a28
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov rdx, r14
lea rcx, [rbp - 0x31]
call fcn.180016760
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 0x180080a94
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180080a8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180080b46
call fcn.1800e9b80
movdqa xmm0, xmmword [0x180152430]
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 0x180080ac9
mov r15, qword [r15]
lea r8, [rbp - 0x39]
mov rdx, r12
mov rcx, qword [r15 + 0x120]
call fcn.1800768a0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x180080b14
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180080b0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180080b40
call fcn.1800e9b80
mov rax, qword [rbp - 0x39]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800e9b60
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.1800faa00
nop
call fcn.1800faa00
nop
int3
Function at 0x180084090
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 0x1800840b3
lea eax, [rcx + 0x23]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rcx + 0x88]
test rcx, rcx
je 0x1800840d0
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 0x180086760
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 8
mov r9, rcx
test rcx, rcx
je 0x18008682c
xor edx, edx
movzx r10d, dx
cmp dx, word [rcx]
jge 0x180086827
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 0x1800867d9
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 0x1800867c0
mov rax, qword [r9 + 0x10]
lea r8, [rax + r11]
add rax, rdi
cmp r8, rax
jae 0x180086807
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 0x1800867f0
movsx ecx, word [r9]
lea edx, [rdi + 1]
inc r10w
movzx eax, r10w
cmp eax, ecx
jl 0x180086790
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
xor dword [r9 + 0x20], 4
add rsp, 8
ret
Function at 0x1800954e0
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 0x180095536
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 0x18009558d
mov ebp, 0x4b0000
jmp 0x18009559b
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 0x1800955b1
mov eax, r12d
jmp 0x1800955ba
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 0x1800955d6
shl esi, 0x10
mov ecx, esi
jmp 0x1800956c5
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x180095634
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 0x180095624
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 0x1800956ce
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x180095641
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x180095680
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 0x180095685
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 0x1800956ce
cmp eax, r12d
jge 0x1800956be
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call sym.Deceitik.dll_FT_DivFix
sub ebp, eax
sub r15d, esi
je 0x1800956be
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 0x1800956ce
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 0x1800ce8f0
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 0x1800cea4c
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.1800cedb0
test al, al
jne 0x1800ceada
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 0x1800ce9d8
cmp edx, dword [rbx + 0x60]
jl 0x1800ce9d8
cmp edx, dword [rbx + 0x64]
jg 0x1800ce9d8
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x1800ce9d8
mov rax, qword [rbx + 0x70]
movzx ecx, byte [rax + 0x18]
xor cl, byte [r9 + 0x18]
test cl, 8
jne 0x1800ce9d8
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r10, qword [rbx + 0x70]
mov rax, qword [r10 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x1800ce9fb
test byte [r10 + 0x18], 8
je 0x1800ce9fb
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x1800cea0c
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.1800cf790
test al, al
jne 0x1800ceada
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x1800cea2f
mov qword [r10 + 0x28], rax
movsx eax, word [rbx + 0xb8]
inc ebp
add rdi, 2
inc r11w
cmp ebp, eax
jl 0x1800ce960
movzx esi, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp si, 1
jbe 0x1800ceade
test rdx, rdx
je 0x1800ceade
mov ebp, 0xffff
lea r14, [rdx + 8]
cmp si, 1
jbe 0x1800cea7c
movsxd r9, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r8, [rax + r9*4]
jmp 0x1800cea83
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 0x1800cea99
dec edi
add edi, r9d
jmp 0x1800ceab2
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.1800cfac0
test al, al
jne 0x1800ceada
lea edx, [rdi + 1]
mov rcx, rbx
call fcn.1800cfac0
test al, al
jne 0x1800ceada
mov rdx, qword [r14]
add si, bp
jne 0x1800cea64
jmp 0x1800ceae2
mov al, 1
jmp 0x1800ceaed
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 0x1800eae70
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 0x1800eaeaa
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800eaeaf
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 0x1800eaef8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18013ca40]
cmp byte [rcx + rax], 0
je 0x1800eaef8
dec r8
sub rdx, 1
jne 0x1800eaede
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1800fbbe4
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.1800ea850
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.1800fb72c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800fbc33
mov rax, rbp
jmp 0x1800fbd3b
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.180109874
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x218280]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800fbd37
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 0x1800fbd37
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.180109874
test rax, rax
js 0x1800fbd37
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800fbd37
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800fbd29
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800fbd29
cmp byte [rcx], 0xd
jne 0x1800fbd0f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800fbd1e
cmp byte [rcx + 1], 0xa
jne 0x1800fbd1e
inc rcx
jmp 0x1800fbd1e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x16f4e0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800fbcf1
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800fbd3b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800e9b60
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 0x1800ff464
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 0x1800ff4d3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800ff4d3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800ff4d3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800ff4d3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800ff4d3
cmp dword [rcx + 0x84], 0xe
jbe 0x1800ff4d3
cmp dword [rcx + 0xf8], 0
je 0x1800ff4d3
mov ecx, ebx
call fcn.1800ff584
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.1800ff360
nop
cmp dword [rbp + 0x20], 0
je 0x1800ff521
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800ff52c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1800ff464

Function at 0x18010319c
Capabilities:
Get file size

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