Function at 0x140060e80
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov dword [rax + 0x20], r9d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x130
or r15d, 0xffffffff
mov rsi, rdx
xor edx, edx
or ebx, r15d
lea edi, [rdx + 8]
mov eax, r9d
mov r12d, r8d
mov dword [rsp + 0x98], 0x1f4
mov dword [rsp + 0x90], 0x190
mov dword [rsp + 0x88], edi
mov dword [rsp + 0x80], ebx
mov r14d, edx
mov ebp, 0x50000001
mov r13d, 0x88c00000
cmp qword [0x1400ad268], rdx
je 0x140060f47
mov rcx, qword [0x1400ad270]
cmp rcx, rdx
je 0x140060f0e
call qword [sym.imp.GDI32.dll_DeleteObject]
xor edx, edx
mov qword [0x1400ad270], rdx
mov rcx, qword [0x1400ad260]
cmp rcx, rdx
je 0x140060f2a
call qword [sym.imp.GDI32.dll_DeleteObject]
xor r11d, r11d
mov qword [0x1400ad260], r11
mov rcx, qword [0x1400ad268]
call qword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
mov qword [0x1400ad268], rax
mov eax, dword [rsp + 0x178]
mov ecx, 2
cmp eax, ecx
je 0x14006160a
call qword [sym.imp.USER32.dll_GetDesktopWindow]
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
cmp r12d, 3
jb 0x140060f94
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 0x10]
call fcn.140001d20
cmp eax, 0xffffffff
je 0x140060f94
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 0x10]
call fcn.140001d20
mov dword [rsp + 0x98], eax
cmp r12d, 4
jb 0x140060fc0
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx + 0x18]
call fcn.140001d20
cmp eax, 0xffffffff
je 0x140060fc0
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 0x18]
call fcn.140001d20
mov dword [rsp + 0x90], eax
cmp r12d, 5
jb 0x140060fd6
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx + 0x20]
call fcn.140001d20
mov r15d, eax
cmp r12d, 6
jb 0x140060ff2
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx + 0x28]
call fcn.140001d20
mov ebx, eax
mov dword [rsp + 0x80], eax
cmp r12d, 7
jb 0x140061076
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx + 0x30]
call fcn.140001d20
cmp eax, 0xffffffff
je 0x140061076
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 0x30]
call fcn.140001d20
cmp dword [rsp + 0x178], 1
mov r9d, 2
mov r14d, eax
jne 0x14006104a
test dil, al
mov eax, 0x50000002
cmovne ebp, eax
test r14b, 4
je 0x14006104a
movsx ebp, bpl
and ebp, r9d
or ebp, 0xa0000001
shr ebp, 1
test r9b, r14b
mov eax, 0
cmovne edi, eax
test r14b, 1
mov eax, 0x88800000
cmovne r13d, eax
mov dword [rsp + 0x88], edi
test r14b, 0x10
je 0x14006107c
btc r13d, 0x1b
jmp 0x14006107c
mov r9d, 2
mov ecx, dword [rsp + 0x98]
cmp r15d, 0xffffffff
jne 0x140061096
mov eax, dword [rsp + 0x78]
sub eax, ecx
cdq
idiv r9d
mov r15d, eax
mov r8d, dword [rsp + 0x90]
cmp ebx, 0xffffffff
jne 0x1400610b5
mov eax, dword [rsp + 0x7c]
sub eax, r8d
cdq
idiv r9d
mov dword [rsp + 0x80], eax
mov r9d, ecx
mov dword [rsp + 0x20], r8d
lea rcx, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_SetRect]
lea rcx, [rsp + 0x70]
mov r9d, edi
xor r8d, r8d
mov edx, r13d
call qword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov rax, qword [rsi + 8]
mov edi, dword [rsp + 0x7c]
mov ebx, dword [rsp + 0x78]
mov rcx, qword [rax]
sub edi, dword [rsp + 0x74]
sub ebx, dword [rsp + 0x70]
call fcn.140058e00
mov ecx, dword [rsp + 0x88]
mov r8, rax
xor eax, eax
lea rdx, str.AutoIt_v3
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov rax, qword [0x1400ad2a0]
mov r9d, r13d
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_CreateWindowExW]
lea rdx, [rsp + 0x70]
mov rcx, rax
mov qword [0x1400ad268], rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [rsp + 0x78]
mov r13d, dword [rsp + 0x7c]
sub ebx, dword [rsp + 0x70]
sub r13d, dword [rsp + 0x74]
xor r15d, r15d
cmp dword [rsp + 0x178], r15d
jne 0x14006136c
mov rax, qword [0x1400ad268]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], ebx
lea rdx, str.static
mov r9d, 0x5000000e
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov qword [rsp + 0x80], r15
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, qword [rsi + 8]
mov rbp, rax
mov rcx, qword [rcx + 8]
call fcn.140058e00
mov qword [rsp + 0x30], r15
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, rax
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14006160a
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
lea ecx, [r15 + 2]
mov edx, eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea r9, [rsp + 0x178]
mov r8d, ebx
mov rcx, rsi
mov rdx, rax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, [rsp + 0x90]
lea edx, [r15 + 1]
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rcx, qword [rsp + 0x90]
lea r11, [rsp + 0x80]
lea r9, [0x140093280]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r11
call qword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x80]
cmp rcx, r15
je 0x14006160a
mov rax, qword [rcx]
lea rdx, [rsp + 0x88]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rcx, qword [rsp + 0x88]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0x2000
call qword [sym.imp.USER32.dll_CopyImage]
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov r9, qword [rsp + 0x88]
xor r8d, r8d
mov edx, 0x172
mov rcx, rbp
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [rsp + 0x7c]
mov eax, dword [rsp + 0x78]
sub ecx, dword [rsp + 0x74]
mov r11, qword [rsp + 0x88]
sub eax, dword [rsp + 0x70]
mov dword [rsp + 0x30], SafeArrayDestroyDescriptor
mov dword [rsp + 0x28], ecx
xor r9d, r9d
mov rcx, rbp
xor r8d, r8d
xor edx, edx
mov qword [0x1400ad260], r11
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1400615f8
mov rax, qword [rsi + 8]
sub ebx, 0x16
sub r13d, 0x16
mov rcx, qword [rax + 8]
mov dword [rsp + 0x178], ebx
mov edi, listen
call fcn.140058e00
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov r8, rax
mov rax, qword [0x1400ad268]
mov qword [rsp + 0x40], rax
lea eax, [rdi - 1]
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], eax
lea rdx, str.static
mov r9d, ebp
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
lea rcx, [0x14009c2a0]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rbp, rax
call qword [sym.imp.GDI32.dll_CreateDCW]
lea ecx, [rdi + 5]
mov rbx, rax
call qword [sym.imp.GDI32.dll_GetStockObject]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
lea r8, [rsp + 0xa0]
lea edx, [rdi + 0x34]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetTextFaceW]
lea edx, [rdi + 0x4e]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov rcx, rbx
mov r15d, eax
call qword [sym.imp.GDI32.dll_DeleteDC]
cmp r12d, 8
jb 0x14006146a
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx + 0x38]
call fcn.140058e00
mov rcx, rax
call fcn.140018b2c
cmp rax, 1
jb 0x14006146a
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 0x38]
call fcn.140058e00
lea rcx, [rsp + 0xa0]
mov rdx, rax
call fcn.140018120
cmp r12d, 9
jb 0x140061491
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 0x40]
call fcn.140001d20
cmp eax, 6
jl 0x140061491
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 0x40]
call fcn.140001d20
mov edi, eax
cmp r12d, 0xa
jb 0x1400614d2
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx + 0x48]
call fcn.140001d20
xor r11d, r11d
cmp eax, r11d
jl 0x1400614d2
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx + 0x48]
call fcn.140001d20
cmp eax, 0x3e8
jg 0x1400614d2
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 0x48]
call fcn.140001d20
mov r11d, eax
jmp 0x1400614d8
mov r11d, 0x190
mov eax, 0xc71c71c7
imul r15d, edi
xor r9d, r9d
imul r15d
lea rax, [rsp + 0xa0]
xor r8d, r8d
mov qword [rsp + 0x68], rax
xor eax, eax
mov r10d, edx
mov dword [rsp + 0x60], eax
sar r10d, 4
lea r12d, [rax + 2]
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov ecx, r10d
mov dword [rsp + 0x28], eax
xor edx, edx
shr ecx, 0x1f
mov dword [rsp + 0x20], r11d
add ecx, r10d
call qword [sym.imp.GDI32.dll_CreateFontW]
lea r9d, [r12 - 1]
lea edx, [r12 + 0x2e]
mov r8, rax
mov rcx, rbp
mov qword [0x1400ad270], rax
call qword [sym.imp.USER32.dll_SendMessageW]
test r14b, 0x20
je 0x1400615f8
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetDC]
mov rdx, qword [0x1400ad270]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx + 8]
mov rbx, rax
call fcn.140058e00
lea r8, [rsp + 0x98]
mov rcx, rdi
mov rdx, rax
call fcn.140041390
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [rsp + 0x9c]
mov r9d, dword [rsp + 0x178]
sub r13d, ecx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], ecx
mov eax, r13d
mov rcx, rbp
cdq
idiv r12d
lea edx, [r12 + 9]
lea r8d, [rax + 0xb]
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [0x1400ad268]
mov edx, 4
call qword [sym.imp.USER32.dll_ShowWindow]
lea r11, [rsp + 0x130]
xor eax, eax
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret