Function at 0x525840
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x59f365
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6a3b20]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp byte [0x6a4ff5], bl
je 0x5258c4
push str.default
push str.void___thiscall_FAV::CaptureTask::run_void_
push 0x3b
push str..._favVideoCapture.cpp
lea ecx, [esp + 0x6c]
call dword [0x5a7720]
push esi
lea eax, [esp + 0x60]
push str.app_is_dieing._cancel_capture_task__p
push eax
call fcn.0051a710
add esp, 0xc
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
fldz
lea edx, [esp + 0xa4]
push edx
fst qword [esp + 0xa8]
lea eax, [esp + 0x80]
fst qword [esp + 0xb0]
push eax
fst qword [esp + 0xbc]
push 5
fstp qword [esp + 0xc8]
lea edx, [esp + 0x58]
or edi, 0xffffffff
lea ecx, [esi + 0x24]
push edx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
call fcn.0052fde0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x100], ebx
call dword [0x5a8020]
test al, al
je 0x525960
push str.default
push str.void___thiscall_FAV::CaptureTask::run_void_
push 0x45
push str..._favVideoCapture.cpp
lea ecx, [esp + 0x6c]
call dword [0x5a7720]
lea eax, [esp + 0x5c]
push str.Failed_to_convert_to_QImage
push eax
call fcn.0051b280
add esp, 8
mov dword [esp + 0x100], edi
jmp 0x5261ab
xor edx, edx
xor edi, edi
push edi
push edx
push edx
push edx
push edx
push edx
push edx
push edx
push edx
push edx
push edx
push edx
push edx
push edx
mov edi, dword [0x5a7c24]
push edx
push edx
push edx
push edx
mov ecx, str.QImage
push ecx
lea eax, [esp + 0x98]
push eax
push ebx
xor eax, eax
push eax
mov eax, dword [esi + 8]
push ebx
push 0x5c0144
push eax
call edi
add esp, 0x64
cmp byte [esi + 0xc], bl
je 0x5261a0
mov ecx, dword [0x5a7714]
mov ecx, dword [ecx]
call dword [0x5a7510]
mov ebp, eax
call dword [0x5a7514]
push str.default
push str.void___thiscall_FAV::CaptureTask::run_void_
push 0x54
cmp eax, ebp
push str..._favVideoCapture.cpp
lea ecx, [esp + 0x6c]
sete byte [esp + 0x37]
call dword [0x5a7720]
movzx edx, byte [esp + 0x27]
push edx
call dword [0x5a7464]
push eax
lea eax, [esp + 0x64]
push str.capture_task_running_in_thread__p__main_thread_d_
push eax
call fcn.0051a710
add esp, 0x10
lea ebp, [esi + 0x18]
push ebp
lea ecx, [esp + 0x3c]
call dword [0x5a7bfc]
mov ecx, eax
mov byte [esp + 0x100], 1
call dword [0x5a7c00]
test al, al
lea ecx, [esp + 0x38]
sete byte [esp + 0x27]
mov byte [esp + 0x100], bl
call dword [0x5a7c08]
cmp byte [esp + 0x27], bl
je 0x525b56
lea ecx, [esp + 0x28]
call dword [0x5a7d38]
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x104], 2
call dword [0x5a7bfc]
push ebp
mov ecx, eax
mov byte [esp + 0x104], 3
call dword [0x5a7468]
test al, al
lea ecx, [esp + 0x38]
sete byte [esp + 0x27]
mov byte [esp + 0x100], 2
call dword [0x5a7c08]
lea ecx, [esp + 0x28]
mov byte [esp + 0x100], bl
call dword [0x5a7d90]
cmp byte [esp + 0x27], bl
je 0x525b56
push ebp
lea ecx, [esp + 0x3c]
call dword [0x5a7cbc]
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
mov byte [esp + 0x104], 4
call dword [0x5a75c0]
mov ebp, eax
push str.default
push str.void___thiscall_FAV::CaptureTask::run_void_
push 0x5b
push str..._favVideoCapture.cpp
lea ecx, [esp + 0x6c]
mov byte [esp + 0x110], 5
call dword [0x5a7720]
mov ecx, ebp
call dword [0x5a7d9c]
push eax
lea edx, [esp + 0x60]
push str.Failed_to_create_capture_dir___s_
push edx
call fcn.0051b280
add esp, 0xc
lea ecx, [esp + 0x28]
mov byte [esp + 0x100], 4
call dword [0x5a7d74]
lea ecx, [esp + 0x38]
mov byte [esp + 0x100], bl
call dword [0x5a7d90]
xor eax, eax
xor ecx, ecx
push ecx
push eax
push eax
xor edx, edx
push edx
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
mov esi, dword [esi + 8]
push eax
push eax
push eax
push eax
push eax
push eax
xor ebp, ebp
push ebp
push eax
push ebx
push eax
push ebx
mov eax, esi
push 0x5c00e4
push eax
call edi
add esp, 0x64
jmp 0x5261a0
push 3
push 0x66
lea ecx, [esi + 0x24]
call fcn.00510100
sub esp, 8
lea ecx, [esp + 0x38]
fstp qword [esp]
push ecx
call dword [0x5a796c]
add esp, 0x14
lea ecx, [esi + 0x1c]
push eax
mov byte [esp + 0x104], 6
call dword [0x5a7cc0]
lea ecx, [esp + 0x28]
mov byte [esp + 0x100], bl
call dword [0x5a7d90]
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x2b]
call fcn.00525790
mov dword [esp + 0x28], eax
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x2b]
call fcn.00525770
push eax
lea ecx, [esp + 0x7c]
push ebp
push ecx
mov byte [esp + 0x10c], 8
call fcn.00402e60
lea ecx, [esi + 0x1c]
push ecx
push eax
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x118], 9
call fcn.00402e60
mov ecx, dword [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x124], 0xa
call fcn.00402e60
add esp, 0x24
lea ecx, [esp + 0x38]
mov byte [esp + 0x100], 0xc
call dword [0x5a7d90]
lea ecx, [esp + 0x78]
mov byte [esp + 0x100], 0xd
call dword [0x5a7d90]
lea ecx, [esp + 0x70]
mov byte [esp + 0x100], 0xe
call dword [0x5a7d90]
lea ecx, [esp + 0x74]
mov byte [esp + 0x100], 0xf
call dword [0x5a7d90]
cmp byte [esi + 0xd], bl
je 0x525fd9
push ebx
lea ecx, [esi + 0x24]
call fcn.00510420
test eax, eax
jne 0x525ced
fldz
lea eax, [esp + 0x28]
fst qword [esp + 0x84]
push eax
fst qword [esp + 0x90]
lea ecx, [esi + 0x24]
fst qword [esp + 0x98]
fstp qword [esp + 0xa0]
call fcn.0052d5a0
or ecx, 0xffffffff
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x34]
push edx
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esi + 0x24]
mov byte [esp + 0x110], 0x10
call fcn.0052edb0
push eax
lea ecx, [esi + 0x24]
mov byte [esp + 0x104], 0x11
call fcn.0052d880
lea ecx, [esp + 0x3c]
mov byte [esp + 0x100], 0x10
call fcn.0052cf70
lea ecx, [esp + 0x28]
mov byte [esp + 0x100], 0xf
call fcn.0052be80
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esi + 0x24]
call fcn.0052d5a0
lea edx, [esp + 0x28]
push edx
mov ecx, eax
mov byte [esp + 0x104], 0x12
call fcn.0052b290
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x104], 0x13
call dword [0x5a7cc0]
lea ecx, [esp + 0x28]
mov byte [esp + 0x100], 0x12
call dword [0x5a7d90]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x100], 0xf
call fcn.0052be80
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
call dword [0x5a7cbc]
mov ebp, dword [0x5a75c0]
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
mov byte [esp + 0x104], 0x14
call ebp
mov dword [esp + 0x3c], eax
push str.default
push str.void___thiscall_FAV::CaptureTask::run_void_
push 0x6a
push str..._favVideoCapture.cpp
lea ecx, [esp + 0x6c]
mov byte [esp + 0x110], 0x15
call dword [0x5a7720]
mov ecx, dword [esp + 0x3c]
call dword [0x5a7d9c]
push eax
lea edx, [esp + 0x60]
push str.Saving_capture_to__s
push edx
call fcn.0051a710
add esp, 0xc
lea ecx, [esp + 0x28]
mov byte [esp + 0x100], 0x14
call dword [0x5a7d74]
lea ecx, [esp + 0x30]
mov byte [esp + 0x100], 0xf
call dword [0x5a7d90]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call dword [0x5a7d64]
push ecx
mov eax, esp
lea ecx, [esp + 0x48]
mov byte [esp + 0x104], 0x16
mov dword [esp + 0x34], esp
mov dword [eax], 2
call dword [0x5a7d68]
cmp al, bl
jne 0x525ed2
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x40]
call dword [0x5a7cbc]
lea edx, [esp + 0x30]
push edx
mov ecx, eax
mov byte [esp + 0x104], 0x17
call ebp
mov ebp, eax
push str.default
push str.void___thiscall_FAV::CaptureTask::run_void_
push 0x6d
push str..._favVideoCapture.cpp
lea ecx, [esp + 0x6c]
mov byte [esp + 0x110], 0x18
call dword [0x5a7720]
mov ecx, ebp
call dword [0x5a7d9c]
push eax
lea eax, [esp + 0x60]
push str.VideoCapture_is_failed_to_open_file__s
push eax
call fcn.0051b280
add esp, 0xc
lea ecx, [esp + 0x30]
mov byte [esp + 0x100], 0x17
call dword [0x5a7d74]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x100], 0x16
call dword [0x5a7d90]
xor eax, eax
xor ecx, ecx
push ecx
push eax
push eax
xor edx, edx
push edx
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
mov esi, dword [esi + 8]
push eax
push eax
push eax
push eax
push eax
push eax
xor ebp, ebp
push ebp
push eax
push ebx
push eax
push ebx
push 0x5c00e4
mov ecx, esi
push ecx
call edi
add esp, 0x64
lea ecx, [esp + 0x44]
mov byte [esp + 0x100], 0xf
call dword [0x5a7d88]
jmp 0x52618f
lea edx, [esp + 0x30]
push edx
lea ecx, [esi + 0x24]
call fcn.005100b0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x104], 0x19
call dword [0x5a77d0]
cmp edx, ebx
jg 0x525f03
jl 0x525efc
cmp eax, ebx
ja 0x525f03
mov byte [esp + 0x27], 1
jmp 0x525f07
mov byte [esp + 0x27], bl
lea ecx, [esp + 0x30]
mov byte [esp + 0x100], 0x16
call dword [0x5a7d74]
cmp byte [esp + 0x27], bl
je 0x525f99
push str.default
push str.void___thiscall_FAV::CaptureTask::run_void_
push 0x75
push str..._favVideoCapture.cpp
lea ecx, [esp + 0x6c]
call dword [0x5a7720]
lea eax, [esp + 0x5c]
push str.VideoCapture_is_failed_to_write_captured_frame_with_original_format
push eax
call fcn.0051b280
xor eax, eax
xor ecx, ecx
push ecx
push eax
push eax
xor edx, edx
push edx
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
mov esi, dword [esi + 8]
push eax
push eax
push eax
push eax
push eax
push eax
xor ebp, ebp
push ebp
push eax
push ebx
push eax
push ebx
mov ecx, esi
push 0x5c00e4
push ecx
call edi
add esp, 0x6c
lea ecx, [esp + 0x44]
call dword [0x5a7c54]
lea ecx, [esp + 0x44]
mov byte [esp + 0x100], 0xf
call dword [0x5a7d88]
jmp 0x52618f
lea ecx, [esp + 0x44]
call dword [0x5a7c54]
xor edx, edx
xor ebp, ebp
push ebp
push edx
push edx
push edx
push edx
push edx
push edx
push edx
push edx
push edx
push edx
push edx
push edx
mov esi, dword [esi + 8]
push edx
push edx
push edx
push ebx
push edx
mov ecx, 0x5c0054
push ecx
lea eax, [esp + 0x78]
push eax
xor eax, eax
push eax
push eax
push ebx
push 0x5c004c
mov edx, esi
push edx
jmp 0x525eb6
lea ecx, [esp + 0x4c]
call dword [0x5a8020]
test al, al
jne 0x52618f
lea eax, [esp + 0x30]
push eax
lea ecx, [esi + 0x14]
call dword [0x5a7578]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x104], 0x1a
call dword [0x5a7cc0]
lea ecx, [esp + 0x30]
mov byte [esp + 0x100], 0xf
call dword [0x5a7d90]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x2c]
call dword [0x5a7cbc]
lea edx, [esp + 0x3c]
push edx
mov ecx, eax
mov byte [esp + 0x104], 0x1b
call dword [0x5a75c0]
mov dword [esp + 0x30], eax
push str.default
push str.void___thiscall_FAV::CaptureTask::run_void_
push 0x8c
push str..._favVideoCapture.cpp
lea ecx, [esp + 0x6c]
mov byte [esp + 0x110], 0x1c
call dword [0x5a7720]
mov ecx, dword [esp + 0x30]
call dword [0x5a7d9c]
push eax
lea eax, [esp + 0x60]
push str.Saving_capture_to__s
push eax
call fcn.0051a710
add esp, 0xc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x100], 0x1b
call dword [0x5a7d74]
lea ecx, [esp + 0x28]
mov byte [esp + 0x100], 0xf
call dword [0x5a7d90]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esi + 0x14]
call dword [0x5a7af0]
mov edx, dword [esi + 0x10]
push edx
mov ecx, eax
mov byte [esp + 0x104], 0x1d
call dword [0x5a7d9c]
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x58]
call dword [0x5a807c]
lea ecx, [esp + 0x30]
mov byte [esp + 0x27], al
mov byte [esp + 0x100], 0xf
call dword [0x5a7d74]
cmp byte [esp + 0x27], bl
jne 0x526159
push str.default
push str.void___thiscall_FAV::CaptureTask::run_void_
push 0x8f
push str..._favVideoCapture.cpp
lea ecx, [esp + 0x94]
call dword [0x5a7720]
lea ecx, [esp + 0x84]
push str.Failed_to_save_capture
push ecx
call fcn.0051b280
xor eax, eax
xor ecx, ecx
push ecx
push eax
push eax
xor edx, edx
push edx
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push ebx
push eax
mov eax, dword [esi + 8]
push ebx
push 0x5c00e4
push eax
call edi
add esp, 0x6c
xor edx, edx
xor ebp, ebp
push ebp
push edx
push edx
push edx
push edx
push edx
push edx
push edx
push edx
push edx
push edx
push edx
push edx
mov esi, dword [esi + 8]
push edx
push edx
push edx
push ebx
push edx
mov ecx, 0x5c0054
push ecx
lea eax, [esp + 0x78]
push eax
xor eax, eax
push eax
push eax
push ebx
mov edx, esi
push 0x5c004c
push edx
call edi
add esp, 0x64
lea ecx, [esp + 0x2c]
mov byte [esp + 0x100], bl
call dword [0x5a7d90]
mov dword [esp + 0x100], 0xffffffff
lea ecx, [esp + 0x4c]
call dword [0x5a7f84]
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret