Function at 0x480f87
Capabilities:
Move file

Disassembly:
mov eax, 0x4f32bd
call fcn.004e6580
sub esp, 0x98
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x10]
xor esi, esi
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], esi
call fcn.00411852
lea eax, [ebx + 0x20]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00411852
push dword [ebp - 0x34]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
mov ebx, dword [ebx + 0xc]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], ebx
call fcn.00402c99
test al, al
pop ecx
pop ecx
je 0x48100b
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push dword [ebp - 0x30]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x34]
call esi
jmp 0x481480
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x40]
push 0x511f38
push eax
call fcn.00408e6b
push 0x511f2c
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 4
call fcn.00402c1f
add esp, 0x18
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push dword [ebp - 0x30]
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
push dword [edi + 0x200]
lea ecx, [ebp - 0x44]
call fcn.00403103
cmp ebx, 2
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 8
je 0x48144a
cmp dword [ebp - 0x28], esi
je 0x48107c
cmp dword [ebp - 0x28], 1
jne 0x48144a
push 0x5f
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0049d5c0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 9
call dword [0x4fc954]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00405fbb
add esp, 0xc
push esi
mov ecx, eax
mov byte [ebp - 4], 0xa
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call fcn.0049f200
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 8
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
cmp dword [ebp - 0x1c], esi
je 0x481262
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00405fbb
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0xb
call fcn.00405fbb
mov ecx, dword [ebp - 0x10]
add esp, 0x18
mov dword [ebp - 0x1c], eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov ecx, dword [ebp - 0x1c]
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
neg eax
sbb al, al
inc al
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x1d], al
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
cmp byte [ebp - 0x1d], 0
je 0x481262
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], esi
mov eax, dword [0x54f8ec]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x51b440
push eax
mov byte [ebp - 4], 0xd
call dword [ecx + 0x14]
mov dword [ebp + 8], esi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
mov byte [ebp - 4], 0xe
call dword [ecx + 0xc0]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x4ff270
push eax
call dword [ecx]
push 0x4fff00
lea ecx, [ebp - 0x48]
call fcn.004021ce
mov ebx, eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xf
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [ebp - 0x38]
call fcn.004021ce
mov ebx, dword [ebx]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push esi
push 0xffffffffffffffff
push esi
push ebx
push eax
push dword [edi + 0x20]
mov byte [ebp - 4], 0x10
push ecx
call dword [edx + 0x14]
push dword [ebp - 0x38]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
push dword [ebp - 0x48]
call edi
mov eax, dword [ebp + 8]
cmp eax, esi
mov byte [ebp - 4], 0xd
je 0x481205
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, esi
mov byte [ebp - 4], 0xc
je 0x481216
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, esi
mov byte [ebp - 4], 8
je 0x481227
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
cmp eax, esi
mov byte [ebp - 4], 7
je 0x481238
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push dword [ebp - 0x30]
call edi
push dword [ebp - 0x34]
call edi
jmp 0x481480
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0xa4]
push eax
call esi
lea eax, [ebp - 0x5c]
push eax
call esi
lea eax, [ebp - 0x84]
push eax
call esi
lea eax, [ebp - 0x74]
push eax
call esi
lea eax, [ebp - 0x94]
push eax
call esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
and dword [ebp - 0x24], 0
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x1fc]
mov edx, dword [eax]
lea esi, [ebp - 0x24]
push esi
push dword [ebp - 0x38]
mov byte [ebp - 4], 0x16
push ecx
push eax
call dword [edx + 0x104]
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC71U.DLL_CRecordset::AllocStatusArrays]
push eax
lea ecx, [ebp + 8]
call fcn.004021ce
mov eax, dword [ebp - 0x24]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 0x17
call dword [ecx + 0xbc]
mov edi, dword [edi + 0x1fc]
push dword [ebp - 0x24]
mov eax, dword [edi]
push edi
call dword [eax + 0x68]
xor esi, esi
mov dword [ebp - 0x40], esi
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x40]
push edx
push eax
mov byte [ebp - 4], 0x18
call dword [ecx + 0xc0]
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push eax
mov byte [ebp - 4], 0x19
call dword [ecx + 0xb0]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x64]
push edx
push eax
call dword [ecx + 0xd0]
push 0x10d0
mov word [ebp - 0x5c], 0x2010
push esi
push 0x11
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov dword [ebp - 0x54], eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00405fbb
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov esi, dword [sym.imp.MSVCR71.dll_wcscpy]
push eax
push dword [ebp - 0x2c]
call esi
pop ecx
pop ecx
lea ecx, [ebp - 0x38]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00405fbb
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
mov eax, dword [ebp - 0x2c]
add eax, 0x800
push eax
call esi
pop ecx
pop ecx
lea ecx, [ebp - 0x38]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x28]
add eax, 0x1000
push eax
call esi
mov eax, dword [ebp - 0x64]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x10c8], eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x10cc], eax
push dword [ebp - 0x54]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x44]
push dword [ebp - 0x28]
call ebx
push dword [ebp - 0x40]
call ebx
push dword [ebp + 8]
call ebx
mov eax, dword [ebp - 0x24]
test eax, eax
mov byte [ebp - 4], 0x15
je 0x48141b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x94]
push eax
call esi
lea eax, [ebp - 0x74]
push eax
call esi
lea eax, [ebp - 0x84]
push eax
call esi
lea eax, [ebp - 0x5c]
push eax
call esi
lea eax, [ebp - 0xa4]
push eax
call esi
xor esi, esi
mov eax, dword [ebp - 0x44]
cmp eax, esi
mov byte [ebp - 4], 7
je 0x48145b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push dword [ebp - 0x30]
call ebx
push dword [ebp - 0x34]
call ebx
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8