Function at 0x1005b260
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10157eef
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xdc], 0
push 0
lea eax, [ebp - 0x18]
push eax
push 4
lea ecx, [ebp - 0xdc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
jne 0x1005b2d5
cmp dword [ebp - 0x18], 4
je 0x1005b2d5
jmp 0x1005b77b
cmp dword [ebp - 0xdc], 0
jne 0x1005b2e3
jmp 0x1005b77b
push str.dataLineScreenShot
lea ecx, [ebp - 0x78]
call fcn.10003d50
mov dword [ebp - 4], 0
push 0x10173d9c
lea ecx, [ebp - 0x90]
call fcn.10003d50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.10003f70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.10003f70
mov byte [ebp - 4], 3
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.100754f0
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x1005b39e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10173da4
push 3
push 0x20
push 0x10173dbc
push 0x10173de8
call fcn.10145f00
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.10003e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x90]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10003e00
jmp 0x1005b77b
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x60]
call fcn.10004030
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
call fcn.10001f20
movzx edx, al
test edx, edx
je 0x1005b41f
push str.Line_PicPath_is_empty
push 3
push 0x27
push 0x10173e1c
push 0x10173e48
call fcn.10145f00
add esp, 0x14
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.10003e00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.10003e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x90]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10003e00
jmp 0x1005b77b
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xf8], esp
lea eax, [ebp - 0x60]
push eax
call fcn.10004030
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0xdc]
push ecx
lea ecx, [ebp - 0x12]
call fcn.1005af20
mov dword [ebp - 0xec], eax
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xe4], edx
cmp dword [ebp - 0xe4], 0
jne 0x1005b4d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CaptureMinimizedWindow_Error___d
push 3
push 0x31
push 0x10173e88
push 0x10173eb4
call fcn.10145f00
add esp, 0x18
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.10003e00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.10003e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x90]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10003e00
jmp 0x1005b77b
lea eax, [ebp - 0x48]
push eax
call fcn.100757c0
add esp, 4
movzx ecx, al
mov dword [ebp - 0xe4], ecx
cmp dword [ebp - 0xe4], 0
jne 0x1005b560
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10173ed0
push 3
push 0x37
push 0x10173ee8
push 0x10173f14
call fcn.10145f00
add esp, 0x18
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.10003e00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.10003e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x90]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10003e00
jmp 0x1005b77b
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0xa8]
push eax
call fcn.10075690
add esp, 8
mov byte [ebp - 4], 5
push 0x10173f30
lea ecx, [ebp - 0xc0]
call fcn.10003d50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x120]
push ecx
call fcn.100fd8b0
add esp, 4
mov dword [ebp - 0xe8], eax
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0xf0], edx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa8]
call fcn.10002bf0
push eax
lea ecx, [ebp - 0xc0]
call fcn.10002bf0
push eax
mov ecx, dword [ebp - 0xf0]
call fcn.10002bf0
push eax
push 0x10173f50
lea eax, [ebp - 0xd8]
push eax
call fcn.1007cf90
add esp, 0x14
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x120]
call fcn.10003e00
lea ecx, [ebp - 0x11]
call fcn.100026c0
mov byte [ebp - 4], 0xa
push 0
push 1
push 0
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xfc], esp
push str.LineScreenShot
call fcn.100029e0
mov dword [ebp - 0x104], eax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x11]
call fcn.100776f0
mov byte [ebp - 0xdd], al
movzx ecx, byte [ebp - 0xdd]
mov dword [ebp - 0xe4], ecx
cmp dword [ebp - 0xe4], 0
jne 0x1005b6f8
push str.CameraRecord_PushDb_Error
push 3
push 0x43
push str..._srcMoniterHelperLineShortLineIpc.cpp
push str.LineIpc::NotificationIPC
call fcn.10145f00
add esp, 0x14
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x11]
call fcn.100018d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd8]
call fcn.10003e00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xc0]
call fcn.10003e00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa8]
call fcn.10003e00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.10003e00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.10003e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x90]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10003e00
jmp 0x1005b77b
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x11]
call fcn.100018d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd8]
call fcn.10003e00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xc0]
call fcn.10003e00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa8]
call fcn.10003e00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.10003e00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.10003e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.10003e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x90]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10003e00
xor edx, edx
jne 0x1005b2a2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret 4