Function at 0x401054
Capabilities:
Hide graphical window

Disassembly:
push edi
push esi
push ebp
mov eax, 0x1048
call fcn.0040e930
mov esi, dword [esp + 0x1058]
mov ebp, dword [esp + 0x105c]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov dword [0x413a68], esi
push 0xa
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov dword [0x413a6c], eax
test ebp, ebp
je 0x401493
push 0xc
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [0x413a70], eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push dword [0x413a70]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x413a80
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
push eax
push esi
push eax
push eax
push 0x12c
push 0x140
push eax
push 0x80000000
push 0x2cf0000
push str.DirectShow_Capture
push 0xa
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x413ac8], eax
push ebp
push esi
call fcn.0040e51c
add esp, 8
xor eax, eax
push eax
push esi
push eax
push dword [0x413ac8]
push eax
push eax
push eax
push eax
push 0x54800000
push eax
push str.StatusClass
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x413ab8], eax
test eax, eax
je 0x4014fb
push dword [esp + 0x1060]
push dword [0x413ac8]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x104
push 0x413ae0
push 0x415a08
push 0x4159fc
push 0x4159f4
call dword [sym.imp.KERNEL32.dll_GetProfileStringA]
mov edx, 0x413c6c
xor eax, eax
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov edx, 0x413c44
xor eax, eax
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
lea edx, [esp + 0x28]
xor eax, eax
mov dword [0x413c94], eax
mov dword [0x413c98], eax
mov byte [esp + 0x28], al
mov byte [esp + 0x428], al
push 0x400
push edx
push 0x415a08
push 0x415a0c
push 0x4159f4
call dword [sym.imp.KERNEL32.dll_GetProfileStringA]
lea eax, [esp + 0x428]
push 0x400
push eax
push 0x415a08
push 0x415a1c
push 0x4159f4
call dword [sym.imp.KERNEL32.dll_GetProfileStringA]
mov edi, 0x41409c
xor eax, eax
mov ecx, pe_nt_image_headers32
rep stosd dword es:[edi], eax
mov edi, 0x413c9c
xor eax, eax
mov ecx, pe_nt_image_headers32
rep stosd dword es:[edi], eax
lea edx, [esp + 0x828]
xor eax, eax
mov dword [0x41449c], eax
mov dword [0x4144a0], eax
mov byte [esp + 0x828], al
mov byte [esp + 0xc28], al
push 0x400
push edx
push 0x415a08
push 0x415a2c
push 0x4159f4
call dword [sym.imp.KERNEL32.dll_GetProfileStringA]
lea eax, [esp + 0xc28]
push 0x400
push eax
push 0x415a08
push 0x415a38
push 0x4159f4
call dword [sym.imp.KERNEL32.dll_GetProfileStringA]
call fcn.00405cc0
push 1
push 0x415a44
push 0x4159f4
call dword [sym.imp.KERNEL32.dll_GetProfileIntA]
mov dword [0x4144b8], eax
push 0
push 0x415a54
push 0x4159f4
call dword [sym.imp.KERNEL32.dll_GetProfileIntA]
mov dword [0x4144bc], eax
push 0
push 0x415a60
push 0x4159f4
call dword [sym.imp.KERNEL32.dll_GetProfileIntA]
mov dword [0x4144c0], eax
push 1
push 0x415a70
push 0x4159f4
call dword [sym.imp.KERNEL32.dll_GetProfileIntA]
mov dword [0x4144a8], eax
push 0
push 0x415a7c
push 0x4159f4
call dword [sym.imp.KERNEL32.dll_GetProfileIntA]
mov dword [0x4144ac], eax
push 1
xor eax, eax
mov dword [0x4144b0], eax
push 0x415a88
mov dword [0x4144b4], eax
push 0x4159f4
call dword [sym.imp.KERNEL32.dll_GetProfileIntA]
mov dword [0x413c30], eax
push 0
push 0x415a98
push 0x4159f4
call dword [sym.imp.KERNEL32.dll_GetProfileIntA]
mov dword [0x4145bc], eax
push 0
push 0x415aa8
push 0x4159f4
call dword [sym.imp.KERNEL32.dll_GetProfileIntA]
mov dword [0x4144a4], 0
mov dword [0x4145c0], eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x428]
push eax
push edx
call fcn.004079dc
lea edx, [esp + 0x830]
lea eax, [esp + 0xc30]
push eax
push edx
call fcn.00407b3c
add esp, 0x10
push 0
push 0x415ab4
push 0x4159f4
call dword [sym.imp.KERNEL32.dll_GetProfileIntA]
mov dword [0x4144a4], eax
test eax, eax
je 0x401489
call fcn.00404ca4
call fcn.00405150
lea edx, [esp + 0x1028]
xor eax, eax
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov eax, dword [0x411478]
mov edx, dword [0x41147c]
mov ecx, dword [0x411480]
mov ebp, dword [0x411484]
xor esi, esi
mov dword [esp + 0x1028], 0x20
mov dword [esp + 0x1034], eax
mov dword [esp + 0x1038], edx
mov dword [esp + 0x102c], 5
mov dword [esp + 0x103c], ecx
mov dword [esp + 0x1040], ebp
mov dword [0x413ac0], esi
push 0x415ac0
mov dword [0x413ac4], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebp, eax
push 0x415acc
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x415aec
push ebp
mov dword [0x413ac0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x413ac4], eax
mov dword [0x413abc], 0
test eax, eax
je 0x401475
lea edx, [esp + 0x1028]
push 0
push edx
push dword [0x413ac8]
call eax
mov dword [0x413abc], eax
call fcn.00401000
mov eax, 1
add esp, 0x1048
pop ebp
pop esi
pop edi
ret
call fcn.00405244
jmp 0x4013aa
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esp + 0x18], eax
push 0x4159e8
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esp + 0x1c], 6
mov dword [esp + 0x14], eax
mov eax, 0xa
mov dword [esp], 0x100b
mov dword [esp + 0x20], eax
xor edx, edx
mov dword [esp + 4], 0x401fa0
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edx
mov dword [esp + 8], edx
lea ecx, [esp]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x401099
xor eax, eax
add esp, 0x1048
pop ebp
pop esi
pop edi
ret