joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140010090
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1401c1050]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, r8
lea rdx, [rbp - 0x70]
xor edi, edi
mov r8d, 0x104
mov dword [rsp + 0x60], edi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rdi
lea r8d, [rdi + 1]
lea rdx, [0x140190f1c]
lea rcx, [rsp + 0x40]
movdqu xmmword [rsp + 0x50], xmm0
call fcn.140006890
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.140006480
mov qword [rsp + 0x20], rdi
lea rdx, [0x140190f14]
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
call fcn.140006480
mov qword [rsp + 0x68], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400101b4
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400101af
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400102b9
call fcn.14007c190
mov rdx, qword [rsp + 0x58]
movdqa xmm0, xmmword [0x1401968d0]
mov word [rsp + 0x20], di
movdqu xmmword [rsp + 0x30], xmm0
cmp rdx, 8
jb 0x140010209
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010204
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400102b9
call fcn.14007c190
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140006480
cmp qword [rbp - 0x80], 8
lea rcx, [rsp + 0x68]
lea rdx, [rsp + 0x60]
cmovae rcx, qword [rsp + 0x68]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [rsp + 0x60]
mov rdx, rbx
call fcn.1400102c0
mov ebx, eax
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14001028d
mov rcx, qword [rsp + 0x68]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010288
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400102b3
call fcn.14007c190
mov eax, ebx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14007bb60
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140082b90
int3
call fcn.140082b90
int3
Function at 0x140024a40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov rbx, r8
mov ecx, 0x10
call fcn.14007be20
mov rdi, rax
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
lea r8, [0x140024ae0]
mov r9, rdi
xor edx, edx
movups xmmword [rax], xmm0
mov qword [rdi + 8], rbx
lea rax, [0x140003470]
xor ebx, ebx
mov qword [rdi], rax
mov qword [rsp + 0x28], rbx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x140024ac3
lea edx, [rbx + 0x10]
mov qword [rdi], rbx
mov rcx, rdi
mov qword [rdi + 8], rbx
call fcn.14007c190
xor al, al
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
mov qword [rsi], rax
mov al, 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400282f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x40
mov rdi, rcx
mov ecx, 0x10
call fcn.14007be20
mov rbx, rax
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
xor esi, esi
mov qword [rax], rsi
mov qword [rax + 8], rsi
lea ecx, [rsi + 0x60]
call fcn.14007be20
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x140027a10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 0x2710
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400283ae
mov rdx, qword [rbx]
mov r8, rdx
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.1400066c0
mov rdx, rbx
mov rcx, rbx
call fcn.140006820
mov edx, 0x10
mov rcx, rbx
call fcn.14007c190
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
cmp eax, 0x102
jne 0x140028384
mov rax, qword [0x1401cde08]
test rax, rax
je 0x140028407
lea rdx, str.In_CPUUtils::GetCPUDetails._Timed_out___
mov qword [rsp + 0x28], rdx
lea r8, [0x14018bd54]
mov qword [rsp + 0x20], r8
mov r9, r8
lea r8, str.HardwareUtils
lea rdx, str.OOBEUtils
mov ecx, 0x32
call qword [case.0x14004792d.0]
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [0x1401cde10]
test rcx, rcx
je 0x14002843f
mov rax, qword [rcx]
lea rdx, str.In_CPUUtils::GetCPUDetails._Timed_out___
mov qword [rsp + 0x20], rdx
lea r9, str.HardwareUtils
lea r8, [0x14018bd54]
mov edx, 0x32
mov rax, qword [rax + 0x68]
call qword [case.0x14004792d.0]
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14002c3d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1401c1050]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rdx
lea rax, [rsp + 0x30]
mov edx, ecx
mov qword [rsp + 0x20], rax
mov edi, ecx
xor ebp, ebp
xor ecx, ecx
mov qword [rsp + 0x30], rbp
xor r9d, r9d
xor r8d, r8d
xor sil, sil
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
js 0x14002c4af
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x14002c49f
lea rax, [rsp + 0x40]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], bp
jne 0x14002c442
mov rax, qword [rbx + 0x18]
cmp rdx, rax
ja 0x14002c48f
mov rsi, rbx
cmp rax, 8
jb 0x14002c460
mov rsi, qword [rbx]
lea rdi, [rdx + rdx]
mov qword [rbx + 0x10], rdx
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14007e1c0
mov word [rdi + rsi], bp
mov sil, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x14002c52c
lea r9, [rsp + 0x40]
mov rcx, rbx
call fcn.140006cd0
mov sil, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x14002c52c
lea rax, [rsp + 0x40]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, edi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14002c52c
lea rax, [rsp + 0x40]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], bp
jne 0x14002c4e0
mov rax, qword [rbx + 0x18]
cmp rdx, rax
ja 0x14002c51c
mov rsi, rbx
cmp rax, 8
jb 0x14002c4fe
mov rsi, qword [rbx]
lea rdi, [rdx + rdx]
mov qword [rbx + 0x10], rdx
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14007e1c0
mov word [rdi + rsi], bp
jmp 0x14002c529
lea r9, [rsp + 0x40]
mov rcx, rbx
call fcn.140006cd0
mov sil, 1
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14002c5ba
mov rdi, qword [rbx + 0x18]
mov rax, rbx
cmp rdi, 8
jb 0x14002c549
mov rax, qword [rbx]
cmp word [rax + rcx*2 - 2], 0x5c
jne 0x14002c5ba
lea rdx, [rcx - 1]
cmp rdx, rcx
ja 0x14002c56d
mov qword [rbx + 0x10], rdx
cmp rdi, 8
jb 0x14002c567
mov rbx, qword [rbx]
mov word [rbx + rdx*2], bp
jmp 0x14002c5ba
mov rax, rdi
sub rax, rcx
cmp rax, 0xffffffffffffffff
jb 0x14002c5a0
mov qword [rbx + 0x10], rdx
cmp rdi, 8
jb 0x14002c586
mov rbx, qword [rbx]
lea rdi, [rbx + rcx*2]
movzx eax, bp
movabs rcx, 0x7fffffffffffffff
rep stosw word [rdi], ax
mov word [rbx + rdx*2], bp
jmp 0x14002c5ba
mov r9, 0xffffffffffffffff
mov word [rsp + 0x20], bp
mov rdx, r9
xor r8d, r8d
mov rcx, rbx
call fcn.14002d890
movzx eax, sil
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14007bb60
mov rbx, qword [rsp + 0x290]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002c5f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebp, eax
test eax, eax
je 0x14002c657
lea edx, [rax + 1]
mov rbx, 0xffffffffffffffff
movsxd r8, edx
mov eax, 2
mul r8
cmovo rax, rbx
mov rcx, rax
call fcn.140082c70
mov rdi, rax
test rax, rax
je 0x14002c657
mov rdx, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x14002c670
mov rcx, rdi
call fcn.140082770
xor al, al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14002c670
mov rax, qword [rsi + 0x18]
cmp rbx, rax
ja 0x14002c6b6
mov rbp, rsi
cmp rax, 8
jb 0x14002c68f
mov rbp, qword [rsi]
mov qword [rsi + 0x10], rbx
mov rdx, rdi
add rbx, rbx
mov rcx, rbp
mov r8, rbx
call fcn.14007e1c0
xor eax, eax
mov rcx, rdi
mov word [rbx + rbp], ax
call fcn.140082770
mov al, 1
jmp 0x14002c659
mov r9, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.140006cd0
mov rcx, rdi
call fcn.140082770
mov al, 1
jmp 0x14002c659

Function at 0x14002c6d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1401c1050]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
xor r9d, r9d
lea r8d, [r9 + 0x2b]
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14002c783
lea rax, [rsp + 0x20]
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14002c720
mov rax, qword [rdi + 0x18]
cmp rdx, rax
ja 0x14002c75f
mov rsi, rdi
cmp rax, 8
jb 0x14002c73f
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14007e1c0
xor eax, eax
mov word [rbx + rsi], ax
jmp 0x14002c76c
lea r9, [rsp + 0x20]
mov rcx, rdi
call fcn.140006cd0
mov r8d, 6
lea rdx, str.Adobe
mov rcx, rdi
call fcn.1400065c0
mov al, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14007bb60
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14002c7b0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x1401c1050]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x24]
call fcn.1400243f0
cmp dword [rsp + 0x20], 2
jne 0x14002c7f1
mov rcx, rbx
call fcn.14002c6d0
jmp 0x14002c88e
xor r9d, r9d
lea rdx, [rsp + 0x30]
xor ecx, ecx
lea r8d, [r9 + 0x2c]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14002c88e
lea r8, str.Adobe
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.1400901e8
lea rax, [rsp + 0x30]
mov rdx, 0xffffffffffffffff
nop
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14002c830
mov rax, qword [rbx + 0x18]
cmp rdx, rax
ja 0x14002c87f
mov qword [rsp + 0x268], rdi
mov rdi, rbx
cmp rax, 8
jb 0x14002c857
mov rdi, qword [rbx]
mov qword [rbx + 0x10], rdx
mov rcx, rdi
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x30]
call fcn.14007e1c0
xor eax, eax
mov word [rbx + rdi], ax
mov rdi, qword [rsp + 0x268]
jmp 0x14002c88c
lea r9, [rsp + 0x30]
mov rcx, rbx
call fcn.140006cd0
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14007bb60
add rsp, 0x250
pop rbx
ret

Function at 0x14002c8b0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1401c1050]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor r9d, r9d
lea rdx, [rsp + 0x20]
mov rbx, rcx
xor ecx, ecx
lea r8d, [r9 + 0x2c]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14002c96e
lea r8, str.Adobe
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.1400901e8
lea rax, [rsp + 0x20]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14002c910
mov rax, qword [rbx + 0x18]
cmp rdx, rax
ja 0x14002c95f
mov qword [rsp + 0x258], rdi
mov rdi, rbx
cmp rax, 8
jb 0x14002c937
mov rdi, qword [rbx]
mov qword [rbx + 0x10], rdx
mov rcx, rdi
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.14007e1c0
xor eax, eax
mov word [rbx + rdi], ax
mov rdi, qword [rsp + 0x258]
jmp 0x14002c96c
lea r9, [rsp + 0x20]
mov rcx, rbx
call fcn.140006cd0
mov al, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14007bb60
add rsp, 0x240
pop rbx
ret
Function at 0x14002c990
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1401c1050]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor r9d, r9d
lea rdx, [rsp + 0x20]
mov rbx, rcx
xor ecx, ecx
lea r8d, [r9 + 0x1c]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14002ca4e
lea r8, str.Adobe
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.1400901e8
lea rax, [rsp + 0x20]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14002c9f0
mov rax, qword [rbx + 0x18]
cmp rdx, rax
ja 0x14002ca3f
mov qword [rsp + 0x258], rdi
mov rdi, rbx
cmp rax, 8
jb 0x14002ca17
mov rdi, qword [rbx]
mov qword [rbx + 0x10], rdx
mov rcx, rdi
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.14007e1c0
xor eax, eax
mov word [rbx + rdi], ax
mov rdi, qword [rsp + 0x258]
jmp 0x14002ca4c
lea r9, [rsp + 0x20]
mov rcx, rbx
call fcn.140006cd0
mov al, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14007bb60
add rsp, 0x240
pop rbx
ret

Function at 0x14002ca70
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1401c1050]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
xor r9d, r9d
lea r8d, [r9 + 0x26]
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14002cb23
lea rax, [rsp + 0x20]
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14002cac0
mov rax, qword [rdi + 0x18]
cmp rdx, rax
ja 0x14002caff
mov rsi, rdi
cmp rax, 8
jb 0x14002cadf
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14007e1c0
xor eax, eax
mov word [rbx + rsi], ax
jmp 0x14002cb0c
lea r9, [rsp + 0x20]
mov rcx, rdi
call fcn.140006cd0
mov r8d, 0x1b
lea rdx, str.AdobeAdobe_Creative_Cloud
mov rcx, rdi
call fcn.1400065c0
mov al, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14007bb60
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14002d270
Capabilities:
Check if file exists
Create directory

Disassembly:
push rbx
sub rsp, 0x40
cmp qword [rcx + 0x18], 8
mov rbx, rcx
jb 0x14002d283
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov rcx, qword [rbx + 0x18]
test eax, eax
je 0x14002d2ae
cmp rcx, 8
jb 0x14002d29a
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
setne al
add rsp, 0x40
pop rbx
ret
cmp rcx, 8
jb 0x14002d2b7
mov rbx, qword [rbx]
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ebx, eax
test eax, eax
je 0x14002d35a
mov rax, qword [0x1401cde08]
test rax, rax
je 0x14002d31e
lea r8, [0x14018bd54]
mov dword [rsp + 0x30], ebx
lea rdx, [0x140192d10]
mov r9, r8
mov qword [rsp + 0x28], rdx
mov ecx, 0x32
mov qword [rsp + 0x20], r8
lea rdx, str.OOBEUtils
lea r8, str.FileUtils
call qword [case.0x14004792d.0]
test ebx, ebx
sete al
add rsp, 0x40
pop rbx
ret
mov rcx, qword [0x1401cde10]
test rcx, rcx
je 0x14002d35a
mov rax, qword [rcx]
lea rdx, [0x140192d10]
mov dword [rsp + 0x28], ebx
lea r9, str.FileUtils
mov qword [rsp + 0x20], rdx
lea r8, [0x14018bd54]
mov edx, 0x32
mov rax, qword [rax + 0x68]
call qword [case.0x14004792d.0]
test ebx, ebx
sete al
add rsp, 0x40
pop rbx
ret
Function at 0x14002d5c0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x1401c1050]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r14, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor bpl, bpl
xor r15d, r15d
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x54], r15d
mov qword [rsp + 0x40], r15
cmp qword [rcx + 0x18], 8
jb 0x14002d60f
mov rcx, qword [rcx]
lea rdx, [rsp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.14007e870
test esi, esi
je 0x14002d6e1
mov ecx, esi
call fcn.14007c470
mov rdi, rax
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14002d64d
mov rcx, qword [rbx]
mov r9, rdi
mov r8d, esi
mov edx, dword [rsp + 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14002d6d8
lea r9, [rsp + 0x54]
lea r8, [rsp + 0x40]
lea rdx, [0x140191dc0]
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14002d6d8
cmp dword [rsp + 0x54], r15d
je 0x14002d6d8
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0xfeef04bd
jne 0x14002d6d8
movzx r9d, word [rax + 0xa]
movzx r8d, word [rax + 8]
movzx edx, word [rax + 0xe]
movzx eax, word [rax + 0xc]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
lea r8, str._d._d._d._d
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.14002c370
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.140006390
mov bpl, 1
mov rcx, rdi
call fcn.14007c190
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14002d71c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14002d717
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002d757
mov rcx, r8
call fcn.14007c190
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
movzx eax, bpl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14007bb60
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x280
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140082b90
int3
Function at 0x140037eb0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1401c1050]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor ebp, ebp
mov rsi, rdx
cmp dword [rcx + 0xc8], 1
mov rdi, rcx
jne 0x140037f65
lea rdx, [rcx + 0x68]
mov word [rsp + 0x48], bp
cmp qword [rdx + 0x18], 8
mov qword [rsp + 0x40], rbp
jb 0x140037ef8
mov rdx, qword [rdx]
lea r8, str.rb__ccsUTF_8
lea rcx, [rsp + 0x40]
call fcn.14008ffc8
mov r9, qword [rsp + 0x40]
test r9, r9
je 0x140037f65
mov edx, 1
lea rcx, [rsp + 0x48]
lea r8d, [rdx + 1]
call fcn.140091ef0
mov rcx, qword [rsp + 0x40]
call fcn.140090150
movzx eax, word [rsp + 0x48]
movzx ecx, byte [rsp + 0x49]
cmp al, 0xff
jne 0x140037f43
cmp cl, 0xfe
je 0x140037f65
cmp cl, 0xff
jne 0x140037f4c
cmp al, 0xfe
je 0x140037f65
mov rcx, qword [rsi]
test rcx, rcx
je 0x140037f5d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi], rbp
mov rcx, rdi
call fcn.14003ad20
lea rbx, [rdi + 0x68]
mov r8b, 1
mov rcx, rbx
call fcn.1400421a0
test eax, eax
je 0x140037f98
cmp eax, 1
jne 0x140038016
mov rcx, rbx
call fcn.14002d370
test al, al
je 0x140038016
mov qword [rsi], 0xffffffffffffffff
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x140037fa5
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x200080
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsi], rax
cmp rax, 0xffffffffffffffff
jne 0x140038064
cmp qword [rbx + 0x18], 8
jb 0x140037fe3
mov rbx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x200080
mov edx, 0x40000000
mov rcx, rbx
mov dword [rsp + 0x20], 1
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsi], rax
cmp rax, 0xffffffffffffffff
jne 0x14003801a
xor al, al
jmp 0x140038066
cmp dword [rdi + 0xc8], 1
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
jne 0x140038044
mov ecx, 0xfeff
lea rdx, [rsp + 0x48]
mov word [rsp + 0x48], cx
mov r8d, 2
jmp 0x14003805b
mov word [rsp + 0x48], 0xbbef
lea rdx, [rsp + 0x48]
mov byte [rsp + 0x4a], 0xbf
mov r8d, 3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov al, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14007bb60
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400386c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401c1050]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rdx
mov rsi, rcx
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
cmp word [rdx + rbx*2 + 2], 0
lea rbx, [rbx + 1]
jne 0x1400386f0
mov rcx, qword [rcx + 0x90]
mov r9d, 2
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [rsi + 0x90]
lea r8d, [rbx + rbx]
xor ebp, ebp
lea r9, [rsp + 0x30]
mov rdx, rdi
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsi + 0x90]
lea r9, [rsp + 0x30]
lea r8d, [rbp + 4]
mov dword [rsp + 0x30], ebp
lea rdx, [0x140193414]
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14007bb60
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x140038780
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401c1050]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rdx
mov rsi, rcx
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x1400387b0
mov rcx, qword [rcx + 0x90]
mov r9d, 2
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [rsi + 0x90]
lea r9, [rsp + 0x30]
xor ebp, ebp
mov r8d, ebx
mov rdx, rdi
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsi + 0x90]
lea r9, [rsp + 0x30]
lea r8d, [rbp + 2]
mov dword [rsp + 0x30], ebp
lea rdx, [0x14019344c]
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14007bb60
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret