Function at 0x413fc5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [0x4bd1f8]
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
xor ebp, ebp
mov edi, ecx
cmp ebx, ebp
mov dword [esp + 0x1c], edi
jne 0x4141cb
mov ecx, edi
xor ebx, ebx
call fcn.0041515f
cmp eax, 0x20
jle 0x413ff9
push 1
pop ebx
push 0x3e8
push 0x5600094c
push ebx
push ebp
push 9
push 0x4b08e0
push dword [edi + 4]
call fcn.0049beba
mov ebx, eax
xor eax, eax
lea edi, [esp + 0x40]
mov dword [esp + 0x3c], ebp
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x1c
stosd dword es:[edi], eax
push ebp
push 0xa775
push 0x419
push ebx
stosd dword es:[edi], eax
call esi
lea ecx, [esp + 0x20]
mov edi, 0x417
push ecx
push eax
push edi
push ebx
mov dword [esp + 0x24], eax
call esi
or byte [esp + 0x29], 8
push ebp
push dword [esp + 0x18]
push 0x416
push ebx
call esi
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x18]
push 0x443
push ebx
call esi
push ebp
push ebp
push 0x418
push ebx
call esi
cmp eax, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebp
jle 0x4140a8
mov dword [esp + 0x14], 0x4bcce0
push dword [esp + 0x14]
push dword [esp + 0x14]
push edi
push ebx
call esi
inc dword [esp + 0x10]
add dword [esp + 0x14], 0x14
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x18]
jl 0x414089
mov eax, dword [esp + 0x18]
push ebp
push ebx
mov dword [0x4bd1fc], eax
mov dword [0x4bd1f8], ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebp
push ebp
push 0x431
push ebx
call esi
cmp dword [0x4bd204], ebp
mov dword [esp + 0x14], eax
jne 0x4140ea
push ebp
push ebp
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
push eax
call fcn.004237b8
pop ecx
mov dword [0x4bd204], eax
cmp dword [esp + 0x14], ebp
je 0x4141b9
push ebp
push 0xa770
push 0x419
push ebx
call esi
lea ecx, [esp + 0x20]
push ecx
push eax
push edi
push ebx
call esi
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebp
push 0x20
push 0x20
push 1
push 0x4163
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_LoadImageW]
cmp eax, ebp
jne 0x41414a
mov eax, dword [0x4c69a8]
push ebp
push 0x10
push 0x10
push 1
push 0x155
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push dword [esp + 0x24]
push dword [esp + 0x1c]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push ebp
push 0xb379
push 0x419
push ebx
call esi
lea ecx, [esp + 0x20]
push ecx
push eax
push edi
push ebx
call esi
push ebp
push 0x20
push 0x20
push 1
push 0x122
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push dword [esp + 0x24]
push dword [esp + 0x1c]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push 1
mov edi, 0x404
push 0xb379
push edi
push ebx
call esi
cmp dword [0x4b08d8], ebp
jne 0x4141b9
push 1
push 0xa770
push edi
push ebx
call esi
mov ebx, dword [0x4bd1f8]
mov edi, dword [esp + 0x1c]
cmp ebx, ebp
je 0x413fe8
push ebp
push ebp
push 0x418
push ebx
call esi
mov ecx, edi
call fcn.0041515f
cmp eax, 0x14
jge 0x4141e4
push 0x14
pop eax
push ebp
push dword [0x4c6a7c]
push ebp
push dword [edi + 4]
push eax
push 0x64
push ebp
push ebp
push 0x5600094c
push ebp
push 0x4b0388
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
cmp edi, ebp
je 0x414233
push ebp
push ebp
push 0x431
push ebx
call esi
push eax
push ebp
push 0x430
push edi
call esi
push 0x4bcce0
push dword [0x4bd1fc]
push 0x444
push edi
call esi
push 1
mov ebx, 0x404
push 0xb379
push ebx
push edi
call esi
cmp dword [0x4b08d8], ebp
jne 0x414256
push 1
push 0xa770
push ebx
push edi
call esi
push 1
push ebp
push 0x454
push edi
call esi
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret