Function at 0x4030c8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 4]
xor ebx, ebx
cmp eax, ebx
jne 0x40310a
lea eax, [ebp + 8]
push ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.softwarepacaropjWebCam
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
jmp 0x403157
push eax
push str.softwarepacaropjWebCam
lea eax, [ebp - 0x10c]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp + 8]
push ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
lea eax, [ebp - 0x10c]
push ebx
push eax
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push dword [edi + 4]
mov esi, eax
push ebx
push dword [0x41514c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, ebx
jne 0x4035c3
push edi
call fcn.00404a28
mov eax, dword [edi + 0x1c]
pop ecx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
push eax
push 4
push ebx
push str.interval
push dword [ebp + 8]
call esi
mov eax, dword [edi + 0x24]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push ebx
push str.safe_capture
push dword [ebp + 8]
call esi
push 0x3ed
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov dword [edi + 0x28], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
push ebx
push str.saveFile
push dword [ebp + 8]
call esi
cmp dword [edi + 0x28], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
je 0x403201
lea eax, [edi + 0x2c]
push 0x104
push eax
push 0x3ee
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea eax, [edi + 0x2c]
push eax
call ebx
inc eax
push eax
lea eax, [edi + 0x2c]
push eax
push 1
push 0
push str.fileName
push dword [ebp + 8]
call esi
mov eax, dword [edi + 0x130]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.http
push dword [ebp + 8]
call esi
cmp dword [edi + 0x130], 0
je 0x40327f
movsx eax, word [edi + 0x134]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
push 0
push str.httpPort
push dword [ebp + 8]
call esi
mov eax, dword [edi + 0x13e]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.httpRefresh
push dword [ebp + 8]
call esi
mov eax, dword [edi + 0x13a]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.httpExpires
push dword [ebp + 8]
call esi
push 0x3f9
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov dword [edi + 0x146], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
push 4
push 0
push 0x412894
push dword [ebp + 8]
call esi
cmp dword [edi + 0x146], 0
je 0x4033a2
lea eax, [edi + 0x14a]
push eax
call ebx
inc eax
push eax
lea eax, [edi + 0x14a]
push eax
push 1
push 0
push str.ftpUser
push dword [ebp + 8]
call esi
push edi
call fcn.00402fbd
pop ecx
lea eax, [edi + 0x18a]
push eax
call ebx
inc eax
push eax
lea eax, [edi + 0x18a]
push eax
push 1
push 0
push str.ftpPass
push dword [ebp + 8]
call esi
push edi
call fcn.00402fbd
pop ecx
lea eax, [edi + 0x1ca]
push eax
call ebx
inc eax
push eax
lea eax, [edi + 0x1ca]
push eax
push 1
push 0
push str.ftpAccount
push dword [ebp + 8]
call esi
lea eax, [edi + 0x20a]
push eax
call ebx
inc eax
push eax
lea eax, [edi + 0x20a]
push eax
push 1
push 0
push str.ftpServer
push dword [ebp + 8]
call esi
lea eax, [edi + 0x30e]
push eax
call ebx
inc eax
push eax
lea eax, [edi + 0x30e]
push eax
push 1
push 0
push str.ftpFile
push dword [ebp + 8]
call esi
lea eax, [edi + 0x412]
push eax
call ebx
inc eax
push eax
lea eax, [edi + 0x412]
push eax
push 1
push 0
push str.ftpDir
push dword [ebp + 8]
call esi
mov eax, dword [edi + 0x516]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.ftpPassive
push dword [ebp + 8]
call esi
mov eax, dword [edi + 0x52a]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.caption
push dword [ebp + 8]
call esi
cmp dword [edi + 0x52a], 0
je 0x40354b
mov eax, dword [edi + 0x52e]
push eax
mov dword [ebp - 4], eax
call ebx
inc eax
push eax
push dword [ebp - 4]
push 1
push 0
push str.captionText
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 4]
push 4
mov eax, dword [eax + 0x100]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.captionValign
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 4]
push 4
mov eax, dword [eax + 0x104]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.captionHalign
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 4]
push 4
mov eax, dword [eax + 0x108]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.captionTransparent
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 4]
push 0x3c
add eax, 0x10c
push eax
push 3
push 0
push str.captionFont
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 4]
push 4
mov eax, dword [eax + 0x148]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.captionForeground
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 4]
push 4
mov eax, dword [eax + 0x14c]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.captionBackground
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 4]
push 4
mov eax, dword [eax + 0x150]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.overlay
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 4]
push 4
mov eax, dword [eax + 0x154]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.overlayStretch
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 4]
push 4
mov eax, dword [eax + 0x258]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.overlayMethod
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 4]
add eax, 0x158
push eax
call ebx
inc eax
push eax
mov eax, dword [ebp - 4]
add eax, 0x158
push eax
push 1
push 0
push str.overlayBitmap
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 4]
push 4
pop ebx
mov eax, dword [eax + 0x25c]
push ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push ebx
push 0
push str.imageProcess
push dword [ebp + 8]
call esi
jmp 0x40354e
push 4
pop ebx
mov eax, dword [edi + 0x532]
push ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push ebx
push 0
push str.quality
push dword [ebp + 8]
call esi
mov eax, dword [edi + 0x536]
push ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push ebx
push 0
push str.camera
push dword [ebp + 8]
call esi
mov eax, dword [edi + 0x53a]
push ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push ebx
push 0
push 0x412778
push dword [ebp + 8]
call esi
mov eax, dword [edi + 0x53e]
push ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push ebx
push 0
push str.preview
push dword [ebp + 8]
call esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret