joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18009d080
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
mov qword [rcx + 0x80], 0xffffffffffffffff
mov dword [rcx + 0x88], 0
xor r13d, r13d
mov qword [rcx + 0x90], r13
mov qword [rcx + 0x98], r13
lea rax, vtable.ExaktLiteDSP_double_::Voice.0
mov qword [rcx], rax
lea r15, [rcx + 0xa0]
lea rax, [0x18007b3a0]
mov qword [rsp + 0x20], rax
lea r9, [0x18007b370]
mov edx, 0x20
mov r8d, 4
mov rcx, r15
call fcn.1800b6508
nop
mov byte [rsi + 0x1bc], r13b
mov byte [rsi + 0x1b4], r13b
mov dword [rsi + 0x1b8], r13d
mov qword [rsi + 0x148], r13
mov qword [rsi + 0x140], r13
mov dword [rsi + 0x1ac], 0x472be000
mov dword [rsi + 0x1b0], 0x37bea672
mov dword [rsi + 0x15c], 0x3c3a2e8c
mov dword [rsi + 0x160], 0x42b00000
mov dword [rsi + 0x164], 0x3cb498ab
mov dword [rsi + 0x168], 0x4235717c
mov dword [rsi + 0x150], r13d
mov qword [rsi + 0x154], 0x3f800000
mov qword [rsi + 0x180], r13
mov qword [rsi + 0x18c], r13
mov qword [rsi + 0x194], r13
mov qword [rsi + 0x19c], r13
mov qword [rsi + 0x1a4], r13
mov qword [rsi + 0x1c8], r13
mov qword [rsi + 0x1d0], r13
mov qword [rsi + 0x1d8], r13
mov qword [rsi + 0x1e0], r13
mov qword [rsi + 0x1e8], r13
mov dword [rsi + 0x1f0], 0x1000
mov qword [rsi + 0x1f8], rbx
mov qword [rsi + 0x200], r13
mov qword [rsi + 0x208], r13
mov qword [rsi + 0x210], r13
mov qword [rsi + 0x218], r13
mov dword [rsi + 0x220], edi
mov edi, r13d
mov r12d, r13d
lea r14, [rsi + 0x120]
nop word [rax + rax]
mov rax, qword [rsi + 0x1f8]
mov rax, qword [rax]
add rax, 8
add rax, r12
mov qword [r15], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x40], 0x80
mov r9d, edi
lea r8, str.Op_EG__i
mov edx, 0x10
lea rcx, [rsp + 0x30]
call fcn.18001c050
mov ecx, 0x48
call fcn.1800b63f4
mov rbx, rax
mov qword [rsp + 0x98], rax
mov rbp, qword [rsp + 0x30]
cmp dword [rsp + 0x3c], 0
je 0x18009d278
mov qword [rax], r13
mov qword [rax + 8], r13
mov dword [rax + 0x10], 0x80
mov rdx, rbp
test rbp, rbp
je 0x18009d29f
jmp 0x18009d294
mov byte [0x180186048], 0
lea rdx, [0x180186048]
mov qword [rax], r13
mov qword [rax + 8], r13
mov dword [rax + 0x10], 0x80
xor r8d, r8d
mov rcx, rbx
call fcn.180012880
mov dword [rbx + 0x1c], r13d
mov dword [rbx + 0x20], 0x3f800000
mov qword [rbx + 0x28], r13
mov dword [rbx + 0x30], 0xffffffff
mov qword [rbx + 0x34], r13
mov qword [rbx + 0x3c], 0x3f800000
mov byte [rbx + 0x44], 0
mov qword [r14], rbx
mov rcx, rbp
call fcn.1800e1170
inc edi
add r12, 0x60
add r15, 0x20
add r14, 8
cmp edi, 4
jl 0x18009d200
mov rax, qword [rsi + 0x1f8]
mov rcx, qword [rax]
add rcx, 0x2e0
mov qword [rsi + 0x178], rcx
mov ecx, 0x430
call fcn.1800b63f4
mov qword [rsp + 0x98], rax
mov rdx, qword [rsi + 0x1f8]
mov rdx, qword [rdx]
mov rcx, rax
call fcn.1800a1ad0
nop
mov qword [rsi + 0x1c0], rax
mov rax, rsi
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800d1568
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1800bdcca
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1800bdcad
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1800bdc98

Function at 0x1800db848
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x28
call fcn.1800f9148
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x1800db89a
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x1800db89a
sub ecx, 1
je 0x1800db893
cmp ecx, 1
je 0x1800db88c
xor eax, eax
jmp 0x1800db89f
mov eax, 3
jmp 0x1800db89f
mov eax, 1
jmp 0x1800db89f
mov eax, 2
add rsp, 0x28
ret

Function at 0x1800f0724
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.1801109a0
sub rsp, rax
mov rax, qword [0x180166040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1800ff7b0
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800f0773
mov rax, rbp
jmp 0x1800f087b
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 + 0x16f620]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18010009c
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x16f620]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800f0877
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 0x1800f0877
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18010009c
test rax, rax
js 0x1800f0877
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800f0877
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800f0869
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800f0869
cmp byte [rcx], 0xd
jne 0x1800f084f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800f085e
cmp byte [rcx + 1], 0xa
jne 0x1800f085e
inc rcx
jmp 0x1800f085e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x1664d0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800f0831
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800f087b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800b6030
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 0x1800f6c04
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x180166040]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x180125a28]
mov rbp, rcx
call fcn.1801056a0
xor edi, edi
test rax, rax
je 0x1800f6cea
mov ebx, edi
call fcn.1800f6eec
mov r14d, dword [rax]
call fcn.1800f6eec
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.1801055ec
mov rsi, rax
test rax, rax
je 0x1800f6c7b
call fcn.1800f6eec
mov dword [rax], r14d
jmp 0x1800f6ca5
call fcn.1800f6eec
cmp dword [rax], 0x22
jne 0x1800f6ce2
call fcn.1800f6eec
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.1801055ec
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1800f6ce2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1800f6ca9
cmp rax, 3
je 0x1800f6cc4
mov rcx, rsi
call fcn.1800f6b60
test al, al
je 0x1800f6cd5
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1800f6cd5
mov dil, 1
mov rcx, rbx
call fcn.1800e1170
mov al, dil
jmp 0x1800f6cec
mov rcx, rbx
call fcn.1800e1170
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1800b6030
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x1800f7764
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 0x1800f77d3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800f77d3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800f77d3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800f77d3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800f77d3
cmp dword [rcx + 0x84], 0xe
jbe 0x1800f77d3
cmp dword [rcx + 0xf8], 0
je 0x1800f77d3
mov ecx, ebx
call fcn.1800f7884
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.1800f7660
nop
cmp dword [rbp + 0x20], 0
je 0x1800f7821
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800f782c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1800f7764
Function at 0x180100148
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x18016f620]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x18010019f
cmp word [rdx], r13w
jne 0x18010019f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1801001a4
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1801002c9
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1801002ea
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1801001dd
mov rdx, r9
mov word [rbx], cx
jmp 0x180100204
cmp r9, r8
jae 0x180100214
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1801001be
jmp 0x1801002c9
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1801002be
cmp dword [rsp + 0x80], esi
je 0x1801002be
lea r8, [0x18016f620]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x180100296
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x180100266
mov word [rbx], r13w
jmp 0x1801002c6
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x180100273
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1801002c6
cmp word [rsp + 0x70], r13w
jne 0x1801002a3
cmp rbx, r14
je 0x180100260
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1801000a4
cmp word [rsp + 0x70], r13w
je 0x1801002c9
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x18016f620]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1801002c3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1801002c9
Function at 0x18010505c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x180105072
mov al, 1
jmp 0x1801050d2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x180105083
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1801050d0
mov ecx, dword [rcx + 0x18]
nop
call fcn.180105b80
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1801050d0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1801050d0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1801050d0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1801050d2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x180107444
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180107474
xor eax, eax
jmp 0x180107537
mov rbp, rbx
cmp word [rax], si
je 0x180107499
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180107480
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18010747c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1801033e4
movsxd r14, eax
test eax, eax
jne 0x1801074d7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18010746d
mov rcx, r14
call fcn.1800fbf34
mov rdi, rax
test rax, rax
jne 0x1801074f0
xor ecx, ecx
call fcn.1800fbef8
jmp 0x1801074cc
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1801033e4
test eax, eax
jne 0x180107521
mov rcx, rdi
call fcn.1800fbef8
jmp 0x18010752b
xor ecx, ecx
call fcn.1800fbef8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x180107554
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1801075db
mov rsi, rbx
cmp word [rax], bp
je 0x18010759a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x180107584
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x180107580
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1800fbf34
mov rdi, rax
test rax, rax
je 0x1801075c8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1801188c0
mov rbp, rdi
xor ecx, ecx
call fcn.1800fbef8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18010b304
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1800fc350
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x18010b3a5
cmp ebx, dword [rsp + 0x30]
je 0x18010b39e
test esi, esi
je 0x18010b39e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18010b379
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18010b386
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18010b363
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18010b38a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18010b3a7
mov eax, 1
jmp 0x18010b3a7
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18010e290
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x180166040]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x18010e2da
call fcn.1800f6ecc
mov dword [rax], 0xf
call fcn.1800f6eec
mov dword [rax], 0xd
call fcn.1800e1578
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800b6030
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x18010e2e5
lea eax, [rbx + 1]
jmp 0x18010e2c7
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 0x18010e2c5
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x18010e2c7
Function at 0x18010fc40
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.1801000a4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1801000a4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x18010fd90
cmp rax, 0xffffffffffffffff
je 0x18010fd90
xor edi, edi
test rbp, rbp
jle 0x18010fd3b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800ffda8
mov rbx, rax
test rax, rax
jne 0x18010fcc8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x18010fd31
mov edx, 0x8000
mov ecx, r14d
call fcn.18010fac4
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.180104c5c
cmp eax, 0xffffffff
je 0x18010fd11
cdqe
sub rbp, rax
test rbp, rbp
jg 0x18010fcd8
mov edx, r15d
mov ecx, r14d
call fcn.18010fac4
jmp 0x18010fd31
cmp byte [rsi + 0x38], dil
je 0x18010fd28
cmp dword [rsi + 0x34], 5
jne 0x18010fd28
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x18010fd31
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800fbef8
jmp 0x18010fda4
jns 0x18010fda4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1801000a4
cmp rax, 0xffffffffffffffff
jne 0x18010fd5c
cmp byte [rsi + 0x30], dil
je 0x18010fda4
mov edi, dword [rsi + 0x2c]
jmp 0x18010fda4
mov ecx, r14d
call fcn.180105b80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18010fda4
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 0x18010fda4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x18010fd9d
mov eax, dword [rsi + 0x2c]
jmp 0x18010fda2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1801000a4
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 0x180110a90
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180110ab8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180110ab8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140002630
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x410
mov rax, qword [0x1402a87a8]
xor rax, rsp
mov qword [rsp + 0x400], rax
mov r10, rcx
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140002655
xor r9d, r9d
lea rbx, [rsp]
mov r11d, r9d
nop dword [rax + rax]
mov ecx, r11d
lea rbx, [rbx + 4]
mov edx, r11d
shr edx, 1
mov r8d, edx
xor r8d, 0xedb88320
and cl, 1
cmove r8d, edx
mov ecx, r8d
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
and r8b, 1
cmove edx, ecx
mov ecx, edx
shr ecx, 1
mov r8d, ecx
xor r8d, 0xedb88320
and dl, 1
cmove r8d, ecx
mov ecx, r8d
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
and r8b, 1
cmove edx, ecx
mov ecx, edx
shr ecx, 1
mov r8d, ecx
xor r8d, 0xedb88320
and dl, 1
cmove r8d, ecx
mov ecx, r8d
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
and r8b, 1
cmove edx, ecx
mov ecx, edx
shr ecx, 1
mov r8d, ecx
xor r8d, 0xedb88320
and dl, 1
cmove r8d, ecx
mov edx, r8d
shr edx, 1
mov ecx, edx
xor ecx, 0xedb88320
and r8b, 1
cmove ecx, edx
inc r11d
mov dword [rbx - 4], ecx
cmp r11d, 0xff
jle 0x140002670
test ax, ax
je 0x140002764
mov r8d, 0xffff
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
xor ecx, r9d
movzx ecx, cx
movzx edx, cl
mov ecx, r9d
shr ecx, 8
mov r9d, dword [rsp + rdx*4]
xor r9d, ecx
add ax, r8w
jne 0x140002740
not r9d
cmp r9d, 0x7fffffff
lea ecx, [r9 - 0x7fffffff]
cmovbe ecx, r9d
cmp ecx, 0x7fffffff
lea eax, [rcx - 0x7fffffff]
cmovbe eax, ecx
mov rcx, qword [rsp + 0x400]
xor rcx, rsp
call fcn.1401b2ef0
add rsp, 0x410
pop rbx
ret

Function at 0x140003480
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400034f5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400034f5
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1400034e5
nop
cmp rbx, rcx
jae 0x1400034f5
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1400034d0
cmp rbx, rcx
jae 0x1400034f5
cmp word [rbx], 0
je 0x1400034f5
mov rax, rbx
jmp 0x1400034f7
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140003510
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov eax, r8d
mov rsi, rdx
shr eax, 4
mov edi, r8d
inc ax
mov r14, rcx
movzx edx, ax
mov r8d, 6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x140003630
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140003630
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140003630
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1400035b9
nop word [rax + rax]
cmp rbx, rcx
jae 0x140003630
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1400035a0
cmp rbx, rcx
jae 0x140003630
movzx edi, word [rbx]
test di, di
je 0x140003630
mov r10, qword [r14]
mov ecx, 1
movzx esi, di
movzx edx, di
mov eax, dword [r10 - 0xc]
sub ecx, dword [r10 - 8]
sub eax, esi
or ecx, eax
jge 0x1400035f2
mov edx, esi
mov rcx, r14
call fcn.140003970
mov r10, qword [r14]
movzx edx, word [rbx]
lea r8, [rbx + 2]
movzx r9d, dx
movzx ebx, di
mov rcx, r10
mov edx, ebx
call fcn.1401c3934
xor edx, edx
test eax, eax
je 0x140003617
cmp eax, 0xc
je 0x140003653
cmp eax, 0x50
jne 0x14000364d
mov rcx, qword [r14]
cmp esi, dword [rcx - 0xc]
jg 0x140003659
mov dword [rcx - 0x10], esi
mov eax, 1
mov rcx, qword [r14]
mov word [rcx + rbx*2], dx
jmp 0x140003632
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.140032138
int3
call fcn.14003215c
int3
mov ecx, 0x80070057
call fcn.140003a80
int3
Function at 0x140003670
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov edi, edx
mov ecx, edx
call fcn.14003247c
mov rsi, rax
test rax, rax
jne 0x1400036a5
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov eax, edi
mov qword [rsp + 0x30], rbx
shr eax, 4
mov r8d, 6
inc ax
mov qword [rsp + 0x38], rbp
movzx edx, ax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x1400037a2
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400037a2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400037a2
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x14000372e
cmp rbx, rcx
jae 0x1400037a2
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140003715
cmp rbx, rcx
jae 0x1400037a2
movzx edi, word [rbx]
test di, di
je 0x1400037a2
mov r10, qword [r14]
mov ebp, 1
movzx esi, di
mov ecx, ebp
movzx edx, di
mov eax, dword [r10 - 0xc]
sub ecx, dword [r10 - 8]
sub eax, esi
or ecx, eax
jge 0x140003769
mov edx, esi
mov rcx, r14
call fcn.140003970
mov r10, qword [r14]
movzx edx, word [rbx]
lea r8, [rbx + 2]
movzx r9d, dx
movzx ebx, di
mov rcx, r10
mov edx, ebx
call fcn.1401c3934
xor ecx, ecx
test eax, eax
je 0x14000378e
cmp eax, 0xc
je 0x1400037c9
cmp eax, 0x50
jne 0x1400037c3
mov rax, qword [r14]
cmp esi, dword [rax - 0xc]
jg 0x1400037cf
mov dword [rax - 0x10], esi
mov rax, qword [r14]
mov word [rax + rbx*2], cx
jmp 0x1400037a6
xor ecx, ecx
mov ebp, ecx
mov rbx, qword [rsp + 0x30]
mov eax, ebp
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.140032138
int3
call fcn.14003215c
int3
mov ecx, 0x80070057
call fcn.140003a80
int3