Function at 0x40575a
Capabilities:
Capture webcam image

Disassembly:
test dword [edx], esp
add al, byte [eax]
add byte [ebx + 0x26a0845], cl
mov dword [0x42ebc0], eax
mov eax, dword [0x42eb8c]
inc edx
add byte [ebx - 0x77], bl
jge 0x405748
inc edx
add byte [ebx - 0x77], bl
jge 0x405748
shl eax, 2
push eax
push 0x40
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0x6e
mov dword [0x429fd4], eax
push dword [0x42eb60]
call dword [sym.imp.USER32.dll_LoadBitmapA]
or dword [0x429fc8], 0xffffffff
push 0x404cfa
push 0xfffffffffffffffc
mov dword [ebp - 0x14], eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push edi
push 6
push 0x21
push 0x10
push 0x10
mov dword [0x429fd0], eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 0xff00ff
mov dword [0x429fbc], eax
push dword [ebp - 0x14]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push dword [0x429fbc]
push ebx
push 0x1109
push dword [ebp - 4]
call esi
push edi
push edi
push 0x111c
push dword [ebp - 4]
call esi
cmp eax, 0x10
jge 0x4057f3
push edi
push 0x10
push 0x111b
push dword [ebp - 4]
call esi
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_DeleteObject]
xor ebx, ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + ebx*4]
cmp eax, edi
je 0x40582f
cmp ebx, 0x20
je 0x405810
mov dword [ebp - 0xc], edi
push eax
push edi
call fcn.00406a2e
push eax
push edi
push 0x143
push dword [ebp - 8]
call esi
push ebx
push eax
push 0x151
push dword [ebp - 8]
call esi
inc ebx
cmp ebx, 0x21
jl 0x4057fe
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp - 0xc]
push dword [edi + ebx*4 + 0x30]
push 0x15
push dword [ebp + 8]
call fcn.00404dbe
push dword [edi + ebx*4 + 0x34]
push 0x16
push dword [ebp + 8]
call fcn.00404dbe
xor edi, edi
xor ebx, ebx
cmp dword [0x42eb8c], edi
jle 0x40592b
mov eax, dword [ebp - 0x1c]
lea edx, [eax + 8]
mov dword [ebp - 0x14], edx
lea eax, [edx + 0x10]
cmp byte [eax], 0
je 0x40590c
mov dword [ebp - 0x38], eax
mov eax, dword [edx]
push 0x20
mov edx, eax
pop ecx
mov dword [ebp - 0x50], ebx
and edx, ecx
mov dword [ebp - 0x4c], 0xffff0002
test al, 2
mov dword [ebp - 0x48], 0xd
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x40], edx
je 0x4058de
lea eax, [ebp - 0x50]
mov dword [ebp - 0x48], 0x4d
push eax
push 0
push 0x1100
mov dword [ebp - 0x28], 1
push dword [ebp - 4]
call esi
mov ecx, dword [0x429fd4]
mov dword [ebp - 0x18], 1
mov dword [ecx + edi*4], eax
mov eax, dword [0x429fd4]
mov ebx, dword [eax + edi*4]
jmp 0x40590c
test al, 4
je 0x4058f3
push ebx
push 3
push 0x110a
push dword [ebp - 4]
call esi
mov ebx, eax
jmp 0x40590c
lea eax, [ebp - 0x50]
push eax
push 0
push 0x1100
push dword [ebp - 4]
call esi
mov ecx, dword [0x429fd4]
mov dword [ecx + edi*4], eax
mov edx, dword [ebp - 0x14]
inc edi
add edx, 0x418
cmp edi, dword [0x42eb8c]
mov dword [ebp - 0x14], edx
jl 0x405870
cmp dword [ebp - 0x18], 0
jne 0x405944
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and al, 0xfb
push eax
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp dword [ebp - 0xc], 0
jne 0x405962
push 5
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 8]
call fcn.00404df3
jmp 0x405ce5
push dword [ebp - 4]
call fcn.00404df3