Function at 0x5bf2f0
Capabilities:
Capture webcam image
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6013e9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x418
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebx + 8]
push edi
mov dword [ebp - 0x428], edi
call fcn.005bc180
test al, al
je 0x5bf933
mov eax, dword [esi + 0x3c]
lea ecx, [edi + edi*8]
mov edx, dword [sym.imp.USER32.dll_SendMessageW]
shl ecx, 3
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x420], eax
mov ecx, dword [eax + ecx]
mov dword [ebp - 0x418], ecx
cmp ecx, 0x20
jne 0x5bf464
mov ecx, dword [ebp - 0x41c]
mov eax, dword [eax + ecx + 0x44]
mov dword [ebp - 0x414], eax
test eax, eax
je 0x5bf77f
mov ecx, eax
call fcn.005c1c60
push 0x270
push dword [ebp - 0x414]
call fcn.0041e7c1
add esp, 8
mov edx, dword [ebp - 0x418]
lea ecx, [edi + edi*8]
shl ecx, 3
mov eax, dword [esi + 0x3c]
add eax, ecx
cmp edx, 0x1b
jne 0x5bf7e9
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0x20
push ecx
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0x80000020
push 0x43f
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x5bf87a
lea eax, [edi + edi*8]
shl eax, 3
xor edi, edi
mov dword [ebp - 0x414], eax
push dword [ebp - 0x48]
mov ecx, esi
call fcn.005bc180
test al, al
je 0x5bf436
mov edx, dword [ebp - 0x48]
mov eax, dword [esi + 0x3c]
lea ecx, [edx + edx*8]
cmp dword [eax + ecx*8], 0x1c
jne 0x5bf436
push edx
mov ecx, esi
call fcn.005bf2f0
mov ecx, dword [ebp - 0x414]
lea eax, [ebp - 0x50]
push eax
mov eax, dword [esi + 0x3c]
inc edi
push edi
push 0x43f
push dword [ecx + eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x5bf411
mov edi, dword [ebp - 0x428]
jmp 0x5bf87a
cmp ecx, 0x19
jne 0x5bf4e0
mov ecx, dword [ebp - 0x41c]
push 0
push 0
push 0x1304
mov eax, dword [eax + ecx + 4]
push eax
mov dword [ebp - 0x424], eax
call edx
test eax, eax
je 0x5bf77f
mov edi, eax
nop
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 8
push eax
lea eax, [edi - 1]
xorps xmm0, xmm0
push eax
push 0x133c
push dword [ebp - 0x424]
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x5bf4d0
push dword [ebp - 0x18]
mov ecx, esi
call fcn.005bf2f0
sub edi, 1
jne 0x5bf490
mov edi, dword [ebp - 0x428]
jmp 0x5bf3a9
cmp ecx, 3
jne 0x5bf51b
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x41c]
push 0
push 0x1603
push dword [eax + ecx + 4]
call edx
test eax, eax
je 0x5bf77f
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x5bf77f
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
jmp 0x5bf3a9
cmp ecx, 0x26
jne 0x5bf566
push 0x3b0
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00420090
mov eax, dword [esi + 0x230]
add esp, 0xc
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x410]
mov dword [ebp - 0x410], 0x3bc
mov dword [ebp - 0x408], edi
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
jmp 0x5bf3a9
call fcn.005c8450
test al, al
je 0x5bf639
mov edi, dword [ebp - 0x41c]
mov eax, dword [ebp - 0x420]
mov eax, dword [eax + edi + 0x44]
mov edi, dword [ebp - 0x428]
mov dword [ebp - 0x414], eax
test eax, eax
je 0x5bf639
mov eax, dword [eax]
mov dword [ebp - 0x424], eax
cmp eax, edi
jne 0x5bf5b2
mov eax, dword [ebp - 0x414]
mov eax, dword [eax + 4]
mov dword [ebp - 0x424], eax
test eax, eax
je 0x5bf5e1
push eax
mov ecx, esi
call fcn.005bc180
test al, al
je 0x5bf5e1
mov ecx, dword [ebp - 0x424]
mov edx, dword [ebp - 0x420]
push ecx
lea eax, [ecx + ecx*8]
mov ecx, esi
mov dword [edx + eax*8 + 0x44], 0
call fcn.005bf2f0
mov eax, dword [esi + 0x3c]
mov ecx, dword [ebp - 0x41c]
push 0x1c
push dword [ebp - 0x414]
mov dword [ecx + eax + 0x44], 0
call fcn.0041e7c1
mov ecx, dword [ebp - 0x418]
add esp, 8
cmp ecx, 0x1a
je 0x5bf824
cmp ecx, 0x16
je 0x5bf824
cmp ecx, 0x28
je 0x5bf824
cmp ecx, 0x10
jne 0x5bf77f
push edi
mov ecx, esi
call fcn.005b8e40
jmp 0x5bf87a
cmp ecx, 0x25
jne 0x5bf66c
mov edx, dword [ebp - 0x420]
mov eax, dword [ebp - 0x41c]
mov eax, dword [edx + eax + 0x44]
test eax, eax
je 0x5bf725
mov ecx, dword [ebp - 0x41c]
push 0x10
push eax
mov dword [edx + ecx + 0x44], 0
jmp 0x5bf3a1
cmp ecx, 0xc
jne 0x5bf683
mov edx, dword [ebp - 0x420]
lea eax, [edi + edi*8]
mov eax, dword [edx + eax*8 + 0x44]
jmp 0x5bf70e
cmp ecx, 0x1d
jne 0x5bf6d8
mov ecx, dword [ebp - 0x420]
lea eax, [edi + edi*8]
push 0
push 2
push 0x1108
push dword [ecx + eax*8 + 4]
call edx
test eax, eax
je 0x5bf6ab
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov eax, dword [esi + 0x3c]
lea ecx, [edi + edi*8]
push 0
push 0
push 0x1108
push dword [eax + ecx*8 + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x5bf77f
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
jmp 0x5bf3a9
cmp ecx, 0x17
jne 0x5bf71f
mov ecx, dword [ebp - 0x420]
lea eax, [edi + edi*8]
mov eax, dword [ecx + eax*8 + 0x44]
movzx ecx, ax
test eax, eax
je 0x5bf77f
mov eax, ecx
test eax, eax
je 0x5bf703
push eax
mov ecx, esi
call fcn.005bf2f0
mov eax, dword [esi + 0x3c]
lea ecx, [edi + edi*8]
movzx eax, word [eax + ecx*8 + 0x46]
test eax, eax
je 0x5bf77f
push eax
mov ecx, esi
call fcn.005bf2f0
jmp 0x5bf3a9
mov edx, dword [ebp - 0x420]
cmp ecx, 0x22
jne 0x5bf608
lea eax, [edi + edi*8]
mov eax, dword [edx + eax*8 + 0x44]
mov dword [ebp - 0x414], eax
test eax, eax
je 0x5bf77f
push fcn.005c6500
push 5
push 4
add eax, 4
mov dword [ebp - 4], 0
push eax
call fcn.0041e45b
push 0x18
push dword [ebp - 0x414]
mov dword [ebp - 4], 0xffffffff
call fcn.0041e7c1
mov eax, dword [esi + 0x3c]
lea ecx, [edi + edi*8]
mov dword [eax + ecx*8 + 0x44], 0
jmp 0x5bf3a6
mov edx, dword [ebp - 0x418]
lea ecx, [edi + edi*8]
shl ecx, 3
cmp edx, 0x11
jne 0x5bf7a5
mov eax, dword [esi + 0x3c]
push 0
push edi
push dword [ecx + eax + 8]
call dword [sym.imp.USER32.dll_RemoveMenu]
jmp 0x5bf87a
cmp edx, 0x1c
jne 0x5bf3b5
mov eax, dword [esi + 0x3c]
push 0
push edi
push 0x419
push dword [ecx + eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x5bf87a
push 0
push eax
mov eax, dword [esi + 0x3c]
lea ecx, [edi + edi*8]
push 0x416
push dword [eax + ecx*8 + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x5bf87a
mov eax, dword [eax + 4]
test eax, eax
je 0x5bf87a
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x3c]
lea ecx, [edi + edi*8]
push dword [eax + ecx*8 + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x3c]
lea ecx, [edi + edi*8]
cmp dword [eax + ecx*8 + 8], 0
je 0x5bf87a
push edi
mov ecx, esi
call fcn.005b8e40
jmp 0x5bf87a
mov eax, dword [esi + 0x3c]
lea ecx, [edi + edi*8]
mov ecx, dword [eax + ecx*8 + 0x44]
mov dword [ebp - 0x414], ecx
test ecx, ecx
je 0x5bf86a
mov eax, dword [ecx]
mov dword [ebp - 0x424], eax
test eax, eax
je 0x5bf861
mov edi, eax
push dword [ecx + edi*4]
mov ecx, esi
call fcn.005bf2f0
mov ecx, dword [ebp - 0x414]
sub edi, 1
jne 0x5bf846
mov edi, dword [ebp - 0x428]
push ecx
call fcn.0041e1c3
add esp, 4
mov eax, dword [esi + 0x3c]
lea ecx, [edi + edi*8]
push dword [eax + ecx*8 + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x3c]
lea ecx, [edi + edi*8]
mov edx, dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [eax + ecx*8 + 0x14]
test eax, eax
je 0x5bf897
push eax
call edx
mov edx, dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x3c]
lea ecx, [edi + edi*8]
mov eax, dword [eax + ecx*8 + 0x10]
test eax, eax
je 0x5bf8a8
push eax
call edx
mov eax, dword [esi + 0x3c]
lea ecx, [edi + edi*8]
mov ecx, dword [eax + ecx*8 + 0x44]
test ecx, ecx
je 0x5bf8db
mov eax, dword [ebp - 0x418]
cmp eax, 0xb
jne 0x5bf8ca
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x5bf8db
cmp eax, 0x13
je 0x5bf8d4
cmp eax, 0x1c
jne 0x5bf8db
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
mov ecx, esi
call fcn.005b9100
mov eax, dword [esi + 0x3c]
lea ecx, [edi + edi*8]
mov dword [eax + ecx*8 + 0xc], 0
mov edx, dword [esi + 0x40]
cmp edi, edx
jne 0x5bf920
test edx, edx
je 0x5bf920
mov eax, dword [esi + 0x3c]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*8]
add eax, 0xc
cmp dword [eax], 0
jne 0x5bf920
dec edx
sub eax, 0x48
mov dword [esi + 0x40], edx
test edx, edx
jne 0x5bf908
nop dword [eax + eax]
mov ecx, dword [esi + 0x1c0]
mov dl, 1
call fcn.005c8820
test eax, eax
jne 0x5bf920
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4