Function at 0x4ad070
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x168
push ebx
push ebp
push esi
push edi
push 0x64
call sym.vidcap60.exe__SfGetUIFontSize_4
mov edi, dword [esp + 0x17c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x180]
mov eax, dword [eax]
mov ebp, eax
mov ecx, eax
mov ebx, eax
mov esi, eax
push 0x621c98
and ecx, 0x3000
and eax, 0xc000
shr ebp, 8
push edi
and ebx, 0xf
and esi, 0xf0
and ebp, 0xf
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x64
call sym.vidcap60.exe__SfGetUIFont_4
add esi, 0xfffffff0
cmp esi, 0x30
mov dword [esp + 0x34], eax
ja case.0x4ad0e5.17
movzx ecx, byte [esi + 0x4ade1c]
jmp dword [ecx*4 + 0x4ade08]
push 0x7f01
push 0
call sym.vidcap60.exe__SfLoadIcon_8
mov esi, eax
jmp 0x4ad12e
push 0x7f02
push 0
call sym.vidcap60.exe__SfLoadIcon_8
mov esi, eax
jmp 0x4ad12e
push 0x7f03
push 0
call sym.vidcap60.exe__SfLoadIcon_8
mov esi, eax
jmp 0x4ad12e
push 0x7f04
push 0
call sym.vidcap60.exe__SfLoadIcon_8
mov esi, eax
jmp 0x4ad12e
xor esi, esi
push 0x3e9
push edi
mov dword [esp + 0x28], esi
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ecx, ecx
cmp esi, ecx
mov dword [esp + 0x18], eax
jne 0x4ad162
push ecx
push eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4ad181
lea edx, [esp + 0x64]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
push 0
push esi
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebx - 1]
cmp eax, 0xc
mov ebx, 1
ja case.0x4ad192.6
jmp dword [eax*4 + 0x4ade50]
mov ecx, dword [0x621c80]
push 0xbcff
push ecx
call sym.vidcap60.exe__SfGetString_8
push eax
push ebx
lea edx, [esp + 0xb8]
push edx
call fcn.004abe60
mov eax, dword [0x621c80]
push 0xbd00
push eax
call sym.vidcap60.exe__SfGetString_8
push eax
push 2
lea ecx, [esp + 0xcc]
push ecx
call fcn.004abe60
mov esi, 2
jmp 0x4ad5d6
mov edx, dword [0x621c80]
push 0xbd01
push edx
call sym.vidcap60.exe__SfGetString_8
push eax
push 3
lea eax, [esp + 0xb8]
push eax
call fcn.004abe60
mov ecx, dword [0x621c80]
push 0xbd02
push ecx
call sym.vidcap60.exe__SfGetString_8
push eax
push 4
lea edx, [esp + 0xcc]
push edx
call fcn.004abe60
mov eax, dword [0x621c80]
push 0xbd03
push eax
call sym.vidcap60.exe__SfGetString_8
push eax
push 5
jmp 0x4ad565
mov eax, dword [0x621c80]
push 0xbd04
push eax
call sym.vidcap60.exe__SfGetString_8
push eax
push 6
lea ecx, [esp + 0xb8]
push ecx
call fcn.004abe60
mov edx, dword [0x621c80]
push 0xbd05
push edx
call sym.vidcap60.exe__SfGetString_8
push eax
push 7
lea eax, [esp + 0xcc]
push eax
call fcn.004abe60
mov ecx, dword [0x621c80]
push 0xbd00
push ecx
call sym.vidcap60.exe__SfGetString_8
push eax
push 2
lea edx, [esp + 0xe0]
push edx
call fcn.004abe60
mov esi, 3
jmp 0x4ad5d6
mov eax, dword [0x621c80]
push 0xbd04
push eax
call sym.vidcap60.exe__SfGetString_8
push eax
push 6
lea ecx, [esp + 0xb8]
push ecx
call fcn.004abe60
mov edx, dword [0x621c80]
push 0xbd05
push edx
call sym.vidcap60.exe__SfGetString_8
push eax
push 7
lea eax, [esp + 0xcc]
push eax
call fcn.004abe60
mov ecx, dword [esp + 0x180]
mov esi, 2
mov dword [ecx + 0x14], ebx
jmp 0x4ad5d6
mov edx, dword [0x621c80]
push 0xbd02
push edx
call sym.vidcap60.exe__SfGetString_8
push eax
push 4
lea eax, [esp + 0xb8]
push eax
call fcn.004abe60
mov ecx, dword [0x621c80]
push 0xbd00
push ecx
call sym.vidcap60.exe__SfGetString_8
push eax
push 2
lea edx, [esp + 0xcc]
push edx
call fcn.004abe60
mov esi, 2
jmp 0x4ad5d6
mov eax, dword [0x621c80]
push 0xbd04
push eax
call sym.vidcap60.exe__SfGetString_8
push eax
push 6
lea ecx, [esp + 0xb8]
push ecx
call fcn.004abe60
mov edx, dword [0x621c80]
push 0xbd06
push edx
call sym.vidcap60.exe__SfGetString_8
push eax
push 0x64
lea eax, [esp + 0xcc]
push eax
call fcn.004abe60
mov ecx, dword [0x621c80]
push 0xbd05
push ecx
call sym.vidcap60.exe__SfGetString_8
push eax
push 7
lea edx, [esp + 0xe0]
push edx
call fcn.004abe60
mov eax, dword [0x621c80]
push 0xbd00
push eax
call sym.vidcap60.exe__SfGetString_8
push eax
push 2
lea ecx, [esp + 0xf4]
push ecx
call fcn.004abe60
mov esi, 4
jmp 0x4ad5d6
mov edx, dword [0x621c80]
push 0xbd04
push edx
call sym.vidcap60.exe__SfGetString_8
push eax
push 6
lea eax, [esp + 0xb8]
push eax
call fcn.004abe60
mov ecx, dword [0x621c80]
push 0xbd05
push ecx
call sym.vidcap60.exe__SfGetString_8
push eax
push 7
lea edx, [esp + 0xcc]
push edx
call fcn.004abe60
mov eax, dword [0x621c80]
push 0xbd07
push eax
call sym.vidcap60.exe__SfGetString_8
push eax
push 0x66
lea ecx, [esp + 0xe0]
push ecx
call fcn.004abe60
mov edx, dword [0x621c80]
push 0xbd00
push edx
call sym.vidcap60.exe__SfGetString_8
push eax
push 2
lea eax, [esp + 0xf4]
push eax
call fcn.004abe60
mov esi, 4
jmp 0x4ad5d6
mov ecx, dword [0x621c80]
push 0xbd04
push ecx
call sym.vidcap60.exe__SfGetString_8
push eax
push 6
lea edx, [esp + 0xb8]
push edx
call fcn.004abe60
mov eax, dword [0x621c80]
push 0xbd06
push eax
call sym.vidcap60.exe__SfGetString_8
push eax
push 0x64
lea ecx, [esp + 0xcc]
push ecx
call fcn.004abe60
mov edx, dword [0x621c80]
push 0xbd05
push edx
call sym.vidcap60.exe__SfGetString_8
push eax
push 7
lea eax, [esp + 0xe0]
push eax
call fcn.004abe60
mov ecx, dword [0x621c80]
push 0xbd07
push ecx
call sym.vidcap60.exe__SfGetString_8
push eax
push 0x66
lea edx, [esp + 0xf4]
push edx
call fcn.004abe60
mov eax, dword [0x621c80]
push 0xbd00
push eax
call sym.vidcap60.exe__SfGetString_8
push eax
push 2
lea ecx, [esp + 0x108]
push ecx
call fcn.004abe60
mov esi, 5
jmp 0x4ad5d6
mov edx, dword [0x621c80]
push 0xbd04
push edx
call sym.vidcap60.exe__SfGetString_8
push eax
push 6
lea eax, [esp + 0xb8]
push eax
call fcn.004abe60
mov ecx, dword [0x621c80]
push 0xbd05
push ecx
call sym.vidcap60.exe__SfGetString_8
push eax
push 7
lea edx, [esp + 0xcc]
push edx
call fcn.004abe60
mov eax, dword [0x621c80]
push 0xbd08
push eax
call sym.vidcap60.exe__SfGetString_8
push eax
push 0x65
lea ecx, [esp + 0xe0]
push ecx
call fcn.004abe60
mov edx, dword [esp + 0x180]
mov esi, 3
mov dword [edx + 0x14], ebx
jmp 0x4ad5d6
mov eax, dword [0x621c80]
push 0xbcff
push eax
call sym.vidcap60.exe__SfGetString_8
push 0x64
mov esi, eax
call sym.vidcap60.exe__SfGetUIFont_4
lea ecx, [esp + 0xbc]
push ecx
push 0xffffffffffffffff
push esi
push eax
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], 0x50010000
call sym.vidcap60.exe__SfGetTextExtent_16
mov eax, dword [esp + 0x180]
mov ecx, dword [eax]
and ecx, 0xfffffff0
mov esi, ebx
mov dword [eax], ecx
mov edx, dword [esp + 0x180]
mov eax, dword [edx + 0x14]
test eax, eax
mov dword [esp + 0x10], esi
je 0x4ad5fe
push ebx
push 0xf060
push 0
push edi
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
cmp dword [esp + 0x40], 0xc000
jne 0x4ad653
mov eax, dword [0x621c80]
push 0xbd09
lea ebx, [esi + esi*4]
push eax
lea ebx, [esp + ebx*4 + 0xb8]
call sym.vidcap60.exe__SfGetString_8
push 0x64
mov dword [esp + 0x1c], eax
call sym.vidcap60.exe__SfGetUIFont_4
mov ecx, dword [esp + 0x18]
mov dword [ebx], 0xc8
mov dword [ebx + 8], ecx
mov dword [ebx + 4], 0x50010000
add ebx, 0xc
push ebx
push 0xffffffffffffffff
push ecx
push eax
call sym.vidcap60.exe__SfGetTextExtent_16
inc esi
mov dword [esp + 0x10], esi
cmp dword [esp + 0x48], 0x1000
jne 0x4ad686
mov ecx, dword [esp + 0x180]
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x4ad686
mov edx, dword [0x621c80]
push 0xbd0a
push edx
call sym.vidcap60.exe__SfGetString_8
mov ecx, dword [esp + 0x180]
mov dword [ecx + 0x18], eax
lea eax, [esi - 1]
cmp ebp, eax
jb 0x4ad68f
mov ebp, eax
lea eax, [ebp + ebp*4]
shl eax, 2
mov ebx, dword [esp + eax + 0xb4]
mov dword [esp + 0x7c], eax
lea eax, [esp + eax + 0xb4]
or ebx, 1
mov dword [eax], ebx
mov esi, dword [esp + 0xb4]
push 0x3ea
or esi, 0x20000
push edi
mov dword [esp + 0xbc], esi
call dword [sym.imp.USER32.dll_GetDlgItem]
lea edx, [esp + 0x4c]
mov esi, eax
push edx
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x10]
test eax, eax
mov ebx, dword [esp + 0x30]
jle 0x4ad726
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0xbc]
mov dword [esp + 0x28], eax
mov ebp, dword [ebx]
mov eax, dword [ecx]
add eax, ebp
mov ebp, edx
sub ebp, esi
cmp eax, ebp
jle 0x4ad718
lea edx, [esi + eax]
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x28]
add ecx, 0x14
dec eax
mov dword [esp + 0x28], eax
jne 0x4ad703
cmp dword [esp + 0x40], 0xc000
jne 0x4ad76f
mov ecx, dword [0x621c80]
lea eax, [esp + 0x74]
push eax
push 0xffffffffffffffff
push 0xbd0b
push ecx
call sym.vidcap60.exe__SfGetString_8
mov edx, dword [esp + 0x3c]
push eax
push edx
call sym.vidcap60.exe__SfGetTextExtent_16
mov eax, dword [ebx]
mov ebp, dword [esp + 0x74]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
add eax, ebp
sub edx, ecx
cmp eax, edx
jle 0x4ad76f
add eax, ecx
mov dword [esp + 0x54], eax
mov ebp, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x80]
push eax
push edi
call ebp
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x88]
mov edx, dword [esp + 0x80]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3e9
sub eax, ecx
push edi
sub esi, edx
mov dword [esp + 0x24], eax
call ebx
lea ecx, [esp + 0xa0]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea edx, [esp + 0xa4]
push edx
push edi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
sub eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xa4]
push 0x3eb
sub eax, edx
push edi
mov dword [esp + 0x30], eax
call ebx
lea ecx, [esp + 0x90]
push ecx
push eax
call ebp
mov ebp, dword [esp + 0x90]
mov eax, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
sub eax, ebp
mov ebp, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x9c]
sub eax, ebx
push 0
mov dword [esp + 0x3c], eax
call ebp
push 1
mov ebx, eax
call ebp
mov ecx, eax
cmp dword [esp + 0x40], 0xc000
lea eax, [ebx + ebx*2]
cdq
jne 0x4ad878
and edx, 7
add eax, edx
mov ebx, eax
lea eax, [ecx + ecx*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
cdq
sar ebx, 3
sub eax, edx
mov dword [esp + 0x14], ebx
sar eax, 1
jmp 0x4ad894
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x14]
lea eax, [ecx + ecx*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
xor eax, eax
cmp ecx, eax
je 0x4ad8b8
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x2c]
sub edx, ecx
sub edx, ebp
add ebx, edx
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x180]
mov ebx, dword [ecx + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], eax
lea ebx, [ebx]
cmp word [ebx], 0
mov ebp, ebx
mov eax, ebx
je 0x4ad8f7
lea ebx, [ebx]
mov cx, word [eax]
cmp cx, 0xa
je 0x4ad8f7
test cx, cx
je 0x4ad8f1
add eax, 2
cmp word [eax], 0
jne 0x4ad8e0
cmp word [eax], 0
mov ebx, eax
jne 0x4ad91d
push ebp
call dword [0x5d2620]
add esp, 4
test eax, eax
je 0x4ad99f
mov dword [esp + 0x44], 1
lea ebx, [ebp + eax*2]
mov eax, ebx
sub eax, ebp
sar eax, 1
test eax, eax
jle 0x4ad993
lea edx, [esp + 0x74]
push edx
push eax
mov eax, dword [esp + 0x3c]
push ebp
push eax
call sym.vidcap60.exe__SfGetTextExtent_16
mov edx, dword [esp + 0x30]
mov ebp, dword [edx]
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x14]
add ecx, ebp
lea eax, [ecx + eax - 1]
cdq
idiv dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x74], ecx
add edx, eax
cmp ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], edx
mov eax, ecx
jl 0x4ad96b
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x24]
cmp ebp, eax
mov edx, dword [esp + 0x14]
jg 0x4ad983
cmp ecx, edx
mov ebp, ecx
jl 0x4ad97f
mov ebp, edx
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4ad9a7
add ebx, 2
jmp 0x4ad8d0
inc dword [esp + 0x3c]
add ebx, 2
jmp 0x4ad8d0
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 4]
inc ecx
imul eax, ecx
mov ecx, dword [esp + 0x38]
cmp ecx, eax
jg 0x4ad9c4
mov ecx, eax
mov dword [esp + 0x38], ecx
cmp ebp, edx
jl 0x4ad9ce
mov ebp, edx
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x18]
cmp ecx, eax
jl 0x4ad9da
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
cmp dword [esp + 0x48], 0x1000
jne 0x4ada29
mov edx, dword [esp + 0x180]
mov eax, dword [edx + 0x18]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x38]
push 0xffffffffffffffff
push eax
push ecx
call sym.vidcap60.exe__SfGetTextExtent_16
mov ecx, dword [ebx]
mov edx, dword [esp + 0x5c]
lea eax, [edx + ecx*2]
add eax, ecx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jl 0x4ada1f
mov eax, ecx
cmp eax, ebp
jle 0x4ada29
mov ebp, eax
mov dword [esp + 0x24], ebp
mov ebx, dword [esp + 0x2c]
lea edx, [ebx + ebx]
lea eax, [edx + ebp]
cmp esi, eax
jg 0x4ada39
mov esi, eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4ada4d
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x64]
add eax, ebx
add esi, eax
mov ebp, dword [esp + 0x9c]
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x38]
sub ecx, ebp
mov ebp, dword [esp + 0x1c]
add ecx, eax
mov eax, dword [esp + 0x48]
add ebp, ecx
cmp eax, 0x1000
mov dword [esp + 0x1c], ebp
jne 0x4ada8a
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x60]
add ecx, eax
mov eax, ebp
add eax, ecx
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
mov ebp, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x10]
imul eax, ecx
dec ecx
imul ecx, dword [ebp]
add eax, ecx
mov dword [esp + 0x18], eax
add eax, edx
cmp esi, eax
jg 0x4adab2
mov esi, eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4adad1
mov ebp, dword [esp + 0x64]
mov eax, dword [esp + 0x14]
lea edx, [ebx + ebx*2]
mov ebx, dword [esp + 0x6c]
sub edx, ebp
add edx, ebx
add eax, edx
jmp 0x4adad8
mov ecx, dword [esp + 0x14]
lea eax, [ecx + edx]
cmp esi, eax
jl 0x4adade
mov esi, eax
cmp dword [esp + 0x40], 0xc000
jne 0x4adbb4
mov ebp, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call ebp
lea eax, [eax + eax*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
cdq
sub eax, edx
mov ebx, eax
push 1
sar ebx, 1
call ebp
lea eax, [eax + eax*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
cmp esi, ebx
jge 0x4adb26
mov esi, ebx
lea edx, [ecx + ecx]
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x1c]
cmp edx, eax
jge 0x4adb43
mov ecx, eax
jmp 0x4adb49
cmp edx, ecx
jge 0x4adb49
mov ecx, edx
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x180]
push 0
lea eax, [ecx + edx*2]
mov dword [ebx + 0x10], eax
mov eax, dword [0x621c78]
push eax
push 0xc9
push edi
push ecx
mov ecx, dword [esp + 0x40]
lea eax, [ecx + ecx]
mov ebp, esi
sub ebp, eax
mov eax, dword [esp + 0x30]
push ebp
add edx, eax
push edx
push ecx
push 0x50220844
push 0
push 0x5d4a58
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [esp + 0x34]
push 0
push ecx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebx + 8]
push edx
push 0xc9
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 7
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 8
lea ebp, [esi + eax*2]
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x1c]
push 4
lea ebx, [ecx + eax*2]
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 6
add ebx, eax
push ebx
push ebp
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x3eb
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esp + 0x34]
push 0
push edx
mov ebp, eax
push 0x30
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x20]
test eax, eax
mov ebx, dword [esp + 0x2c]
je 0x4adc24
mov ecx, dword [esp + 0x64]
mov eax, ebx
lea ebx, [eax + eax]
mov eax, dword [esp + 0x6c]
sub ebx, ecx
add ebx, eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov eax, esi
sub eax, ebx
add ecx, ecx
sub eax, ecx
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, ebx
cmp eax, ebx
jle 0x4adc43
mov ebx, eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push 4
push ecx
push edx
push eax
push ebx
push 0
push ebp
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x48], 0x1000
mov ebp, dword [esp + 0x28]
jne 0x4adcfa
mov edx, dword [esp + 0x58]
sub edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x60]
push 0
add edx, ebp
lea eax, [ecx + ebp]
add eax, edx
mov edx, dword [0x621c78]
push edx
mov edx, dword [esp + 0x64]
push 0x12c
push edi
push ecx
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx]
lea edx, [edx + ecx*2]
add edx, ecx
mov ecx, dword [esp + 0x30]
push edx
sub ecx, eax
push ecx
push ebx
mov ebx, dword [esp + 0x1a0]
mov edx, dword [ebx + 0x18]
push 0x50030003
push edx
push str.Button
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [esp + 0x34]
push 0
push ecx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebx + 0x1c]
mov eax, dword [edx]
push eax
push 0x12c
push edi
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
sub esi, ecx
sub esi, eax
mov ebx, esi
jmp 0x4add09
mov edx, dword [esp + 0x18]
mov eax, esi
sub eax, edx
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x1c]
sub ecx, eax
sub ecx, ebp
add ecx, edx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
jle 0x4adda8
mov edx, dword [esp + 0x4c]
lea esi, [esp + 0xb8]
mov dword [esp + 0x18], ecx
jmp 0x4add40
mov eax, dword [esp + 0x58]
mov ebp, dword [0x621c78]
mov ecx, dword [esi - 8]
push 0
push ebp
push ecx
mov ecx, dword [esp + 0x5c]
push edi
sub eax, ecx
mov ecx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x68]
sub eax, edx
mov edx, dword [esi - 4]
push eax
mov eax, dword [esi]
push ecx
push ebx
push edx
push eax
push str.Button
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [esp + 0x34]
push 0
push ecx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
sub eax, edx
add eax, ecx
add ebx, eax
mov eax, dword [esp + 0x18]
add esi, 0x14
dec eax
mov dword [esp + 0x18], eax
jne 0x4add3c
mov ecx, dword [esp + 0x180]
mov edx, dword [ecx + 4]
push edx
push 0x3eb
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x8001
push 0
push 0
push edi
call sym.vidcap60.exe__SfWndCenter_16
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x28
push edi
call esi
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + eax + 0xb0]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push eax
push 0x28
push edi
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x168
ret 8