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

Disassembly:
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
sub esp, 0x64
push esi
mov esi, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x80]
push esi
push edx
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x84]
push edx
push eax
push ecx
lea edx, [esp + 0xac]
push edx
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0xac]
push edx
call sym.vidcap60.exe__SfDibPrepareCopy_52
test eax, eax
jl 0x4e7da0
mov eax, dword [esp + 0x24]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x28], ecx
jle 0x4e7d9e
mov eax, dword [esp + 0x88]
add eax, 8
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
push ebx
mov edx, eax
push ebp
mov ebp, dword [esp + 0x98]
lea ebx, [eax + esi]
sub edx, esi
push edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], edx
lea ebx, [ebx]
cmp dword [esp + 0x98], 4
jne 0x4e7da7
test ecx, ecx
mov dword [esp + 0x94], eax
mov edi, edx
jne 0x4e79fd
mov edi, eax
mov edx, dword [esp + 0x30]
dec edx
cmp edx, ecx
jne 0x4e7a08
mov ebx, eax
mov edx, dword [esp + 0x88]
xor eax, eax
test edx, edx
mov dword [esp + 0x8c], eax
jle 0x4e7d5b
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 4]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp]
add edx, 0xfffffffa
mov dword [esp + 0x78], ecx
mov dword [esp + 0x38], edx
lea ebx, [ebx]
or esi, 0xffffffff
test eax, eax
mov ecx, 1
jne 0x4e7a7e
xor esi, esi
mov edx, dword [esp + 0x88]
dec edx
cmp edx, eax
jne 0x4e7a8c
xor ecx, ecx
movzx eax, byte [edi + ecx*4]
imul eax, dword [esp + 0x20]
movzx edx, byte [ebx]
imul edx, dword [esp + 0x14]
add eax, edx
movzx edx, byte [edi]
imul edx, dword [esp + 0x10]
add eax, edx
movzx edx, byte [edi + esi*4]
imul edx, dword [esp + 0x78]
add eax, edx
movzx edx, byte [ebx + esi*4]
imul edx, dword [esp + 0x24]
add eax, edx
mov edx, dword [esp + 0x94]
movzx edx, byte [edx]
imul edx, dword [esp + 0x7c]
add eax, edx
mov edx, dword [esp + 0x94]
movzx edx, byte [edx + esi*4]
imul edx, dword [esp + 0x18]
add eax, edx
movzx edx, byte [ebx + ecx*4]
imul edx, dword [esp + 0x28]
add eax, edx
mov edx, dword [esp + 0x94]
movzx edx, byte [edx + ecx*4]
imul edx, dword [esp + 0x1c]
add eax, edx
cdq
idiv dword [esp + 0xa0]
movzx edx, byte [edi + esi*4 + 1]
imul edx, dword [esp + 0x78]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x94]
movzx eax, byte [eax + 1]
imul eax, dword [esp + 0x7c]
add eax, edx
movzx edx, byte [edi + 1]
imul edx, dword [esp + 0x10]
add eax, edx
movzx edx, byte [ebx + 1]
imul edx, dword [esp + 0x14]
add eax, edx
mov edx, dword [esp + 0x94]
movzx edx, byte [edx + esi*4 + 1]
imul edx, dword [esp + 0x18]
add eax, edx
mov edx, dword [esp + 0x94]
movzx edx, byte [edx + ecx*4 + 1]
imul edx, dword [esp + 0x1c]
add eax, edx
movzx edx, byte [edi + ecx*4 + 1]
imul edx, dword [esp + 0x20]
add eax, edx
movzx edx, byte [ebx + esi*4 + 1]
imul edx, dword [esp + 0x24]
add eax, edx
movzx edx, byte [ebx + ecx*4 + 1]
imul edx, dword [esp + 0x28]
add eax, edx
cdq
idiv dword [esp + 0xa0]
movzx edx, byte [edi + 2]
imul edx, dword [esp + 0x10]
mov dword [esp + 0x48], eax
movzx eax, byte [edi + esi*4 + 2]
imul eax, dword [esp + 0x78]
add eax, edx
movzx edx, byte [ebx + 2]
imul edx, dword [esp + 0x14]
add eax, edx
mov edx, dword [esp + 0x94]
movzx edx, byte [edx + esi*4 + 2]
imul edx, dword [esp + 0x18]
add eax, edx
mov edx, dword [esp + 0x94]
movzx edx, byte [edx + ecx*4 + 2]
imul edx, dword [esp + 0x1c]
add eax, edx
movzx edx, byte [edi + ecx*4 + 2]
imul edx, dword [esp + 0x20]
add eax, edx
movzx edx, byte [ebx + esi*4 + 2]
imul edx, dword [esp + 0x24]
add eax, edx
movzx edx, byte [ebx + ecx*4 + 2]
imul edx, dword [esp + 0x28]
add eax, edx
mov edx, dword [esp + 0x94]
movzx edx, byte [edx + 2]
imul edx, dword [esp + 0x7c]
add eax, edx
cdq
idiv dword [esp + 0xa0]
movzx edx, byte [edi + esi*4 + 3]
imul edx, dword [esp + 0x78]
add edi, 4
add ebx, 4
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x94]
movzx eax, byte [eax + 3]
imul eax, dword [esp + 0x7c]
add eax, edx
movzx edx, byte [edi - 1]
imul edx, dword [esp + 0x10]
add eax, edx
movzx edx, byte [ebx - 1]
imul edx, dword [esp + 0x14]
add eax, edx
mov edx, dword [esp + 0x94]
movzx edx, byte [edx + esi*4 + 3]
imul edx, dword [esp + 0x18]
add eax, edx
mov edx, dword [esp + 0x94]
movzx edx, byte [edx + ecx*4 + 3]
imul edx, dword [esp + 0x1c]
add eax, edx
movzx edx, byte [edi + ecx*4 - 1]
imul edx, dword [esp + 0x20]
movzx ecx, byte [ebx + ecx*4 - 1]
imul ecx, dword [esp + 0x28]
add eax, edx
movzx edx, byte [ebx + esi*4 - 1]
imul edx, dword [esp + 0x24]
add eax, edx
add eax, ecx
mov ecx, dword [esp + 0x94]
add ecx, 4
cdq
idiv dword [esp + 0xa0]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x44]
test ecx, ecx
jge 0x4e7cc2
xor ecx, ecx
jmp 0x4e7ccf
cmp ecx, 0xff
jle 0x4e7ccf
mov ecx, 0xff
mov esi, dword [esp + 0x38]
mov byte [esi - 2], cl
mov ecx, dword [esp + 0x48]
test ecx, ecx
jge 0x4e7ce2
xor ecx, ecx
jmp 0x4e7cef
cmp ecx, 0xff
jle 0x4e7cef
mov ecx, 0xff
mov byte [esi - 1], cl
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jge 0x4e7cfe
xor ecx, ecx
jmp 0x4e7d0b
cmp ecx, 0xff
jle 0x4e7d0b
mov ecx, 0xff
test eax, eax
mov byte [esi], cl
jge 0x4e7d15
xor eax, eax
jmp 0x4e7d21
cmp eax, 0xff
jle 0x4e7d21
mov eax, 0xff
mov ecx, dword [esp + 0x88]
mov byte [esi + 1], al
mov eax, dword [esp + 0x8c]
add esi, 4
inc eax
cmp eax, ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x8c], eax
jl 0x4e7a70
mov ebp, dword [esp + 0x9c]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x90]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x80]
add dword [esp + 0x2c], edi
mov edi, dword [esp + 0x30]
add eax, esi
add edx, esi
add ebx, esi
inc ecx
cmp ecx, edi
mov dword [esp + 0x84], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x34], ecx
jl 0x4e79e0
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x64
ret 0x2c
test ecx, ecx
fild dword [esp + 0xa0]
fild dword [ebp]
mov edi, eax
mov esi, ebx
fdiv st(1)
fstp dword [esp + 0x50]
fild dword [ebp + 4]
fdiv st(1)
fstp dword [esp + 0x54]
fild dword [ebp + 8]
fdiv st(1)
fstp dword [esp + 0x58]
fild dword [ebp + 0xc]
fdiv st(1)
fstp dword [esp + 0x5c]
fild dword [ebp + 0x10]
fdiv st(1)
fstp dword [esp + 0x60]
fild dword [ebp + 0x14]
fdiv st(1)
fstp dword [esp + 0x64]
fild dword [ebp + 0x18]
fdiv st(1)
fstp dword [esp + 0x68]
fild dword [ebp + 0x1c]
fdiv st(1)
fstp dword [esp + 0x6c]
fild dword [ebp + 0x20]
fdiv st(1)
fstp dword [esp + 0x70]
fstp st(0)
jne 0x4e7e0b
mov edx, eax
mov ebx, dword [esp + 0x30]
dec ebx
cmp ebx, ecx
jne 0x4e7e16
mov esi, eax
xor ebx, ebx
cmp dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
jle 0x4e80ce
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
or ecx, 0xffffffff
test ebx, ebx
mov eax, 1
jne 0x4e7e42
xor ecx, ecx
mov ebx, dword [esp + 0x88]
dec ebx
cmp ebx, dword [esp + 0x8c]
jne 0x4e7e55
xor eax, eax
fld dword [esp + 0x68]
shl eax, 4
shl ecx, 4
fmul dword [ecx + esi]
fld dword [esp + 0x70]
fmul dword [eax + esi]
faddp st(1)
fld dword [esp + 0x6c]
fmul dword [esi]
faddp st(1)
fld dword [esp + 0x54]
fmul dword [edx]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [edi]
faddp st(1)
fld dword [esp + 0x5c]
fmul dword [ecx + edi]
faddp st(1)
fld dword [esp + 0x50]
fmul dword [ecx + edx]
faddp st(1)
fld dword [esp + 0x64]
fmul dword [eax + edi]
faddp st(1)
fld dword [esp + 0x58]
fmul dword [eax + edx]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [edi + 4]
fld dword [esp + 0x50]
fmul dword [ecx + edx + 4]
faddp st(1)
fld dword [esp + 0x58]
fmul dword [eax + edx + 4]
faddp st(1)
fld dword [esp + 0x68]
fmul dword [ecx + esi + 4]
faddp st(1)
fld dword [esp + 0x70]
fmul dword [eax + esi + 4]
faddp st(1)
fld dword [esp + 0x5c]
fmul dword [ecx + edi + 4]
faddp st(1)
fld dword [esp + 0x64]
fmul dword [eax + edi + 4]
faddp st(1)
fld dword [esp + 0x6c]
fmul dword [esi + 4]
faddp st(1)
fld dword [esp + 0x54]
fmul dword [edx + 4]
faddp st(1)
fstp dword [esp + 0x94]
fld dword [esp + 0x50]
fmul dword [ecx + edx + 8]
fld dword [esp + 0x58]
fmul dword [eax + edx + 8]
faddp st(1)
fld dword [esp + 0x68]
fmul dword [ecx + esi + 8]
faddp st(1)
fld dword [esp + 0x70]
fmul dword [eax + esi + 8]
faddp st(1)
fld dword [esp + 0x5c]
fmul dword [ecx + edi + 8]
faddp st(1)
fld dword [esp + 0x64]
fmul dword [eax + edi + 8]
faddp st(1)
fld dword [esp + 0x6c]
fmul dword [esi + 8]
faddp st(1)
fld dword [esp + 0x54]
fmul dword [edx + 8]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [edi + 8]
add edi, 0x10
add edx, 0x10
add esi, 0x10
faddp st(1)
fstp dword [esp + 0x7c]
fld dword [esp + 0x60]
fmul dword [edi - 4]
fld dword [esp + 0x50]
fmul dword [ecx + edx - 4]
faddp st(1)
fld dword [esp + 0x58]
fmul dword [eax + edx - 4]
faddp st(1)
fld dword [esp + 0x68]
fmul dword [ecx + esi - 4]
faddp st(1)
fld dword [esp + 0x70]
fmul dword [eax + esi - 4]
faddp st(1)
fld dword [esp + 0x5c]
fmul dword [ecx + edi - 4]
faddp st(1)
fld dword [esp + 0x64]
fmul dword [eax + edi - 4]
faddp st(1)
fld dword [esp + 0x6c]
fmul dword [esi - 4]
faddp st(1)
fld dword [esp + 0x54]
fmul dword [edx - 4]
faddp st(1)
fstp dword [esp + 0x78]
fcom dword [0x5e9720]
fnstsw ax
test ah, 5
jp 0x4e7fd5
fstp st(0)
fld dword [0x5e9720]
jmp 0x4e7fea
fcom dword [0x5e971c]
fnstsw ax
test ah, 0x41
jne 0x4e7fea
fstp st(0)
fld dword [0x5e971c]
mov ecx, dword [esp + 0x38]
fstp dword [ecx - 8]
fld dword [esp + 0x94]
fcomp dword [0x5e9720]
fnstsw ax
test ah, 5
jp 0x4e800d
fld dword [0x5e9720]
jmp 0x4e8030
fld dword [esp + 0x94]
fcomp dword [0x5e971c]
fnstsw ax
test ah, 0x41
jne 0x4e8029
fld dword [0x5e971c]
jmp 0x4e8030
fld dword [esp + 0x94]
fstp dword [ecx - 4]
fld dword [esp + 0x7c]
fcomp dword [0x5e9720]
fnstsw ax
test ah, 5
jp 0x4e804c
fld dword [0x5e9720]
jmp 0x4e8069
fld dword [esp + 0x7c]
fcomp dword [0x5e971c]
fnstsw ax
test ah, 0x41
jne 0x4e8065
fld dword [0x5e971c]
jmp 0x4e8069
fld dword [esp + 0x7c]
fstp dword [ecx]
fld dword [esp + 0x78]
fcomp dword [0x5e9720]
fnstsw ax
test ah, 5
jp 0x4e8084
fld dword [0x5e9720]
jmp 0x4e80a1
fld dword [esp + 0x78]
fcomp dword [0x5e971c]
fnstsw ax
test ah, 0x41
jne 0x4e809d
fld dword [0x5e971c]
jmp 0x4e80a1
fld dword [esp + 0x78]
mov ebx, dword [esp + 0x8c]
fstp dword [ecx + 4]
mov eax, dword [esp + 0x88]
add ecx, 0x10
inc ebx
cmp ebx, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x8c], ebx
jl 0x4e7e34
jmp 0x4e7d50
mov esi, dword [esp + 0x90]
jmp 0x4e7d62