Function at 0x1065d1c
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x1080bec]
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov esi, 0x774
cmp eax, esi
mov dword [ebp - 0x208], edx
mov dword [ebp - 0x20c], edi
mov dword [ebp - 0x210], edi
jg 0x10662fe
je 0x10662b7
mov ecx, 0x770
cmp eax, ecx
jg 0x106611e
je 0x1066072
dec eax
je 0x1065de9
dec eax
je 0x1065dd8
sub eax, 0xc5
je 0x1065da3
sub eax, 0x6a8
jne case.0x1066313.1913
push 0x10869f8
push 0x773
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp case.0x1066313.1913
push 0x786
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1065dd1
push 0x76c
push 1
push 0x10856e0
push ebx
call fcn.0106cac6
jmp case.0x1066313.1913
push 0xb8
jmp 0x1065dbf
push dword [ebp + 0x14]
push edx
push 2
push ebx
call fcn.0105afcb
jmp case.0x1066313.1913
push edi
call fcn.0106bf71
mov esi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0x77a
push ebx
mov dword [0x1086e34], eax
call esi
push 0x76e
push ebx
mov dword [0x1080948], eax
call esi
push edi
mov dword [0x1086e14], eax
lea eax, [ebp - 0x20c]
push eax
mov edi, 0x777
push edi
push ebx
call dword [sym.imp.USER32.dll_GetDlgItemInt]
push 0
mov dword [0x1086e28], eax
lea eax, [ebp - 0x20c]
push eax
push 0x776
push ebx
call dword [sym.imp.USER32.dll_GetDlgItemInt]
mov ecx, dword [0x1086e28]
cmp ecx, 1
mov dword [0x1086e2c], eax
jb 0x1065ffb
cmp ecx, eax
ja 0x1065ffb
mov eax, dword [0x1086e10]
push dword [eax + 0x10]
call sub.NMAPI.dll_GetCaptureTotalFrames
cmp dword [0x1086e2c], eax
ja 0x1065ffb
add edi, 0x13
push edi
push ebx
call esi
push 0x782
push ebx
mov dword [0x1080938], eax
call esi
push 0x783
push ebx
mov dword [0x108093c], eax
call esi
mov ecx, dword [0x1080938]
test ecx, ecx
mov edx, dword [0x108093c]
mov dword [0x1080940], eax
je 0x1065ec2
test edx, edx
jne 0x1065ec2
test eax, eax
jne 0x1065ec2
mov dword [0x1086e1c], 1
jmp 0x1065ec9
and dword [0x1086e1c], 0
test ecx, ecx
jne 0x1065f00
test edx, edx
jne 0x1065f00
test eax, eax
jne 0x1065f00
push eax
push 0x1389
call fcn.0106bcca
push eax
push 0x166b
call fcn.0106bcca
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x10665fa
push 0x77c
push ebx
call esi
push 0x77e
push ebx
mov dword [0x1086e0c], eax
call esi
test eax, eax
je 0x1065f4c
push 0
lea eax, [ebp - 0x20c]
push eax
push 0x780
push ebx
mov dword [0x1080944], 1
call dword [sym.imp.USER32.dll_GetDlgItemInt]
push 8
pop ecx
cmp eax, ecx
mov dword [0x1080950], eax
jbe 0x1065f5a
mov dword [0x1080950], ecx
jmp 0x1065f5a
and dword [0x1080944], 0
and dword [0x1080950], 0
push 0x781
push ebx
call esi
cmp dword [0x1086e14], 0
mov dword [0x108094c], eax
je 0x1065f7a
mov dword [0x108094c], 1
mov esi, dword [sym.imp.USER32.dll_GetDlgItemTextW]
push 0xff
lea eax, [ebp - 0x204]
push eax
mov edi, 0x785
push edi
push ebx
call esi
push 0x166f
call fcn.0106bcca
push eax
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x1065fbc
or dword [0x1080954], 0xffffffff
jmp 0x1065fc8
push edi
push ebx
call fcn.0106c77c
mov dword [0x1080954], eax
push 0x208
push 0x10869f8
push 0x773
push ebx
call esi
push dword [ebp + 0x14]
push dword [ebp - 0x208]
push 1
push ebx
call fcn.010651f6
push dword [0x1086e34]
call fcn.0106bf71
jmp case.0x1066313.1913
push 0
push 0x1389
call fcn.0106bcca
push eax
push 0x166d
call fcn.0106bcca
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x102ab28
push edi
push ebx
call esi
push 0xa
lea eax, [ebp - 0x204]
push eax
mov eax, dword [0x1086e10]
push dword [eax + 0x10]
call sub.NMAPI.dll_GetCaptureTotalFrames
push eax
call dword [sym.imp.msvcrt.dll__ultow]
add esp, 0xc
push eax
push 0x776
push ebx
call esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xffffffffffffffff
push 0
push 0xb1
push edi
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
jmp 0x10665f7
cmp dword [0x1086f40], edi
jne 0x10660db
mov eax, dword [0x1086e10]
push dword [eax + 0x70c]
call fcn.01053c05
mov dword [0x1086f40], eax
mov eax, dword [0x1086e10]
mov eax, dword [eax + 0x708]
mov eax, dword [eax]
lea eax, [eax*4 + 4]
push eax
call sub.NMSUPP.dll_AllocMemory
cmp eax, edi
mov dword [0x1086f44], eax
je case.0x1066313.1913
mov ecx, dword [0x1086e10]
mov esi, dword [ecx + 0x708]
mov ecx, dword [esi]
lea ecx, [ecx*4 + 4]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x1086e10]
push dword [eax + 0x10]
call sub.NMAPI.dll_GetCaptureAddressDB
push 0x15e5
mov dword [ebp - 0x210], eax
call fcn.0106bcca
push eax
mov eax, dword [0x1086e10]
push dword [eax + 0x10]
lea eax, [ebp - 0x210]
push dword [0x1086f44]
push eax
push 0x1086f40
push ebx
call fcn.0105995f
jmp case.0x1066313.1913
sub eax, 0x771
je 0x1066271
dec eax
je 0x1066163
dec eax
jne case.0x1066313.1913
cmp dword [ebp + 0x14], 0x300
jne case.0x1066313.1913
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [ebp - 0x208]
jne case.0x1066313.1913
mov eax, 0x76f
push eax
push eax
push 0x76e
jmp 0x106646b
mov eax, 0x76e
push eax
push 0x76f
push eax
push ebx
call dword [sym.imp.USER32.dll_CheckRadioButton]
cmp dword [0x1086e38], edi
jne 0x10661d0
mov eax, dword [0x1086e3c]
mov dword [0x1086998], eax
mov eax, dword [0x1086e40]
mov dword [0x1086990], 0x42
mov dword [0x108699c], eax
mov dword [0x10869b2], edi
mov dword [0x10869ba], edi
mov dword [0x10869be], edi
mov dword [0x10869c2], edi
mov dword [0x10869c6], edi
mov dword [0x10869ca], edi
mov dword [0x10869ce], edi
mov dword [0x10869a4], 0x140
push 0x1086990
mov dword [0x1086994], ebx
call dword [sym.imp.comdlg32.dll_PrintDlgW]
test eax, eax
je 0x1066244
push dword [0x108699c]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
je case.0x1066313.1913
movzx ecx, word [eax + 2]
lea eax, [eax + ecx*2]
push eax
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
push dword [0x108699c]
mov dword [0x1086e24], edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x204]
push eax
push 0x77b
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov dword [0x1086e38], 1
jmp case.0x1066313.1913
call dword [sym.imp.comdlg32.dll_CommDlgExtendedError]
test eax, eax
je case.0x1066313.1913
push 0x15e6
call fcn.0106bcca
push eax
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
jmp case.0x1066313.1913
mov eax, 0x76f
push eax
push eax
push 0x76e
push ebx
call dword [sym.imp.USER32.dll_CheckRadioButton]
push 0x209
mov edi, 0x10869f8
push edi
mov esi, 0x773
push esi
push ebx
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push dword [ebp + 0x14]
push dword [ebp - 0x208]
push 0x771
push ebx
call fcn.01063abf
push edi
push esi
jmp 0x1065d97
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x102ab28
push 0x777
push ebx
call esi
push 0xff
lea eax, [ebp - 0x204]
push eax
mov eax, dword [0x1086e10]
push dword [eax + 0x10]
call sub.NMAPI.dll_GetCaptureTotalFrames
push eax
call dword [sym.imp.msvcrt.dll__ultow]
add esp, 0xc
lea eax, [ebp - 0x204]
push eax
push 0x776
jmp 0x10664ad
add eax, 0xfffff88a
cmp eax, 0x10
ja case.0x1066313.1913
movzx eax, byte [eax + 0x106662c]
jmp dword [eax*4 + 0x1066610]
push 1
push 0x782
jmp 0x10664cc
cmp dword [0x1086f34], edi
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x24c], 0x3c
mov dword [ebp - 0x244], edi
mov ebx, 0x1086e78
je 0x106635b
mov eax, dword [0x1086f38]
mov dword [0x1086e78], eax
mov dword [ebp - 0x240], ebx
jmp 0x106636b
mov eax, dword [0x1086e10]
add eax, 0x780
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x24c]
push eax
mov dword [ebp - 0x238], 0x43
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x220], edi
mov word [ebp - 0x21c], 0x2000
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x214], edi
call dword [sym.imp.comdlg32.dll_ChooseFontW]
test eax, eax
je 0x106640d
mov eax, dword [ebp - 0x240]
push 0x17
pop ecx
push 0x48
mov esi, eax
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax]
push 0x5a
push dword [0x10869a0]
mov dword [0x1086f38], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
mov eax, dword [ebp - 0x240]
mov eax, dword [eax]
neg eax
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [0x1086e78], eax
mov dword [0x1086f34], 1
jmp case.0x1066313.1913
cmp dword [0x1086f34], edi
je case.0x1066313.1913
push 0x48
push 0x5a
push dword [0x10869a0]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
mov eax, dword [0x1086e78]
neg eax
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [0x1086e78], eax
jmp case.0x1066313.1913
cmp dword [ebp + 0x14], 0x300
jne case.0x1066313.1913
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [ebp - 0x208]
jne case.0x1066313.1913
mov eax, 0x775
push eax
push eax
push esi
push ebx
call dword [sym.imp.USER32.dll_CheckRadioButton]
jmp case.0x1066313.1913
cmp dword [ebp + 0x14], 0x300
jne case.0x1066313.1913
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [ebp - 0x208]
jne case.0x1066313.1913
mov esi, dword [sym.imp.USER32.dll_CheckDlgButton]
push 1
push 0x782
push ebx
call esi
push 1
push 0x77e
push ebx
call esi
jmp case.0x1066313.1913
cmp dword [ebp + 0x14], 5
je 0x10664c5
cmp dword [ebp + 0x14], 1
jne case.0x1066313.1913
push 1
push 0x783
push ebx
call dword [sym.imp.USER32.dll_CheckDlgButton]
jmp case.0x1066313.1913
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x786
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
push 0x15e7
call fcn.0106bcca
push eax
push 0x786
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x1085f3c]
mov ecx, dword [0x1085f44]
mov edx, dword [0x1085f40]
push 0x44
sub ecx, eax
push ecx
mov ecx, dword [0x1085f38]
sub edx, ecx
push edx
push eax
push ecx
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push 0xb7
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push 0xe2a
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0x78a
push ebx
call esi
push eax
call edi
push 1
push 0x782
push ebx
call esi
push eax
call edi
push 1
push 0x783
push ebx
call esi
push eax
call edi
push 1
push 0x783
push ebx
call esi
push eax
call edi
push 1
push 0x785
push ebx
call esi
push eax
call edi
push 1
push 0x781
push ebx
call esi
push eax
call edi
push 1
push 0x77a
push ebx
call esi
push eax
call edi
push 1
push 0x770
push ebx
call esi
push eax
call edi
push 1
push 0x77e
push ebx
call esi
push eax
call edi
push 1
push 0x780
push ebx
call esi
push eax
call edi
push 1
push 0x778
push ebx
call esi
push eax
call edi
push 1
push 0x77c
push ebx
call esi
push eax
call edi
push 0x78a
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01070ac3
leave
ret 0x10