Function at 0x413f3f
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [0x4be2c0]
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 0x414145
mov ecx, edi
xor ebx, ebx
call fcn.004150d9
cmp eax, 0x20
jle 0x413f73
push 1
pop ebx
push 0x3e8
push 0x5600094c
push ebx
push ebp
push 9
push 0x4b18e0
push dword [edi + 4]
call fcn.0049c407
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 0x414022
mov dword [esp + 0x14], 0x4bdda8
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 0x414003
mov eax, dword [esp + 0x18]
push ebp
push ebx
mov dword [0x4be2c4], eax
mov dword [0x4be2c0], ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebp
push ebp
push 0x431
push ebx
call esi
cmp dword [0x4be2cc], ebp
mov dword [esp + 0x14], eax
jne 0x414064
push ebp
push ebp
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
push eax
call fcn.00423835
pop ecx
mov dword [0x4be2cc], eax
cmp dword [esp + 0x14], ebp
je 0x414133
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 0x4140c4
mov eax, dword [0x4c7a90]
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 [0x4b18d8], ebp
jne 0x414133
push 1
push 0xa770
push edi
push ebx
call esi
mov ebx, dword [0x4be2c0]
mov edi, dword [esp + 0x1c]
cmp ebx, ebp
je 0x413f62
push ebp
push ebp
push 0x418
push ebx
call esi
mov ecx, edi
call fcn.004150d9
cmp eax, 0x14
jge 0x41415e
push 0x14
pop eax
push ebp
push dword [0x4c7b64]
push ebp
push dword [edi + 4]
push eax
push 0x64
push ebp
push ebp
push 0x5600094c
push ebp
push 0x4b1388
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
cmp edi, ebp
je 0x4141ad
push ebp
push ebp
push 0x431
push ebx
call esi
push eax
push ebp
push 0x430
push edi
call esi
push 0x4bdda8
push dword [0x4be2c4]
push 0x444
push edi
call esi
push 1
mov ebx, 0x404
push 0xb379
push ebx
push edi
call esi
cmp dword [0x4b18d8], ebp
jne 0x4141d0
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