Function at 0x5947f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6382c7
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x6d5db8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x74]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x78]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x7c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x84]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x88]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x8c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x94]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x98]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x9c]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0xa4]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0xa8]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0xac]
mov dword [ebp - 0x30], edx
push 0x67fea8
lea ecx, [ebp - 0x2c]
call fcn.004015a0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x8c]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x88]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x84]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x7c]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x78]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x74]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, 1
push ecx
mov edx, dword [ebp + 0x14]
push edx
push str._sHK__02d__04d_02d_02d__02d_02d_02d.h264
lea eax, [ebp - 0x2c]
push eax
call fcn.00405010
add esp, 0x28
push 0
lea ecx, [ebp - 0x2c]
call fcn.00401880
push eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, 1
push ecx
mov edx, dword [ebp + 8]
sub edx, 1
push edx
call dword [sym.imp.HCNetSDK.dll_NET_DVR_GetFileByTime]
mov dword [ebp - 0x10], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040cfa0
cmp dword [ebp - 0x10], 0
jl 0x594a00
push 0x10
call fcn.005c4745
add esp, 4
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp + 0x20]
mov dword [eax], ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 0x18]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0xc], 2
push 0
push 0
push 1
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.HCNetSDK.dll_NET_DVR_PlayBackControl]
lea eax, [ebp - 0x50]
push eax
push 1
mov ecx, dword [ebp - 0x48]
push ecx
push 0x594240
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x5949e1
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
push eax
call fcn.005c4775
add esp, 4
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401620
mov eax, dword [ebp - 0x60]
jmp 0x594a3c
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x64], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401620
mov eax, dword [ebp - 0x64]
jmp 0x594a3c
call dword [sym.imp.HCNetSDK.dll_NET_DVR_GetLastError]
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x68], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401620
mov eax, dword [ebp - 0x68]
jmp 0x594a3c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x1c