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

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x60], 0x80
jge 0x140224e9c
cmp dword [rsp + 0x60], 0x41
jl 0x140224e97
cmp dword [rsp + 0x60], 0x5a
jg 0x140224e97
mov eax, dword [rsp + 0x60]
add eax, 0x20
mov dword [rsp + 0x20], eax
jmp 0x140224feb
cmp dword [rsp + 0x60], 0x10000
jge 0x140224fcc
mov dword [rsp + 0x2c], 0xa2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0xffffffff
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x2c], eax
jl 0x140224f24
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x14029cc40]
movzx eax, word [rcx + rax*4]
mov ecx, dword [rsp + 0x60]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jl 0x140224f18
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x28], eax
jmp 0x140224f22
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x2c], eax
jmp 0x140224ec2
movsxd rax, dword [rsp + 0x30]
lea rcx, [0x14029cc40]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x40]
movzx ecx, byte [rcx + 3]
add eax, ecx
cmp dword [rsp + 0x60], eax
jge 0x140224f99
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 2]
and eax, 1
mov rcx, qword [rsp + 0x40]
movzx ecx, word [rcx]
xor ecx, dword [rsp + 0x60]
and eax, ecx
test eax, eax
jne 0x140224f99
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 2]
sar eax, 1
cdqe
lea rcx, [0x14029ced0]
movzx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0x60]
add ecx, eax
mov eax, ecx
and eax, 0xffff
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x68], 0
je 0x140224fca
cmp dword [rsp + 0x68], 2
jne 0x140224fb1
mov dword [rsp + 0x34], 1
jmp 0x140224fb9
mov dword [rsp + 0x34], 0
mov edx, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x20]
call fcn.1402424e0
mov dword [rsp + 0x20], eax
jmp 0x140224feb
cmp dword [rsp + 0x60], 0x10400
jl 0x140224feb
cmp dword [rsp + 0x60], 0x10428
jge 0x140224feb
mov eax, dword [rsp + 0x60]
add eax, 0x28
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x58
ret
Function at 0x1402571a0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rax, str.SELECT_stat_FROM__Q.sqlite_stat1_WHERE_tbl___q_rowid
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x68], 0x64
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.sqlite_stat1
mov rax, qword [rsp + 0x98]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rsp + 0x90]
call fcn.14012f150
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140257253
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x50], 0x100000
cmp dword [rsp + 0x50], 1
jne 0x140257242
mov dword [rsp + 0x54], 0
jmp 0x14025724a
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
jmp 0x140257328
mov rax, qword [rsp + 0x98]
mov r8, qword [rax + 0x38]
mov rax, qword [rsp + 0x98]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rsp + 0x78]
call fcn.140129dd0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14025728c
mov dword [rsp + 0x50], 7
jmp 0x1402572f6
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
mov r8d, 0xffffffff
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x90]
call fcn.14012b4f0
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1402572eb
mov rcx, qword [rsp + 0x58]
call fcn.14012c5c0
cmp eax, 0x64
jne 0x1402572dd
xor edx, edx
mov rcx, qword [rsp + 0x58]
call fcn.14012c880
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x58]
call fcn.14012cab0
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x60]
call fcn.14012a180
nop
cmp qword [rsp + 0x68], 0x64
jle 0x14025730a
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
jmp 0x140257313
mov qword [rsp + 0x70], 0x64
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x50], rcx
mov eax, dword [rsp + 0x50]
add rsp, 0x88
ret
Function at 0x140257a20
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp dword [rsp + 0x50], 0
je 0x140257aeb
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0x30]
lea rcx, str.PRAGMA__Q.page_size
call fcn.140129dd0
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
call fcn.140257980
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140257ac5
mov eax, dword [rsp + 0x24]
sub eax, 0x40
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x27]
imul eax, eax, 0x33
add eax, 4
mov rcx, qword [rsp + 0x48]
cmp eax, dword [rcx + 0x20]
jge 0x140257ac3
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x27]
imul eax, eax, 0x33
add eax, 4
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0x20], eax
jmp 0x140257ae6
mov rcx, qword [rsp + 0x40]
call fcn.14012b160
mov rdx, rax
lea rcx, [0x14032a68c]
call fcn.140129dd0
mov rcx, qword [rsp + 0x58]
mov qword [rcx], rax
jmp 0x140257b8a
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x38]
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0x30]
lea rcx, str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.140129dd0
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x48]
add rax, 0x20
mov r8, rax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
call fcn.140257980
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140257b57
mov rcx, qword [rsp + 0x40]
call fcn.14012b160
mov rdx, rax
lea rcx, [0x14032a6cc]
call fcn.140129dd0
mov rcx, qword [rsp + 0x58]
mov qword [rcx], rax
jmp 0x140257b8a
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x20], 0x1c0
jge 0x140257b8a
mov dword [rsp + 0x20], 0x10b
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0x38]
lea rcx, str.undersize_RTree_blobs_in___q_node_
call fcn.140129dd0
mov rcx, qword [rsp + 0x58]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x28]
call fcn.14012a180
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x140258150
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x40], 0
jne 0x1402581af
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x20], 0
jne 0x1402581af
mov rax, qword [rsp + 0x50]
mov r9, qword [rax + 0x10]
mov rax, qword [rsp + 0x50]
mov r8, qword [rax + 8]
lea rdx, str.SELECT_data_FROM__Q._q_node_WHERE_nodeno_
mov rcx, qword [rsp + 0x50]
call fcn.140257f90
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x40], 0
jne 0x140258299
mov r8, qword [rsp + 0x58]
mov edx, 1
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x20]
call fcn.14012bc30
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x20]
call fcn.14012c5c0
cmp eax, 0x64
jne 0x14025825c
xor edx, edx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x20]
call fcn.14012c9f0
mov dword [rsp + 0x20], eax
xor edx, edx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x20]
call fcn.14012c7a0
mov qword [rsp + 0x30], rax
movsxd rax, dword [rsp + 0x20]
mov rcx, rax
call fcn.14012a0c0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14025823a
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x40], 7
jmp 0x14025825c
movsxd rax, dword [rsp + 0x20]
mov r8, rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x20]
mov dword [rax], ecx
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.140257f50
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x40], 0
jne 0x140258299
cmp qword [rsp + 0x28], 0
jne 0x140258299
mov r8, qword [rsp + 0x58]
lea rdx, str.Node__lld_missing_from_database
mov rcx, qword [rsp + 0x50]
call fcn.140258050
nop
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret
Function at 0x1402582b0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rax, str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
mov qword [rsp + 0x68], rax
lea rax, str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
mov qword [rsp + 0x70], rax
movsxd rax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
cmp qword [rcx + rax*8 + 0x28], 0
jne 0x140258341
movsxd rax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
mov r9, qword [rcx + 0x10]
mov rcx, qword [rsp + 0x90]
mov r8, qword [rcx + 8]
mov rdx, qword [rsp + rax*8 + 0x68]
mov rcx, qword [rsp + 0x90]
call fcn.140257f90
movsxd rcx, dword [rsp + 0x98]
mov rdx, qword [rsp + 0x90]
mov qword [rdx + rcx*8 + 0x28], rax
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x40], 0
je 0x140258354
jmp 0x14025849a
movsxd rax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx + rax*8 + 0x28]
mov qword [rsp + 0x48], rax
mov r8, qword [rsp + 0xa0]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call fcn.14012bc30
mov rcx, qword [rsp + 0x48]
call fcn.14012c5c0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x65
jne 0x1402583f2
cmp dword [rsp + 0x98], 0
je 0x1402583b2
lea rax, [0x14032a8f0]
mov qword [rsp + 0x50], rax
jmp 0x1402583be
lea rax, [0x14032a8f8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xa0]
lea rdx, str.Mapping___lld_____lld__missing_from__s_table
mov rcx, qword [rsp + 0x90]
call fcn.140258050
nop
jmp 0x140258487
cmp dword [rsp + 0x40], 0x64
jne 0x140258487
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.14012c880
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xa8]
cmp qword [rsp + 0x60], rax
je 0x140258487
cmp dword [rsp + 0x98], 0
je 0x140258435
lea rax, str.__rowid
mov qword [rsp + 0x58], rax
jmp 0x140258441
lea rax, str.__parent
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0xa0]
lea rdx, str.Found___lld_____lld__in__s_table__expected___lld_____lld_
mov rcx, qword [rsp + 0x90]
call fcn.140258050
nop
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x90]
call fcn.140257f50
nop
add rsp, 0x88
ret
Function at 0x1402584b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x30], 0
jmp 0x1402584dc
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1c]
cmp dword [rsp + 0x30], eax
jge 0x140258725
mov eax, dword [rsp + 0x30]
shl eax, 3
cdqe
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
lea rdx, [rsp + 0x34]
mov rcx, rax
call fcn.14024f840
mov eax, dword [rsp + 0x30]
shl eax, 1
lea eax, [rax*4 + 4]
cdqe
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.14024f840
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x18], 0
je 0x140258573
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x34], eax
jle 0x140258561
mov dword [rsp + 0x3c], 1
jmp 0x140258569
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x44], eax
jmp 0x14025859a
movss xmm0, dword [rsp + 0x34]
comiss xmm0, dword [rsp + 0x38]
jbe 0x14025858a
mov dword [rsp + 0x40], 1
jmp 0x140258592
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x1402585d0
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x90]
mov r8d, dword [rsp + 0x30]
lea rdx, str.Dimension__d_of_cell__d_on_node__lld_is_corrupt
mov rcx, qword [rsp + 0x80]
call fcn.140258050
nop
cmp qword [rsp + 0xa0], 0
je 0x140258720
mov eax, dword [rsp + 0x30]
shl eax, 3
cdqe
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
lea rdx, [rsp + 0x4c]
mov rcx, rax
call fcn.14024f840
mov eax, dword [rsp + 0x30]
shl eax, 1
lea eax, [rax*4 + 4]
cdqe
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
lea rdx, [rsp + 0x5c]
mov rcx, rax
call fcn.14024f840
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x18], 0
je 0x140258661
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x34], eax
jge 0x14025864f
mov dword [rsp + 0x48], 1
jmp 0x140258657
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x54], eax
jmp 0x140258688
movss xmm0, dword [rsp + 0x4c]
comiss xmm0, dword [rsp + 0x34]
jbe 0x140258678
mov dword [rsp + 0x50], 1
jmp 0x140258680
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x1402586f1
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x18], 0
je 0x1402586c3
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x38], eax
jle 0x1402586b1
mov dword [rsp + 0x58], 1
jmp 0x1402586b9
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x64], eax
jmp 0x1402586ea
movss xmm0, dword [rsp + 0x38]
comiss xmm0, dword [rsp + 0x5c]
jbe 0x1402586da
mov dword [rsp + 0x60], 1
jmp 0x1402586e2
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x140258720
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x90]
mov r8d, dword [rsp + 0x30]
lea rdx, str.Dimension__d_of_cell__d_on_node__lld_is_corrupt_relative_to_parent
mov rcx, qword [rsp + 0x80]
call fcn.140258050
nop
jmp 0x1402584d2
add rsp, 0x78
ret
Function at 0x140258730
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x70]
call fcn.140258150
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14025899b
cmp dword [rsp + 0x30], 4
jge 0x1402587ab
mov r9d, dword [rsp + 0x30]
mov r8, qword [rsp + 0x88]
lea rdx, str.Node__lld_is_too_small___d_bytes_
mov rcx, qword [rsp + 0x70]
call fcn.140258050
nop
jmp 0x140258990
cmp qword [rsp + 0x80], 0
jne 0x1402587f1
mov rcx, qword [rsp + 0x40]
call fcn.14024f800
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0x28
jle 0x1402587f1
mov r8d, dword [rsp + 0x78]
lea rdx, str.Rtree_depth_out_of_range___d_
mov rcx, qword [rsp + 0x70]
call fcn.140258050
mov rcx, qword [rsp + 0x40]
call fcn.14012a180
nop
jmp 0x14025899b
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14024f800
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x1c]
shl eax, 1
lea eax, [rax*4 + 8]
mov ecx, dword [rsp + 0x38]
imul ecx, eax
mov eax, ecx
add eax, 4
cmp eax, dword [rsp + 0x30]
jle 0x140258860
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x38]
mov r8, qword [rsp + 0x88]
lea rdx, str.Node__lld_is_too_small_for_cell_count_of__d___d_bytes_
mov rcx, qword [rsp + 0x70]
call fcn.140258050
nop
jmp 0x140258990
mov dword [rsp + 0x34], 0
jmp 0x140258874
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x34], eax
jge 0x140258990
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x1c]
shl eax, 1
lea eax, [rax*4 + 8]
mov ecx, dword [rsp + 0x34]
imul ecx, eax
mov eax, ecx
add eax, 4
cdqe
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.14024f870
mov qword [rsp + 0x50], rax
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x70]
call fcn.1402584b0
cmp dword [rsp + 0x78], 0
jle 0x14025895d
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.1402582b0
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x78]
dec ecx
mov r9, qword [rsp + 0x50]
mov r8, rax
mov edx, ecx
mov rcx, qword [rsp + 0x70]
call fcn.140258730
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x3c]
inc eax
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x3c], eax
jmp 0x14025898b
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x70]
call fcn.1402582b0
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x38]
inc eax
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x38], eax
jmp 0x14025886a
mov rcx, qword [rsp + 0x40]
call fcn.14012a180
nop
add rsp, 0x68
ret
Function at 0x1402638b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x90]
call fcn.14026bc40
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x140263998
cmp dword [rsp + 0x98], 0
je 0x14026393b
mov dword [rsp + 0x34], 2
jmp 0x140263943
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x40]
call fcn.14025b840
mov rcx, qword [rsp + 0x40]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov dword [rsp + 0x38], eax
lea rax, [fcn.14026bda0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x48]
call fcn.14025b7d0
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x40]
call fcn.14012a180
cmp dword [rsp + 0x30], 0
jne 0x1402639b8
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1402639df
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x30]
mov dword [rax + 0x10], ecx
mov rcx, qword [rsp + 0x50]
call fcn.14026bc90
mov qword [rsp + 0x50], 0
jmp 0x140263a9c
cmp qword [rsp + 0x88], 0
jne 0x140263a24
mov rcx, qword [rsp + 0x80]
call fcn.14026c0e0
test eax, eax
je 0x140263a0c
mov rcx, qword [rsp + 0x50]
call fcn.14026bc90
xor eax, eax
jmp 0x140263aa1
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x14]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x14], eax
cmp qword [rsp + 0x50], 0
jne 0x140263a4c
mov rax, qword [rsp + 0x80]
add rax, 0x10
mov edx, 0x48
mov rcx, rax
call fcn.14025cb40
mov qword [rsp + 0x50], rax
jmp 0x140263a78
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x18], 0
je 0x140263a78
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x18]
dec eax
cdqe
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x50]
movzx edx, byte [rsp + 0x98]
mov byte [rcx + rax + 0x20], dl
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x14]
dec eax
cdqe
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x18]
mov rdx, qword [rsp + 0x50]
mov qword [rcx + rax*8], rdx
mov rax, qword [rsp + 0x50]
add rsp, 0x78
ret
Function at 0x140264650
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x60], 0x80
jge 0x14026468c
cmp dword [rsp + 0x60], 0x41
jl 0x140264687
cmp dword [rsp + 0x60], 0x5a
jg 0x140264687
mov eax, dword [rsp + 0x60]
add eax, 0x20
mov dword [rsp + 0x20], eax
jmp 0x1402647db
cmp dword [rsp + 0x60], 0x10000
jge 0x1402647bc
mov dword [rsp + 0x2c], 0xa2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0xffffffff
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x2c], eax
jl 0x140264714
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x14029c0a0]
movzx eax, word [rcx + rax*4]
mov ecx, dword [rsp + 0x60]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jl 0x140264708
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x28], eax
jmp 0x140264712
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x2c], eax
jmp 0x1402646b2
movsxd rax, dword [rsp + 0x30]
lea rcx, [0x14029c0a0]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x40]
movzx ecx, byte [rcx + 3]
add eax, ecx
cmp dword [rsp + 0x60], eax
jge 0x140264789
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 2]
and eax, 1
mov rcx, qword [rsp + 0x40]
movzx ecx, word [rcx]
xor ecx, dword [rsp + 0x60]
and eax, ecx
test eax, eax
jne 0x140264789
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 2]
sar eax, 1
cdqe
lea rcx, [0x14029c330]
movzx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0x60]
add ecx, eax
mov eax, ecx
and eax, 0xffff
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x68], 0
je 0x1402647ba
cmp dword [rsp + 0x68], 2
jne 0x1402647a1
mov dword [rsp + 0x34], 1
jmp 0x1402647a9
mov dword [rsp + 0x34], 0
mov edx, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x20]
call fcn.140289160
mov dword [rsp + 0x20], eax
jmp 0x1402647db
cmp dword [rsp + 0x60], 0x10400
jl 0x1402647db
cmp dword [rsp + 0x60], 0x10428
jge 0x1402647db
mov eax, dword [rsp + 0x60]
add eax, 0x28
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x58
ret