Function at 0x403630
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
push esi
push edi
push 0xa
mov ebx, ecx
pop esi
push 0
push 0
push 0x416
push dword [ebx + 0x1010]
call dword [sym.imp.USER32.dll_SendMessageW]
dec esi
jne 0x403641
push 0xa
pop esi
push 0
push 0
push 0x416
push dword [ebx + 0x101c]
call dword [sym.imp.USER32.dll_SendMessageW]
dec esi
jne 0x40365c
mov eax, dword [0x416b94]
push 0x7f
mov dword [ebp - 0x258], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x254]
rep stosd dword es:[edi], eax
push 0x14
call fcn.00401e00
xor esi, esi
pop ecx
cmp dword [0x416364], esi
mov dword [0x416240], eax
je 0x4036b0
push 0x15
call fcn.00401e00
pop ecx
mov dword [0x416240], eax
push 0x16
call fcn.00401e00
pop ecx
push eax
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
cmp dword [0x416364], esi
pop ecx
pop ecx
mov eax, 0x409a5c
jne 0x4036da
mov eax, 0x409a54
push eax
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x13
call fcn.00401e00
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
pop ecx
push eax
push dword [ebx + 0x1018]
call edi
push esi
push esi
lea eax, [ebp - 0x258]
push 0x3f5
push eax
push dword [ebx + 0x1010]
call fcn.00401e0c
push 0x19
call fcn.00401f05
add esp, 0x18
push eax
lea eax, [ebp - 0x258]
push 0x409a4c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
push esi
lea eax, [ebp - 0x258]
push 0x1e63
push eax
push dword [ebx + 0x1010]
call fcn.00401e0c
push esi
push esi
push 0x7e6
push str._LNG
push dword [ebx + 0x1010]
call fcn.00401e0c
push 0x33
call fcn.00401f05
add esp, 0x38
push eax
lea eax, [ebp - 0x258]
push 0x409a4c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
push esi
lea eax, [ebp - 0x258]
push 5
push eax
push dword [ebx + 0x1010]
call fcn.00401e0c
push esi
push esi
push 1
push str._Esc
push dword [ebx + 0x1010]
call fcn.00401e0c
add esp, 0x34
cmp dword [0x416c98], esi
jne 0x4037bb
push 0x3b
jmp 0x4037bd
push 0x3c
call fcn.00401f05
pop ecx
push esi
push esi
push 0x1069
push eax
push dword [ebx + 0x101c]
call fcn.00401e0c
push 0x14
call fcn.00401f05
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0x18
push eax
push 0x451
push dword [ebp + 8]
call esi
push eax
call edi
push 0x1a
call fcn.00401f05
pop ecx
push eax
push 0xc16
push dword [ebp + 8]
call esi
push eax
call edi
push 0x1c
call fcn.00401f05
pop ecx
push eax
push 0xc17
push dword [ebp + 8]
call esi
push eax
call edi
cmp dword [0x416cd8], 0
je 0x40383c
push 1
push 0x3f6
push dword [ebx + 0x1018]
call dword [sym.imp.USER32.dll_CheckDlgButton]
push 0x3d
call fcn.00401f05
pop ecx
push eax
push 0x8013
push dword [ebx + 0x1018]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x1f
call fcn.00401f05
pop ecx
push eax
push 0x3f6
push dword [ebx + 0x1018]
call esi
push eax
call edi
push 0x21
call fcn.00401f05
pop ecx
push eax
push 0x3f2
push dword [ebx + 0x1018]
call esi
push eax
call edi
push 0x20
call fcn.00401f05
pop ecx
push eax
push 0x3f8
push dword [ebx + 0x1018]
call esi
push eax
call edi
push 0x34
call fcn.00401f05
pop ecx
push eax
push 0x419
push dword [ebx + 0x1018]
call esi
push eax
call edi
push 0x35
call fcn.00401f05
pop ecx
push eax
push 0x3f7
push dword [ebx + 0x1018]
call esi
push eax
call edi
push 0x36
call fcn.00401f05
pop ecx
push eax
push 0x7e1
push dword [ebx + 0x1018]
call esi
push eax
call edi
push 0x37
call fcn.00401f05
pop ecx
push eax
push 0x3fa
push dword [ebx + 0x1018]
call esi
push eax
call edi
push 0x38
call fcn.00401f05
pop ecx
push eax
push 0x3fb
push dword [ebx + 0x1018]
call esi
push eax
call edi
push 0x39
call fcn.00401f05
pop ecx
push eax
push 0xbc9
push dword [ebx + 0x1018]
call esi
push eax
call edi
push 0x3a
call fcn.00401f05
pop ecx
push eax
push 0xbca
push dword [ebx + 0x1018]
call esi
push eax
call edi
push 0x1a
call fcn.00401f05
pop ecx
push eax
lea eax, [ebp - 0x258]
push 0x409a28
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
push 0x414
push dword [ebx + 0x1018]
call esi
push eax
call edi
push 0x1c
call fcn.00401f05
pop ecx
push eax
lea eax, [ebp - 0x258]
push 0x409a28
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
push 0x415
push dword [ebx + 0x1018]
call esi
push eax
call edi
push 0x1b
call fcn.00401f05
pop ecx
push eax
lea eax, [ebp - 0x258]
push 0x409a4c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
push 0x3f9
push dword [ebx + 0x1018]
call esi
push eax
call edi
push 0x1e
call fcn.00401f05
pop ecx
push eax
lea eax, [ebp - 0x258]
push 0x409a28
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
push 0x416
push dword [ebx + 0x1018]
call esi
push eax
call edi
xor edi, edi
push edi
push edi
push 0x14b
push 0x3f3
push dword [ebx + 0x1018]
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x46
call fcn.00401f05
push 0x47
mov dword [ebp - 0x50], eax
call fcn.00401f05
push 0x48
mov dword [ebp - 0x4c], eax
call fcn.00401f05
push 0x49
mov dword [ebp - 0x48], eax
call fcn.00401f05
push 0x4a
mov dword [ebp - 0x44], eax
call fcn.00401f05
push 0x4b
mov dword [ebp - 0x40], eax
call fcn.00401f05
push 0x4c
mov dword [ebp - 0x3c], eax
call fcn.00401f05
push 0x4d
mov dword [ebp - 0x38], eax
call fcn.00401f05
push 0x4e
mov dword [ebp - 0x34], eax
call fcn.00401f05
push 0x4f
mov dword [ebp - 0x30], eax
call fcn.00401f05
push 0x50
mov dword [ebp - 0x2c], eax
call fcn.00401f05
push 0x51
mov dword [ebp - 0x28], eax
call fcn.00401f05
push 0x52
mov dword [ebp - 0x24], eax
call fcn.00401f05
push 0x53
mov dword [ebp - 0x20], eax
call fcn.00401f05
push 0x54
mov dword [ebp - 0x1c], eax
call fcn.00401f05
push 0x55
mov dword [ebp - 0x18], eax
call fcn.00401f05
add esp, 0x40
mov dword [ebp - 0x14], eax
push 0x56
call fcn.00401f05
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edi
xor eax, eax
lea edi, [ebp - 8]
and dword [ebp + 8], 0
pop ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x403b31
lea edi, [ebp - 0x50]
push eax
push dword [ebp + 8]
push 0x14a
push 0x3f3
push dword [ebx + 0x1018]
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 4]
inc dword [ebp + 8]
add edi, 4
test eax, eax
jne 0x403b07
push dword [0x416bb0]
push str.img_id
call fcn.0040210b
pop ecx
mov edi, 0x14e
pop ecx
mov dword [0x416bb0], eax
push 0
push 0
push edi
push 0x3f3
push dword [ebx + 0x1018]
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [0x416bb0]
push edi
push 0x3f3
push dword [ebx + 0x1018]
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call edi
push 0
push 0
push 0x31
push dword [ebx + 0x1010]
call edi
and dword [ebp - 0x24], 0
push 8
mov dword [ebp + 8], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
mov dword [ebp - 0x58], 0x3f7
mov dword [ebp - 0x54], 0x3f8
mov dword [ebp - 0x50], 0x7e1
mov dword [ebp - 0x4c], 0x3fa
mov dword [ebp - 0x48], 0x3fb
mov dword [ebp - 0x44], 0xbc9
mov dword [ebp - 0x40], 0xbca
mov dword [ebp - 0x3c], 0x3f3
mov dword [ebp - 0x38], 0x416
mov dword [ebp - 0x34], 0x415
mov dword [ebp - 0x30], 0x414
mov dword [ebp - 0x2c], 0x8013
mov dword [ebp - 0x28], 0x419
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x403c2a
lea edi, [ebp - 0x58]
push 1
push dword [ebp + 8]
push 0x30
push eax
push dword [ebx + 0x1018]
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 4]
add edi, 4
test eax, eax
jne 0x403c09
pop edi
pop esi
pop ebx
leave
ret 4