Function at 0x46617a
Capabilities:
Capture webcam image
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp edi, 0x8037
mov dword [ecx], ebx
jne 0x46627d
push ebx
lea edi, [esi + 0x6c]
push ebx
push 0x1042
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi]
mov dword [ebp + 0x14], eax
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp + 0x14], 0xffffffff
jne 0x4661cf
push ebx
lea ecx, [esi + 0x68]
call fcn.004302b4
test eax, eax
je 0x466274
push ebx
push ebx
push 0x1042
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp + 0x14], eax
imul eax, eax, 0x1c
lea eax, [eax + 0x4c6ca8]
push ebx
mov dword [ebp - 4], eax
push ebx
mov eax, dword [eax]
lea ecx, [ebp - 0x70]
push eax
mov dword [ebp + 0xc], eax
call fcn.00469328
mov dword [ebp - 0x70], 0x4abcb0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x70]
call fcn.00469383
cmp eax, 1
jne 0x466254
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
je 0x466254
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0048ee53
mov eax, dword [eax]
pop ecx
pop ecx
push ebx
push ebx
push ebx
push ebx
push eax
push 1
push 1
mov ecx, edi
push dword [ebp + 0x14]
call fcn.00419bc6
lea ecx, [ebp + 0xc]
call fcn.004038fb
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [ecx], eax
push 1
mov ecx, esi
call fcn.00467cf1
push ebx
push 0x801f
push 0x111
push dword [0x4c42f0]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
cmp edi, 0x803b
je 0x4668a1
cmp edi, 0x803c
je 0x4668a1
cmp edi, 0x803f
je 0x4668a1
cmp edi, 0x803e
je 0x4668a1
cmp edi, 0x8035
jne 0x4662ba
push ebx
push 0xffffffffffffffff
jmp 0x4662e2
cmp edi, 0xe146
jne 0x4662d7
push ecx
mov ecx, esp
push str.Farben
call fcn.0040a4e8
call fcn.004601dd
pop ecx
jmp 0x466274
cmp edi, 0x8036
jne 0x4662ef
push ebx
push 1
lea ecx, [esi + 0x68]
call fcn.00430068
jmp 0x466254
cmp edi, 0xe123
jne 0x466361
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x1042
push dword [esi + 0x6c]
call edi
push dword [esi + 0x6c]
mov dword [ebp + 0x14], eax
call dword [sym.imp.USER32.dll_SetFocus]
lea ecx, [esi + 0x68]
call fcn.0042fd18
push ebx
push ebx
push 0x1004
push dword [esi + 0x6c]
call edi
cmp eax, dword [ebp + 0x14]
jg 0x466331
dec dword [ebp + 0x14]
push 9
xor eax, eax
pop ecx
lea edi, [ebp - 0x50]
mov dword [ebp - 0x54], ebx
push 2
rep stosd dword es:[edi], eax
pop eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0x14]
push 0x102b
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x466254
cmp edi, 0x3f8
jne 0x466375
mov ecx, esi
call fcn.00467f10
jmp 0x466274
cmp edi, 0x803a
jne 0x466394
push 1
lea ecx, [esi + 0x68]
pop edi
mov dword [esi + 0x54], ebx
push edi
call fcn.004303cf
mov dword [esi + 0x54], edi
jmp 0x466254
mov eax, 0x3f7
cmp edi, eax
jne 0x4664dd
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push eax
push 0x419
push dword [esi + 0x5c]
call edi
lea ecx, [ebp - 0x2c]
push ecx
push eax
push 0x41d
push dword [esi + 0x5c]
call edi
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x5c]
call dword [sym.imp.USER32.dll_ClientToScreen]
push 4
push dword [0x4c4374]
call dword [sym.imp.USER32.dll_GetSubMenu]
push 6
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [ebp + 0x14], eax
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
mov dword [ebp + 0xc], eax
push dword [ebp + 0x14]
call fcn.0044281c
pop ecx
mov dword [ebp + 0x14], 7
pop ecx
push 0x400
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_DeleteMenu]
dec dword [ebp + 0x14]
jne 0x466410
push 1
push 0x3f7
push 0x403
push dword [esi + 0x5c]
call edi
push ebx
push dword [esi + 4]
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0x102
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4664b6
cmp eax, 0x8505
jl 0x466463
cmp eax, 0x850f
jle 0x46646a
cmp eax, 0x8518
jne 0x4664b6
lea eax, [ebp - 8]
push 0x4e
push eax
call fcn.00461770
mov eax, dword [eax]
pop ecx
pop ecx
push 0x44
push 0x4bd5d8
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
lea ecx, [ebp - 8]
sete byte [ebp + 0x17]
call fcn.004038fb
cmp byte [ebp + 0x17], bl
je 0x4664b6
push ebx
push dword [ebp - 4]
push 0x111
push dword [0x4c42f0]
call edi
mov ecx, esi
call fcn.004670d9
push ebx
push 0x3f7
push 0x403
push dword [esi + 0x5c]
call edi
cmp dword [ebp + 0xc], ebx
je 0x466274
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_DestroyMenu]
jmp 0x466274
cmp edi, 0x8038
jne 0x466518
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x1042
push dword [esi + 0x6c]
call edi
push ebx
push eax
push 0x1013
mov dword [ebp + 0x14], eax
push dword [esi + 0x6c]
call edi
push ebx
push ebx
push dword [ebp + 0x14]
lea ecx, [esi + 0x68]
call fcn.0043045a
jmp 0x466274
cmp edi, 0xe100
jne 0x466680
lea eax, [ebp + 0xc]
push 0x4f
push eax
call fcn.00461770
pop ecx
mov eax, dword [eax]
pop ecx
lea edi, [esi + 0x6c]
push ebx
push ebx
push 0x1004
mov dword [ebp + 0x14], eax
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0x14]
mov ecx, edi
push eax
push 1
call fcn.00430cc8
lea ecx, [ebp + 0xc]
mov dword [ebp + 0x14], eax
call fcn.004038fb
push dword [edi]
mov dword [esi + 0x54], 1
call dword [sym.imp.USER32.dll_SetFocus]
push 1
lea ecx, [esi + 0x68]
push dword [ebp + 0x14]
call fcn.0043036e
call fcn.0049d7be
cdq
mov ecx, 0x80
idiv ecx
xor ecx, ecx
mov ch, dl
mov dword [ebp + 0xc], ecx
call fcn.0049d7be
cdq
mov ecx, 0x80
idiv ecx
mov ecx, dword [ebp + 0xc]
mov cl, dl
shl ecx, 8
mov dword [ebp + 0xc], ecx
call fcn.0049d7be
cdq
mov ecx, 0x80
idiv ecx
mov ecx, dword [ebp + 0xc]
movzx eax, dl
or ecx, eax
lea eax, [ebp - 8]
push ecx
push eax
call fcn.0048ee53
pop ecx
lea edi, [esi + 0x6c]
pop ecx
push ebx
push ebx
push ebx
push ebx
push dword [eax]
mov ecx, edi
push 1
push 1
push dword [ebp + 0x14]
call fcn.00419bc6
lea ecx, [ebp - 8]
call fcn.004038fb
push ebx
push ebx
push ebx
push ebx
push 0x4b7b70
push 1
push 2
push dword [ebp + 0x14]
mov ecx, edi
call fcn.00419bc6
push ebx
push ebx
push ebx
push ebx
push 0x4b7b70
push 1
push 3
mov ecx, edi
push dword [ebp + 0x14]
call fcn.00419bc6
push ebx
push ebx
push ebx
push ebx
push 0x4b7b70
push 1
push 4
mov ecx, edi
push dword [ebp + 0x14]
call fcn.00419bc6
push ebx
push ebx
push ebx
push ebx
push 0x4b7b70
push 1
push 5
mov ecx, edi
push dword [ebp + 0x14]
call fcn.00419bc6
push dword [0x4c6c9c]
mov ecx, edi
push 6
push dword [ebp + 0x14]
call fcn.00430c20
push ebx
push dword [ebp + 0x14]
push 0x1013
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push dword [ebp + 0x14]
lea ecx, [esi + 0x68]
call fcn.0043045a
mov dword [esi + 0x54], ebx
jmp 0x466254
cmp edi, 0x8030
jne 0x4666af
push ecx
mov ecx, esp
push str._Q_Dir_Farben_r_n
call fcn.0040a4e8
push ecx
mov ecx, esp
push str.color.ini
call fcn.0040a4e8
lea ecx, [esi + 0x68]
call fcn.0042f1bf
jmp 0x466274
cmp edi, 0xa73c
jne 0x466798
mov dword [esi + 0x54], ebx
mov dword [ecx], 1
mov eax, dword [0x4b0550]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
call fcn.0045f6f8
test eax, eax
pop ecx
je 0x46673e
push ebx
push str._Q_Dir_Farben
lea ecx, [ebp + 0xc]
call fcn.00403d34
test eax, eax
je 0x4666fe
push ebx
push str._Q_Dir_Colors
lea ecx, [ebp + 0xc]
call fcn.00403d34
test eax, eax
jne 0x46673e
lea eax, [ebp - 8]
push 0x50
push eax
call fcn.00461770
mov eax, dword [eax]
pop ecx
pop ecx
push 0x44
push ebx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
lea ecx, [ebp - 8]
sete byte [ebp + 0x17]
call fcn.004038fb
cmp byte [ebp + 0x17], bl
je 0x46673e
lea edi, [esi + 0x68]
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
call fcn.0042eee7
jmp 0x466755
push ecx
lea edi, [esi + 0x68]
mov ecx, esp
push 0x4bd614
call fcn.00403927
mov ecx, edi
call fcn.0042f0b9
cmp eax, ebx
je 0x466784
push 1
mov ecx, edi
call fcn.0043012b
push 1
mov ecx, edi
call fcn.004303cf
push ebx
mov ecx, edi
call fcn.0043012b
push ebx
mov ecx, edi
call fcn.004302b4
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_SetFocus]
lea ecx, [ebp + 0xc]
mov dword [esi + 0x54], 1
call fcn.004038fb
jmp 0x466254
cmp edi, 0x8033
jne 0x466274
lea eax, [ebp - 8]
lea ecx, [esi + 0x68]
push eax
call fcn.0042eb46
push ecx
lea eax, [ebp - 8]
mov ecx, esp
push eax
call fcn.004038b5
lea eax, [ebp - 4]
push eax
call fcn.0045f5ef
lea eax, [ebp + 0xc]
push eax
call fcn.0045eb8c
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [0x4b0550]
mov dword [ebp + 0x14], eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
movzx eax, word [ebp - 0x2c]
push eax
movzx eax, word [ebp - 0x2a]
push eax
movzx eax, word [ebp - 0x26]
push eax
lea eax, [ebp + 0x14]
push str._02d._02d._04d__02d:_02d
push eax
call fcn.00403d66
add esp, 0x1c
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 4]
push str.Name
push eax
lea eax, [ebp + 0xc]
push 0x4b7f64
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040a915
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040a915
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00403b20
push 5
push ebx
push ebx
push dword [eax]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp + 0x14]
call fcn.004038fb
lea ecx, [ebp + 0xc]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
jmp 0x466274
push ecx
mov ecx, esp
push 0x4bd614
call fcn.00403927
push edi
mov ecx, esi
call fcn.00466022
jmp 0x466274