joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401beff8
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1401b6bcc
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1401b6bcc
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1401bf148
cmp rax, 0xffffffffffffffff
je 0x1401bf148
xor edi, edi
test rbp, rbp
jle 0x1401bf0f3
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1401b0918
mov rbx, rax
test rax, rax
jne 0x1401bf080
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1401bf0e9
mov edx, 0x8000
mov ecx, r14d
call fcn.1401a46c8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1401b5404
cmp eax, 0xffffffff
je 0x1401bf0c9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1401bf090
mov edx, r15d
mov ecx, r14d
call fcn.1401a46c8
jmp 0x1401bf0e9
cmp byte [rsi + 0x38], dil
je 0x1401bf0e0
cmp dword [rsi + 0x34], 5
jne 0x1401bf0e0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x1401bf0e9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1401b0990
jmp 0x1401bf15c
jns 0x1401bf15c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1401b6bcc
cmp rax, 0xffffffffffffffff
jne 0x1401bf114
cmp byte [rsi + 0x30], dil
je 0x1401bf15c
mov edi, dword [rsi + 0x2c]
jmp 0x1401bf15c
mov ecx, r14d
call fcn.1401bb794
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1401bf15c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x1401bf15c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1401bf155
mov eax, dword [rsi + 0x2c]
jmp 0x1401bf15a
mov eax, reloc.WS2_32.dll_shutdown
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1401b6bcc
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1401c1d58
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1401928d0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401c1de2
cmp byte [rbp - 0x21], r15b
je 0x1401c1ddd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1401c1e18
call fcn.1401b13c4
test eax, eax
jne 0x1401c1e04
cmp byte [rbp - 0x21], r15b
je 0x1401c1dfc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1401c1e18
cmp byte [rbp - 0x21], r15b
je 0x1401c1e15
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1401932b8
test eax, eax
jne 0x1401c1eb8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1401928d0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1401c1e57
cmp byte [rbp - 0x21], r15b
je 0x1401c1e8c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1401c1e8c
call fcn.1401b13c4
test eax, eax
jne 0x1401c1e78
cmp byte [rbp - 0x21], r15b
je 0x1401c1e71
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1401c1e8c
cmp byte [rbp - 0x21], r15b
je 0x1401c1e89
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1401932b8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1401c1eb8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1401c1ebb
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1401c1ec9
mov rcx, rdi
call fcn.1401b0990
cmp byte [rbp + 0x3f], r15b
je 0x1401c1ed8
mov rcx, qword [rbp + 0x27]
call fcn.1401b0990
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1401c2248
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14043c0c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1401c2292
call fcn.140193848
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.140193868
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.140192ee4
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140154c90
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1401c229d
lea eax, [rbx + 1]
jmp 0x1401c227f
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1401c227d
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1401c227f
Function at 0x1401d11d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov ebp, dword [rsp + 0xa0]
mov rdi, rcx
mov ecx, ebp
mov r14d, 1
neg ecx
mov ebx, r9d
mov r12d, r8d
mov r15, rdx
mov esi, r14d
mov eax, 0x5a0000
cmp ebp, eax
jg 0x1401d1220
cmp ecx, eax
jle 0x1401d1229
inc esi
add eax, 0x5a0000
jmp 0x1401d1218
lea ecx, [rsi*4]
mov eax, ebp
cdq
idiv ecx
mov ecx, eax
call fcn.1401c9ff0
mov r13d, eax
lea rcx, [rsp + 0x28]
mov eax, 0x55555556
mov r8d, ebx
imul r13d
mov eax, edx
shr eax, 0x1f
add edx, eax
add r13d, edx
mov edx, r12d
call fcn.1401ca080
mov ecx, dword [rsp + 0x2c]
mov edx, r13d
neg ecx
call fcn.1401c67e0
mov ecx, dword [rsp + 0x28]
mov edx, r13d
mov ebx, eax
call fcn.1401c67e0
mov ecx, dword [rsp + 0x2c]
mov edx, eax
add ecx, dword [r15 + 4]
mov eax, dword [rsp + 0x28]
add eax, dword [r15]
mov dword [rsp + 0x28], eax
add eax, ebx
mov dword [rsp + 0x30], eax
lea eax, [rcx + rdx]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x2c], ecx
cmp esi, r14d
jl 0x1401d139f
mov r12d, ebp
nop
mov eax, ebp
lea rcx, [rsp + 0x20]
cdq
idiv esi
mov edx, dword [rsp + 0x90]
add eax, dword [rsp + 0x98]
mov r8d, eax
call fcn.1401ca080
mov ecx, dword [rsp + 0x24]
mov edx, r13d
call fcn.1401c67e0
mov ecx, dword [rsp + 0x20]
mov edx, r13d
neg ecx
mov ebx, eax
call fcn.1401c67e0
mov ecx, dword [rsp + 0x20]
mov edx, eax
add ecx, dword [r15]
mov eax, dword [rsp + 0x24]
add ebx, ecx
add eax, dword [r15 + 4]
mov dword [rsp + 0x20], ecx
mov rcx, rdi
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x38], ebx
lea r15d, [rax + rdx]
mov edx, 3
mov dword [rsp + 0x3c], r15d
call fcn.1401d14c0
mov r9d, eax
test eax, eax
jne 0x1401d1399
mov ecx, dword [rdi]
inc r14d
mov rax, qword [rdi + 8]
add ebp, r12d
mov r8, qword [rdi + 0x10]
lea rdx, [rax + rcx*8]
mov rax, qword [rsp + 0x30]
mov qword [rdx], rax
mov rax, qword [rsp + 0x38]
mov qword [rdx + 8], rax
mov rax, qword [rsp + 0x20]
mov qword [rdx + 0x10], rax
mov word [r8 + rcx], 0x202
mov byte [r8 + rcx + 2], 1
mov eax, dword [rsp + 0x20]
add dword [rdi], 3
add eax, eax
sub eax, ebx
mov byte [rdi + 0x18], r9b
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x24]
add eax, eax
sub eax, r15d
mov r15, qword [rsp + 0x88]
mov dword [rsp + 0x34], eax
cmp r14d, esi
jle 0x1401d12b0
mov eax, r9d
jmp 0x1401d13a1
mov byte [rdi + 0x18], 0
jmp 0x1401d13a1
xor eax, eax
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401d1f90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov ebp, r8d
mov esi, edx
lea r8d, [rdx + 0x5a0000]
mov rdi, rcx
mov edx, dword [rcx + 0x3c]
lea rcx, [rsp + 0x58]
call fcn.1401ca080
mov r9d, dword [rdi + 8]
add r9d, dword [rsp + 0x58]
mov ecx, dword [rdi + 0xc]
add ecx, dword [rsp + 0x5c]
mov r8d, dword [rdi + 0x5c]
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x44], ecx
test r8d, r8d
js 0x1401d2026
mov r9d, dword [rdi + 0x40]
lea eax, [r8 + 1]
cmp r9d, eax
ja 0x1401d1fed
mov dword [rdi + 0x40], r8d
jmp 0x1401d2022
mov rcx, qword [rdi + 0x48]
dec r9d
mov dword [rdi + 0x40], r9d
mov rax, qword [rcx + r9*8]
mov qword [rcx + r8*8], rax
mov rcx, qword [rdi + 0x50]
movzx eax, byte [rcx + r9]
mov byte [rcx + r8], al
lea ecx, [r9 - 1]
mov rax, qword [rdi + 0x50]
or byte [r8 + rax], 4
mov rax, qword [rdi + 0x50]
or byte [rcx + rax], 8
mov byte [rdi + 0x58], 0
mov eax, dword [rdi + 0x40]
lea rcx, [rdi + 0x40]
mov edx, 1
mov dword [rdi + 0x5c], eax
mov byte [rdi + 0x58], 0
call fcn.1401d14c0
test eax, eax
jne 0x1401d2141
mov r8d, dword [rdi + 0x40]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x50]
mov qword [rcx + r8*8], rax
mov byte [rdx + r8], 1
inc dword [rdi + 0x40]
mov byte [rdi + 0x58], 0
mov eax, dword [rdi + 8]
sub eax, dword [rsp + 0x58]
mov r8d, dword [rdi + 0x8c]
mov dword [rsp + 0x40], eax
mov eax, dword [rdi + 0xc]
sub eax, dword [rsp + 0x5c]
mov dword [rsp + 0x44], eax
test r8d, r8d
js 0x1401d20e1
mov r9d, dword [rdi + 0x70]
lea eax, [r8 + 1]
cmp r9d, eax
ja 0x1401d209c
mov dword [rdi + 0x70], r8d
jmp 0x1401d20da
mov rcx, qword [rdi + 0x78]
dec r9d
mov dword [rdi + 0x70], r9d
mov rax, qword [rcx + r9*8]
mov qword [rcx + r8*8], rax
mov rcx, qword [rdi + 0x80]
movzx eax, byte [rcx + r9]
mov byte [rcx + r8], al
lea ecx, [r9 - 1]
mov rax, qword [rdi + 0x80]
or byte [r8 + rax], 4
mov rax, qword [rdi + 0x80]
or byte [rcx + rax], 8
mov byte [rdi + 0x88], 0
mov eax, dword [rdi + 0x70]
lea rcx, [rdi + 0x70]
mov edx, 1
mov dword [rdi + 0x8c], eax
mov byte [rdi + 0x88], 0
call fcn.1401d14c0
test eax, eax
jne 0x1401d2123
mov r9d, dword [rdi + 0x70]
mov rdx, qword [rdi + 0x78]
mov r8, qword [rdi + 0x80]
mov rcx, qword [rsp + 0x40]
mov qword [rdx + r9*8], rcx
mov byte [r8 + r9], 1
inc dword [rdi + 0x70]
mov byte [rdi + 0x88], 0
mov dword [rdi + 0x18], esi
mov byte [rdi + 0x14], 0
mov dword [rdi + 0x24], ebp
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov byte [rdi + 0x58], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401d2f70
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1401d2f8c
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1401d2fe0
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1401d3105
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x1401d3105
test rax, rax
je 0x1401d3105
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
test rax, rax
je 0x1401d3105
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x1401d307a
lea rax, [0x1401d3160]
jmp 0x1401d30d3
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x1401d3105
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401d30f3
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x1401d30a0
lea rax, [0x1401d3130]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x1401d311a
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x1401da660
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rdi
push r12
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov r12d, 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 fcn.1401c4210
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x1401da6b8
xor eax, eax
add rsp, 0x50
pop r12
pop rdi
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rbp
mov ebp, dword [rbx + 0x40]
mov qword [rsp + 0x48], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x3c]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x34]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x38]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r13d
test r12d, r12d
jg 0x1401da70f
mov ebx, 0x4b0000
jmp 0x1401da71f
shl r12d, 0x10
mov edx, ecx
mov ecx, r12d
call fcn.1401c67e0
mov ebx, eax
bsr ecx, ebx
bsr eax, edi
shl r13d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x1401da735
mov ecx, r13d
jmp 0x1401da740
mov edx, edi
mov ecx, ebx
call fcn.1401c67e0
mov ecx, eax
mov r8d, dword [rsp + 0x88]
mov eax, r8d
shl eax, 0x10
cmp ecx, eax
jge 0x1401da75c
shl esi, 0x10
mov ecx, esi
jmp 0x1401da822
mov edx, dword [rsp + 0x70]
mov r12d, edx
shl r12d, 0x10
cmp ecx, r12d
jge 0x1401da78f
mov r13d, edx
mov ecx, eax
mov edx, edi
sub r13d, r8d
call fcn.1401c4210
mov ecx, ebx
sub ecx, eax
test r13d, r13d
je 0x1401da7df
sub r15d, esi
mov r8d, r13d
mov edx, r15d
jmp 0x1401da7c8
mov eax, r14d
shl eax, 0x10
cmp ecx, eax
jl 0x1401da7e3
cmp ecx, r13d
jge 0x1401da81d
mov r15d, dword [rsp + 0x20]
mov edx, edi
sub r15d, r14d
shl r14d, 0x10
mov ecx, r14d
call fcn.1401c4210
sub ebx, eax
test r15d, r15d
je 0x1401da81d
mov esi, dword [rsp + 0x78]
mov r8d, r15d
sub ebp, esi
mov ecx, ebx
mov edx, ebp
call fcn.1401c66b0
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.1401c4210
add ebx, eax
jmp 0x1401da82b
mov edx, dword [rsp + 0x70]
mov esi, r14d
mov ecx, r12d
sub esi, edx
mov edx, edi
call fcn.1401c4210
mov ecx, ebx
sub ecx, eax
test esi, esi
je 0x1401da79e
mov edx, dword [rsp + 0x78]
mov r8d, esi
sub edx, r15d
call fcn.1401c66b0
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.1401c4210
add ebx, eax
jmp 0x1401da82b
shl ebp, 0x10
mov ecx, ebp
mov edx, edi
call fcn.1401c4210
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 rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r12
pop rdi
pop rbx
jmp fcn.1401c4210
Function at 0x140226780
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 [0x14043c0c0]
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 0x14022691c
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x14022691c
cmp r10d, r14d
jne 0x140226820
sub rbx, 0x10
jmp 0x140226964
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x140226892
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x140226854
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x14022685c
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x14022687b
movzx edx, r11b
mov rcx, rsi
call fcn.140227850
test al, al
jne 0x140226975
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.140227f80
test al, al
jne 0x140226975
mov edx, dword [rsi + 0x64]
lea r9, [0x1402282d0]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x1402268be
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.140226600
jmp 0x140226912
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.140226600
test dil, dil
je 0x14022690a
cmp byte [rsi + 0x6a], 0
jne 0x14022690a
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 0x140226975
sub rbx, 0x10
jmp 0x140226964
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 0x140226979
mov ebp, dword [rbx]
jmp 0x1402267e0
mov al, 1
jmp 0x140226982
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.140154c90
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x1402269b0
Capabilities:
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
lea ebp, [r15 - 1]
mov dword [rcx + 0x3c], r15d
mov edi, r15d
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r15w
cmp r15w, word [rcx + 0xb8]
jge 0x140226aeb
mov esi, r15d
mov rax, qword [rbx + 0xd0]
lea edx, [rbp + 1]
mov dword [rbx + 0x88], r15d
mov r9d, r14d
mov qword [rbx + 0x80], r15
mov rcx, rbx
movsx ebp, word [rsi + rax]
mov r8d, ebp
call fcn.140226e80
test al, al
jne 0x140226b86
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
lea eax, [r8 - 1]
test edx, eax
jne 0x140226a7f
cmp edx, dword [rbx + 0x60]
jl 0x140226a7f
cmp edx, dword [rbx + 0x64]
jg 0x140226a7f
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x140226a7f
mov rax, qword [rbx + 0x70]
movzx ecx, byte [rcx + 0x18]
xor cl, byte [rax + 0x18]
test cl, 8
jne 0x140226a7f
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x140226aa2
test byte [r9 + 0x18], 8
je 0x140226aa2
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x140226ab3
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.140227850
test al, al
jne 0x140226b86
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x140226ad6
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xb8]
inc edi
add rsi, 2
cmp edi, eax
jl 0x140226a13
movzx edi, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp di, 1
jbe 0x140226b8a
test rdx, rdx
je 0x140226b8a
mov ebp, 0xffff
nop dword [rax + rax]
lea rsi, [rdx + 8]
cmp di, 1
jbe 0x140226b28
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x140226b2b
mov r10, r15
mov qword [rsi], r10
test byte [rdx + 0x18], 8
mov r11d, dword [rdx + 0x20]
mov r8d, r11d
mov eax, dword [rdx + 0x1c]
je 0x140226b46
dec r11d
add r11d, eax
jmp 0x140226b5d
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.140227b70
test al, al
jne 0x140226b86
lea edx, [r11 + 1]
mov rcx, rbx
call fcn.140227b70
test al, al
jne 0x140226b86
mov rdx, qword [rsi]
add di, bp
jne 0x140226b10
jmp 0x140226b8e
mov al, 1
jmp 0x140226b99
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 0x14022d410
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x14022d41b
xor eax, eax
ret
lea r11, [0x1403944f0]
not ecx
cmp r8d, 8
jb 0x14022d4f1
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x14022d440
test r8d, r8d
je 0x14022d51d
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x14022d500
not ecx
mov eax, ecx
ret