Function at 0x102c080
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x1072e78
call fcn.01071e78
sub esp, 0x480
mov eax, dword [0x1080bec]
push ebx
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov esi, ecx
push edi
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x468], eax
call sub.MFC42u.dll_CString::CString_4
xor ebx, ebx
lea ecx, [ebp - 0x430]
mov dword [ebp - 4], ebx
call sub.MFC42u.dll_CString::CString_4
xor eax, eax
inc eax
mov byte [ebp - 4], al
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x444], eax
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 0x45c], ebx
mov dword [ebp - 0x440], ebx
je 0x102c0fe
push eax
call sub.NMAPI.dll_GetCaptureTotalFrames
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x440], eax
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp + 0xc], ebx
mov ecx, esi
je 0x102c168
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x42c]
push eax
push dword [ebp - 0x468]
push dword [ebp - 0x45c]
call fcn.0102bd85
cmp eax, 1
jne 0x102c958
cmp dword [ebp - 0x43c], ebx
mov eax, dword [ebp - 0x440]
jne 0x102c160
cmp dword [ebp - 0x438], 1
jne 0x102c160
cmp eax, dword [ebp - 0x45c]
je 0x102c191
mov dword [ebp - 0x444], ebx
jmp 0x102c191
lea eax, [ebp - 0x42c]
push eax
call fcn.0102bf91
cmp eax, 1
jne 0x102c958
cmp dword [ebp - 0x468], ebx
mov dword [ebp - 0x444], eax
jne 0x102c191
mov dword [ebp - 0x43c], ebx
mov eax, dword [ebp - 0x440]
dec eax
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x42c]
push eax
push esi
call fcn.0102bae0
test al, al
je 0x102c22c
lea ecx, [ebp - 0x448]
call sub.MFC42u.dll_CString::CString_4
push 0x1639
mov byte [ebp - 4], 2
call fcn.0106bcca
push eax
push 0x163a
call fcn.0106bcca
push eax
lea eax, [ebp - 0x448]
push eax
call sub.MFC42u.dll_CString::Format_1
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x424], eax
mov eax, dword [esi + 0x18]
add esp, 0xc
cmp eax, ebx
jne 0x102c1fe
mov dword [ebp - 0x428], ebx
jmp 0x102c207
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x428], eax
push ebx
push 0x1389
call fcn.0106bcca
push eax
push dword [ebp - 0x424]
push dword [ebp - 0x428]
call edi
lea ecx, [ebp - 0x448]
jmp 0x102c477
push ebx
push ebx
push 3
push ebx
push ebx
push 0x40000000
push ebx
lea ecx, [ebp - 0x42c]
call sub.MFC42u.dll_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x424], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x424], 0xffffffff
jne 0x102c2d0
cmp eax, 2
je 0x102c32c
push 0x1639
call fcn.0106bcca
push eax
push 0x163a
call fcn.0106bcca
push eax
lea eax, [ebp - 0x430]
push eax
call sub.MFC42u.dll_CString::Format_1
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x424], eax
mov eax, dword [esi + 0x18]
add esp, 0xc
cmp eax, ebx
jne 0x102c2a8
mov dword [ebp - 0x428], ebx
jmp 0x102c2b1
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x428], eax
push ebx
push 0x1389
call fcn.0106bcca
push eax
push dword [ebp - 0x424]
push dword [ebp - 0x428]
call edi
jmp 0x102c104
push dword [ebp - 0x424]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x18]
cmp eax, ebx
jne 0x102c2eb
mov dword [ebp - 0x424], ebx
jmp 0x102c2f4
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x424], eax
push 3
push 0x1389
call fcn.0106bcca
push eax
push 0x1637
call fcn.0106bcca
push eax
push dword [ebp - 0x424]
call edi
dec eax
dec eax
je 0x102c958
sub eax, 4
je 0x102c3e4
dec eax
je 0x102c104
mov eax, dword [esi + 8]
cmp eax, ebx
jne 0x102c5bd
cmp dword [ebp - 0x444], ebx
je 0x102c5bd
mov eax, dword [esi]
push ebx
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x424], eax
call sub.MFC42u.dll_CString::GetBuffer
push eax
push dword [ebp - 0x424]
call dword [sym.imp.msvcrt.dll__wrename]
cmp eax, ebx
pop ecx
pop ecx
je 0x102c850
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
cmp eax, 2
mov dword [ebp - 0x428], eax
je 0x102c7da
cmp eax, 0xd
jne 0x102c4b0
lea ecx, [ebp - 0x450]
call sub.MFC42u.dll_CString::CString_4
push 0x1639
mov byte [ebp - 4], 4
call fcn.0106bcca
push eax
push 0x163a
call fcn.0106bcca
push eax
lea eax, [ebp - 0x450]
push eax
call sub.MFC42u.dll_CString::Format_1
mov eax, dword [ebp - 0x450]
mov dword [ebp - 0x428], eax
mov eax, dword [esi + 0x18]
add esp, 0xc
cmp eax, ebx
jne 0x102c485
mov dword [ebp - 0x424], ebx
jmp 0x102c48e
push ebx
lea ecx, [ebp - 0x42c]
call sub.MFC42u.dll_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x102c32c
lea ecx, [ebp - 0x464]
call sub.MFC42u.dll_CString::CString_4
push 0x1639
mov byte [ebp - 4], 3
call fcn.0106bcca
push eax
push 0x163a
call fcn.0106bcca
push eax
lea eax, [ebp - 0x464]
push eax
call sub.MFC42u.dll_CString::Format_1
mov eax, dword [ebp - 0x464]
mov dword [ebp - 0x428], eax
mov eax, dword [esi + 0x18]
add esp, 0xc
cmp eax, ebx
jne 0x102c44e
mov dword [ebp - 0x424], ebx
jmp 0x102c457
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x424], eax
push ebx
push 0x1389
call fcn.0106bcca
push eax
push dword [ebp - 0x428]
push dword [ebp - 0x424]
call edi
lea ecx, [ebp - 0x464]
mov byte [ebp - 4], 1
call sub.MFC42u.dll_CString::CString
jmp 0x102c104
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x424], eax
push ebx
push 0x1389
call fcn.0106bcca
push eax
push dword [ebp - 0x428]
push dword [ebp - 0x424]
call edi
lea ecx, [ebp - 0x450]
jmp 0x102c477
cmp dword [ebp - 0x428], 0x1c
jne 0x102c538
lea ecx, [ebp - 0x460]
call sub.MFC42u.dll_CString::CString_4
push ebx
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 5
call sub.MFC42u.dll_CString::GetBuffer
push eax
push 0x1625
call fcn.0106bcca
push eax
lea eax, [ebp - 0x460]
push eax
call sub.MFC42u.dll_CString::Format_1
mov eax, dword [ebp - 0x460]
mov dword [ebp - 0x428], eax
mov eax, dword [esi + 0x18]
add esp, 0xc
cmp eax, ebx
jne 0x102c50a
mov dword [ebp - 0x424], ebx
jmp 0x102c513
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x424], eax
push ebx
push 0x1389
call fcn.0106bcca
push eax
push dword [ebp - 0x428]
push dword [ebp - 0x424]
call edi
lea ecx, [ebp - 0x460]
jmp 0x102c477
lea ecx, [ebp - 0x458]
call sub.MFC42u.dll_CString::CString_4
push ebx
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 6
call sub.MFC42u.dll_CString::GetBuffer
push eax
push dword [ebp - 0x428]
push 0x1629
call fcn.0106bcca
push eax
lea eax, [ebp - 0x458]
push eax
call sub.MFC42u.dll_CString::Format_1
mov eax, dword [ebp - 0x458]
mov dword [ebp - 0x428], eax
mov eax, dword [esi + 0x18]
add esp, 0x10
cmp eax, ebx
jne 0x102c58f
mov dword [ebp - 0x424], ebx
jmp 0x102c598
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x424], eax
push ebx
push 0x1389
call fcn.0106bcca
push eax
push dword [ebp - 0x428]
push dword [ebp - 0x424]
call edi
lea ecx, [ebp - 0x458]
jmp 0x102c477
cmp eax, ebx
mov dword [ebp - 0x434], ebx
jne 0x102c5e5
mov ecx, esi
call fcn.0102bc6d
cmp eax, ebx
je 0x102c958
push dword [esi + 8]
call sub.NMAPI.dll_GetCaptureTotalFrames
dec eax
mov dword [ebp - 0x428], eax
push ebx
lea ecx, [ebp - 0x42c]
call sub.MFC42u.dll_CString::GetBuffer
mov dword [ebp - 0x484], eax
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x438]
dec eax
mov dword [ebp - 0x480], eax
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x47c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x478], eax
mov eax, dword [ebp - 0x468]
mov dword [ebp - 0x474], eax
mov eax, dword [esi + 0x18]
cmp eax, ebx
jne 0x102c640
mov dword [ebp - 0x48c], ebx
jmp 0x102c649
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x48c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x46c], eax
lea eax, [ebp - 0x434]
push eax
mov eax, dword [ebp - 0x438]
push dword [ebp - 0x428]
dec eax
cmp dword [ebp - 0x43c], ebx
mov dword [ebp - 0x488], ebx
lea ecx, [ebp - 0x42c]
push eax
jne 0x102c67f
push ebx
push ebx
jmp 0x102c68b
lea eax, [ebp - 0x48c]
push eax
push 0x106c9c3
push ebx
push ebx
push ebx
push ebx
call sub.MFC42u.dll_CString::GetBuffer
push eax
push dword [esi + 8]
call sub.NMAPI.dll_SaveCaptureW
cmp dword [ebp - 0x488], ebx
mov dword [ebp - 0x428], eax
je 0x102c6ca
push 0x64
push ebx
push dword [ebp - 0x488]
call fcn.0106687f
push dword [ebp - 0x488]
call fcn.0106685d
mov dword [ebp - 0x488], ebx
cmp dword [ebp - 0x428], 8
jne 0x102c750
lea ecx, [ebp - 0x44c]
call sub.MFC42u.dll_CString::CString_4
push 0x1639
mov byte [ebp - 4], 7
call fcn.0106bcca
push eax
push 0x163a
call fcn.0106bcca
push eax
lea eax, [ebp - 0x44c]
push eax
call sub.MFC42u.dll_CString::Format_1
mov eax, dword [ebp - 0x44c]
mov dword [ebp - 0x428], eax
mov eax, dword [esi + 0x18]
add esp, 0xc
cmp eax, ebx
jne 0x102c722
mov dword [ebp - 0x424], ebx
jmp 0x102c72b
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x424], eax
push ebx
push 0x1389
call fcn.0106bcca
push eax
push dword [ebp - 0x428]
push dword [ebp - 0x424]
call edi
lea ecx, [ebp - 0x44c]
jmp 0x102c477
cmp dword [ebp - 0x428], 0x4a
jne 0x102c838
lea ecx, [ebp - 0x454]
call sub.MFC42u.dll_CString::CString_4
push 0x1639
mov byte [ebp - 4], 8
call fcn.0106bcca
push eax
push 0x163a
call fcn.0106bcca
push eax
lea eax, [ebp - 0x454]
push eax
call sub.MFC42u.dll_CString::Format_1
mov eax, dword [ebp - 0x454]
mov dword [ebp - 0x428], eax
mov eax, dword [esi + 0x18]
add esp, 0xc
cmp eax, ebx
jne 0x102c7ac
mov dword [ebp - 0x424], ebx
jmp 0x102c7b5
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x424], eax
push ebx
push 0x1389
call fcn.0106bcca
push eax
push dword [ebp - 0x428]
push dword [ebp - 0x424]
call edi
lea ecx, [ebp - 0x454]
jmp 0x102c477
and byte [esi + 0x14], 0xfd
push 0x8054
lea ecx, [ebp - 0x430]
call sub.MFC42u.dll_CString::LoadStringW
push 0x1552
call fcn.0106bcca
push eax
lea ecx, [ebp - 0x430]
call fcn.01070c48
mov esi, dword [esi + 0x18]
cmp esi, ebx
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x424], eax
jne 0x102c81b
xor esi, esi
jmp 0x102c81e
mov esi, dword [esi + 0x20]
push ebx
push 0x1389
call fcn.0106bcca
push eax
push dword [ebp - 0x424]
push esi
call edi
jmp 0x102c958
cmp dword [ebp - 0x428], ebx
jne 0x102c901
cmp dword [ebp - 0x434], ebx
jne 0x102c935
cmp dword [ebp - 0x444], 1
jne 0x102c8fc
lea eax, [ebp - 0x42c]
push eax
mov ecx, esi
call sub.MFC42u.dll_CString::operator_2
and byte [esi + 0x14], 0xfd
lea ecx, [ebp - 0x424]
call sub.MFC42u.dll_CString::CString_4
push 0x208
push ebx
mov ecx, esi
mov byte [ebp - 4], 9
mov word [ebp - 0x420], bx
call sub.MFC42u.dll_CString::GetBuffer
mov edi, dword [sym.imp.msvcrt.dll_wcsncpy]
push eax
lea eax, [ebp - 0x420]
push eax
call edi
lea eax, [ebp - 0x420]
push 0x5c
push eax
mov word [ebp - 0x12], bx
call dword [sym.imp.msvcrt.dll_wcsrchr]
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x102c8ed
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0x10852c8
call edi
lea eax, [ebp - 0x420]
sub esi, eax
add esp, 0xc
sar esi, 1
mov word [0x10854ce], bx
mov word [esi*2 + 0x10852ca], bx
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 1
call sub.MFC42u.dll_CString::CString
xor esi, esi
inc esi
jmp 0x102c95a
mov esi, dword [esi + 0x18]
cmp esi, ebx
jne 0x102c90c
xor esi, esi
jmp 0x102c90f
mov esi, dword [esi + 0x20]
push ebx
lea ecx, [ebp - 0x42c]
call sub.MFC42u.dll_CString::GetBuffer
push eax
push 0x161d
call fcn.0106bcca
push eax
push dword [ebp - 0x428]
push esi
call fcn.0106c859
jmp 0x102c958
cmp dword [ebp - 0x434], 0x5c
je 0x102c958
mov esi, dword [esi + 0x18]
cmp esi, ebx
jne 0x102c949
xor esi, esi
jmp 0x102c94c
mov esi, dword [esi + 0x20]
push dword [ebp - 0x434]
push esi
call fcn.0106bdff
xor esi, esi
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], bl
call sub.MFC42u.dll_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call sub.MFC42u.dll_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.01070ac3
leave
ret 8