joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013f20
Capabilities:
Get graphical window text

Disassembly:
cmp r8d, 5
jl 0x1400140b1
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, r9
mov rbx, rdx
xor r8d, r8d
xor r9d, r9d
mov edx, 0x62b
mov rdi, rcx
call qword [sym.imp.USER32.dll_GetDlgItemInt]
mov r9d, 1
xor r8d, r8d
mov edx, 0x62f
mov rcx, rdi
mov dword [rbx], eax
call qword [sym.imp.USER32.dll_GetDlgItemInt]
mov edx, 0xbd9
mov rcx, rdi
mov dword [rbx + 4], eax
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov edx, 0x601
mov rcx, rdi
mov dword [rbx + 0xc], 1
mov dword [rbx + 8], eax
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 1
jne 0x140013fa1
mov dword [rbx + 0xc], 2
mov edx, 0x600
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 1
jne 0x140013fbb
mov dword [rbx + 0xc], 3
mov edx, 0xcbe
mov rcx, rdi
mov dword [rbx + 0x10], 0
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 1
jne 0x140013fd8
mov dword [rbx + 0x10], eax
mov edx, 0xcbd
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 1
jne 0x140013ff2
mov dword [rbx + 0x10], 2
mov edx, 0x60c
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, qword [rsi]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov r8, qword [rsi + 8]
mov r9d, 0x40
mov edx, 0xc17
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
mov r8, qword [rsi + 0x10]
mov r9d, 0x40
mov edx, 0xc18
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
mov r8, qword [rsi + 0x18]
mov r9d, 0x40
mov edx, 0xc19
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
mov r8, qword [rsi + 0x20]
mov r9d, 0x40
mov edx, 0xc1a
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
mov r8, qword [rsi + 0x28]
mov r9d, 0x40
mov edx, 0xc1b
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
mov r8, qword [rsi + 0x30]
mov r9d, 0x40
mov edx, 0xc1c
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140014ea0
Capabilities:
Read .ini file

Disassembly:
push r12
push r14
push r15
sub rsp, 0x190
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor r12d, r12d
xor edx, edx
mov r8d, 0x80
mov r14d, r12d
mov r15, rcx
call fcn.1400f9ab0
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0xc0
call fcn.1400f9ab0
lea rax, [0x140208860]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r8, [0x140181e34]
lea rdx, str.AdvOptionsOrder
lea rcx, str.Batch
mov dword [rsp + 0x20], 0x60
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r12w
jne 0x140014f24
mov qword [rsp + 0x1b8], rbx
mov qword [rsp + 0x1c0], rbp
mov qword [rsp + 0x188], rsi
mov qword [rsp + 0x180], rdi
test rax, rax
je 0x140015033
cmp word [rsp + rax*2 + 0x2e], 0x2c
je 0x140014f8e
lea rcx, [rsp + 0x30]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], r12w
lea rcx, [rcx + 2]
jne 0x140014f70
mov eax, dword [0x1401832d8]
mov dword [rcx], eax
movzx eax, word [0x1401832dc]
mov word [rcx + 4], ax
mov ebp, r12d
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], bp
jne 0x140014fa0
test eax, eax
jle 0x140015033
mov rbx, r12
mov rdi, r12
lea rsi, [rsp + 0x30]
nop dword [rax]
cmp rdi, 0x20
jge 0x140015033
movzx eax, word [rsi]
cmp ax, 0x2c
jne 0x140015005
add rbx, rbx
cmp rbx, 0x80
jae 0x140015074
mov word [rsp + rbx + 0xf0], r12w
lea rcx, [rsp + 0xf0]
mov rbx, r12
call fcn.1400fa308
inc r14d
inc rdi
mov dword [r15 + rdi*4 - 4], eax
jmp 0x140015016
cmp rbx, 5
jge 0x140015016
mov word [rsp + rbx*2 + 0xf0], ax
inc rbx
inc ebp
add rsi, 2
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r12w
jne 0x140015025
cmp ebp, eax
jl 0x140014fc0
mov rdi, qword [rsp + 0x180]
mov rsi, qword [rsp + 0x188]
mov rbp, qword [rsp + 0x1c0]
mov rbx, qword [rsp + 0x1b8]
mov eax, r14d
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400f9a80
add rsp, 0x190
pop r15
pop r14
pop r12
ret
call fcn.1400f8f44
int3
Function at 0x140015a10
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x460
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rbx, rcx
lea rdi, [0x140208860]
lea r9, [rsp + 0x240]
lea r8, [0x140181e34]
lea rdx, str.RenameSearch
lea rcx, str.Batch
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea r9, [rsp + 0x30]
lea r8, [0x140181e34]
lea rdx, str.RenameReplace
lea rcx, str.Batch
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x240]
mov rcx, rbx
call fcn.140015bb0
lea r9, [rsp + 0x240]
lea r8, [0x140181e34]
lea rdx, str.RenameSearch2
lea rcx, str.Batch
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea r9, [rsp + 0x30]
lea r8, [0x140181e34]
lea rdx, str.RenameReplace2
lea rcx, str.Batch
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x240]
mov rcx, rbx
call fcn.140015bb0
lea r9, [rsp + 0x240]
lea r8, [0x140181e34]
lea rdx, str.RenameSearch3
lea rcx, str.Batch
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea r9, [rsp + 0x30]
lea r8, [0x140181e34]
lea rdx, str.RenameReplace3
lea rcx, str.Batch
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x240]
mov rcx, rbx
call fcn.140015bb0
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400f9a80
mov rbx, qword [rsp + 0x478]
add rsp, 0x460
pop rdi
ret
Function at 0x140019820
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdx, [rsp + 0x30]
mov r8d, 0x80
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea r8, [0x140182e84]
lea rcx, [rsp + 0x30]
mov edx, 0x80
call fcn.1400e4ab0
lea r8, [rsp + 0x1b0]
lea rcx, [rsp + 0x30]
mov r9d, 0x2f
xor edx, edx
mov dword [rsp + 0x20], 0x40
call fcn.1400ec2b0
mov r9d, 0x2f
lea r8, [rsp + 0x130]
lea rcx, [rsp + 0x30]
lea edx, [r9 - 0x2e]
mov dword [rsp + 0x20], 0x40
call fcn.1400ec2b0
lea r9, [rsp + 0x1b0]
lea r8, [rsp + 0x130]
lea rdx, [0x140182e88]
lea rcx, [rsp + 0x30]
call fcn.1400f98c8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400f9a80
add rsp, 0x240
pop rbx
ret
Function at 0x14001a480
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x20
cmp dword [rdx + 8], 0x18
mov esi, r9d
mov rbx, r8
mov rbp, rdx
mov r14, rcx
je 0x14001a550
xor r8d, r8d
cmp dword [rdx + 0xc], r8d
je 0x14001a4e7
mov edx, dword [rdx + 0x10]
add edx, 0xe
call fcn.1400fad50
cmp dword [rbp + 0x18], esi
lea rcx, [rbx + 0x28]
cmovl esi, dword [rbp + 0x18]
mov r9, r14
mov r8d, 1
lea eax, [rsi*4]
movsxd rdx, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rsi
pop rbp
jmp fcn.1400fabdc
mov edx, 0x1a
mov qword [rsp + 0x40], rdi
call fcn.1400fad50
xor edi, edi
add rbx, 0x29
nop dword [rax]
mov ecx, dword [rbp + 8]
mov edx, 1
mov eax, esi
shl edx, cl
cmp edx, esi
cmovl eax, edx
cmp edi, eax
jge 0x14001a54b
mov edx, 3
lea rcx, [rsp + 0x48]
mov r9, r14
lea r8d, [rdx - 2]
call fcn.1400fabdc
movzx eax, byte [rsp + 0x48]
inc edi
mov byte [rbx - 1], al
movzx eax, byte [rsp + 0x49]
add rbx, 4
mov byte [rbx - 4], al
movzx eax, byte [rsp + 0x4a]
mov byte [rbx - 3], al
jmp 0x14001a500
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rsi
pop rbp
ret
Function at 0x14001ae20
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push r13
sub rsp, 0x158
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rsp + 0x130], rax
xor r13d, r13d
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test r8, r8
je 0x14001ae54
mov word [r8], r13w
test rdx, rdx
jne 0x14001ae60
xor eax, eax
jmp 0x14001b03a
mov rcx, rdx
mov qword [rsp + 0x198], rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdi, rax
test rax, rax
je 0x14001b032
movzx edx, word [rax + 0xe]
mov eax, dword [rax + 4]
mov qword [rsp + 0x150], r12
imul eax, edx
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
movsxd r12, eax
test eax, eax
jg 0x14001aeb5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
jmp 0x14001b02a
lea rdx, [0x140183390]
mov rcx, rbp
mov qword [rsp + 0x148], r14
call fcn.1400fafe4
mov r14, rax
test rax, rax
jne 0x14001af14
test rbx, rbx
je 0x14001af04
mov rcx, qword [0x1401fbba0]
lea r9d, [rax + 0x40]
lea r8, [rsp + 0x30]
mov edx, 0x4e71
call qword [sym.imp.USER32.dll_LoadStringW]
lea rdx, [rsp + 0x30]
mov r8, rbp
mov rcx, rbx
call fcn.1400f98c8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
jmp 0x14001b022
movss xmm1, dword [0x1401833a0]
movss xmm2, dword [0x14018334c]
movss xmm3, dword [0x140183338]
mov ebp, dword [rdi + 0x1c]
mov qword [rsp + 0x140], r15
mov r15d, dword [rdi + 0x18]
movd xmm0, r15d
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
divss xmm0, xmm2
addss xmm0, xmm3
cmp r15d, 5
jge 0x14001af58
xorps xmm0, xmm0
cvttss2si eax, xmm0
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
mov dword [rdi + 0x18], eax
mulss xmm0, xmm1
divss xmm0, xmm2
addss xmm0, xmm3
cmp ebp, 5
jge 0x14001af7a
xorps xmm0, xmm0
movzx ecx, word [rdi + 0xe]
cvttss2si eax, xmm0
mov dword [rdi + 0x1c], eax
cmp cx, 8
ja 0x14001af97
mov edx, 1
shl edx, cl
shl edx, 2
jmp 0x14001af9a
mov edx, r13d
mov dword [rsp + 0x26], r13d
mov eax, 0x4d42
mov r9, r14
mov word [rsp + 0x20], ax
mov ecx, dword [rdi]
movsxd rax, edx
add ecx, 0xe
add ecx, edx
mov edx, 1
mov dword [rsp + 0x2a], ecx
movsxd rbx, dword [rdi + 8]
lea r8d, [rdx + 0xd]
lea rcx, [rsp + 0x20]
imul rbx, r12
add rbx, rax
lea eax, [rbx + 0x36]
mov dword [rsp + 0x22], eax
mov eax, dword [rdi + 8]
imul eax, r12d
mov dword [rdi + 0x14], eax
call fcn.1400faf54
lea r8, [rbx + 0x28]
mov r9, r14
mov edx, 1
mov rcx, rdi
call fcn.1400faf54
mov rcx, r14
call fcn.1400fa904
mov rcx, rsi
mov dword [rdi + 0x18], r15d
mov dword [rdi + 0x1c], ebp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov r15, qword [rsp + 0x140]
mov eax, 1
mov r14, qword [rsp + 0x148]
mov r12, qword [rsp + 0x150]
mov rdi, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400f9a80
add rsp, 0x158
pop r13
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001b060
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 8], rax
jb 0x14001b0db
mov rcx, rdx
call fcn.1400fa96c
test eax, eax
je 0x14001b0a1
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rbx]
xor edx, edx
mov r8d, 0x8000
mov qword [rbx + 8], 0
call fcn.1400f9ab0
mov rcx, qword [rbx]
mov r9, rdi
mov edx, 1
mov r8d, 0x8000
call fcn.1400fabdc
movsxd rcx, eax
mov qword [rbx + 0x10], rcx
cmp ecx, 0
jle 0x14001b08e
test esi, esi
je 0x14001b101
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
movzx eax, byte [rax + rcx]
inc rcx
mov qword [rbx + 8], rcx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov rsi, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14001b120
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov r9, rcx
mov edx, 1
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x20], 0
mov r8d, edx
mov byte [rsp + 0x58], 0
call fcn.1400fabdc
mov edx, 1
lea rcx, [rsp + 0x58]
mov r8d, edx
mov r9, rbx
call fcn.1400fabdc
mov edx, 1
lea rcx, [rsp + 0x50]
mov r8d, edx
mov r9, rbx
mov byte [rsp + 0x50], 0
mov byte [rsp + 0x48], 0
call fcn.1400fabdc
mov edx, 1
lea rcx, [rsp + 0x48]
mov r8d, edx
mov r9, rbx
call fcn.1400fabdc
movzx edx, byte [rsp + 0x48]
movzx ecx, byte [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov r9d, 0x100
mov eax, 1
imul dx, r9w
add dx, cx
movzx ecx, byte [rsp + 0x20]
movzx r8d, dx
movzx edx, byte [rsp + 0x58]
shl r8d, 0x10
imul dx, r9w
add dx, cx
movzx ecx, dx
add r8d, ecx
mov dword [rdi], r8d
add rsp, 0x30
pop rdi
ret

Function at 0x14001c780
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
lea r9, [rsp + 0x50]
lea rdx, [rsp + 0x48]
mov r8d, 2
mov rbx, rcx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14001c7b5
or eax, 0xffffffff
add rsp, 0x30
pop rbx
ret
cmp dword [rsp + 0x50], 2
jne 0x14001c7ac
cmp word [rsp + 0x48], 0
jne 0x14001c7ac
lea r9, [rsp + 0x50]
lea rdx, [rsp + 0x48]
mov r8d, 2
mov rcx, rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001c7ac
cmp dword [rsp + 0x50], 2
jne 0x14001c7ac
movzx eax, word [rsp + 0x48]
dec ax
cmp ax, 1
ja 0x14001c7ac
lea r9, [rsp + 0x50]
lea rdx, [rsp + 0x48]
mov r8d, 2
mov rcx, rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001c7ac
cmp dword [rsp + 0x50], 2
jne 0x14001c7ac
movzx eax, word [rsp + 0x48]
add rsp, 0x30
pop rbx
ret
Function at 0x14001cd80
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
sub rsp, 0x168
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor r12d, r12d
mov rdi, rdx
xor r9d, r9d
mov qword [rsp + 0x30], r12
lea r8d, [r12 + 1]
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov rbx, rcx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001ce0c
mov rcx, qword [0x1401fbba0]
lea r9d, [r12 + 0x40]
lea r8, [rsp + 0x50]
mov edx, 0x4e70
call qword [sym.imp.USER32.dll_LoadStringW]
lea rdx, [rsp + 0x50]
mov r8, rbx
mov rcx, rdi
call fcn.1400f98c8
xor eax, eax
jmp 0x14001cfc9
mov ecx, 0x4c
call fcn.1400fa250
mov rcx, rsi
mov rdi, rax
test rax, rax
je 0x14001ce35
mov qword [rax + 8], r12
call fcn.14001c780
mov ebx, eax
mov dword [rdi], ebx
test eax, eax
jne 0x14001ce42
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14001cfc9
lea ecx, [rbx - 1]
imul rdx, rcx, 0x38
mov rcx, rdi
add rdx, 0x4c
call fcn.1400fb6c0
mov rdi, rax
test rax, rax
je 0x14001ce32
mov rcx, rbx
mov qword [rsp + 0x160], r15
mov qword [rax + 8], r12
shl rcx, 4
mov dword [rax], ebx
call fcn.1400fa250
mov rcx, rsi
mov r15, rax
test rax, rax
je 0x14001ceb3
shl ebx, 4
lea r9, [rsp + 0x40]
mov rdx, rax
mov r8d, ebx
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001ceb0
mov edx, dword [rdi]
mov eax, dword [rsp + 0x40]
mov ecx, edx
shl rcx, 4
cmp rax, rcx
je 0x14001cec8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.1400f97e8
xor eax, eax
jmp 0x14001cfc1
mov qword [rsp + 0x1a0], rbp
mov qword [rsp + 0x1a8], r14
mov ebp, r12d
test edx, edx
jle 0x14001cf9d
lea rbx, [r15 + 8]
lea r14, [rdi + 0x2c]
nop dword [rax + rax]
mov eax, dword [rbx]
test eax, eax
je 0x14001cfe6
cmp eax, 0x64
jb 0x14001cfe6
lea ecx, [rax + 0x400]
call fcn.1400fa250
mov qword [r14 - 8], rax
test rax, rax
je 0x14001cfe6
mov ecx, dword [rbx]
mov dword [r14], ecx
mov eax, dword [rbx + 4]
cmp ecx, 0x17d78400
mov dword [r14 + 4], eax
mov rcx, rsi
ja 0x14001cfe9
mov edx, dword [rbx + 4]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, rsi
cmp eax, 0xffffffff
je 0x14001cfe9
mov r8d, dword [rbx]
mov rdx, qword [r14 - 8]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001cfe6
mov edx, dword [rbx]
cmp dword [rsp + 0x40], edx
jne 0x14001cfe6
movsxd rax, ebp
imul rcx, rax, 0x38
add rcx, 0x14
add rcx, rdi
call fcn.14001b1f0
test eax, eax
je 0x14001cfe6
inc ebp
add r14, 0x38
add rbx, 0x10
cmp ebp, dword [rdi]
jl 0x14001cef0
mov rcx, r15
call fcn.1400f97e8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov r14, qword [rsp + 0x1a8]
mov rbp, qword [rsp + 0x1a0]
mov r15, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400f9a80
add rsp, 0x168
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.1400f97e8
mov rcx, r15
call fcn.1400f97e8
xor eax, eax
jmp 0x14001cfb1
Function at 0x14001d220
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov esi, edx
lea r9, [rsp + 0x58]
lea rdx, [rsp + 0x50]
lea r8d, [rbx + 2]
mov rdi, rcx
mov word [rsp + 0x50], bx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14001d26a
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rsp + 0x58], 2
jne 0x14001d258
mov eax, 1
lea r9, [rsp + 0x58]
lea rdx, [rsp + 0x50]
lea r8d, [rax + 1]
mov rcx, rdi
mov qword [rsp + 0x20], rbx
mov word [rsp + 0x50], ax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001d258
cmp dword [rsp + 0x58], 2
jne 0x14001d258
lea r9, [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov r8d, 2
mov rcx, rdi
mov word [rsp + 0x50], si
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001d258
cmp dword [rsp + 0x58], 2
mov rsi, qword [rsp + 0x48]
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14001d2f0
Capabilities:
Write file on windows

Disassembly:
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, rdx
mov rdi, rcx
xor r15d, r15d
mov qword [rsp + 0x30], r15
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14001d35b
mov edx, dword [rdi]
mov rcx, rax
call fcn.14001d220
test eax, eax
jne 0x14001d362
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14001d4ba
mov edx, dword [rdi]
mov qword [rsp + 0xa0], rbx
mov ebx, r15d
test edx, edx
je 0x14001d440
nop word [rax + rax]
mov r8d, ebx
mov byte [rsp + 0x4b], r15b
imul r10, r8, 0x38
add r10, rdi
movzx eax, byte [r10 + 0x14]
mov byte [rsp + 0x48], al
movzx eax, byte [r10 + 0x18]
mov byte [rsp + 0x49], al
mov rax, qword [r10 + 0x34]
movzx ecx, word [rax + 0xc]
mov word [rsp + 0x4c], cx
movzx eax, word [rax + 0xe]
mov r9d, eax
mov word [rsp + 0x4e], ax
imul r9d, ecx
cmp r9d, 8
jl 0x14001d3cb
mov byte [rsp + 0x4a], r15b
jmp 0x14001d3d9
mov ecx, r9d
mov eax, 1
shl al, cl
mov byte [rsp + 0x4a], al
mov eax, dword [r10 + 0x2c]
shl rdx, 4
add rdx, 6
mov dword [rsp + 0x50], eax
test ebx, ebx
je 0x14001d3ff
lea rax, [rdi + 0x2c]
mov ecx, dword [rax]
lea rax, [rax + 0x38]
add rdx, rcx
dec r8
jne 0x14001d3f1
mov dword [rsp + 0x54], edx
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov r8d, InitCommonControls
mov rcx, r14
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001d4d1
cmp dword [rsp + 0x40], 0x10
jne 0x14001d4d1
mov edx, dword [rdi]
inc ebx
cmp ebx, edx
jb 0x14001d380
mov ebx, r15d
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x60], rsi
cmp dword [rdi], ebx
jbe 0x14001d49a
mov eax, ebx
lea r9, [rsp + 0x40]
mov rcx, r14
mov qword [rsp + 0x20], r15
imul rsi, rax, 0x38
add rsi, rdi
mov rax, qword [rsi + 0x34]
mov ebp, dword [rax + 0x14]
mov dword [rax + 0x14], r15d
mov r8d, dword [rsi + 0x2c]
mov rdx, qword [rsi + 0x24]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001d4d5
mov eax, dword [rsi + 0x2c]
cmp dword [rsp + 0x40], eax
jne 0x14001d4d5
mov rax, qword [rsi + 0x34]
inc ebx
mov dword [rax + 0x14], ebp
cmp ebx, dword [rdi]
jb 0x14001d451
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400f9a80
add rsp, 0x70
pop r15
pop r14
pop rdi
ret
xor eax, eax
jmp 0x14001d4b2
xor eax, eax
jmp 0x14001d4a8
Function at 0x14001e0c0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x30
mov esi, edx
mov rbp, rcx
mov edx, 2
mov ecx, 0x8000
call fcn.1400f97a4
mov rbx, rax
test rax, rax
je 0x14001e164
mov qword [rsp + 0x40], rdi
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
cmp esi, 1
jne 0x14001e127
lea rdx, str._file
call fcn.1400f9d68
lea r8d, [rdi + 6]
mov r9d, 0x8000
mov rdx, rbx
mov rcx, rax
mov dword [rsp + 0x20], edi
call fcn.14001dec0
jmp 0x14001e141
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbx
mov dword [rsp + 0x20], edi
call fcn.14001dec0
mov edi, 1
xor r9d, r9d
mov rdx, rbp
mov rcx, rbx
lea r8d, [r9 + 1]
mov dword [rsp + 0x20], edi
call fcn.1400b30f0
mov rcx, rbx
call fcn.1400f97e8
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret

Function at 0x14001e710
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x470
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov r13, qword [rsp + 0x4d0]
mov rbp, qword [rsp + 0x4d8]
mov r12, qword [rsp + 0x4e0]
mov r15, r9
mov r14, r8
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, str._display
mov rcx, rax
call fcn.1400f9d68
test rax, rax
je 0x14001e899
lea rdx, [rsp + 0x30]
mov r9d, 0x104
mov r8d, 0xa
mov rcx, rax
mov qword [rsp + 0x468], rbx
mov dword [rsp + 0x20], 1
call fcn.14001dec0
mov edx, 0x2c
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x50]
call fcn.1400ef610
mov edx, 0x29
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x53]
call fcn.1400ef610
xor ebx, ebx
lea rcx, [rsp + 0x30]
lea edx, [rbx + 0x7c]
call fcn.1400e8af0
test eax, eax
jle 0x14001e88c
nop dword [rax]
lea r8, [rsp + 0x240]
lea rcx, [rsp + 0x30]
mov r9d, 0x7c
mov edx, ebx
mov dword [rsp + 0x20], 0x104
call fcn.1400ec2b0
lea rcx, [rsp + 0x240]
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x14001e810
test rax, rax
je case.default.0x14001e846
lea rcx, [rsp + 0x240]
call fcn.1400fa308
cmp ebx, 6
ja case.default.0x14001e846
lea r8, [0x140000000]
movsxd rcx, ebx
mov edx, dword [r8 + rcx*4 + 0x1e8bc]
add rdx, r8
jmp rdx
mov dword [rdi], eax
jmp case.default.0x14001e846
mov dword [rsi], eax
jmp case.default.0x14001e846
mov dword [r14], eax
jmp case.default.0x14001e846
mov dword [r15], eax
jmp case.default.0x14001e846
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [r13], xmm0
jmp case.default.0x14001e846
mov dword [rbp], eax
jmp case.default.0x14001e846
mov dword [r12], eax
lea rcx, [rsp + 0x30]
mov edx, 0x7c
inc ebx
call fcn.1400e8af0
cmp ebx, eax
jl 0x14001e7e0
mov rbx, qword [rsp + 0x468]
mov eax, 1
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400f9a80
add rsp, 0x470
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret