joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800f9d3c
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.1800ee158
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800ee158
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800f9e8c
cmp rax, 0xffffffffffffffff
je 0x1800f9e8c
xor edi, edi
test rbp, rbp
jle 0x1800f9e37
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800e733c
mov rbx, rax
test rax, rax
jne 0x1800f9dc4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1800f9e2d
mov edx, 0x8000
mov ecx, r14d
call fcn.1800f9bc0
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.1800edbe0
cmp eax, 0xffffffff
je 0x1800f9e0d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1800f9dd4
mov edx, r15d
mov ecx, r14d
call fcn.1800f9bc0
jmp 0x1800f9e2d
cmp byte [rsi + 0x38], dil
je 0x1800f9e24
cmp dword [rsi + 0x34], 5
jne 0x1800f9e24
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1800f9e2d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800e73b4
jmp 0x1800f9ea0
jns 0x1800f9ea0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800ee158
cmp rax, 0xffffffffffffffff
jne 0x1800f9e58
cmp byte [rsi + 0x30], dil
je 0x1800f9ea0
mov edi, dword [rsi + 0x2c]
jmp 0x1800f9ea0
mov ecx, r14d
call fcn.1800f3728
mov rcx, rax
call qword [sym.imp.kernel32.dll_SetEndOfFile]
test eax, eax
jne 0x1800f9ea0
call qword [sym.imp.kernel32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1800f9ea0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800f9e99
mov eax, dword [rsi + 0x2c]
jmp 0x1800f9e9e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800ee158
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 0x1800fc6e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor eax, eax
mov r9d, 0x811c9dc5
test rdx, rdx
je 0x1800fc707
nop dword [rax]
movzx r8d, byte [rax + rcx]
inc rax
xor r8d, r9d
imul r9d, r8d, 0x1000193
cmp rax, rdx
jb 0x1800fc6f0
mov eax, r9d
ret
Function at 0x1800fc8b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, rdx
mov r12, rcx
lea rax, [0x18012dac5]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
mov qword [rcx], 0
mov qword [rcx + 8], 0
mov qword [rcx + 0x10], 0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rcx + 0x18], xmm0
mov ecx, 0x800
call fcn.1800ce404
mov rdx, rax
mov qword [r12], rax
mov qword [r12 + 8], 0x80
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax], xmm0
lea r8, [rax + 0x10]
mov r9d, 0x3f
mov rcx, qword [rdx]
mov qword [r8], rcx
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
mov rax, qword [rdx + 0x10]
mov qword [r8 + 0x10], rax
lea r8, [r8 + 0x20]
mov rax, qword [rdx + 0x18]
mov qword [r8 - 8], rax
lea rdx, [rdx + 0x20]
sub r9, 1
jne 0x1800fc930
mov rax, qword [rdx]
mov qword [r8], rax
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
mov qword [r12 + 0x30], rbx
mov eax, 0x121
mov dword [rsp + 0x78], eax
lea rcx, [0x18014ae20]
mov qword [rsp + 0x80], rcx
nop word [rax + rax]
mov r15, qword [rcx]
mov qword [rsp + 0x20], r15
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp byte [r15 + rdi], 0
jne 0x1800fc9a0
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x2c], eax
mov r13, qword [r12 + 8]
mov rcx, qword [r12 + 0x10]
lea rax, [r13*2]
add rax, r13
shr rax, 2
cmp rcx, rax
jb 0x1800fca8a
test rcx, rcx
je 0x1800fca82
cmp edi, dword [r12 + 0x20]
jne 0x1800fc9fc
mov r8d, edi
mov rdx, qword [r12 + 0x18]
mov rcx, r15
call fcn.18010cf00
test eax, eax
je 0x1800fca82
dec r13
mov edx, 0x811c9dc5
mov r8d, edi
xor ecx, ecx
test edi, edi
je 0x1800fca25
nop dword [rax]
movzx eax, byte [rcx + r15]
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
cmp rcx, r8
jb 0x1800fca10
mov esi, edx
and rsi, r13
xor ebp, ebp
nop dword [rax]
mov rbx, rsi
shl rbx, 4
add rbx, qword [r12]
mov r14d, dword [rbx + 8]
cmp r14d, edi
jne 0x1800fca56
mov r8d, r14d
mov rdx, r15
mov rcx, qword [rbx]
call fcn.18010cf00
test eax, eax
je 0x1800fca8a
cmp r14d, dword [r12 + 0x20]
jne 0x1800fca71
mov r8, r14
mov rdx, qword [r12 + 0x18]
mov rcx, qword [rbx]
call fcn.18010cf00
test eax, eax
je 0x1800fca82
inc rsi
add rsi, rbp
and rsi, r13
inc rbp
cmp rbp, r13
jbe 0x1800fca30
mov rcx, r12
call fcn.1800fee10
lea rdx, [rsp + 0x20]
mov rcx, r12
call fcn.1800fd5e0
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
mov rcx, qword [rsp + 0x80]
add rcx, 8
mov qword [rsp + 0x80], rcx
cmp eax, 0x137
jl 0x1800fc990
mov rax, r12
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800fccb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov r13, rdx
mov r12, rcx
je 0x1800fcd92
mov r15d, dword [rdx + 8]
cmp r15d, dword [rcx + 0x20]
jne 0x1800fccff
mov rdx, qword [rcx + 0x18]
mov r8d, r15d
mov rcx, qword [r13]
call fcn.18010cf00
test eax, eax
je 0x1800fcd92
mov r14, qword [r12 + 8]
xor esi, esi
dec r14
mov edx, 0x811c9dc5
mov ecx, esi
test r15, r15
je 0x1800fcd35
mov r8, qword [r13]
nop dword [rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r15
jb 0x1800fcd20
mov edi, edx
and rdi, r14
nop word [rax + rax]
mov rbx, rdi
shl rbx, 4
add rbx, qword [r12]
mov ebp, dword [rbx + 8]
cmp ebp, r15d
jne 0x1800fcd66
mov rdx, qword [r13]
mov r8d, ebp
mov rcx, qword [rbx]
call fcn.18010cf00
test eax, eax
je 0x1800fcdb1
cmp ebp, dword [r12 + 0x20]
jne 0x1800fcd81
mov rdx, qword [r12 + 0x18]
mov r8, rbp
mov rcx, qword [rbx]
call fcn.18010cf00
test eax, eax
je 0x1800fcd92
inc rdi
add rdi, rsi
inc rsi
and rdi, r14
cmp rsi, r14
jbe 0x1800fcd40
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, rbx
jmp 0x1800fcd94

Function at 0x1800fd5e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r14, qword [rcx + 8]
xor esi, esi
mov r15d, dword [rdx + 8]
dec r14
mov r13, rdx
mov r12, rcx
mov r9d, 0x811c9dc5
mov r8d, esi
test r15, r15
je 0x1800fd637
mov r10, qword [rdx]
movzx eax, byte [r10 + r8]
inc r8
xor eax, r9d
imul r9d, eax, 0x1000193
cmp r8, r15
jb 0x1800fd620
mov edi, r9d
and rdi, r14
nop dword [rax]
mov rbx, rdi
shl rbx, 4
add rbx, qword [r12]
mov ebp, dword [rbx + 8]
cmp ebp, dword [r12 + 0x20]
jne 0x1800fd669
mov rdx, qword [r12 + 0x18]
mov r8d, ebp
mov rcx, qword [rbx]
call fcn.18010cf00
test eax, eax
je 0x1800fd6b1
cmp ebp, r15d
jne 0x1800fd681
mov rdx, qword [r13]
mov r8, rbp
mov rcx, qword [rbx]
call fcn.18010cf00
test eax, eax
je 0x1800fd6be
inc rdi
add rdi, rsi
inc rsi
and rdi, r14
cmp rsi, r14
jbe 0x1800fd640
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
movups xmm0, xmmword [r13]
movups xmmword [rbx], xmm0
inc qword [r12 + 0x10]
mov rax, rbx
jmp 0x1800fd694
Function at 0x1800fee10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
sub rsp, 0x98
movups xmm0, xmmword [rcx + 0x18]
mov qword [rax - 8], rbx
mov rbx, qword [rcx + 8]
mov qword [rax - 0x10], rbp
mov qword [rax - 0x18], rsi
mov qword [rax - 0x20], rdi
mov qword [rax - 0x30], r13
mov r13, rcx
mov qword [rax - 0x40], r15
lea r15, [rcx + 0x18]
mov rdi, r15
movups xmmword [rax - 0x60], xmm0
test rbx, rbx
jne 0x1800fee73
mov ecx, 0x100
mov ebx, 0x10
call fcn.1800ce404
mov rsi, rax
mov qword [rsp + 0xa0], rax
mov ebp, ebx
mov qword [rsp + 0xa8], rbx
jmp 0x1800feeb3
xor esi, esi
xor ebp, ebp
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rbp
add rbx, rbx
je 0x1800feed1
mov rcx, rbx
shl rcx, 4
call fcn.1800ce404
mov qword [rsp + 0xa0], rax
mov rsi, rax
mov qword [rsp + 0xa8], rbx
mov rbp, rbx
test rbx, rbx
je 0x1800feed1
mov rax, rsi
nop word [rax + rax]
lea rax, [rax + 0x10]
movups xmm0, xmmword [rdi]
movups xmmword [rax - 0x10], xmm0
sub rbx, 1
jne 0x1800feec0
cmp qword [r13 + 8], 0
mov qword [rsp + 0xb8], 0
jbe 0x1800ff02a
xor ecx, ecx
mov qword [rsp + 0x70], r12
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0x60], r14
nop dword [rax]
mov r12, qword [r13]
add r12, rcx
mov r14d, dword [r12 + 8]
cmp r14d, dword [r15 + 8]
jne 0x1800fef29
mov rdx, qword [r15]
mov r8d, r14d
mov rcx, qword [r12]
call fcn.18010cf00
test eax, eax
je 0x1800fefdf
xor ecx, ecx
lea r15, [rbp - 1]
mov edx, 0x811c9dc5
test r14, r14
je 0x1800fef55
mov r8, qword [r12]
nop dword [rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r14
jb 0x1800fef40
mov edi, edx
and rdi, r15
xor ebp, ebp
nop dword [rax]
mov rbx, rdi
shl rbx, 4
add rbx, rsi
mov esi, dword [rbx + 8]
cmp esi, dword [rsp + 0x40]
jne 0x1800fef87
mov rdx, qword [rsp + 0x38]
mov r8d, esi
mov rcx, qword [rbx]
call fcn.18010cf00
test eax, eax
je 0x1800fefba
cmp esi, r14d
jne 0x1800fef9f
mov rdx, qword [r12]
mov r8, rsi
mov rcx, qword [rbx]
call fcn.18010cf00
test eax, eax
je 0x1800fefc6
inc rdi
add rdi, rbp
inc rbp
and rdi, r15
cmp rbp, r15
ja 0x1800fefc4
mov rsi, qword [rsp + 0xa0]
jmp 0x1800fef60
movups xmm0, xmmword [r12]
movups xmmword [rbx], xmm0
jmp 0x1800fefc6
xor ebx, ebx
mov rax, qword [r13]
lea r15, [r13 + 0x18]
mov rcx, qword [rsp + 0xb0]
movups xmm0, xmmword [rcx + rax]
movups xmmword [rbx], xmm0
jmp 0x1800fefe7
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xb8]
add rcx, 0x10
mov rsi, qword [rsp + 0xa0]
inc rdx
mov rbp, qword [rsp + 0xa8]
mov qword [rsp + 0xb8], rdx
mov qword [rsp + 0xb0], rcx
cmp rdx, qword [r13 + 8]
jb 0x1800fef00
mov r14, qword [rsp + 0x60]
mov r12, qword [rsp + 0x70]
mov rcx, qword [r13]
mov rax, qword [rsp + 0xa8]
mov r15, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
mov qword [r13], rsi
mov rsi, qword [rsp + 0x80]
mov qword [r13 + 8], rax
mov r13, qword [rsp + 0x68]
test rcx, rcx
je 0x1800ff06f
call fcn.1800ce7b8
add rsp, 0x98
ret
Function at 0x1801026f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x18014a1c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov r8b, 1
xor edx, edx
add rcx, 8
call fcn.1800fd8c0
xor ebp, ebp
mov ecx, dword [rax]
lea eax, [rcx - 0x11a]
test eax, 0xfffffffc
jne 0x1801028d3
cmp ecx, 0x11c
je 0x1801028d3
cmp byte [rbx + 1], 0
je 0x180102798
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0x20], eax
movups xmm0, xmmword [rbx + 0x2c]
movups xmmword [rsp + 0x24], xmm0
lea rcx, [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
cmp rdx, qword [rbx + 0x98]
je 0x18010278e
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
mov eax, dword [rsp + 0x30]
mov dword [rdx + 0x10], eax
add qword [rbx + 0x90], 0x14
jmp 0x180102798
lea r8, [rsp + 0x20]
call fcn.180100300
mov eax, dword [rbx + 0x28]
cmp eax, 0x11d
je 0x1801028d3
cmp eax, 0x11a
jne 0x1801028c0
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
je 0x1801028c0
mov r9, qword [rbx + 0x40]
cmp byte [r9], 0x21
jne 0x1801028c0
nop word [rax + rax]
lea edx, [rcx - 1]
movzx eax, byte [rdx + r9]
cmp al, 0x20
je 0x1801027e2
sub al, 9
cmp al, 4
ja 0x1801027e8
mov ecx, edx
test edx, edx
jne 0x1801027d0
movzx eax, byte [rbx + 0xb8]
mov byte [rsp + 0x38], al
movups xmm0, xmmword [rbx + 0x2c]
movups xmmword [rsp + 0x3c], xmm0
mov r8d, ecx
add r8, r9
lea rdx, [r9 + 1]
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
cmp rdx, r8
je 0x18010283a
sub r8, rdx
lea rcx, [rsp + 0x50]
call fcn.180015ec0
movups xmm0, xmmword [rsp + 0x3c]
movzx eax, byte [rsp + 0x38]
mov rdx, qword [rbx + 0xa8]
cmp rdx, qword [rbx + 0xb0]
je 0x180102876
mov byte [rdx], al
movups xmmword [rdx + 4], xmm0
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx + 0x18], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x28], xmm1
mov edx, 0xf
mov byte [rsp + 0x50], 0
add qword [rbx + 0xa8], 0x38
jmp 0x18010288c
lea r8, [rsp + 0x38]
lea rcx, [rbx + 0xa0]
call fcn.180100510
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1801028c0
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801028bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801028f9
call fcn.1800ce3d0
xor r8d, r8d
xor edx, edx
lea rcx, [rbx + 8]
call fcn.1800fd8c0
jmp 0x180102729
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800ce3b0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1800d7b00
int3
Function at 0x40eef0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, rcx
lea rsi, [0x0044a4c0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [0x0044a5b8]
lea rdx, [rsp + 0x70]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x40ef71
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x48]
mov r9, rax
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov r8, rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov r11, qword [0x0044a5b8]
jmp 0x40ef8d
mov r11, qword [rsp + 0x68]
lea rax, [rsp + 0x68]
add rax, 8
mov qword [0x0044a5b8], r11
mov qword [0x0044a558], rax
mov rax, qword [0x00449028]
mov qword [0x0044a430], r11
mov qword [0x0044a540], rdi
mov dword [0x0044a420], 0xc0000409
mov dword [0x0044a424], 1
mov qword [rsp + 0x50], rax
mov rax, qword [0x00449020]
xor ecx, ecx
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x0043a198]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
add rsp, 0x68
ret
cmp rcx, qword [0x00449028]
jne 0x437a79
rol rcx, 0x10
test cx, 0xffff
jne 0x437a75
ret
ror rcx, 0x10
jmp 0x40eef0

Function at 0x40f370
Capabilities:
Get file size

Disassembly:
mov r11, rsp
sub rsp, 0x188
mov rax, qword [0x00449028]
mov qword [rsp + 0x170], rax
mov rax, qword [0x0043a1a8]
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rbp, rcx
lea rcx, [rsp + 0x40]
mov qword [r11 + 0x20], rsi
mov qword [rcx], rax
mov rax, qword [str.z5p6i7ea8p9n0]
mov edx, 0x16
mov qword [rcx + 8], rax
mov eax, dword [0x0043a1b8]
mov qword [r11 - 8], rdi
mov dword [rcx + 0x10], eax
movzx eax, word [0x0043a1bc]
mov word [rcx + 0x14], ax
lea rcx, [rsp + 0x40]
call fcn.004062e0
lea rdx, [rsp + 0x60]
mov r8d, 0x104
mov esi, dword [rax]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor r9d, r9d
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x60]
lea r8d, [r9 + 3]
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rcx, rax
xor edx, edx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
sub edi, dword [rbp + 0xac]
mov rbx, qword [rsp + 0x198]
sub edi, esi
mov rsi, qword [rsp + 0x1a8]
sub edi, 0x10
mov dword [rbp + 0xa8], edi
mov rdi, qword [rsp + 0x180]
mov rbp, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x170]
call fcn.00437a60
add rsp, 0x188
ret
Function at 0x41af70
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov r11, rsp
sub rsp, 0x208
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov qword [r11 - 8], r12
mov qword [r11 - 0x10], r13
mov rax, qword [0x00449028]
mov qword [rsp + 0x1e0], rax
lea r12d, [rdx + rcx]
mov r8d, 0x104
lea rdx, [r11 - 0x138]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor r13d, r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r13 + 3]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor edx, edx
lea r8d, [r13 + 2]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rsi, rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
sub ebx, r12d
sub ebx, 0x10
lea rcx, [rsp + 0x50]
call fcn.00435ff0
nop
mov r8d, ebx
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.00436050
movsxd rbx, ebx
lea rdx, [rbx + rdi + 0x10]
mov r8d, r12d
lea rcx, [rsp + 0x50]
call fcn.00436050
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x50]
call fcn.00436120
lea r11, [rsp + 0xc0]
mov rax, qword [rbx + rdi]
mov qword [r11], rax
mov rax, qword [rbx + rdi + 8]
mov qword [r11 + 8], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0xc0]
lea rax, [rsp + 0xb0]
mov rcx, qword [r11]
cmp rcx, qword [rax]
jne 0x41b0dc
mov rcx, qword [r11 + 8]
cmp rcx, qword [rax + 8]
je 0x41b0e4
sbb eax, eax
sbb eax, 0xffffffff
mov r13d, eax
test r13d, r13d
jne 0x41b0ef
lea eax, [r13 + 1]
jmp 0x41b0f1
xor eax, eax
mov rcx, qword [rsp + 0x1e0]
call fcn.00437a60
mov rbx, qword [rsp + 0x210]
mov rbp, qword [rsp + 0x218]
mov rsi, qword [rsp + 0x220]
mov rdi, qword [rsp + 0x228]
mov r12, qword [rsp + 0x200]
mov r13, qword [rsp + 0x1f8]
add rsp, 0x208
ret
Function at 0x41d360
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov r11, rsp
sub rsp, 0x2a8
mov rax, qword [0x00449028]
mov qword [rsp + 0x280], rax
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 - 8], rdi
xor eax, eax
mov rbx, rcx
mov qword [r11 - 0x10], r12
mov byte [rsp + 0x44], al
lea rdx, [r11 - 0x138]
mov r8d, 0x104
xor ecx, ecx
mov qword [r11 - 0x18], r13
mov byte [rsp + 0x40], 0x50
mov dword [rsp + 0x41], 0x6054b
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor edi, edi
lea rcx, [rsp + 0x170]
xor r9d, r9d
mov qword [rsp + 0x30], rdi
lea r8d, [rdi + 3]
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rcx, rax
xor edx, edx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
lea r8d, [rdi + 2]
xor r9d, r9d
xor edx, edx
mov rcx, rbp
mov qword [rsp + 0x28], rdi
mov esi, eax
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
lea edx, [rdi + 4]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov r12, rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r8d, esi
mov r13, rax
mov eax, 0xcccccccd
mul esi
mov eax, 0x500000
shr edx, 3
cmp edx, eax
cmovb edx, eax
mov eax, esi
sub eax, edx
sub eax, 0x16
cmovs eax, edi
sub r8d, eax
movsxd rdi, eax
lea ecx, [r8 - 0x16]
add rdi, r13
test ecx, ecx
js 0x41d559
mov edx, dword [rsp + 0x40]
nop
movsxd rax, ecx
cmp dword [rax + rdi], edx
je 0x41d481
dec ecx
jns 0x41d470
jmp 0x41d559
sub r8d, ecx
lea edi, [r8 - 0x16]
cmp edi, 0x10000
mov dword [rbx], edi
jl 0x41d559
mov rax, qword [str._JAR2EXE_ROOT_JAR_LENGTH_]
lea rcx, [rsp + 0x70]
xor edx, edx
mov qword [rcx], rax
mov rax, qword [0x0043a9a8]
mov r8d, 0xe6
mov qword [rcx + 8], rax
mov rax, qword [0x0043a9b0]
mov qword [rcx + 0x10], rax
movzx eax, word [0x0043a9b8]
mov word [rcx + 0x18], ax
lea rcx, [rsp + 0x8a]
call fcn.00424890
xor eax, eax
sub esi, edi
lea rdx, [0x0043a164]
lea rcx, [rsp + 0x48]
mov r8d, esi
mov qword [rsp + 0x4a], rax
mov qword [rsp + 0x52], rax
mov qword [rsp + 0x5a], rax
mov word [rsp + 0x48], 0x30
mov dword [rsp + 0x62], eax
call fcn.004252b0
xor eax, eax
lea rdi, [rsp + 0x70]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x0043a998]
mov rcx, 0xffffffffffffffff
mov word [rdi - 1], ax
xor eax, eax
lea rdi, [rsp + 0x70]
repne scasb al, byte [rdi]
lea rax, [rsp + 0x48]
xor edx, edx
nop
movzx ecx, byte [rax + rdx]
inc rdx
test cl, cl
mov byte [rdi + rdx - 2], cl
jne 0x41d540
lea rcx, [rsp + 0x70]
call fcn.00436b60
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r13, qword [rsp + 0x290]
mov r12, qword [rsp + 0x298]
mov rdi, qword [rsp + 0x2a0]
mov rsi, qword [rsp + 0x2c8]
mov rbp, qword [rsp + 0x2c0]
mov rax, rbx
mov rbx, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0x280]
call fcn.00437a60
add rsp, 0x2a8
ret
Function at 0x41db00
Capabilities:
Check os version

Disassembly:
sub rsp, 0xf8
mov rax, qword [0x00449028]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x108], rbx
mov rbx, rcx
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x41db46
cmp dword [rsp + 0x50], 2
jne 0x41db46
cmp dword [rsp + 0x44], 6
jae 0x41db58
test rbx, rbx
je 0x41db51
mov dword [rbx], 1
xor eax, eax
jmp 0x41dbf2
mov qword [rsp + 0x110], rsi
xor esi, esi
mov qword [rsp + 0x118], rdi
mov qword [rsp + 0x38], rsi
mov edi, 0x80004005
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x38]
lea edx, [rsi + 8]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41dbe0
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
lea r9d, [rsi + 4]
lea r8, [rsp + 0x30]
lea edx, [rsi + 0x14]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x34], esi
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x41dbd5
mov ecx, dword [rsp + 0x30]
mov edi, esi
test ecx, ecx
sete dil
test rbx, rbx
je 0x41dbd5
test ecx, ecx
setne sil
mov dword [rbx], esi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x110]
mov eax, edi
mov rdi, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xe0]
call fcn.00437a60
add rsp, 0xf8
ret

Function at 0x41e120
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x48
mov eax, dword [0x0044aac8]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
test al, 1
mov qword [rsp + 0x68], rdi
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
jne 0x41e16a
or eax, 1
mov dword [0x0044aac8], eax
mov rax, qword [rcx]
call qword [rax + pe_nt_image_headers64]
mov rdx, rax
mov qword [0x0044aac0], rax
mov eax, dword [0x0044aac8]
jmp 0x41e171
mov rdx, qword [0x0044aac0]
test al, 2
jne 0x41e1a4
or eax, 2
lea r9, [0x00439a88]
lea r8, [0x00439590]
mov dword [0x0044aac8], eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x2f0]
mov r8, rax
mov qword [0x0044aab8], rax
jmp 0x41e1ab
mov r8, qword [0x0044aab8]
mov rax, qword [rbx]
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0x328]
lea r9, [rsp + 0x34]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rax
mov byte [rsp + 0x30], sil
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
add rsp, 0x48
ret