Function at 0x10038cb1
Capabilities:
Capture webcam image
Copy file

Disassembly:
push ebp
sub esp, 0x70
mov eax, 0x100ba66e
call fcn.100a0664
sub esp, 0x20
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], edi
cmp dword [esi + 0x78], edi
je 0x1003932f
cmp dword [esi + 0xac], edi
je 0x1003932f
push dword [ebp + 0x7c]
call fcn.10006460
mov ecx, dword [esi + 0x78]
lea eax, [ebp + 0x73]
push eax
push esi
mov byte [ebp + 0x73], 0
mov byte [ebp + 0x72], 1
call fcn.1006b272
cmp byte [ebp + 0x73], 0
mov dword [ebp + 0x60], eax
jne 0x10038d30
push edi
push 1
push ecx
lea eax, [esi + 0x4c]
mov dword [ebp + 0x54], esp
mov ecx, esp
push eax
call fcn.100033f5
mov ecx, dword [esi + 0x78]
add ecx, 0xe4
call fcn.100587da
cmp eax, edi
setne byte [ebp + 0x72]
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
push ebx
push eax
push 0x419
push dword [ebp + 0x60]
call edi
lea ecx, [ebp + 0x30]
push ecx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x3c], ebx
push eax
mov ebx, 0x41d
push ebx
push dword [ebp + 0x60]
mov dword [ebp + 0x58], eax
call edi
push 7
pop ecx
xor eax, eax
mov dword [ebp], 0x20
lea edi, [ebp + 4]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp + 0x11], al
mov ax, word [esi + 0x94]
lea ecx, [ebp]
push ecx
mov word [ebp + 0x12], ax
mov eax, dword [esi + 0xc]
push eax
push 0x440
push dword [ebp + 0x60]
mov dword [ebp + 4], 0x48
call edi
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x58]
push ebx
push dword [ebp + 0x60]
call edi
lea eax, [ebp + 0x30]
push eax
mov ecx, esi
call fcn.100374aa
movzx eax, byte [ebp + 0x72]
mov ecx, dword [esi + 0xac]
neg eax
sbb eax, eax
and eax, 5
mov dword [ecx + 0x70], eax
mov ecx, dword [esi + 0xac]
lea eax, [esi + 0x80]
add ecx, 0x64
push eax
call fcn.100046db
mov eax, dword [esi + 0x78]
mov eax, dword [eax + 0x1360]
mov ecx, dword [esi + 0xac]
push dword [eax + 0x1418]
add ecx, 0x5c
call fcn.10041e45
push 0x1010dc04
lea ecx, [ebp + 0x68]
call fcn.1005d077
lea edi, [esi + 0x84]
push str.about:blank
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.1000272b
xor ebx, ebx
cmp eax, ebx
je 0x10038f2b
push ebx
push str.http:__
mov ecx, edi
call fcn.10002fb2
cmp eax, 0xffffffff
jne 0x10038f2b
push ebx
push 0x100c54a0
mov ecx, edi
call fcn.10002fb2
cmp eax, 0xffffffff
jne 0x10038f2b
lea eax, [ebp + 0x58]
push eax
call fcn.10044b9e
pop ecx
push edi
push eax
lea eax, [ebp + 0x6c]
push eax
mov byte [ebp - 4], 2
call fcn.10004f80
add esp, 0xc
mov ecx, dword [ebp + 0x58]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10001ccd
lea eax, [ebp + 0x64]
push ebx
push eax
call fcn.100449b3
pop ecx
pop ecx
push edi
push eax
lea eax, [ebp + 0x5c]
push eax
mov byte [ebp - 4], 5
call fcn.10004f80
add esp, 0xc
push eax
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 6
call fcn.100046db
mov ecx, dword [ebp + 0x5c]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x64]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10001ccd
push 1
push dword [ebp + 0x6c]
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp + 0x5c]
push eax
call fcn.10044b9e
pop ecx
push eax
lea eax, [ebp + 0x64]
push str.file:__
push eax
mov byte [ebp - 4], 7
call fcn.1000c548
add esp, 0xc
push eax
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 8
call fcn.100046db
mov ecx, dword [ebp + 0x64]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x5c]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x6c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.10001ccd
push edi
lea ecx, [ebp + 0x68]
call fcn.1000c714
lea edi, [esi + 0x88]
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x1003907c
lea eax, [ebp + 0x64]
push eax
call fcn.10044b9e
pop ecx
push edi
push eax
lea eax, [ebp + 0x58]
push eax
mov byte [ebp - 4], 9
call fcn.10004f80
add esp, 0xc
mov ecx, dword [ebp + 0x64]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xb
call fcn.10001ccd
lea eax, [ebp + 0x2c]
push ebx
push eax
call fcn.100449b3
pop ecx
pop ecx
push edi
push eax
lea eax, [ebp + 0x5c]
push eax
mov byte [ebp - 4], 0xc
call fcn.10004f80
add esp, 0xc
mov ecx, dword [ebp + 0x2c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xe
call fcn.10001ccd
push 1
push dword [ebp + 0x58]
push dword [ebp + 0x5c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp + 0x54]
push eax
call fcn.10044b9e
pop ecx
push eax
lea eax, [ebp + 0x64]
push str.file:__
push eax
mov byte [ebp - 4], 0xf
call fcn.1000c548
add esp, 0xc
mov ecx, dword [esi + 0xac]
push 0x7c
pop ebx
add ecx, ebx
push eax
mov byte [ebp - 4], 0x10
call fcn.100046db
mov ecx, dword [ebp + 0x64]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x54]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xe
call fcn.10001ccd
mov ecx, dword [esi + 0xac]
add ecx, ebx
push edi
call fcn.1000c714
mov eax, dword [esi + 0xac]
push dword [eax + 0x7c]
call fcn.1009e314
mov edi, dword [ebp + 0x7c]
pop ecx
mov dword [ebp + 0x6c], eax
mov eax, dword [edi]
push 0xfde9
push 1
lea ecx, [ebp + 0x6c]
push ecx
mov ecx, edi
call dword [eax + 0xbc]
mov ecx, dword [esi + 0xac]
push 0xffffffffffffffff
add ecx, ebx
call fcn.100029b7
mov ecx, dword [esi + 0xac]
push dword [ebp + 0x6c]
add ecx, ebx
call fcn.100049c6
push dword [ebp + 0x6c]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa8]
mov ecx, dword [ebp + 0x5c]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x58]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.10001ccd
xor ebx, ebx
jmp 0x1003907f
mov edi, dword [ebp + 0x7c]
push dword [ebp + 0x68]
call fcn.1009e314
pop ecx
push 0xfde9
push 1
lea ecx, [ebp + 0x40]
mov dword [ebp + 0x40], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xbc]
push 0xffffffffffffffff
lea ecx, [ebp + 0x68]
call fcn.100029b7
push dword [ebp + 0x40]
lea ecx, [ebp + 0x68]
call fcn.100049c6
push dword [ebp + 0x40]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa8]
mov eax, dword [esi + 0xac]
cmp dword [eax + 0x30], ebx
jne 0x1003917b
call fcn.10037d21
mov eax, dword [esi + 0xac]
mov byte [eax + 0x69], 0
push ebx
push ecx
mov eax, esp
mov dword [eax], ebx
mov eax, dword [esi + 0xa4]
neg eax
mov dword [ebp + 0x54], esp
sbb eax, eax
and eax, 0x200
push eax
push 0x40010000
push dword [ebp + 0x68]
push ecx
mov eax, esp
lea ecx, [ebp + 0x30]
mov dword [eax], ecx
mov ecx, dword [esi + 0xac]
mov dword [ebp + 0x54], esp
push dword [ebp + 0x60]
add ecx, 0x2c
call fcn.10030f2e
mov dword [ebp + 0x6c], ebx
lea ecx, [ebp + 0x6c]
mov byte [ebp - 4], 0x11
call fcn.1000b49d
mov ecx, dword [esi + 0xac]
push eax
push 0x100d76f0
add ecx, 0x30
call fcn.1002cd53
mov eax, dword [esi + 0xac]
lea ecx, [eax + 0x58]
push ecx
push 0x100d7910
push eax
push dword [ebp + 0x6c]
call fcn.1002ccdc
mov ecx, dword [esi + 0xac]
lea eax, [ebp + 0x6c]
push eax
add ecx, 0x74
call fcn.1002d1ed
mov eax, dword [ebp + 0x6c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x1003917b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0xac]
add eax, 0x30
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindowVisible]
push ebx
mov edi, eax
mov eax, dword [esi + 0xc]
push eax
push 0x401
push dword [ebp + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0xac]
lea eax, [ebp + 0x68]
add ecx, 0x60
push eax
call fcn.100046db
mov eax, dword [esi + 0xac]
push dword [eax + 0x70]
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp edi, ebx
je 0x1003924e
push 1
push ecx
lea eax, [esi + 0x4c]
mov dword [ebp + 0x54], esp
mov ecx, esp
push eax
call fcn.100033f5
mov ecx, dword [esi + 0x78]
call fcn.1005e1af
cmp eax, ebx
jne 0x1003924e
lea eax, [ebp + 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push str.about:blank
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x12
call fcn.1000b246
mov eax, dword [esi + 0xac]
add eax, 0x74
mov eax, dword [eax]
mov byte [ebp - 4], 0x13
cmp eax, ebx
jne 0x10039222
push 0x80004003
call fcn.1009f210
mov ecx, dword [eax]
lea edx, [ebp + 0x44]
push edx
push edx
push edx
push edx
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0xd0]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp + 0x44]
push eax
mov byte [ebp - 4], 1
call edi
jmp 0x10039290
lea eax, [ebp + 0x44]
push eax
push dword [ebp + 0x60]
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x50], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp + 0x4c]
sub eax, dword [ebp + 0x44]
mov edx, dword [esi]
push eax
push dword [ebp + 0x7c]
mov ecx, esi
call dword [edx + 0x2c]
cmp eax, ebx
je 0x10039290
mov ecx, dword [esi + 0xac]
push 1
lea eax, [ebp + 0x30]
push eax
add ecx, 0x30
call fcn.10001cfe
cmp byte [ebp + 0x73], 0
jne 0x1003929e
mov ecx, dword [esi + 0x78]
call fcn.1006544a
mov ecx, dword [ebp + 0x68]
add ecx, 0xfffffff0
call fcn.10001ccd
xor eax, eax
jmp 0x10039332
push 0xfffffffffffffffd
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x74
leave
ret 4