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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc34
mov edx, dword [ebp + 0xc]
push ebx
xor ebx, ebx
cmp edx, ebx
push esi
push edi
je 0x4d0c02
xor eax, eax
mov ecx, 0xf4
lea edi, [esp + 0x870]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x874]
push ecx
push edx
mov dword [esp + 0x20], ebx
call sym.vidcap60.exe_long_int___stdcall_BWF_ReadMeta_LoadInfo_struct_ISfReadMeta___struct__tagSFBWF_Chunk___int__
test eax, eax
jl 0x4d0bf6
cmp dword [esp + 0x14], ebx
je 0x4d0bf6
mov edx, dword [0x621c80]
push 0xbe13
push edx
call sym.vidcap60.exe__SfGetString_8
mov edi, dword [ebp + 8]
push eax
push edi
call sym.vidcap60.exe_SfMEditPrintF
mov ecx, dword [0x621c80]
add esp, 8
push 0x28
lea eax, [esp + 0x24]
push eax
push 0x16
push 0xbe1a
push ecx
call sym.vidcap60.exe__SfGetString_8
push eax
call sym.vidcap60.exe__SfFormatPropLabel_16
movzx edx, word [esp + 0x878]
push edx
lea eax, [esp + 0x24]
push eax
push str._s_d
push edi
call sym.vidcap60.exe_SfMEditPrintF
mov edx, dword [0x621c80]
add esp, 0x10
push 0x28
lea ecx, [esp + 0x24]
push ecx
push 0x16
push 0xbe14
push edx
call sym.vidcap60.exe__SfGetString_8
push eax
call sym.vidcap60.exe__SfFormatPropLabel_16
test byte [esp + 0x870], 1
je 0x4d0774
mov esi, dword [0x5d2618]
push 0x400
lea eax, [esp + 0x87e]
push eax
lea ecx, [esp + 0x78]
push ecx
call esi
lea edx, [esp + 0x7c]
add esp, 0xc
test edx, edx
mov word [esp + 0x86e], bx
je 0x4d07ac
mov eax, edx
push eax
call dword [0x5d2620]
add esp, 4
jmp 0x4d07ac
mov ecx, dword [0x621c80]
push 0xbd51
push ecx
mov word [esp + 0x78], bx
call sym.vidcap60.exe__SfGetString_8
push 0x400
push eax
lea edx, [esp + 0x78]
push edx
call dword [0x5d2618]
mov esi, dword [0x5d2618]
add esp, 0xc
mov word [esp + 0x86e], bx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0x5d4ee8
push edi
call sym.vidcap60.exe_SfMEditPrintF
mov eax, dword [0x621c80]
add esp, 0x10
push 0x28
lea edx, [esp + 0x24]
push edx
push 0x16
push 0xbe15
push eax
call sym.vidcap60.exe__SfGetString_8
push eax
call sym.vidcap60.exe__SfFormatPropLabel_16
test byte [esp + 0x870], 1
je 0x4d0822
push 0x400
lea ecx, [esp + 0xa80]
push ecx
lea edx, [esp + 0x78]
push edx
call esi
lea eax, [esp + 0x7c]
add esp, 0xc
test eax, eax
mov word [esp + 0x86e], bx
je 0x4d0850
mov ecx, eax
push ecx
call dword [0x5d2620]
add esp, 4
jmp 0x4d0850
mov edx, dword [0x621c80]
push 0xbd51
push edx
mov word [esp + 0x78], bx
call sym.vidcap60.exe__SfGetString_8
push 0x400
push eax
lea eax, [esp + 0x78]
push eax
call esi
add esp, 0xc
mov word [esp + 0x86e], bx
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x24]
push edx
push 0x5d4ee8
push edi
call sym.vidcap60.exe_SfMEditPrintF
mov ecx, dword [0x621c80]
add esp, 0x10
push 0x28
lea eax, [esp + 0x24]
push eax
push 0x16
push 0xbe16
push ecx
call sym.vidcap60.exe__SfGetString_8
push eax
call sym.vidcap60.exe__SfFormatPropLabel_16
test byte [esp + 0x870], 1
je 0x4d08c7
push 0x400
lea edx, [esp + 0xac2]
push edx
lea eax, [esp + 0x78]
push eax
call esi
lea ecx, [esp + 0x7c]
add esp, 0xc
test ecx, ecx
mov word [esp + 0x86e], bx
je 0x4d08f4
mov edx, ecx
push edx
call dword [0x5d2620]
add esp, 4
jmp 0x4d08f4
mov eax, dword [0x621c80]
push 0xbd51
push eax
mov word [esp + 0x78], bx
call sym.vidcap60.exe__SfGetString_8
push 0x400
push eax
lea ecx, [esp + 0x78]
push ecx
call esi
add esp, 0xc
mov word [esp + 0x86e], bx
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x24]
push eax
push 0x5d4ee8
push edi
call sym.vidcap60.exe_SfMEditPrintF
mov edx, dword [0x621c80]
add esp, 0x10
push 0x28
lea ecx, [esp + 0x24]
push ecx
push 0x16
push 0xbe17
push edx
call sym.vidcap60.exe__SfGetString_8
push eax
call sym.vidcap60.exe__SfFormatPropLabel_16
test byte [esp + 0x870], 4
je 0x4d096b
push 0x400
lea eax, [esp + 0xb04]
push eax
lea ecx, [esp + 0x78]
push ecx
call esi
lea edx, [esp + 0x7c]
add esp, 0xc
test edx, edx
mov word [esp + 0x86e], bx
je 0x4d0999
mov eax, edx
push eax
call dword [0x5d2620]
add esp, 4
jmp 0x4d0999
mov ecx, dword [0x621c80]
push 0xbd51
push ecx
mov word [esp + 0x78], bx
call sym.vidcap60.exe__SfGetString_8
push 0x400
push eax
lea edx, [esp + 0x78]
push edx
call esi
add esp, 0xc
mov word [esp + 0x86e], bx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0x5d4ee8
push edi
call sym.vidcap60.exe_SfMEditPrintF
mov eax, dword [0x621c80]
add esp, 0x10
push 0x28
lea edx, [esp + 0x24]
push edx
push 0x16
push 0xbe18
push eax
call sym.vidcap60.exe__SfGetString_8
push eax
call sym.vidcap60.exe__SfFormatPropLabel_16
test byte [esp + 0x870], 4
je 0x4d0a0f
push 0x400
lea ecx, [esp + 0xb1a]
push ecx
lea edx, [esp + 0x78]
push edx
call esi
lea eax, [esp + 0x7c]
add esp, 0xc
test eax, eax
mov word [esp + 0x86e], bx
je 0x4d0a3d
mov ecx, eax
push ecx
call dword [0x5d2620]
add esp, 4
jmp 0x4d0a3d
mov edx, dword [0x621c80]
push 0xbd51
push edx
mov word [esp + 0x78], bx
call sym.vidcap60.exe__SfGetString_8
push 0x400
push eax
lea eax, [esp + 0x78]
push eax
call esi
add esp, 0xc
mov word [esp + 0x86e], bx
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x24]
push edx
push 0x5d4ee8
push edi
call sym.vidcap60.exe_SfMEditPrintF
mov ecx, dword [0x621c80]
add esp, 0x10
push 0x28
lea eax, [esp + 0x24]
push eax
push 0x16
push 0xbe19
push ecx
call sym.vidcap60.exe__SfGetString_8
push eax
call sym.vidcap60.exe__SfFormatPropLabel_16
xor ecx, ecx
xor edx, edx
test byte [esp + 0x870], 4
mov eax, 0x80004005
je 0x4d0a98
mov ecx, dword [esp + 0xb28]
mov edx, dword [esp + 0xb2c]
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x1c], eax
jge 0x4d0acb
mov edx, dword [0x621c80]
push 0xbd51
push edx
call sym.vidcap60.exe__SfGetString_8
push 0x400
push eax
lea eax, [esp + 0x78]
push eax
call esi
add esp, 0xc
mov word [esp + 0x86e], bx
jmp 0x4d0adf
push edx
push ecx
lea ecx, [esp + 0x78]
push 0x5e6a5c
push ecx
call sym.vidcap60.exe_SfPrintF
add esp, 0x10
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x24]
push eax
push 0x5d4ee8
push edi
call sym.vidcap60.exe_SfMEditPrintF
mov edx, dword [0x621c80]
mov edi, dword [esp + 0xc4c]
add esp, 0x10
push 0x28
lea ecx, [esp + 0x24]
push ecx
push 0x16
push 0xbe1b
push edx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x24], ebx
xor esi, esi
call sym.vidcap60.exe__SfGetString_8
push eax
call sym.vidcap60.exe__SfFormatPropLabel_16
cmp edi, ebx
je 0x4d0b72
lea eax, [edi + edi]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x4d0b72
push edi
push eax
lea ecx, [esp + 0x878]
call fcn.004d2f00
mov edi, eax
cmp edi, ebx
jl 0x4d0b7e
mov ecx, dword [esp + 0x10]
push 0x5d901c
push ecx
call fcn.00455f60
mov esi, eax
jmp 0x4d0b76
mov edi, dword [esp + 0x1c]
cmp edi, ebx
jge 0x4d0c10
mov edx, dword [0x621c80]
push 0xbd51
push edx
call sym.vidcap60.exe__SfGetString_8
push 0x400
push eax
lea eax, [esp + 0x78]
push eax
call dword [0x5d2618]
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x30]
push edx
push 0x5d4ee8
push eax
mov word [esp + 0x88a], bx
call sym.vidcap60.exe_SfMEditPrintF
add esp, 0x1c
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x4d0be5
mov edi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 8]
push 0x5d49c0
push eax
call sym.vidcap60.exe_SfMEditPrintF
add esp, 8
lea ecx, [esp + 0x870]
call fcn.004cc400
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp esi, ebx
mov word [esp + 0x70], bx
je 0x4d0c40
cmp word [esi], 0xa
jne 0x4d0c22
add esi, 2
push 0x400
lea ecx, [esp + 0x74]
push esi
push ecx
call dword [0x5d2618]
add esp, 0xc
mov word [esp + 0x86e], bx
jmp 0x4d0c45
mov word [esp + 0x70], bx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x24]
push eax
push 0x5d4ee8
push ecx
call sym.vidcap60.exe_SfMEditPrintF
add esp, 0x10
cmp esi, ebx
je 0x4d0bc3
push 0x5d901c
push ebx
call dword [0x5d24e4]
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4d0bc3
cmp dword [esp + 0x18], ebx
je 0x4d0c10
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov edx, 0x200020
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x18], ebx
mov word [esp + 0x48], dx
jmp 0x4d0c10