joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b014
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
mov rbp, rsp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov esi, r9d
mov rdi, rdx
mov r14, rcx
call fcn.14000aec4
mov rdx, qword [rbp + 0x38]
lea rcx, [rsp + 0x50]
mov r15, rax
xor r13d, r13d
call fcn.14000b170
mov rax, qword [rbp + 0x30]
mov r8d, 0x10000
lea edx, [r13 + 1]
cmp esi, r8d
mov qword [rsp + 0x78], rax
mov r12d, r8d
cmovb r12d, esi
and dword [rbp - 0x38], r13d
test esi, esi
mov eax, esi
cmove eax, edx
lea rdx, [rsi + rdi]
mov qword [rbp - 0x40], rax
lea rax, [r15 + 0x10000]
mov qword [rbp + 0x18], rdx
cmp rdx, rax
ja 0x14001be88
and qword [rsp + 0x48], 0
mov rax, rdi
mov dword [rsp + 0x40], edi
shr rax, 0x20
cmp qword [rsp + 0x58], 0
mov dword [rsp + 0x44], eax
jne 0x14001bec4
xor ebx, ebx
test ebx, ebx
js 0x14000b129
mov rdx, qword [rbp + 0x20]
mov rcx, qword [r14 + 0x30]
lea rax, [rsp + 0x30]
lea r9, [rbp + 0x28]
mov r8d, r12d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [r14 + 0x3c], 0
jne 0x14001bed5
test eax, eax
je 0x14001bf07
mov ecx, dword [rbp + 0x28]
mov rax, qword [rbp + 0x30]
add dword [rax], ecx
add qword [rbp + 0x20], rcx
add rdi, rcx
sub esi, ecx
cmp r15, rdi
mov rax, rdi
cmova rax, r15
mov r15, rax
cmp r12d, ecx
jne 0x14001bf3b
xor ebx, ebx
test esi, esi
jne 0x14001bf28
xor r13d, r13d
jmp 0x14000b129
test r13d, r13d
jne 0x14001bf45
mov qword [r14 + 0x78], r15
mov rcx, qword [rsp + 0x58]
lea rax, [0x140044e70]
mov qword [rsp + 0x50], rax
test rcx, rcx
jne 0x14001bf5a
mov eax, ebx
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp qword [rsp + 0x58], r13
je 0x14001bea1
lea rcx, [rsp + 0x50]
call fcn.1400329f4
mov rdx, qword [rbp + 0x18]
mov ebx, eax
jmp 0x14001bea3
xor ebx, ebx
test ebx, ebx
js 0x14000b132
mov r8, qword [rbp + 0x38]
lea rcx, [r14 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
setns r13b
jmp 0x14000b099
lea rcx, [rsp + 0x50]
call fcn.1400329f4
mov ebx, eax
jmp 0x14000b0bc
test eax, eax
jne 0x14000b0f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14001bf07
mov rcx, qword [r14 + 0x30]
lea r8, [rbp + 0x28]
lea rdx, [rsp + 0x30]
mov r9b, 1
call fcn.14000ae5c
movzx eax, al
jmp 0x14000b0ea
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x14000b0f2
jmp 0x14000b129
mov eax, 0x10000
mov r12d, eax
cmp esi, eax
cmovb r12d, esi
jmp 0x14000b099
mov ebx, 0x80004005
jmp 0x14000b129
lea rcx, [r14 + 0x10]
xor r8d, r8d
mov rdx, r15
mov rax, qword [rcx]
call qword [rax + 0x30]
jmp 0x14000b136
and qword [rsp + 0x58], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x14000b150
Function at 0x14000f484
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 0x18], rsi
push rbp
mov rbp, rsp
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x140048b20]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rcx
mov rcx, qword [rcx + 8]
mov r14, rdx
xor edx, edx
call fcn.140010d6c
mov edi, eax
test eax, eax
js 0x14000f5c1
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14001b749
xor edx, edx
lea rcx, [rsp + 0x3c]
lea r8d, [rdx + 0x1c]
call sub.MSVCR100.dll_memset
mov eax, dword [rsi + 0x1c]
mov rdx, qword [rsi + 8]
and dword [rsp + 0x54], 0
mov dword [rsp + 0x44], eax
mov eax, dword [rsi + 0x24]
mov dword [rsp + 0x48], eax
mov eax, dword [rsi + 0x28]
lea r9, [rsp + 0x38]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsi + 0x30]
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x38], 0x20
mov dword [rsp + 0x3c], 0x54444453
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x20], 0x20
call fcn.140010cec
mov edi, eax
test eax, eax
js 0x14000f5c1
mov edx, dword [rsp + 0x4c]
and qword [rsp + 0x30], 0
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
call fcn.14000f3b0
cmp qword [rsp + 0x30], 0
je 0x14001b762
mov r8d, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x30]
xor edx, edx
call sub.MSVCR100.dll_memset
mov eax, dword [rsp + 0x4c]
mov r9, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsi + 8]
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.140010cec
mov edi, eax
lea rdx, [rsp + 0x38]
mov rcx, r14
mov r8d, 0x20
call sub.MSVCR100.dll_memcpy
cmp qword [rsp + 0x30], 0
je 0x14000f5c1
mov rcx, qword [rsp + 0x30]
call fcn.140015eb0
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140015ee0
mov rsi, qword [rsp + 0x90]
add rsp, 0x60
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14000f5c1
mov edi, 0x8007000e
jmp 0x14000f59c
Function at 0x140010ab0
Capabilities:
Get file size

Disassembly:
mov ebx, 0x80043000
jmp 0x14000f463
cmp dword [rdi + 0x34], 0
jne 0x140010b86
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14000f484
mov ebx, eax
jmp 0x140010b86
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140048b20]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rcx
call fcn.1400109b0
mov ebx, eax
test eax, eax
js 0x140010b9e
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001b76c
mov rdx, qword [rdi + 8]
and dword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x20], rax
call fcn.140010bc4
mov ebx, eax
test eax, eax
js 0x14001b7c2
cmp dword [rsp + 0x40], 0x20
jb 0x14000f45c
lea r8, [rdi + 0x1c]
lea r9, [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140011114
mov ebx, eax
test eax, eax
js 0x14001b7c2
mov ecx, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x48]
imul ecx, dword [rsp + 0x68]
add ecx, dword [rsp + 0x64]
add ecx, dword [rsp + 0x50]
cmp eax, ecx
jb 0x14001b785
test ebx, ebx
js 0x140010b9e
lea rcx, [rdi + 0x3c]
lea rdx, [rsp + 0x50]
mov r8d, 0x20
call sub.MSVCR100.dll_memcpy
mov eax, ebx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140015ee0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140010b9e
sub eax, dword [rsp + 0x64]
xor edx, edx
sub eax, dword [rsp + 0x50]
div dword [rsp + 0x68]
cmp dword [rdi + 0x34], 0
mov dword [rsp + 0x6c], eax
jne 0x140010b86
mov rdx, qword [rdi + 8]
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x20], 0x20
call fcn.140010cec
jmp 0x14000f47a
cmp ebx, 0x80043000
je 0x14000f463
cmp ebx, 0x80043001
je 0x14000f463
jmp 0x140010b86

Function at 0x140010bc4
Capabilities:
Read file on windows

Disassembly:
mov ecx, 0x80004005
test esi, esi
cmove ebx, ecx
jmp 0x140010c26
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rdi, rdx
mov edx, r8d
mov esi, r9d
mov rcx, rdi
call fcn.140010d6c
mov ebx, eax
test eax, eax
js 0x140010c33
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001b6c2
mov eax, dword [rsp + 0x30]
cmp eax, dword [rsp + 0x78]
jne 0x14000f44d
test ebx, ebx
js 0x140010c33
mov rcx, qword [rbp + 0x40]
test rcx, rcx
jne 0x140010c4a
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
mov dword [rcx], eax
jmp 0x140010c33
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, dword [rsp + 0x30]
jmp 0x140010c26
Function at 0x140010cec
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rsi, rdx
mov edx, r8d
mov r14, r9
mov rcx, rsi
call fcn.140010d6c
mov ebx, eax
test eax, eax
js 0x140010d50
mov edi, dword [rsp + 0x70]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, edi
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001b6df
cmp dword [rsp + 0x30], edi
mov eax, 0x80004005
cmovne ebx, eax
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140010d50

Function at 0x140011664
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
and qword [r11 - 0x18], 0
lea rax, [r11 - 0x18]
mov rbx, rcx
lea rdx, str.CLSID
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov qword [r11 - 0x28], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001171b
mov rcx, qword [rsp + 0x30]
and qword [rsp + 0x68], 0
lea rax, [rsp + 0x68]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001170b
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
lea rdx, str.InsecureQI
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x58], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140019b59
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001171b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001172b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
cmp dword [rsp + 0x58], 4
jne 0x14001170b
mov ebx, dword [rsp + 0x60]
cmp ebx, 3
ja 0x14001170b
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140019b81
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140019b91
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14001172d
Function at 0x140012100
Capabilities:
Query or enumerate registry value

Disassembly:
and qword [rsp + 0x48], 0
lea rax, [rsp + 0x48]
lea rdx, [0x140042c20]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, 4
lea rsi, [0x140055e64]
test eax, eax
je 0x140019b98
mov rcx, qword [rsp + 0x48]
and qword [rsp + 0x48], 0
test rcx, rcx
jne 0x140019bf9
lea rax, [rsp + 0x48]
lea rdx, str.SoftwareMicrosoftSecurity
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140019c05
mov rcx, qword [rsp + 0x48]
and dword [0x140055e64], 0
mov byte [0x140055e60], 1
test rcx, rcx
jne 0x140019c44
xor eax, eax
jmp 0x140012127
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
mov rbp, rsp
sub rsp, 0x30
cmp byte [0x140055e60], 0
je 0x1400104e2
mov eax, dword [0x140055e64]
jmp 0x140012127
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret
mov rdx, qword [str.CLSIDInterfaceTest]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x40], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140010523
cmp dword [rsp + 0x40], ebx
jne 0x140010523
mov rcx, qword [rsp + 0x48]
mov ebx, dword [0x140055e64]
mov byte [0x140055e60], 1
test rcx, rcx
je 0x140019bf2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x140012127
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x140010537
mov rdx, qword [str.CLSIDInterfaceTest]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x40], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140010566
cmp dword [rsp + 0x40], ebx
jne 0x140010566
jmp 0x140019bd5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x140010582

Function at 0x140015ee0
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140048b20]
jne 0x140016594
repz ret
jmp fcn.14001f218

Function at 0x14001cf6c
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
xor ecx, ecx
call qword [sym.imp.MSVCR100.dll_printf]
mov ecx, 0x10f2db
call fcn.14001e6a8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edx, edx
mov rcx, rax
add rsp, 0x20
pop rbp
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140023504
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x30
lea rsi, [rcx + 0x10]
xor ebx, ebx
mov rdi, rcx
cmp qword [rsi], rbx
jne 0x14002355e
lea r9d, [rbx + 0x18]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov dword [rax - 0x18], 0xf0000040
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14002355e
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140023597
lea rax, [rdi + 0x18]
cmp qword [rax], 0
jne 0x140023597
mov edx, dword [rdi + 0x20]
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x140023597
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rbp
ret

Function at 0x140024008
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x30
xor ebx, ebx
mov esi, edx
mov rdi, rcx
cmp edx, dword [rcx + 0x58]
jae 0x140024094
mov dword [rcx + 0x58], edx
mov rdx, qword [rcx + 8]
lea r9, [rcx + 0x3c]
xor r8d, r8d
mov dword [rax - 0x18], 0x20
call fcn.140010cec
mov ebx, eax
test eax, eax
js 0x140024094
cmp esi, 0xffffffff
jne 0x140024057
mov esi, dword [rdi + 0x58]
mov edx, dword [rdi + 0x54]
mov rcx, qword [rdi + 8]
imul edx, esi
add edx, dword [rdi + 0x50]
add edx, dword [rdi + 0x3c]
call fcn.140010d6c
mov ebx, eax
test eax, eax
js 0x140024094
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140024094
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rbp
ret
Function at 0x14002c064
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x20
mov eax, 0x80
mov edi, edx
mov rbx, rcx
cmp word [rcx], ax
jb 0x14002c08c
xor eax, eax
jmp 0x14002c1da
cmp word [rcx], 0x20
jbe 0x14002c1d5
cmp word [rcx], 0x7f
je 0x14002c1d5
cmp word [rcx], 0x25
jne 0x14002c131
test r8b, 0x40
jne 0x14002c1d5
cmp edx, 2
jle 0x14002c0d3
movzx ecx, word [rcx + 2]
call fcn.140021af8
test eax, eax
je 0x14002c0d3
movzx ecx, word [rbx + 4]
call fcn.140021af8
test eax, eax
jne 0x14002c085
cmp edi, 5
jle 0x14002c1d5
movzx eax, word [rbx + 2]
or ax, 0x20
cmp ax, 0x75
jne 0x14002c1d5
movzx ecx, word [rbx + 4]
call fcn.140021af8
test eax, eax
je 0x14002c1d5
movzx ecx, word [rbx + 6]
call fcn.140021af8
test eax, eax
je 0x14002c1d5
movzx ecx, word [rbx + 8]
call fcn.140021af8
test eax, eax
je 0x14002c1d5
movzx ecx, word [rbx + 0xa]
call fcn.140021af8
test eax, eax
jmp 0x14002c1cf
movzx ecx, word [rcx]
cmp ecx, 0x3d
jg 0x14002c1a7
je 0x14002c203
cmp ecx, 0x27
jg 0x14002c181
je 0x14002c178
cmp ecx, 0x21
je 0x14002c203
jle 0x14002c085
cmp ecx, 0x23
jle 0x14002c1d5
cmp ecx, 0x24
je 0x14002c203
cmp ecx, 0x26
jne 0x14002c085
and r8d, 0x500000
jmp 0x14002c1fe
and r8d, 0x100020
jmp 0x14002c1fe
cmp ecx, 0x28
jl 0x14002c085
cmp ecx, 0x2c
jle 0x14002c203
cmp ecx, 0x2f
je 0x14002c203
cmp ecx, 0x39
jle 0x14002c085
cmp ecx, 0x3b
jle 0x14002c203
cmp ecx, 0x3c
jmp 0x14002c1cf
sub ecx, 0x3e
je 0x14002c1d5
dec ecx
je 0x14002c215
dec ecx
je 0x14002c203
sub ecx, 0x1b
je 0x14002c1ea
sub ecx, 2
je 0x14002c1ea
dec ecx
je 0x14002c1d5
sub ecx, 2
je 0x14002c1d5
sub ecx, 0x1b
je 0x14002c1d5
cmp ecx, 2
jne 0x14002c085
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbp
ret
test r9d, r9d
jne 0x14002c085
shr r8d, 0x1d
not r8d
and r8d, 1
mov eax, r8d
jmp 0x14002c1da
test r9d, r9d
jne 0x14002c085
and r8d, 0x100000
jmp 0x14002c1fe
and r8d, 0x140000
jmp 0x14002c1fe
Function at 0x14002ddd8
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov rbp, rsp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1090
call fcn.1400158ec
sub rsp, rax
mov rax, qword [0x140048b20]
xor rax, rsp
mov qword [rbp - 0x40], rax
mov r13, rcx
mov ecx, 0x1c9181
mov esi, edx
mov dword [rsp + 0x20], edx
call fcn.14001e6a8
lea r15, [r13 + 0xd0]
mov rax, qword [r15]
xor r12d, r12d
mov rcx, r15
mov r14d, r12d
call qword [rax + 0x18]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov r8d, 0x824
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebx, eax
test eax, eax
jne 0x14002df2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14002dfc3
lea r12, [r13 + 0xd0]
mov rcx, r12
mov rbx, qword [r12]
call qword [rbx + 0x30]
mov rcx, r12
mov edx, eax
call qword [rbx + 0x170]
mov rcx, r12
mov rdi, rax
mov rax, qword [r12]
call qword [rax + 0x30]
mov r8d, 0x5c
mov rcx, rdi
mov edx, eax
call fcn.1400229f8
mov rsi, rax
xor eax, eax
test rsi, rsi
je 0x14002dfc3
lea rdx, [rsp + 0x30]
mov r8d, 0x824
mov rcx, rdi
mov word [rsi], ax
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebx, eax
mov eax, 0x5c
mov word [rsi], ax
lea eax, [rbx - 1]
cmp eax, 0x823
ja 0x14002df1b
mov rax, rsi
sub rax, rdi
sar rax, 1
cmp ebx, eax
jbe 0x14002dee5
mov ecx, 0x1c9183
call fcn.14001e6a8
mov eax, 0x825
or rdi, 0xffffffffffffffff
xor ecx, ecx
sub eax, ebx
test eax, eax
jle 0x14002df10
lea rcx, [rsp + 0x30]
movsxd rdx, eax
mov r9, rdi
lea rcx, [rcx + rbx*2]
mov r8, rsi
call qword [sym.imp.MSVCR100.dll_wcsncpy_s]
xor ecx, ecx
inc rdi
cmp word [rsi + rdi*2], cx
jne 0x14002df10
add ebx, edi
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x178]
mov esi, dword [rsp + 0x20]
lea eax, [rbx - 1]
cmp eax, 0x823
ja 0x14002dfc3
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x18]
lea rcx, [rsp + 0x30]
cmp rcx, rax
je 0x14002dfc3
test rax, rax
je 0x14002df63
lea rcx, [rsp + 0x30]
mov rdx, rax
call sub.MSVCR100.dll_wcscmp
test eax, eax
je 0x14002dfc3
cmp ebx, 0x104
ja 0x14002dfc3
lea rdi, [r13 + 0xd0]
lea rdx, [rsp + 0x30]
mov r8d, ebx
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x50]
test eax, eax
jne 0x14002df8e
mov eax, 0x8007000e
jmp 0x14002dfc6
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x18]
mov rcx, rdi
mov rbx, rax
mov rax, qword [rdi]
call qword [rax + 0x30]
mov r9d, esi
mov rdx, rbx
mov r8d, eax
mov rcx, r13
call fcn.14002d0ec
mov r14d, eax
test eax, eax
js 0x14002dfc6
mov rcx, r13
call fcn.14002a8a4
mov eax, r14d
mov rcx, qword [rbp - 0x40]
xor rcx, rsp
call fcn.140015ee0
mov rbx, qword [rsp + 0x10e0]
add rsp, 0x1090
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002dff0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov rbp, rsp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1090
call fcn.1400158ec
sub rsp, rax
mov rax, qword [0x140048b20]
xor rax, rsp
mov qword [rbp - 0x40], rax
lea r14, [rcx + 0xd0]
xor eax, eax
mov r13, rcx
mov r15d, eax
mov rax, qword [r14]
mov rcx, r14
mov r12d, edx
mov dword [rsp + 0x20], edx
call qword [rax + 0x18]
lea rdi, [r13 + 0xd0]
mov rbx, rax
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x30]
mov rcx, rbx
mov edx, eax
call fcn.14002d83c
test eax, eax
je 0x14002e1ea
mov ecx, 0x1c9185
call fcn.14001e6a8
mov r11, qword [r14]
mov rcx, r14
call qword [r11 + 0x18]
lea rdx, [rsp + 0x30]
mov r8d, 0x824
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov esi, eax
test eax, eax
jne 0x14002e15a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14002e1ea
mov rbx, qword [rdi]
mov rcx, rdi
call qword [rbx + 0x30]
mov rcx, rdi
mov edx, eax
call qword [rbx + 0x170]
mov rcx, rdi
mov r12, rax
mov rax, qword [rdi]
call qword [rax + 0x30]
lea r8d, [rsi + 0x5c]
mov rcx, r12
mov edx, eax
call fcn.1400229f8
mov rbx, rax
xor eax, eax
test rbx, rbx
je 0x14002e149
lea rdx, [rsp + 0x30]
mov r8d, 0x824
mov rcx, r12
mov word [rbx], ax
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov esi, eax
mov eax, 0x5c
mov word [rbx], ax
lea eax, [rsi - 1]
cmp eax, 0x823
ja 0x14002e149
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x30]
mov r11d, eax
mov rax, rbx
sub rax, r12
sar rax, 1
sub r11d, eax
lea r12d, [r11 + rsi]
cmp r12d, 0x824
ja 0x14002e146
lea eax, [r11 + 1]
lea rcx, [rsp + 0x30]
mov rdx, rbx
movsxd r8, eax
lea rcx, [rcx + rsi*2]
add r8, r8
call sub.MSVCR100.dll_memcpy
mov esi, r12d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x178]
mov r12d, dword [rsp + 0x20]
lea eax, [rsi - 1]
cmp eax, 0x823
ja 0x14002e1ea
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x18]
lea rcx, [rsp + 0x30]
cmp rcx, rax
je 0x14002e1ea
test rax, rax
je 0x14002e191
lea rcx, [rsp + 0x30]
mov rdx, rax
call sub.MSVCR100.dll_wcscmp
test eax, eax
je 0x14002e1ea
cmp esi, 0x104
ja 0x14002e1ea
mov rax, qword [rdi]
lea rdx, [rsp + 0x30]
mov r8d, esi
mov rcx, rdi
call qword [rax + 0x50]
test eax, eax
jne 0x14002e1b5
mov eax, 0x8007000e
jmp 0x14002e1ed
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x18]
mov rcx, rdi
mov rbx, rax
mov rax, qword [rdi]
call qword [rax + 0x30]
mov r9d, r12d
mov rdx, rbx
mov r8d, eax
mov rcx, r13
call fcn.14002d0ec
mov r15d, eax
test eax, eax
js 0x14002e1ea
mov rcx, r13
call fcn.14002a8a4
mov eax, r15d
mov rcx, qword [rbp - 0x40]
xor rcx, rsp
call fcn.140015ee0
mov rbx, qword [rsp + 0x10e0]
add rsp, 0x1090
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret