Function at 0x480730
Capabilities:
Move file

Disassembly:
mov eax, 0x4f31da
call fcn.004e6580
sub esp, 0xb8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x5c], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], edi
mov eax, dword [0x54f8ec]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push 0x51b440
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x14]
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push eax
mov byte [ebp - 4], 3
call dword [ecx + 0xc0]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 0x4ff270
push eax
call dword [ecx]
push dword [ebp + 8]
lea ecx, [ebp - 0x84]
call fcn.004115dc
mov dword [ebp - 0x38], edi
mov ebx, dword [ebp - 0x84]
mov eax, dword [ebx]
lea ecx, [ebp - 0x38]
push ecx
push ebx
mov byte [ebp - 4], 5
call dword [eax + 0xc0]
mov dword [ebp - 0x34], edi
mov eax, dword [ebx]
lea ecx, [ebp - 0x34]
push ecx
push ebx
mov byte [ebp - 4], 6
call dword [eax + 0x28]
push dword [ebp - 0x38]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 7
call fcn.00402c99
test al, al
pop ecx
pop ecx
jne 0x480f17
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push 0x511f38
push eax
call fcn.00408e6b
push 0x511f2c
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 8
call fcn.00402c1f
add esp, 0x18
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push dword [ebp - 0x34]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
push dword [esi + 0x200]
lea ecx, [ebp - 0x44]
call fcn.00403103
mov eax, dword [ebx]
lea ecx, [ebp - 0x58]
push ecx
push ebx
mov byte [ebp - 4], 0xc
call dword [eax + 0x18]
cmp dword [ebp - 0x58], 2
jne 0x480bc5
push 0x5f
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0049d5c0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xd
call dword [0x4fc954]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xc
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00405fbb
mov dword [ebp + 8], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0xe
call fcn.00405fbb
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ebp - 0x20], eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov ecx, dword [ebp - 0x20]
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 - 0x40]
mov byte [ebp + 0xb], al
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xc
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
cmp byte [ebp + 0xb], 0
je 0x480953
push 0x4fff00
lea ecx, [ebp - 0x40]
call fcn.004021ce
mov dword [ebp + 8], 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 - 0x20]
call fcn.004021ce
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov edx, dword [ebp - 0x24]
mov edx, dword [edx]
push edi
push 0xffffffffffffffff
push edi
push ecx
push eax
push dword [esi + 0x20]
mov byte [ebp - 4], 0x10
push dword [ebp - 0x24]
call dword [edx + 0x14]
push dword [ebp - 0x20]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x40]
jmp 0x480d0e
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC71U.DLL_CRecordset::AllocStatusArrays]
push eax
lea ecx, [ebp - 0x20]
call fcn.004021ce
push ebx
lea ecx, [ebp - 0x54]
call fcn.00429138
mov eax, dword [ebp - 0x54]
push dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 0x12
call dword [ecx + 0xc]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push eax
mov byte [ebp - 4], 0x14
call dword [ecx + 0x20]
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
mov byte [ebp - 4], 0x15
call dword [ecx + 0x94]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 0x16
jmp 0x480b5e
mov ecx, dword [eax]
lea edx, [ebp - 0x7c]
push edx
push eax
call dword [ecx + 0x18]
cmp dword [ebp - 0x7c], 1
jne 0x480b4e
push dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00429573
mov dword [ebp + 8], edi
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
mov byte [ebp - 4], 0x18
call dword [ecx + 0xc0]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0x1800
push edi
push 0x11
mov word [ebp - 0x70], 0x2010
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
lea ecx, [ebp - 0x48]
push ecx
push eax
mov dword [ebp - 0x68], eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00405fbb
mov edi, 0x503d24
push edi
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 0x19
call fcn.00402c1f
push dword [ebp + 8]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00402c1f
add esp, 0x24
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 - 0x48]
call esi
pop ecx
pop ecx
lea ecx, [ebp - 0x80]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp - 0x74]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x18
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00405fbb
push edi
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x1b
call fcn.00402c1f
push dword [ebp + 8]
mov byte [ebp - 4], 0x1c
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00402c1f
add esp, 0x24
mov ecx, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
mov eax, dword [ebp - 0x48]
add eax, 0x800
push eax
call esi
pop ecx
pop ecx
lea ecx, [ebp - 0x60]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp - 0x50]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x18
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, dword [ebp - 0x48]
push dword [ebp - 0x2c]
add eax, 0x1000
push eax
call esi
pop ecx
pop ecx
push dword [ebp - 0x68]
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 - 0x70]
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 + 0x80]
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x40]
test eax, eax
mov byte [ebp - 4], 0x16
je 0x480b4c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor edi, edi
mov eax, dword [ebp - 0x28]
cmp eax, edi
je 0x480b5e
mov dword [ebp - 0x28], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push eax
call dword [ecx + 0x10]
cmp eax, edi
mov eax, dword [ebp - 0x28]
je 0x4809c8
cmp eax, edi
mov byte [ebp - 4], 0x15
je 0x480b84
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, edi
mov byte [ebp - 4], 0x14
je 0x480b95
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x54]
cmp eax, edi
mov byte [ebp - 4], 0x11
je 0x480bbb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x20]
call esi
jmp 0x480ef4
cmp dword [ebp - 0x58], edi
je 0x480bd4
cmp dword [ebp - 0x58], 1
jne 0x480ef4
push 0x5f
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0049d5c0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x1d
call dword [0x4fc954]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xc
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00405fbb
add esp, 0xc
push edi
mov ecx, eax
mov byte [ebp - 4], 0x1e
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call fcn.0049f200
pop ecx
pop ecx
lea ecx, [ebp + 8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xc
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
cmp dword [ebp - 0x18], edi
je 0x480d41
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00405fbb
mov dword [ebp + 8], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x1f
call fcn.00405fbb
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ebp - 0x18], eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov ecx, dword [ebp - 0x18]
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 - 0x50]
mov byte [ebp + 0xb], al
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xc
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
cmp byte [ebp + 0xb], 0
je 0x480d41
push 0x4fff00
lea ecx, [ebp - 0x50]
call fcn.004021ce
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x20
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [ebp - 0x18]
call fcn.004021ce
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov edx, dword [ebp - 0x24]
mov edx, dword [edx]
push edi
push 0xffffffffffffffff
push edi
push ecx
push eax
push dword [esi + 0x20]
mov byte [ebp - 4], 0x21
push dword [ebp - 0x24]
call dword [edx + 0x14]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x50]
call esi
mov eax, dword [ebp - 0x44]
cmp eax, edi
mov byte [ebp - 4], 0xb
je 0x480d21
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x10]
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 - 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
jmp 0x480f26
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0xc4]
push eax
call esi
lea eax, [ebp - 0x70]
push eax
call esi
lea eax, [ebp - 0xa4]
push eax
call esi
lea eax, [ebp - 0xb4]
push eax
call esi
lea eax, [ebp - 0x94]
push eax
call esi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x26
call dword [sym.imp.MFC71U.DLL_CRecordset::AllocStatusArrays]
push eax
lea ecx, [ebp + 8]
call fcn.004021ce
push dword [ebp + 8]
mov eax, dword [ebx]
push ebx
mov byte [ebp - 4], 0x27
call dword [eax + 0xbc]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x1fc]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x68]
mov dword [ebp - 0x20], edi
mov eax, dword [ebx]
lea ecx, [ebp - 0x20]
push ecx
push ebx
mov byte [ebp - 4], 0x28
call dword [eax + 0xc0]
mov dword [ebp - 0x2c], edi
mov eax, dword [ebx]
lea ecx, [ebp - 0x2c]
push ecx
push ebx
mov byte [ebp - 4], 0x29
call dword [eax + 0xb0]
mov eax, dword [ebx]
lea ecx, [ebp - 0x78]
push ecx
push ebx
call dword [eax + 0xd0]
push 0x10d0
push edi
push 0x11
mov word [ebp - 0x70], 0x2010
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp - 0x68], eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
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
push dword [ebp - 0x14]
mov esi, dword [sym.imp.MSVCR71.dll_wcscpy]
call esi
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
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 - 0x14]
add eax, 0x800
push eax
call esi
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x2c]
add eax, 0x1000
push eax
call esi
mov eax, dword [ebp - 0x78]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x10c8], eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x10cc], eax
push dword [ebp - 0x68]
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 - 0x70]
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 + 0x80]
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x20]
call esi
push dword [ebp + 8]
call esi
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x94]
push eax
call esi
lea eax, [ebp - 0xb4]
push eax
call esi
lea eax, [ebp - 0xa4]
push eax
call esi
lea eax, [ebp - 0x70]
push eax
call esi
lea eax, [ebp - 0xc4]
push eax
call esi
xor edi, edi
mov eax, dword [ebp - 0x44]
cmp eax, edi
mov byte [ebp - 4], 0xb
je 0x480f05
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x10]
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 - 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x34]
call esi
push dword [ebp - 0x38]
call esi
mov eax, dword [ebx]
push ebx
mov byte [ebp - 4], 3
call dword [eax + 8]
mov eax, dword [ebp - 0x3c]
cmp eax, edi
mov byte [ebp - 4], 2
je 0x480f4b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
cmp eax, edi
mov byte [ebp - 4], 1
je 0x480f5c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, edi
mov byte [ebp - 4], 0
je 0x480f6d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
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