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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x479368
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4985d0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov eax, dword [ebp + 8]
mov dword [esp + 0x80], ebx
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4257bc
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
setge al
test al, al
jne 0x4257ee
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4257d7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.NewVideo
call fcn.00425a90
add esp, 4
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x42580d
push 0x8007000e
call fcn.00403740
lea edx, [esp + 0x28]
push edx
push 0x800
push 1
mov byte [esp + 0x8c], 1
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x38], ebx
mov ecx, dword [eax]
push 0x484060
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp eax, ebx
jge 0x42587c
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x425865
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp + 0xc]
mov edi, dword [esi + 8]
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
xor ecx, ecx
mov eax, edi
mov edx, 0x10
mul edx
seto cl
mov dword [esp + 0x3c], edi
neg ecx
or ecx, eax
push ecx
call fcn.00425b7b
add esp, 4
cmp edi, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x24], ebx
jle 0x42597c
lea eax, [edi - 1]
lea ecx, [edi*4 - 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x4258e7
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0x20]
test eax, eax
jl 0x425a1a
cmp eax, dword [esi + 8]
jge 0x425a1a
mov eax, dword [esi + 4]
add eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x42591a
push eax
call fcn.00425a90
mov esi, eax
add esp, 4
test esi, esi
je 0x425803
jmp 0x42591c
xor esi, esi
mov edx, dword [esp + 0x34]
lea ecx, [ebx + edx + 8]
test ecx, ecx
mov dword [esp + 0x2c], ecx
je 0x425949
test esi, esi
jne 0x425934
xor eax, eax
jmp 0x425947
push esi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov ecx, dword [esp + 0x2c]
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
push esi
mov word [ebx + eax], 8
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x24]
sub dword [esp + 0x1c], 4
sub dword [esp + 0x20], 1
add eax, 1
add ebx, 0x10
cmp eax, edi
mov dword [esp + 0x24], eax
jl 0x4258e0
xor ebx, ebx
xor eax, eax
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x40]
push ecx
push 1
mov byte [esp + 0x94], 2
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
push ebx
push 0x484060
or edi, 0xffffffff
mov dword [esp + 0x4c], edi
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push ecx
push eax
call edx
mov esi, eax
mov eax, dword [esp + 0x34]
push eax
call fcn.00425b76
add esp, 4
cmp esi, ebx
jge 0x425a1f
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x80], edi
jmp 0x4257c7
call fcn.0042f45f
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x80], edi
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x425a4c
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8