Function at 0x404adc
Capabilities:
Capture webcam image

Disassembly:
adc al, 0x39
jne 0x404a8f
jne 0x404ac0
cmp dword [0x457280], ebx
je 0x404ac0
push edi
mov esi, section..ndata
push esi
mov edi, 0x447250
push edi
mov dword [0x457280], ebx
add byte [eax], dh
inc edi
add byte [esi - 0x41], dl
push eax
jb 0x404adc
add byte [edi - 0x77], dl
sbb eax, 0x457280
call fcn.0040616a
push ebx
push esi
call fcn.004060b2
push 6
call fcn.0040141d
push edi
push esi
call fcn.0040616a
pop edi
jmp 0x404ac0
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [0x437210]
call dword [sym.imp.USER32.dll_CallWindowProcW]
pop esi
pop ebx
pop ebp
ret 0x10
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x3f9
push dword [ebp + 8]
call esi
push 0x408
push dword [ebp + 8]
mov dword [ebp - 8], eax
call esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], eax
mov eax, dword [0x472de8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x472ddc]
add eax, 0x94
xor ebx, ebx
cmp dword [ebp + 0xc], 0x110
push 0x10
mov dword [ebp - 0x1c], eax
pop edi
jne 0x404d4c
mov eax, dword [ebp + 8]
mov dword [0x472e30], eax
mov eax, dword [0x472dec]
shl eax, 2
push eax
push 0x40
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0x6e
push dword [0x472dd8]
mov dword [0x437224], eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
or dword [0x457280], 0xffffffff
push 0x404a2c
push 0xfffffffffffffffc
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push ebx
push 6
push 0x21
push edi
push edi
mov dword [0x437210], eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 0xff00ff
push dword [ebp - 0x10]
mov dword [0x437220], eax
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push dword [0x437220]
push 2
push 0x1109
push dword [ebp - 4]
call esi
push ebx
push ebx
push 0x111c
push dword [ebp - 4]
call esi
cmp eax, edi
jge 0x404bd6
push ebx
push edi
push 0x111b
push dword [ebp - 4]
call esi
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
xor edi, edi
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + edi*4]
cmp eax, ebx
je 0x404c12
cmp edi, 0x20
je 0x404bf3
mov dword [ebp - 0x14], ebx
push eax
push ebx
call fcn.00406966
push eax
push ebx
push 0x143
push dword [ebp - 8]
call esi
push edi
push eax
push 0x151
push dword [ebp - 8]
call esi
inc edi
cmp edi, 0x21
jl 0x404be1
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x14]
push dword [edi + eax*4 + 0x30]
push 0x15
push dword [ebp + 8]
call fcn.00403e9f
mov eax, dword [ebp - 0x14]
push dword [edi + eax*4 + 0x34]
push 0x16
push dword [ebp + 8]
call fcn.00403e9f
xor edi, edi
mov dword [ebp - 0xc], ebx
cmp dword [0x472dec], ebx
jle 0x404d0a
mov eax, dword [ebp - 0x18]
add eax, 8
mov dword [ebp - 0x10], eax
mov ebx, 0x1132
mov edx, dword [ebp - 0x10]
lea eax, [edx + 0x10]
cmp word [eax], 0
je 0x404cf0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [edx]
push 0x20
mov dword [ebp - 0x58], ecx
pop ecx
mov edx, eax
and edx, ecx
mov dword [ebp - 0x54], 0xffff0002
mov dword [ebp - 0x50], 0xd
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x48], edx
test al, 2
je 0x404cbf
lea eax, [ebp - 0x58]
push eax
push 0
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x50], 0x4d
mov dword [ebp - 0x30], 1
call esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], 1
jmp 0x404ce7
mov eax, dword [ebp - 0x10]
test byte [eax], 4
je 0x404cdb
push dword [ebp - 0xc]
push 3
push 0x110a
push dword [ebp - 4]
call esi
mov dword [ebp - 0xc], eax
jmp 0x404cf0
lea eax, [ebp - 0x58]
push eax
push 0
push ebx
push dword [ebp - 4]
call esi
mov ecx, dword [0x437224]
mov dword [ecx + edi*4], eax
add dword [ebp - 0x10], 0x4020
inc edi
cmp edi, dword [0x472dec]
jl 0x404c5c
cmp dword [ebp - 0x20], 0
jne 0x404d24
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffffffb
push eax
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [ebp - 0x14], 0
jne 0x404d42
push 5
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 8]
call fcn.00403ef8
jmp 0x4050bd
push dword [ebp - 4]
call fcn.00403ef8
xor ebx, ebx
cmp dword [ebp + 0xc], 0x405
jne 0x404d66
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], 1
mov dword [ebp + 0xc], 0x40f
cmp dword [ebp + 0xc], 0x4e
mov eax, 0x413
je 0x404d7a
cmp dword [ebp + 0xc], eax
jne 0x404e56
mov edi, dword [ebp + 0x14]
cmp dword [ebp + 0xc], eax
je 0x404d8f
cmp dword [edi + 4], 0x408
jne 0x404e56
test dword [0x472e28], 0x200
jne 0x404e14
cmp dword [ebp + 0xc], eax
je 0x404da9
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 8], 0xfffffffe
jne 0x404e14
xor ecx, ecx
cmp dword [ebp + 0xc], eax
setne cl
push ecx
push dword [ebp - 4]
call fcn.004049ae
cmp eax, ebx
jl 0x404e14
mov edx, dword [ebp - 0x18]
mov ecx, eax
imul ecx, ecx, 0x4020
lea edx, [ecx + edx + 8]
mov ecx, dword [edx]
test cl, 0x10
jne 0x404e14
test cl, 0x40
je 0x404ded
xor ecx, 0x80
test cl, cl
jns 0x404de8
or ecx, 1
jmp 0x404df0
and ecx, 0xfffffffe
jmp 0x404df0
xor ecx, 1
push eax
mov dword [edx], ecx
call fcn.00401186
mov eax, dword [0x472e28]
xor ecx, ecx
shr eax, 8
inc ecx
not eax
and eax, ecx
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0x14], eax
mov dword [ebp + 0xc], 0x40f
cmp edi, ebx
je 0x404e56
cmp dword [edi + 8], 0xfffffe3d
jne 0x404e2f
push dword [edi + 0x5c]
push ebx
push 0x419
push dword [ebp - 4]
call esi
cmp dword [edi + 8], 0xfffffe39
jne 0x404e56
mov eax, dword [edi + 0x5c]
mov ecx, dword [ebp - 0x18]
imul eax, eax, 0x4020
cmp dword [edi + 0xc], 2
lea eax, [eax + ecx + 8]
jne 0x404e53
or dword [eax], 0x20
jmp 0x404e56
and dword [eax], 0xffffffdf
cmp dword [ebp + 0xc], 0x111
jne 0x404ed4
mov eax, 0x3f9
cmp word [ebp + 0x10], ax
jne 0x4050bd
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cmp ax, 1
jne 0x4050bd
push ebx
push ebx
push 0x147
push dword [ebp - 8]
call esi
cmp eax, 0xffffffff
je 0x4050bd
push ebx
push eax
push 0x150
push dword [ebp - 8]
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x404eae
mov eax, dword [ebp - 0x1c]
cmp dword [eax + edi*4], ebx
jne 0x404eb1
push 0x20
pop edi
push edi
call fcn.004012a6
push edi
push ebx
push 0x420
push dword [ebp + 8]
call esi
mov dword [ebp + 0x10], 1
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0xc], 0x40f
cmp dword [ebp + 0xc], 0x200
jne 0x404ee9
push ebx
push ebx
push 0x200
push dword [ebp - 4]
call esi
cmp dword [ebp + 0xc], 0x40b
jne 0x404f24
mov eax, dword [0x437220]
cmp eax, ebx
je 0x404f02
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov eax, dword [0x437224]
cmp eax, ebx
je 0x404f12
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [0x437220], ebx
mov dword [0x437224], ebx
mov dword [0x472e30], ebx
cmp dword [ebp + 0xc], 0x40f
jne 0x40507c
push ebx
push ebx
call fcn.004011f8
cmp dword [ebp + 0x10], ebx
je 0x404f44
push 8
call fcn.0040141d
cmp dword [ebp + 0x14], ebx
je 0x404f88
push dword [0x437224]
call fcn.004012f1
mov edi, eax
push edi
call fcn.004012a6
xor eax, eax
xor ecx, ecx
cmp edi, ebx
jle 0x404f72
mov edx, dword [ebp - 0x1c]
cmp dword [edx + eax*4], ebx
je 0x404f6d
inc ecx
inc eax
cmp eax, edi
jl 0x404f64
push ebx
push ecx
push 0x14e
push dword [ebp - 8]
call esi
mov dword [ebp + 0x14], edi
mov dword [ebp + 0xc], 0x420
push ebx
push ebx
call fcn.004011f8
mov eax, dword [0x437224]
mov dword [ebp - 0x20], eax
mov eax, dword [0x472de8]
mov dword [ebp - 0x3c], 0xf030
mov dword [ebp - 0x18], ebx
cmp dword [0x472dec], ebx
jle 0x405053
lea edi, [eax + 8]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + ecx*4]
cmp eax, ebx
je 0x40503b
mov ecx, dword [edi]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 8
test ecx, 0x100
je 0x404fe9
lea eax, [edi + 0x10]
mov dword [ebp - 0x48], 9
mov dword [ebp - 0x38], eax
and dword [edi], 0xfffffeff
test cl, 0x40
je 0x404ff3
push 3
pop eax
jmp 0x405001
mov eax, ecx
and eax, 1
inc eax
test cl, 0x10
je 0x405001
add eax, 3
push dword [ebp - 0x44]
mov edx, ecx
shl eax, 0xb
and edx, 8
or eax, edx
mov edx, ecx
sar ecx, 5
add eax, eax
and edx, 0x20
or eax, edx
and ecx, 1
inc ecx
push ecx
push 0x1102
push dword [ebp - 4]
mov dword [ebp - 0x40], eax
call esi
lea eax, [ebp - 0x48]
push eax
push ebx
push 0x113f
push dword [ebp - 4]
call esi
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
add edi, 0x4020
cmp eax, dword [0x472dec]
jl 0x404fb5
push 1
push ebx
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [0x46ada8]
cmp dword [eax + 0x10], ebx
je 0x40507c
push 5
call fcn.004045d6
push 0xfffffffffffffffb
push 0x3ff
call fcn.0040450d
cmp dword [ebp + 0xc], 0x420
jne 0x4050bd
test dword [0x472e28], 0x100
je 0x4050bd
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
cmp dword [ebp + 0x14], 0x20
sete al
shl eax, 3
mov edi, eax
push edi
push dword [ebp - 4]
call esi
push edi
push 0x3fe
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
push dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.00403f2a
pop edi
pop esi
pop ebx
leave
ret 0x10