Function at 0x100bf7a4
Capabilities:
Capture webcam image
Copy file

Disassembly:
push ebp
sub esp, 0x54
mov eax, 0x100f0c05
call fcn.100c908c
sub esp, 0x30
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
cmp dword [esi + 0x84], ebx
je 0x100bfe46
cmp dword [esi + 0x114], ebx
je 0x100bfe46
push dword [ebp + 0x60]
call fcn.1000a488
mov ecx, dword [esi + 0x84]
lea eax, [ebp + 0x34]
push eax
push esi
mov byte [ebp + 0x34], bl
mov byte [ebp + 0x57], 1
call fcn.1007943b
mov dword [ebp + 0x3c], eax
cmp byte [ebp + 0x34], bl
jne 0x100bf82a
push ebx
push 1
push ecx
lea eax, [esi + 0x48]
mov dword [ebp + 0x48], esp
mov ecx, esp
push eax
call fcn.1000548f
mov ecx, dword [esi + 0x84]
add ecx, 0xf4
call fcn.1006951b
cmp eax, ebx
setne byte [ebp + 0x57]
mov eax, dword [esi + 0xc]
push ebx
push eax
push 0x419
push dword [ebp + 0x3c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 7
mov dword [ebp + 0x50], eax
xor eax, eax
cmp dword [esi + 0x100], ebx
pop ecx
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x30], 0x20
rep stosd dword es:[edi], eax
mov dword [ebp - 0x2c], 0x48
mov byte [ebp - 0x1f], bl
jge 0x100bf8c8
lea edi, [esi + 0x104]
mov eax, dword [edi]
push ecx
mov ecx, esp
mov dword [ebp + 0x48], esp
cmp dword [eax - 0xc], ebx
jne 0x100bf896
push str.tb_items_sizes
call fcn.10009e15
push dword [esi + 0xf4]
lea eax, [esi + 0x48]
push ecx
mov dword [ebp + 0x30], esp
mov ecx, esp
mov byte [ebp - 4], 1
push eax
jmp 0x100bf8b1
push 0x1010d92c
call fcn.10009e15
push dword [esi + 0xf4]
mov byte [ebp - 4], 2
push ecx
mov dword [ebp + 0x30], esp
mov ecx, esp
push edi
call fcn.1000548f
mov byte [ebp - 4], 0
call fcn.10062265
add esp, 0xc
mov dword [esi + 0xf4], eax
mov eax, dword [esi + 0xf4]
mov ecx, dword [esi + 0xbc]
cmp eax, ecx
mov word [ebp - 0x1e], ax
jg 0x100bf8e0
mov word [ebp - 0x1e], cx
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x30]
push ecx
push eax
push 0x440
push dword [ebp + 0x3c]
call edi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x50]
mov dword [ebp + 0xc], ebx
push 0x41d
push dword [ebp + 0x3c]
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
call edi
push dword [ebp + 0x34]
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
call fcn.100bf3d1
movzx eax, byte [ebp + 0x57]
mov ecx, dword [esi + 0x114]
neg eax
sbb eax, eax
and eax, 5
mov dword [ecx + 0x64], eax
mov ecx, dword [esi + 0x114]
lea eax, [esi + 0xe0]
add ecx, 0x5c
push eax
call fcn.1000688b
push 0x101519f8
lea ecx, [ebp + 0x4c]
call fcn.1007170f
lea edi, [esi + 0xe4]
push str.about:blank
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.10004959
cmp eax, ebx
je 0x100bfa90
push ebx
push str.http:__
mov ecx, edi
call fcn.1000506b
cmp eax, 0xffffffff
jne 0x100bfa90
push ebx
push 0x100f446c
mov ecx, edi
call fcn.1000506b
cmp eax, 0xffffffff
jne 0x100bfa90
lea eax, [ebp + 0x50]
push eax
call fcn.100627b8
pop ecx
push edi
push eax
lea eax, [ebp + 0x40]
push eax
mov byte [ebp - 4], 4
call fcn.10006f5b
add esp, 0xc
mov ecx, dword [ebp + 0x50]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.10003f60
lea eax, [ebp + 0x44]
push eax
call fcn.10060b08
pop ecx
push edi
push eax
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 7
call fcn.10006f5b
add esp, 0xc
push eax
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], 8
call fcn.1000688b
mov ecx, dword [ebp + 0x38]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp + 0x44]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.10003f60
push ecx
lea eax, [ebp + 0x40]
mov dword [ebp + 0x48], esp
mov ecx, esp
push eax
call fcn.1000548f
push ecx
lea eax, [ebp + 0x4c]
mov dword [ebp + 0x30], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 9
call fcn.1000548f
mov byte [ebp - 4], 6
call fcn.10047565
pop ecx
pop ecx
lea eax, [ebp + 0x38]
push eax
call fcn.100627b8
pop ecx
push eax
lea eax, [ebp + 0x44]
push str.file:__
push eax
mov byte [ebp - 4], 0xa
call fcn.10007024
add esp, 0xc
push eax
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], 0xb
call fcn.1000688b
mov ecx, dword [ebp + 0x44]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp + 0x38]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp + 0x40]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.10003f60
push edi
lea ecx, [ebp + 0x4c]
call fcn.1000714f
lea edi, [esi + 0xe8]
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x100bfbdf
lea eax, [ebp + 0x44]
push eax
call fcn.100627b8
pop ecx
push edi
push eax
lea eax, [ebp + 0x50]
push eax
mov byte [ebp - 4], 0xc
call fcn.10006f5b
add esp, 0xc
mov ecx, dword [ebp + 0x44]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xe
call fcn.10003f60
lea eax, [ebp + 0x30]
push eax
call fcn.10060b08
pop ecx
push edi
push eax
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0xf
call fcn.10006f5b
add esp, 0xc
mov ecx, dword [ebp + 0x30]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x11
call fcn.10003f60
push 1
push dword [ebp + 0x50]
push dword [ebp + 0x38]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp + 0x48]
push eax
call fcn.100627b8
pop ecx
push eax
lea eax, [ebp + 0x44]
push str.file:__
push eax
mov byte [ebp - 4], 0x12
call fcn.10007024
add esp, 0xc
mov ecx, dword [esi + 0x114]
push 0x70
pop ebx
add ecx, ebx
push eax
mov byte [ebp - 4], 0x13
call fcn.1000688b
mov ecx, dword [ebp + 0x44]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp + 0x48]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x11
call fcn.10003f60
mov ecx, dword [esi + 0x114]
add ecx, ebx
push edi
call fcn.1000714f
mov eax, dword [esi + 0x114]
push dword [eax + 0x70]
call fcn.100b9af6
mov edi, dword [ebp + 0x60]
pop ecx
push 0xfde9
mov dword [ebp + 0x40], eax
mov eax, dword [edi]
push 1
lea ecx, [ebp + 0x40]
push ecx
mov ecx, edi
call dword [eax + 0xbc]
mov ecx, dword [esi + 0x114]
push 0xffffffffffffffff
add ecx, ebx
call fcn.1000dbfd
mov ecx, dword [esi + 0x114]
push dword [ebp + 0x40]
add ecx, ebx
call fcn.10006a3d
push dword [ebp + 0x40]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa8]
mov ecx, dword [ebp + 0x38]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp + 0x50]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.10003f60
xor ebx, ebx
jmp 0x100bfbe2
mov edi, dword [ebp + 0x60]
push dword [ebp + 0x4c]
call fcn.100b9af6
pop ecx
push 0xfde9
push 1
lea ecx, [ebp + 0x2c]
mov dword [ebp + 0x2c], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xbc]
push 0xffffffffffffffff
lea ecx, [ebp + 0x4c]
call fcn.1000dbfd
push dword [ebp + 0x2c]
lea ecx, [ebp + 0x4c]
call fcn.10006a3d
push dword [ebp + 0x2c]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa8]
mov eax, dword [esi + 0x114]
cmp dword [eax + 0x30], ebx
jne 0x100bfc72
call fcn.10045008
push ebx
push ecx
mov eax, esp
mov dword [eax], ebx
mov eax, dword [esi + 0x108]
neg eax
mov dword [ebp + 0x48], esp
sbb eax, eax
and eax, 0x200
push eax
push 0x40010000
push dword [ebp + 0x4c]
push ecx
mov eax, esp
lea ecx, [ebp + 0xc]
mov dword [eax], ecx
mov ecx, dword [esi + 0x114]
mov dword [ebp + 0x48], esp
push dword [ebp + 0x3c]
add ecx, 0x2c
call fcn.1000f904
mov eax, dword [esi + 0x114]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
add eax, 0x30
push dword [eax]
call edi
test eax, eax
je 0x100bfca5
mov eax, dword [esi + 0x114]
add eax, 0x30
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [ebp + 0x50], 1
test eax, eax
jne 0x100bfca8
mov dword [ebp + 0x50], ebx
mov eax, dword [esi + 0xc]
push ebx
push eax
push 0x401
push dword [ebp + 0x3c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x114]
call fcn.1005ab5c
mov eax, dword [esi + 0x114]
add eax, 0x30
push dword [eax]
call edi
test eax, eax
je 0x100bfcf1
mov eax, dword [esi + 0x114]
add eax, 0x30
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100bfcf1
xor edi, edi
inc edi
jmp 0x100bfcf3
xor edi, edi
cmp dword [ebp + 0x50], ebx
je 0x100bfd2b
push 1
push ecx
lea eax, [esi + 0x48]
mov dword [ebp + 0x48], esp
mov ecx, esp
push eax
call fcn.1000548f
mov ecx, dword [esi + 0x84]
call fcn.100728ef
cmp eax, ebx
jne 0x100bfd2b
mov ecx, dword [esi + 0x114]
push ebx
push str.about:blank
call fcn.1005dbb4
jmp 0x100bfd90
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x3c]
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp + 0x24]
sub eax, dword [ebp + 0x1c]
mov edx, dword [esi]
push eax
push dword [ebp + 0x60]
mov ecx, esi
call dword [edx + 0x2c]
cmp eax, ebx
je 0x100bfd6c
mov ecx, dword [esi + 0x114]
push edi
lea eax, [ebp + 0xc]
push eax
add ecx, 0x30
call fcn.10003f7a
cmp dword [esi + 0x110], ebx
je 0x100bfd90
cmp edi, ebx
je 0x100bfd90
mov eax, dword [esi + 0x114]
push 0x181
push ebx
add eax, 0x30
push ebx
push dword [eax]
call dword [sym.imp.USER32.dll_RedrawWindow]
cmp byte [ebp + 0x34], 0
jne 0x100bfda1
mov ecx, dword [esi + 0x84]
call fcn.1007621a
mov ecx, dword [ebp + 0x4c]
add ecx, 0xfffffff0
call fcn.10003f60
xor eax, eax
jmp 0x100bfe49
push 0xfffffffffffffffd
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x58
leave
ret 4