Function at 0x4d2040
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x614
push ebx
mov ebx, dword [esp + 0x61c]
push ebp
push edi
push ebx
push 8
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0xc]
test eax, eax
mov dword [esp + 0x14], ecx
je 0x4d2077
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x200
lea edx, [esp + 0x224]
push edx
push str.FileDescription
lea edi, [ebx + 0xc]
push edi
mov word [esp + 0x230], 0
call sym.vidcap60.exe_long_int___stdcall_SfVersion_GetString_unsigned_short_int_const___unsigned_short_int_const___unsigned_short_int___unsigned_int_
mov ebp, dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea eax, [esp + 0x220]
push eax
push 0xcf20
push esi
call ebp
push 0x200
lea ecx, [esp + 0x224]
push ecx
push str.FileVersion
push edi
mov word [esp + 0x230], 0
call sym.vidcap60.exe_long_int___stdcall_SfVersion_GetString_unsigned_short_int_const___unsigned_short_int_const___unsigned_short_int___unsigned_int_
lea edx, [esp + 0x220]
push edx
push 0xcf21
push esi
call ebp
push 0x200
lea eax, [esp + 0x224]
push eax
push str.CompanyName
push edi
mov word [esp + 0x230], 0
call sym.vidcap60.exe_long_int___stdcall_SfVersion_GetString_unsigned_short_int_const___unsigned_short_int_const___unsigned_short_int___unsigned_int_
lea ecx, [esp + 0x220]
push ecx
push 0xcf25
push esi
call ebp
push edi
push 0xcf1f
push esi
call ebp
add ebx, 0x214
push ebx
push 0xcf22
push esi
call ebp
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx]
mov ecx, eax
xor edi, edi
and ecx, 1
mov edx, 0xbd51
je 0x4d2152
test al, al
js 0x4d2152
mov edx, 0xbdf8
mov edi, 1
jmp 0x4d215f
test ecx, ecx
je 0x4d215f
test al, al
jns 0x4d215f
mov edx, 0xbdf9
push edx
mov edx, dword [0x621c80]
push edx
call sym.vidcap60.exe__SfGetString_8
push eax
push 0xcf26
push esi
call ebp
test edi, edi
je 0x4d21bb
mov eax, dword [ebx + 0xc]
push 0x104
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [0x5d2618]
lea edx, [esp + 0x24]
add esp, 0xc
test edx, edx
mov word [esp + 0x21e], 0
je 0x4d21ae
mov eax, edx
push eax
call dword [0x5d2620]
add esp, 4
lea ecx, [esp + 0x18]
push ecx
push 0xcf28
push esi
call ebp
neg edi
sbb edi, edi
and edi, 5
push edi
push 0xcf27
mov dword [esp + 0x14], edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
mov edx, dword [esp + 0xc]
push edx
push 0xcf28
push esi
call edi
push eax
call ebx
mov ecx, dword [esp + 0x14]
mov dl, byte [ecx]
xor eax, eax
test dl, 0x40
je 0x4d2261
mov ecx, dword [ecx + 0x44]
cmp ecx, eax
je 0x4d2236
push 0x104
push ecx
lea eax, [esp + 0x20]
push eax
call dword [0x5d2618]
lea ecx, [esp + 0x24]
add esp, 0xc
test ecx, ecx
mov word [esp + 0x21e], 0
je 0x4d224f
mov edx, ecx
push edx
call dword [0x5d2620]
add esp, 4
jmp 0x4d223b
mov word [esp + 0x18], ax
lea eax, [esp + 0x18]
test eax, eax
je 0x4d224f
mov ecx, eax
push ecx
call dword [0x5d2620]
add esp, 4
lea edx, [esp + 0x18]
push edx
push 0xcf2c
push esi
call ebp
mov eax, 1
neg eax
sbb eax, eax
and eax, 5
push eax
push 0xcf2b
push esi
mov dword [esp + 0x18], eax
call edi
push eax
call ebx
mov eax, dword [esp + 0xc]
push eax
push 0xcf2c
push esi
call edi
push eax
call ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
xor eax, eax
test dh, 1
je 0x4d22fb
mov ecx, dword [ecx + 0x4c]
cmp ecx, eax
je 0x4d22d0
push 0x104
push ecx
lea ecx, [esp + 0x20]
push ecx
call dword [0x5d2618]
lea edx, [esp + 0x24]
add esp, 0xc
test edx, edx
mov word [esp + 0x21e], 0
je 0x4d22e9
mov eax, edx
push eax
call dword [0x5d2620]
add esp, 4
jmp 0x4d22d5
mov word [esp + 0x18], ax
lea ecx, [esp + 0x18]
test ecx, ecx
je 0x4d22e9
mov edx, ecx
push edx
call dword [0x5d2620]
add esp, 4
lea eax, [esp + 0x18]
push eax
push 0xcf2e
push esi
call ebp
mov eax, 1
neg eax
sbb eax, eax
and eax, 5
push eax
push 0xcf2d
push esi
mov dword [esp + 0x18], eax
call edi
push eax
call ebx
mov ecx, dword [esp + 0xc]
push ecx
push 0xcf2e
push esi
call edi
push eax
call ebx
mov edx, dword [esp + 0x624]
mov eax, dword [edx + 0x1214]
neg eax
sbb eax, eax
add eax, 0xbe01
push eax
mov eax, dword [0x621c80]
push eax
call sym.vidcap60.exe__SfGetString_8
push eax
push 0xcf23
push esi
call ebp
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
mov edx, dword [0x621c80]
shr eax, 1
not eax
and eax, 1
or eax, 0xbe00
push eax
push edx
call sym.vidcap60.exe__SfGetString_8
push eax
push 0xcf24
push esi
call ebp
push 0
push 0xcf2a
push esi
call edi
push eax
call ebx
push 0
push 0xcf24
push esi
call edi
push eax
call ebx
mov ebp, dword [esp + 0x10]
mov cl, byte [ebp]
mov eax, 1
test al, cl
je 0x4d23a2
xor eax, eax
push eax
push 1
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
test byte [ebp], 8
je 0x4d23db
mov eax, dword [esp + 0x10]
push 0
push 0xcf29
mov ebp, 1
push esi
mov dword [esp + 0x18], ebp
mov dword [eax + 0x18], 0
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov eax, ebp
jmp 0x4d23df
xor ebp, ebp
xor eax, eax
push eax
push 1
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
neg ebp
sbb ebp, ebp
and ebp, 5
push ebp
push 1
push esi
call edi
push eax
call ebx
push 0x8001
push 0
push 0
push esi
call sym.vidcap60.exe__SfWndCenter_16
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0x614
ret 4