joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180033810
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rsi, rdx
mov rdi, rcx
lea rcx, [rsp + 0x28]
call fcn.180031cf0
mov rbx, rax
lea r8, [0x18012eca8]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1800086e0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180008650
nop
lea rcx, [rsp + 0x50]
call fcn.180002b10
nop
lea rcx, [rsp + 0x28]
call fcn.180002b10
lea rcx, [rsp + 0x78]
call fcn.180002b30
mov rbx, rax
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1800338f3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1800338b8
test al, 0x10
jne 0x1800338f3
lea rcx, [rsp + 0x78]
call fcn.180002b30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1800338f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
sub ecx, eax
neg ecx
sbb eax, eax
je 0x1800338f3
lea rcx, [rsp + 0x78]
call fcn.180002b10
mov eax, 1
jmp 0x18003392d
mov rcx, rdi
call fcn.180033b10
mov ebx, eax
test eax, eax
je 0x18003390f
lea rcx, [rsp + 0x78]
call fcn.180002b10
mov eax, ebx
jmp 0x18003392d
mov rcx, rsi
call fcn.180002b30
mov rcx, rax
call fcn.180032400
mov ebx, eax
lea rcx, [rsp + 0x78]
call fcn.180002b10
mov eax, ebx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800c9b90
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x180033b10
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdx, rcx
lea r8, str._lic.config.bin
lea rcx, [rsp + 0x20]
call fcn.1800086e0
lea rcx, [rsp + 0x20]
call fcn.180002b30
mov rcx, rax
mov rbx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x180033bb1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x180033b65
test al, 0x10
jne 0x180033bb1
lea rcx, [rsp + 0x20]
call fcn.180002b30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x180033bb1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
sub ecx, eax
neg ecx
sbb eax, eax
je 0x180033bb1
lea rcx, [rsp + 0x20]
call fcn.180002b10
mov eax, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800c9b90
add rsp, 0x50
pop rbx
ret
lea rcx, [rsp + 0x20]
call fcn.180002b10
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800c9b90
add rsp, 0x50
pop rbx
ret
Function at 0x1800387b0
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0x140
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x150], rbx
mov rdi, rcx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1800388e5
mov dword [rsp + 0x20], 1
lea r9d, [rax + 0x40]
lea r8d, [rax + 2]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.18003cb20
nop
lea rdx, str..iritech
lea rcx, [rsp + 0x40]
call fcn.18003f770
mov rcx, rax
lea rdx, [0x1801325b4]
call fcn.18003f770
lea rdx, [0x1801325b4]
lea rcx, [rsp + 0x40]
call fcn.18003f770
xor ebx, ebx
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x50], 6
jne 0x18003885a
mov rcx, qword [rsp + rcx + 0x88]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov ecx, 4
cmp eax, 0xffffffff
cmove ebx, ecx
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 4]
lea rcx, [rsp + rax + 0x40]
test ebx, ebx
je 0x18003887e
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x180038876
or edx, 4
xor r8d, r8d
call fcn.180034cc0
lea rcx, [rsp + 0x48]
call fcn.18003e180
test rax, rax
jne 0x1800388b3
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x40]
mov edx, dword [rcx + 0x10]
or edx, 2
cmp qword [rcx + 0x48], 0
jne 0x1800388ab
or edx, 4
xor r8d, r8d
call fcn.180034cc0
mov rcx, rdi
call fcn.180033bd0
nop
lea rcx, [rsp + 0xd8]
call fcn.18003cc00
lea r11, vtable.std::ios_base.0
mov qword [rsp + 0xd8], r11
lea rcx, [rsp + 0xd8]
call fcn.1800c8c24
mov rbx, qword [rsp + 0x150]
add rsp, 0x140
pop rdi
ret
Function at 0x1800455a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x100
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rbx, r8
mov rsi, rdx
mov qword [rsp + 0x60], rbx
lea rcx, [0x18012eb74]
call fcn.1800010d0
mov qword [rsp + 0x20], rax
lea r9, [0x18012eb74]
mov r8, qword [rbx + 0x18]
xor edx, edx
mov rcx, rbx
call fcn.180009f10
test eax, eax
je 0x1800456d9
mov rcx, rbx
call fcn.180002b30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1800456d9
test al, 0x10
je 0x1800456d9
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.180007cc0
mov rcx, rax
call fcn.18004e2a0
mov rdi, rax
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.18004a8a0
nop
mov esi, dword [rdi + 8]
test esi, esi
jne 0x18004569c
lea rcx, [rdi + 0xe8]
lea rdx, [rsp + 0x78]
call fcn.180003c80
lea rcx, [rdi + 0x110]
lea rdx, [rsp + 0xa0]
call fcn.180003c80
lea rcx, [rdi + 0x138]
lea rdx, [rsp + 0xc8]
call fcn.180003c80
mov rcx, rdi
call fcn.18004c1e0
mov esi, eax
mov dword [rdi + 8], eax
lea rax, vtable.LicenseSession.0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xc8]
call fcn.180002b10
lea rcx, [rsp + 0xa0]
call fcn.180002b10
lea rcx, [rsp + 0x78]
call fcn.180002b10
nop
mov rcx, rbx
call fcn.180002b10
mov eax, esi
jmp 0x1800456e6
mov rcx, rbx
call fcn.180002b10
mov eax, 0x109
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1800c9b90
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1800474c0
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbp, rcx
mov rdi, r8
mov rsi, rdx
mov ebx, 0x58
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8, rbx
call fcn.1800cc600
xor r11d, r11d
mov dword [rsp + 0x28], 0x67452301
mov dword [rsp + 0x20], r11d
mov dword [rsp + 0x24], r11d
mov dword [rsp + 0x2c], 0xefcdab89
mov dword [rsp + 0x30], 0x98badcfe
mov dword [rsp + 0x34], 0x10325476
test rsi, rsi
je 0x180047547
lea rcx, [rsp + 0x20]
mov r8, rsi
mov rdx, rbp
call fcn.1800471e0
mov r11d, eax
test eax, eax
jne 0x180047557
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.1800472b0
mov r11d, eax
lea rax, [rsp + 0x20]
nop dword [rax]
mov byte [rax], 0
inc rax
sub rbx, 1
jne 0x180047560
mov eax, r11d
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800c9b90
mov rbx, qword [rsp + 0xc8]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
Function at 0x18004bda0
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rdx
mov rbx, rcx
lea rdx, [rcx + 0x10]
lea r8, str._lic.config.bin
lea rcx, [rsp + 0x28]
call fcn.1800086e0
nop
lea rcx, [rsp + 0x28]
call fcn.180002b30
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x18004be0a
lea rcx, [rsp + 0x28]
call fcn.180002b10
mov eax, 0x1702
jmp 0x18004be3d
lea rdx, [rdi + 8]
lea rcx, [rbx + 0x68]
call fcn.180003c80
lea rdx, [rdi + 0x30]
lea rcx, [rbx + 0x90]
call fcn.180003c80
mov rcx, rbx
call fcn.18004c1e0
mov ebx, eax
lea rcx, [rsp + 0x28]
call fcn.180002b10
mov eax, ebx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800c9b90
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x18004beb0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rdx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov byte [r11 - 0x38], 0xb0
mov byte [r11 - 0x37], 0xa8
mov byte [r11 - 0x36], 0xfb
mov byte [r11 - 0x35], 0xce
mov byte [r11 - 0x34], 0x5a
mov byte [r11 - 0x33], 0xf8
mov byte [r11 - 0x32], 0x20
mov byte [r11 - 0x31], 0xcb
mov byte [r11 - 0x30], 0xec
mov byte [r11 - 0x2f], 0x4a
mov byte [r11 - 0x2e], 0xc4
mov byte [r11 - 0x2d], 0x18
mov byte [r11 - 0x2c], 0x91
mov byte [r11 - 0x2b], 0x99
mov byte [r11 - 0x2a], 0x74
mov byte [r11 - 0x29], 0x85
mov byte [r11 - 0x28], 0x9d
mov byte [r11 - 0x27], 0x96
mov byte [r11 - 0x26], 0x6b
mov byte [r11 - 0x25], 0x60
mov byte [r11 - 0x24], 0xd0
mov byte [r11 - 0x23], 0x12
mov byte [r11 - 0x22], 0x2b
mov byte [r11 - 0x21], 0x8b
mov byte [r11 - 0x20], 0x91
mov byte [r11 - 0x1f], 0x1f
mov byte [r11 - 0x1e], 0x79
mov byte [r11 - 0x1d], 0x46
mov byte [r11 - 0x1c], 0x23
mov byte [r11 - 0x1b], 0x99
mov byte [r11 - 0x1a], 0x33
mov byte [r11 - 0x19], 0x60
lea rdx, [rsp + 0x30]
call fcn.18004c560
nop
nop
xor byte [rsp + rbx + 0x80], 0x87
xor byte [rsp + rbx + 0x81], 0x87
add rbx, 2
cmp rbx, 0x20
jl 0x18004bf90
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180012eb0
nop
lea rcx, [rsp + 0x30]
call fcn.180007e90
mov rbx, rax
lea rcx, [rsp + 0x30]
call fcn.180002b30
mov rdx, rax
lea r9, [rsp + 0x58]
mov r8d, ebx
mov rcx, rdi
call fcn.180031460
nop
lea rcx, [rsp + 0x58]
call fcn.180002b10
nop
lea rcx, [rsp + 0x30]
call fcn.180002b10
mov rax, rdi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800c9b90
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop rdi
ret
Function at 0x18004c1e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x80
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
add rcx, 0x10
call fcn.180002b30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x18004c2cc
test al, 0x10
je 0x18004c2cc
lea r8, str._lic.config.bin
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x50]
call fcn.1800086e0
nop
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.18004beb0
nop
lea rcx, [rsp + 0x28]
call fcn.180007e90
mov rdi, rax
lea rcx, [rsp + 0x28]
call fcn.180002b30
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.180002b30
mov rsi, rax
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call fcn.1800239c0
test eax, eax
jne 0x18004c2b0
mov rcx, rsi
call fcn.180033bd0
nop
lea rcx, [rsp + 0x28]
call fcn.180002b10
nop
lea rcx, [rsp + 0x50]
call fcn.180002b10
xor eax, eax
jmp 0x18004c2d1
lea rcx, [rsp + 0x28]
call fcn.180002b10
nop
lea rcx, [rsp + 0x50]
call fcn.180002b10
mov eax, 0x1709
jmp 0x18004c2d1
mov eax, 0x1701
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800c9b90
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18004c300
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Encode data using xor
Get file attributes

Disassembly:
push rdi
sub rsp, 0xd0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xe8], rbx
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, rcx
add rcx, 0x10
call fcn.180002b30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x18004c539
test al, 0x10
je 0x18004c539
lea r8, str._lic.config.bin
lea rdx, [rdi + 0x10]
lea rcx, [rsp + 0x78]
call fcn.1800086e0
nop
mov byte [rsp + 0xa0], 0xb0
mov byte [rsp + 0xa1], 0xa8
mov byte [rsp + 0xa2], 0xfb
mov byte [rsp + 0xa3], Ordinal_211
mov byte [rsp + 0xa4], 0x5a
mov byte [rsp + 0xa5], 0xf8
mov byte [rsp + 0xa6], reloc.WLDAP32.dll_Ordinal_32
mov byte [rsp + 0xa7], 0xcb
mov byte [rsp + 0xa8], 0xec
mov byte [rsp + 0xa9], Ordinal_79
mov byte [rsp + 0xaa], Ordinal_200
mov byte [rsp + 0xab], Ordinal_27
mov byte [rsp + 0xac], __WSAFDIsSet
mov byte [rsp + 0xad], 0x99
mov byte [rsp + 0xae], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0xaf], 0x85
mov byte [rsp + 0xb0], 0x9d
mov byte [rsp + 0xb1], __WSAFDIsSet
mov byte [rsp + 0xb2], WSAGetLastError
mov byte [rsp + 0xb3], 0x60
mov byte [rsp + 0xb4], Ordinal_211
mov byte [rsp + 0xb5], reloc.WS2_32.dll_select
mov byte [rsp + 0xb6], Ordinal_45
mov byte [rsp + 0xb7], Ordinal_143
mov byte [rsp + 0xb8], __WSAFDIsSet
mov byte [rsp + 0xb9], Ordinal_35
mov byte [rsp + 0xba], 0x79
mov byte [rsp + 0xbb], 0x46
mov byte [rsp + 0xbc], reloc.WLDAP32.dll_Ordinal_35
mov byte [rsp + 0xbd], 0x99
mov byte [rsp + 0xbe], gethostname
mov byte [rsp + 0xbf], 0x60
xor eax, eax
nop word [rax + rax]
xor byte [rsp + rax + 0xa0], 0x87
xor byte [rsp + rax + 0xa1], 0x87
add rax, 2
cmp rax, 0x20
jl 0x18004c470
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x50]
call fcn.180012eb0
nop
lea rdx, [0x18012eb74]
lea rcx, [rsp + 0x28]
call fcn.180002ab0
nop
lea rcx, [rsp + 0x78]
call fcn.180002b30
mov rcx, rax
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x50]
call fcn.1800315c0
test eax, eax
je 0x18004c506
lea rcx, [rdi + 0x10]
call fcn.180033b10
nop
lea rcx, [rsp + 0x28]
call fcn.180002b10
nop
lea rcx, [rsp + 0x50]
call fcn.180002b10
nop
lea rcx, [rsp + 0x78]
call fcn.180002b10
mov eax, 0x1704
jmp 0x18004c53e
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.18004cf60
mov ebx, eax
lea rcx, [rsp + 0x28]
call fcn.180002b10
nop
lea rcx, [rsp + 0x50]
call fcn.180002b10
nop
lea rcx, [rsp + 0x78]
call fcn.180002b10
mov eax, ebx
jmp 0x18004c53e
mov eax, 0x1701
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1800c9b90
mov rbx, qword [rsp + 0xe8]
add rsp, 0xd0
pop rdi
ret
Function at 0x18004e7e0
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, 0x160
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x150], rax
movzx eax, byte [0x180164e80]
test eax, eax
je 0x18004e80a
mov al, 1
jmp 0x18004e85c
mov dword [rsp + 0x30], 0
lea rdi, [rsp + 0x34]
xor eax, eax
mov ecx, 0x110
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x18004e83b
xor al, al
jmp 0x18004e85c
cmp dword [rsp + 0x34], 6
jae 0x18004e846
xor al, al
jmp 0x18004e85c
call fcn.18004e710
test eax, eax
je 0x18004e853
xor al, al
jmp 0x18004e85c
mov byte [0x180164e80], 1
mov al, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800c9b90
add rsp, 0x160
pop rdi
ret
Function at 0x18004f890
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0xa0
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbp, rcx
mov rdi, r8
mov r12, rdx
mov ebx, WSAGetLastError
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8, rbx
mov esi, r9d
call fcn.1800cc600
xor r11d, r11d
mov dword [rsp + 0x20], r11d
mov dword [rsp + 0x24], r11d
test esi, esi
jne 0x18004f923
mov dword [rsp + 0x28], 0x6a09e667
mov dword [rsp + 0x2c], 0xbb67ae85
mov dword [rsp + 0x30], 0x3c6ef372
mov dword [rsp + 0x34], 0xa54ff53a
mov dword [rsp + 0x38], 0x510e527f
mov dword [rsp + 0x3c], 0x9b05688c
mov dword [rsp + 0x40], 0x1f83d9ab
mov dword [rsp + 0x44], 0x5be0cd19
jmp 0x18004f963
mov dword [rsp + 0x28], 0xc1059ed8
mov dword [rsp + 0x2c], 0x367cd507
mov dword [rsp + 0x30], 0x3070dd17
mov dword [rsp + 0x34], 0xf70e5939
mov dword [rsp + 0x38], 0xffc00b31
mov dword [rsp + 0x3c], 0x68581511
mov dword [rsp + 0x40], 0x64f98fa7
mov dword [rsp + 0x44], 0xbefa4fa4
lea rcx, [rsp + 0x20]
mov r8, r12
mov rdx, rbp
mov dword [rsp + 0x88], esi
call fcn.18004f4f0
mov r11d, eax
test eax, eax
jne 0x18004f991
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.18004f5d0
mov r11d, eax
lea rax, [rsp + 0x20]
nop word [rax + rax]
mov byte [rax], 0
inc rax
sub rbx, 1
jne 0x18004f9a0
mov eax, r11d
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1800c9b90
add rsp, 0xa0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180051670
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [rsp + 0xa8]
mov r12, r9
mov r14d, edx
mov r15, rcx
test edx, edx
jne 0x180051755
test r8, r8
je 0x180051829
mov rsi, qword [rsp + 0xa0]
lea rbp, [r8 - 1]
mov rdi, r9
shr rbp, 4
sub rdi, rbx
inc rbp
nop
mov rax, qword [rsi]
lea rcx, [rsp + 0x20]
mov r8, rbx
mov qword [rcx], rax
mov rax, qword [rsi + 8]
mov rdx, rsi
mov qword [rcx + 8], rax
mov rcx, r15
call fcn.180051030
lea r11, [r12 + 2]
mov ecx, 4
nop dword [rax + rax]
movzx eax, byte [rdi + rbx]
add rbx, 4
add r11, 4
xor byte [rbx - 4], al
movzx eax, byte [r11 - 5]
xor byte [rbx - 3], al
movzx eax, byte [r11 - 4]
xor byte [rbx - 2], al
movzx eax, byte [r11 - 3]
xor byte [rbx - 1], al
sub rcx, 1
jne 0x180051700
lea rcx, [rsp + 0x20]
add rsi, 0x10
sub rdi, 0x10
sub rbp, 1
mov rax, qword [rcx]
mov qword [r12], rax
mov rax, qword [rcx + 8]
mov qword [r12 + 8], rax
jne 0x1800516d0
jmp 0x180051829
test r8, r8
je 0x180051829
mov rdi, qword [rsp + 0xa0]
lea r13, [r8 - 1]
mov rsi, r9
mov rbp, r9
shr r13, 4
sub rsi, rbx
sub rbp, rdi
inc r13
lea rax, [r9 + 3]
mov r8, rbx
mov r9, rax
lea rdx, [rbx + 1]
mov rcx, rdi
mov r10d, 4
sub r8, rdi
nop word [rax + rax]
movzx eax, byte [rcx + rbp]
add rdx, 4
add rcx, 4
xor al, byte [rcx - 4]
add r9, 4
mov byte [r8 + rcx - 4], al
movzx eax, byte [rdx + rsi - 4]
xor al, byte [rcx - 3]
mov byte [rdx - 4], al
movzx eax, byte [rcx - 2]
xor al, byte [r9 - 5]
mov byte [rdx - 3], al
movzx eax, byte [rcx - 1]
xor al, byte [r9 - 4]
sub r10, 1
mov byte [rdx - 2], al
jne 0x1800517a0
mov r8, rbx
mov rdx, rbx
mov rcx, r15
cmp r14d, 1
jne 0x1800517f5
call fcn.180050a20
jmp 0x1800517fa
call fcn.180051030
mov rax, qword [rbx]
add rdi, 0x10
sub rbp, 0x10
mov qword [r12], rax
mov rax, qword [rbx + 8]
add rbx, 0x10
sub rsi, 0x10
sub r13, 1
mov qword [r12 + 8], rax
lea rax, [r12 + 3]
jne 0x180051781
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800c9b90
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180055060
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x98], rbx
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbp, rdx
mov rsi, rcx
mov dword [rsp + 0x20], 0
test r8d, r8d
jns 0x18005509f
mov r8d, dword [rcx + 8]
test r8d, r8d
je 0x180055147
mov rbx, qword [rcx + 8]
test rbx, rbx
je 0x180055147
movsxd rax, r8d
cmp rax, rbx
cmovbe ebx, eax
mov rcx, qword [rcx]
call fcn.1800cd6dc
mov edi, eax
movsxd rbx, ebx
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.180007c50
nop
mov rcx, qword [rsi]
call fcn.1800cecc8
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsi]
call fcn.1800cd39c
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180007e50
mov rcx, rax
mov r9, qword [rsi]
mov r8, rbx
mov edx, 1
call fcn.1800cc180
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.180007ea0
xor r8d, r8d
mov edx, edi
mov rcx, qword [rsi]
call fcn.1800cd39c
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.180007cc0
nop
lea rcx, [rsp + 0x30]
call fcn.180002b10
mov rax, rbp
jmp 0x180055152
mov rcx, rdx
call fcn.180003c30
mov rax, rbp
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800c9b90
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x180056e30
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x90
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0xc8], rbx
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
cmp byte [rdx + 0x30], bl
sete bl
mov r8d, ebx
mov edx, 0x51
mov rcx, qword [rcx]
call fcn.18006f1b0
mov r8d, ebx
mov edx, 0x40
mov rcx, qword [rdi]
call fcn.18006f1b0
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.180055380
mov rcx, rax
call fcn.180002b30
mov r8, rax
mov edx, 0x2712
mov rcx, qword [rdi]
call fcn.18006f1b0
lea rcx, [rsp + 0x30]
call fcn.180002b10
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1800552f0
nop
lea rcx, [rsp + 0x60]
call fcn.180002b30
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x180056efd
lea rcx, [rsp + 0x60]
call fcn.180002b30
mov r8, rax
mov edx, 0x2751
mov rcx, qword [rdi]
call fcn.18006f1b0
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.180055320
mov rbx, rax
lea rcx, [0x18012eb74]
call fcn.1800010d0
mov qword [rsp + 0x20], rax
lea r9, [0x18012eb74]
mov r8, qword [rbx + 0x18]
xor edx, edx
mov rcx, rbx
call fcn.180009f10
test eax, eax
setne bl
lea rcx, [rsp + 0x30]
call fcn.180002b10
test bl, bl
je 0x180057004
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.180055320
mov rcx, rax
call fcn.180002b30
mov r8, rax
mov edx, 0x2714
mov rcx, qword [rdi]
call fcn.18006f1b0
lea rcx, [rsp + 0x30]
call fcn.180002b10
mov edx, Ordinal_217
mov r8d, 2
mov rcx, qword [rdi]
call fcn.18006f1b0
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.180055350
mov rbx, rax
lea rcx, [0x18012eb74]
call fcn.1800010d0
mov qword [rsp + 0x20], rax
lea r9, [0x18012eb74]
mov r8, qword [rbx + 0x18]
xor edx, edx
mov rcx, rbx
call fcn.180009f10
test eax, eax
setne bl
lea rcx, [rsp + 0x30]
call fcn.180002b10
test bl, bl
je 0x180057004
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.180055350
mov rcx, rax
call fcn.180002b30
mov r8, rax
mov edx, 0x2716
mov rcx, qword [rdi]
call fcn.18006f1b0
lea rcx, [rsp + 0x30]
call fcn.180002b10
mov r8, qword [rdi + 8]
mov edx, 0x2727
mov rcx, qword [rdi]
call fcn.18006f1b0
lea r8, [0x180012c20]
mov edx, 0x4e6f
mov rcx, qword [rdi]
call fcn.18006f1b0
mov r8, rbp
mov edx, 0x272d
mov rcx, qword [rdi]
call fcn.18006f1b0
xor ecx, ecx
call fcn.1800ca7e8
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x10], 0
lea r8, [0x180057140]
mov edx, 0x4efb
mov rcx, qword [rdi]
call fcn.18006f1b0
mov r8, rdi
mov edx, 0x2749
mov rcx, qword [rdi]
call fcn.18006f1b0
xor r8d, r8d
lea edx, [r8 + 0x2b]
mov rcx, qword [rdi]
call fcn.18006f1b0
nop
lea rcx, [rsp + 0x60]
call fcn.180002b10
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1800c9b90
mov rbx, qword [rsp + 0xc8]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret