Function at 0x40fd90
Capabilities:
Capture webcam image

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebp, ebp
push ebp
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x10], ebp
xor edx, edx
lea ecx, [esi + 0x35c]
jmp 0x40fdc0
lea ebx, [edx + 0x3e9]
mov dword [ecx - 0xc], edi
mov dword [ecx - 0x28], ebx
mov dword [ecx], eax
inc edx
add ecx, 0x30
cmp edx, 0x31
jl 0x40fdc0
lea edi, [esi + 0x334]
mov dword [esp + 0x1c], ebp
mov ebx, 0x1c
add esi, 0x358
lea esp, [esp]
push 0
push 0x50800000
push str.COMBOBOX
push 0x42652d
mov ecx, edi
push 0xdc
test ebp, ebp
jne 0x40fe78
push 0x3a
push ebx
push 0xa
mov dword [esi], 1
call fcn.00408050
inc dword [esp + 0x1c]
push ebp
push 0x50800000
push str.COMBOBOX
push 0x42652d
push 0xdc
push 0x43
push ebx
add edi, 0x30
add esi, 0x30
push 0x50
mov ecx, edi
mov dword [esi], 2
call fcn.00408050
add dword [esp + 0x10], 2
inc dword [esp + 0x1c]
push 0
push 0x50800000
push str.EDIT
push 0x427138
push 0x14
push 0x1e
push ebx
mov ebp, 0x8c
push 0x96
jmp 0x40feb4
push 0x43
push ebx
lea eax, [ebp + 0xa]
push eax
mov dword [esi], 2
call fcn.00408050
push 0
push 0x50800000
push str.EDIT
push 0x427138
push 0x14
add ebp, 0x46
push 0x1e
mov eax, 1
add dword [esp + 0x28], eax
add dword [esp + 0x34], eax
push ebx
lea ecx, [ebp + 0xa]
push ecx
add edi, 0x30
add esi, 0x30
mov ecx, edi
mov dword [esi], 4
call fcn.00408050
mov eax, dword [esp + 0x10]
inc eax
add ebp, 0x28
mov dword [esp + 0x10], eax
cmp eax, 9
jne 0x40fee1
xor ebp, ebp
mov dword [esp + 0x10], ebp
add ebx, 0x33
mov eax, dword [esp + 0x1c]
inc eax
add esi, 0x30
add edi, 0x30
cmp eax, 0x2d
mov dword [esp + 0x1c], eax
jl 0x40fdf0
mov esi, dword [esp + 0x14]
push 0x416
mov ecx, esi
call fcn.0040f700
push 0
push 0x5080000b
push str.BUTTON
push 0x42712c
push 0x16
push 0x46
mov edi, eax
push 0x11d
push 0xa
mov ecx, edi
mov dword [edi + 0x24], 5
call fcn.00408050
mov edx, dword [esi + 0x4c]
mov eax, dword [edi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push edx
push 0x30
push eax
call edi
push 0x417
mov ecx, esi
call fcn.0040f700
push 0
push 0x50800000
push str.COMBOBOX
push 0x42652d
push 0xdc
push 0xc8
mov ebx, eax
push 0x11f
push 0x55
mov ecx, ebx
mov dword [ebx + 0x24], 3
call fcn.00408050
mov ecx, dword [esi + 0x4c]
mov edx, dword [ebx + 0x20]
push 0
push ecx
push 0x30
push edx
call edi
push 0x419
mov ecx, esi
call fcn.0040f700
push 0
push 0x5000000b
push str.BUTTON
push 0x427120
push 0x16
push 0x46
mov ebx, eax
push 0x11d
mov ebp, 6
push 0x140
mov ecx, ebx
mov dword [ebx + 0x24], ebp
call fcn.00408050
mov eax, dword [esi + 0x4c]
mov ecx, dword [ebx + 0x20]
push 0
push eax
push 0x30
push ecx
call edi
push 0x418
mov ecx, esi
call fcn.0040f700
push 0
push 0x5000000b
push str.BUTTON
push 0x426b98
push 0x16
mov ebx, eax
push 0x46
mov dword [ebx + 0x24], ebp
push 0x11d
push 0x190
mov ecx, ebx
call fcn.00408050
mov edx, dword [esi + 0x4c]
mov eax, dword [ebx + 0x20]
push 0
push edx
push 0x30
push eax
call edi
push 0x4268e4
push 0x20
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xc
call dword [sym.imp.GDI32.dll_CreateFontA]
mov ebp, eax
lea ebx, [esi + 0x354]
mov dword [esp + 0x1c], 0x2e
lea esp, [esp]
cmp dword [ebx + 4], 4
jne 0x410073
mov ecx, dword [esi + 0x4c]
mov edx, dword [ebx]
push 0
push ecx
push 0x30
push edx
call edi
cmp dword [ebx + 4], 1
jne 0x410086
mov eax, dword [esi + 0x4c]
mov ecx, dword [ebx]
push 0
push eax
push 0x30
push ecx
call edi
cmp dword [ebx + 4], 2
jne 0x410096
mov edx, dword [ebx]
push 0
push ebp
push 0x30
push edx
call edi
add ebx, 0x30
sub dword [esp + 0x1c], 1
jne 0x410060
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4