Function at 0x102f805
Capabilities:
Delete file
Move file

Disassembly:
push 0x268
mov eax, 0x107d758
call fcn.01002155
mov eax, dword [ebp + 8]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x270], eax
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
mov dword [ebp - 0x268], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x240], ebx
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x240]
push eax
push 0x103001c
push 1
push ebx
mov edi, 0x102fad8
push edi
mov byte [ebp - 4], 1
call esi
test eax, eax
jl 0x1043818
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x250], ebx
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax]
lea edx, [ebp - 0x244]
push edx
push ebx
mov esi, 0x80000000
push esi
push ebx
push dword [ebp - 0x25c]
mov byte [ebp - 4], 3
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x1043835
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax]
lea edx, [ebp - 0x250]
push edx
push ebx
push esi
push ebx
push dword [ebp - 0x258]
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x104385c
mov eax, 0x1011f98
mov esi, eax
lea edi, [ebp - 0x23c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
mov eax, dword [ebp - 0x244]
lea edi, [ebp - 0x22c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x23c]
push edx
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
cmp eax, ebx
jl 0x1043883
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
lea edx, [ebp - 0x22c]
push edx
push eax
call dword [ecx + 0x14]
cmp eax, ebx
jl 0x10438a1
push 4
pop ecx
lea edi, [ebp - 0x22c]
lea esi, [ebp - 0x23c]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x10438bf
push dword [ebp - 0x258]
lea edi, [ebp - 0x21c]
call fcn.0102f46e
test eax, eax
je 0x10438ce
mov dword [ebp - 0x24c], ebx
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax]
lea edx, [ebp - 0x24c]
push edx
push eax
mov byte [ebp - 4], 4
call dword [ecx + 0x38]
cmp eax, ebx
jl 0x10438dd
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax]
mov edi, 0x40000000
push edi
lea edx, [ebp - 0x21c]
xor esi, esi
push edx
inc esi
push eax
mov dword [ebp - 0x26c], esi
call dword [ecx + 0x3c]
cmp eax, ebx
jl 0x10438fb
push ebx
xor eax, eax
push ebx
mov dword [ebp - 0x260], ebx
lea edi, [ebp - 0x25c]
stosd dword es:[edi], eax
push dword [ebp - 0x25c]
mov eax, dword [ebp - 0x24c]
push dword [ebp - 0x260]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
cmp eax, ebx
jl 0x104391a
mov dword [ebp - 0x248], ebx
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax]
lea edx, [ebp - 0x248]
push edx
mov edi, 0x102fae8
push edi
lea edx, [ebp - 0x22c]
push edx
push eax
mov byte [ebp - 4], 5
call dword [ecx + 0x20]
cmp eax, ebx
jl 0x104393f
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax]
push 2
push dword [ebp - 0x24c]
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x1043965
push dword [ebp - 0x248]
push dword [ebp - 0x244]
call fcn.01030115
mov eax, dword [ebp - 0x244]
lea edx, [ebp - 0x264]
push edx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x254], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
cmp eax, ebx
jl 0x1043984
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
lea edx, [ebp - 0x254]
push edx
push eax
call dword [ecx + 0x30]
cmp eax, ebx
jl 0x10439a2
mov eax, dword [ebp - 0x264]
cmp eax, dword [ebp - 0x254]
jne 0x10439c0
xor edi, edi
cmp edi, dword [ebp - 0x254]
jae 0x102ff73
push dword [ebp - 0x270]
mov edx, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x244]
push edi
push dword [ebp - 0x240]
push dword [ebp - 0x248]
call fcn.0102fafd
inc edi
jmp 0x102faa4
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp eax, ebx
jl 0x10439cf
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x268], esi
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x102ffa1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24c]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x102ffb5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x250]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x102ffc9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x244]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x102ffdd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x240]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x102fff0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 3
push dword [ebp - 0x258]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
cmp esi, ebx
je 0x1043a07
mov eax, esi
call fcn.0100212d
ret 0xc
lea eax, [ebp - 0x240]
push eax
push 0x103001c
push 1
push ebx
push edi
call esi
push eax
call sub.MFC42u.dll_AfxThrowOleException
jmp 0x102f88d
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax]
lea edx, [ebp - 0x244]
push edx
push ebx
push esi
push ebx
push dword [ebp - 0x25c]
push eax
call dword [ecx + 0xc]
push eax
call sub.MFC42u.dll_AfxThrowOleException
jmp 0x102f8c6
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax]
lea edx, [ebp - 0x250]
push edx
push ebx
push esi
push ebx
push dword [ebp - 0x258]
push eax
call dword [ecx + 0xc]
push eax
call sub.MFC42u.dll_AfxThrowOleException
jmp 0x102f8ea
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax]
lea edx, [ebp - 0x23c]
push edx
push eax
call dword [ecx + 0x14]
push eax
call sub.MFC42u.dll_AfxThrowOleException
jmp 0x102f922
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
lea edx, [ebp - 0x22c]
push edx
push eax
call dword [ecx + 0x14]
push eax
call sub.MFC42u.dll_AfxThrowOleException
jmp 0x102f93d
push 0x80070057
call sub.MFC42u.dll_AfxThrowOleException
jmp 0x102f956
push 0x8000ffff
call sub.MFC42u.dll_AfxThrowOleException
jmp 0x102f96f
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax]
lea edx, [ebp - 0x24c]
push edx
push eax
call dword [ecx + 0x38]
push eax
call sub.MFC42u.dll_AfxThrowOleException
jmp 0x102f994
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x21c]
push edx
push eax
call dword [ecx + 0x3c]
push eax
call sub.MFC42u.dll_AfxThrowOleException
jmp 0x102f9be
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax]
push ebx
push ebx
push dword [ebp - 0x25c]
push dword [ebp - 0x260]
push eax
call dword [ecx + 0x14]
push eax
call sub.MFC42u.dll_AfxThrowOleException
jmp 0x102f9ef
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax]
lea edx, [ebp - 0x248]
push edx
push edi
lea edx, [ebp - 0x22c]
push edx
push eax
call dword [ecx + 0x20]
push eax
call sub.MFC42u.dll_AfxThrowOleException
jmp 0x102fa21
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax]
push 2
push dword [ebp - 0x24c]
push eax
call dword [ecx + 0xc]
push eax
call sub.MFC42u.dll_AfxThrowOleException
jmp 0x102fa3d
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax]
lea edx, [ebp - 0x264]
push edx
push eax
call dword [ecx + 0x30]
push eax
call sub.MFC42u.dll_AfxThrowOleException
jmp 0x102fa75
mov eax, dword [ebp - 0x250]
mov ecx, dword [eax]
lea edx, [ebp - 0x254]
push edx
push eax
call dword [ecx + 0x30]
push eax
call sub.MFC42u.dll_AfxThrowOleException
jmp 0x102fa90
push 0x80070057
call sub.MFC42u.dll_AfxThrowOleException
jmp 0x102faa2
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
push eax
call sub.MFC42u.dll_AfxThrowOleException
jmp 0x102ff87
cmp dword [ebp - 0x26c], ebx
je 0x103000f
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x103000f