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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9b4
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x155
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
push 0x104
lea eax, [esp + 0x290]
push edi
xor esi, esi
push eax
mov dword [esp + 0x38], esi
call dword [0x5d2618]
mov ecx, dword [0x5d4174]
mov edx, dword [str._QJ]
mov eax, dword [0x5d417c]
add esp, 0xc
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x5d4180]
push edi
mov word [esp + 0x496], si
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x5bc], 5
call sym.vidcap60.exe__SfDosGetDateTimeUTC_4
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
lea edx, [esp + 0x68]
call fcn.0048d790
mov ecx, dword [ebp + 0x10]
mov ebx, eax
mov edx, edi
mov dword [esp + 0x44], ebx
call fcn.0048e440
mov ecx, dword [0x5d4164]
lea edx, [esp + 0x10]
push edx
mov edx, dword [0x5d4168]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x5d416c]
mov dword [eax + 4], edx
mov edx, dword [0x5d4170]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0x28], esi
call fcn.0048d560
test eax, eax
jl 0x493900
mov eax, dword [esp + 0x10]
test eax, eax
je 0x493900
mov edx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push edx
mov dword [esp + 0x28], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x4938c4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x4938c4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4938c4
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x4c], esi
call fcn.004ecda0
mov eax, dword [esp + 0x1c]
xor ebx, ebx
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x28], edi
jle 0x4938a2
jmp 0x493552
xor ebx, ebx
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
lea edx, [esp + 0x64]
push edx
lea edx, [esp + 0x6c]
push edx
lea edx, [esp + 0x74]
push edx
lea edx, [esp + 0x50]
push edx
lea edx, [esp + 0x50]
push edx
lea edx, [esp + 0x5c]
push edx
push 0x100
lea edx, [esp + 0x7e4]
push edx
lea edx, [esp + 0x74]
push edx
push edi
push eax
call dword [ecx + 0x14]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x14], ebx
jl 0x493889
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
push 0x5d4154
mov dword [esp + 0x28], ebx
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x493679
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x493679
lea edx, [esp + 0x18]
push edx
push ebx
push edi
mov dword [esp + 0x24], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x493669
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x493669
mov edi, dword [0x5d24c0]
lea eax, [eax + eax + 2]
push eax
push 1
call edi
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x493664
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x2c]
push ebx
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x493658
mov eax, dword [esp + 0x18]
lea ecx, [eax + eax + 2]
push ecx
push 1
call edi
add esp, 8
test eax, eax
mov dword [esp + 0x14], eax
je 0x493653
mov edx, dword [esp + 0x18]
inc edx
push edx
push ebx
push eax
call fcn.004133c0
push ebx
call dword [0x5d25a4]
add esp, 4
jmp 0x493669
mov esi, 0x8007000e
push ebx
call dword [0x5d25a4]
add esp, 4
jmp 0x493669
mov esi, 0x8007000e
mov eax, dword [esp + 0x20]
xor ebx, ebx
cmp eax, ebx
je 0x493679
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jl 0x493889
push 0x100
lea edx, [esp + 0x7c4]
push edx
lea eax, [esp + 0x5c8]
push eax
call dword [0x5d2618]
lea ecx, [esp + 0x5cc]
add esp, 0xc
test ecx, ecx
mov word [esp + 0x7be], bx
je 0x4936be
mov edx, ecx
push edx
call dword [0x5d2620]
add esp, 4
lea edx, [esp + 0x4c]
call fcn.0048dd70
test eax, eax
jne 0x493863
push 0x554
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x49385b
xor eax, eax
mov ecx, 0x155
mov edi, ebx
rep stosd dword es:[edi], eax
push 0x104
lea eax, [esp + 0x5c4]
push eax
lea edi, [ebx + 0x1c]
push edi
mov dword [ebx], 0x554
call dword [0x5d2618]
mov ecx, dword [ebp + 0xc]
mov esi, 0x206
push 0x104
mov word [esi + edi], 0
push ecx
lea edi, [ebx + 0x224]
push edi
call dword [0x5d2618]
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov word [esi + edi], cx
mov dword [ebx + 0x434], edx
mov esi, dword [esp + 0x64]
lea eax, [ebx + 4]
mov edx, eax
mov dword [edx], esi
mov esi, dword [esp + 0x68]
mov dword [edx + 4], esi
mov esi, dword [esp + 0x6c]
mov dword [edx + 8], esi
mov esi, dword [esp + 0x70]
mov dword [edx + 0xc], esi
mov dword [ebx + 0x550], 5
mov edx, dword [esp + 0x4c]
mov dword [ebx + 0x44c], edx
mov edx, dword [esp + 0x3c]
mov dword [ebx + 0x458], edx
mov edx, dword [esp + 0x58]
mov dword [ebx + 0x444], edx
mov edx, dword [esp + 0x50]
mov dword [ebx + 0x440], edx
mov edx, dword [esp + 0x54]
mov dword [ebx + 0x448], edx
mov edx, dword [esp + 0x48]
mov dword [ebx + 0x454], edx
mov edx, dword [esp + 0x48]
add esp, 0x18
mov dword [ebx + 0x450], edx
mov dword [ebx + 0x478], ecx
mov dword [ebx + 0x4b4], ecx
mov dword [ebx + 0x4f0], ecx
mov dword [ebx + 0x52c], ecx
mov ecx, 5
mov edi, 0x5d3994
mov esi, eax
xor edx, edx
repe cmpsw word [esi], word es:[edi]
je 0x49380a
mov ecx, 5
mov edi, 0x5d3984
mov esi, eax
xor edx, edx
repe cmpsw word [esi], word es:[edi]
je 0x49380a
mov esi, eax
mov ecx, 5
mov edi, 0x5d3974
xor eax, eax
repe cmpsw word [esi], word es:[edi]
jne 0x49381d
mov eax, dword [ebx + 0x450]
test al, 2
jne 0x49381d
or eax, 1
mov dword [ebx + 0x450], eax
mov ecx, dword [ebx + 0x450]
mov edx, dword [ebp + 8]
mov eax, 1
or ecx, eax
push eax
mov dword [ebx + 0x450], ecx
lea ecx, [esp + 0x18]
push ecx
push 0xffffffffffffffff
push edx
mov dword [ebx + 0x45c], eax
mov dword [ebx + 0x43c], 0
mov dword [esp + 0x24], ebx
call sym.vidcap60.exe__SfList_InsertList_16
inc dword [esp + 0x2c]
jmp 0x493889
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x49387d
mov eax, dword [esp + 0x24]
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x48]
call fcn.0048e360
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x493889
push eax
call dword [0x5d25a4]
add esp, 4
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
mov dword [esp + 0x28], edi
jl 0x493550
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x80]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x10]
push eax
mov eax, ebx
call fcn.0048e360
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x80]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [ebp + 0x10]
mov eax, ebx
call fcn.0048e360
mov eax, dword [esp + 0x80]
test eax, eax
je 0x493920
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x49392f
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c