Function at 0x44f0c0
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5674bf
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x5d26e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x328], ebx
mov byte [ebp - 0x309], 0
push 0x58a919
lea ecx, [ebp - 0x308]
call fcn.004087e0
xor edi, edi
mov dword [ebp - 4], edi
push edi
push edi
lea ecx, [ebp - 0x228]
call fcn.004495e0
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.0049b306
call fcn.004a10cf
cmp eax, edi
je 0x44f245
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov edi, eax
mov dword [ebp - 0x318], edi
test edi, edi
je 0x44f187
push 0x8090
lea ecx, [ebp - 0x31c]
push ecx
call fcn.0041d0c0
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [eax]
push eax
lea ecx, [edi + 0x190]
call fcn.0049b76e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x31c]
call fcn.004022b0
mov eax, dword [esi + 0x84]
sub eax, 1
je 0x44f9d9
sub eax, 1
je 0x44f7b9
sub eax, 1
jne 0x44fc05
mov ecx, dword [esi + 0x60]
xor edi, edi
cmp ecx, edi
je 0x44f1b6
call fcn.004f9590
mov dword [esi + 0x60], edi
mov eax, dword [esi + 0x5c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esi + 0x5c], edi
lea ecx, [ebp - 0x304]
call fcn.00404e40
mov byte [ebp - 4], 0xd
mov ecx, dword [esi + 0x84]
push ecx
push ebx
push str._s._d
lea edx, [ebp - 0x304]
push edx
call fcn.0041a6a0
add esp, 0x10
push edi
mov eax, dword [ebp - 0x304]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x44f250
push 0x8096
lea ecx, [ebp - 0x350]
push ecx
call fcn.0041d0c0
add esp, 8
mov byte [ebp - 4], 0xe
mov eax, dword [eax]
push edi
push edi
push eax
call fcn.004a0dad
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x350]
call fcn.004022b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x304]
jmp 0x44f88a
mov dword [ebp - 0x318], edi
jmp 0x44f187
push 0x60
call fcn.004947e1
add esp, 4
mov dword [ebp - 0x318], eax
mov byte [ebp - 4], 0xf
cmp eax, edi
je 0x44f271
mov ecx, eax
call fcn.00430c00
mov edi, eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x314], edi
push ebx
lea ecx, [ebp - 0x334]
call fcn.004087e0
mov byte [ebp - 4], 0x10
push 1
lea edx, [ebp - 0x334]
push edx
mov ecx, edi
call fcn.0042f2e0
test al, al
sete bl
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x334]
call fcn.004022b0
test bl, bl
je 0x44f2f5
push 0x8097
lea eax, [ebp - 0x358]
push eax
call fcn.0041d0c0
add esp, 8
mov byte [ebp - 4], 0x11
mov eax, dword [eax]
push 0
push 0
push eax
call fcn.004a0dad
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x358]
call fcn.004022b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x304]
jmp 0x44f88a
mov dword [ebp - 0x320], 0
push 0x57c00c
lea ecx, [ebp - 0x34c]
call fcn.0042d0f0
mov byte [ebp - 4], 0x12
mov eax, dword [eax]
test eax, eax
je 0x44f31d
mov eax, dword [eax]
jmp 0x44f31f
xor eax, eax
mov ecx, dword [edi]
lea edx, [ebp - 0x320]
push edx
push 0
push 0x10
push 0
push eax
push edi
mov eax, dword [ecx + 0x10]
call eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x34c]
call fcn.0042d6e0
mov ecx, dword [ebp - 0x320]
test ecx, ecx
jne 0x44f398
mov ecx, dword [edi]
push edi
mov edx, dword [ecx + 8]
call edx
push 0x8098
lea eax, [ebp - 0x33c]
push eax
call fcn.0041d0c0
add esp, 8
mov byte [ebp - 4], 0x13
mov eax, dword [eax]
push 0
push 0
push eax
call fcn.004a0dad
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x33c]
call fcn.004022b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x304]
jmp 0x44f88a
call fcn.00430640
mov ebx, eax
push ebx
call fcn.00412570
call eax
add esp, 4
mov dword [ebp - 0x310], eax
mov ecx, dword [ebp - 0x320]
mov edx, dword [ecx]
lea eax, [ebp - 0x368]
push eax
push ebx
mov eax, dword [ebp - 0x310]
push eax
push ecx
mov ecx, dword [edx + 0xc]
call ecx
mov eax, dword [ebp - 0x320]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x320], 0
lea ecx, [ebp - 0x300]
call fcn.00419640
mov byte [ebp - 4], 0x14
push 0
push 0x74
push ebx
mov ecx, dword [ebp - 0x310]
push ecx
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x300]
call fcn.00419670
lea ecx, [ebp - 0x234]
call fcn.00412410
test al, al
jne 0x44f47a
mov eax, dword [edi]
push edi
mov ecx, dword [eax + 8]
call ecx
push 0x8099
lea edx, [ebp - 0x348]
push edx
call fcn.0041d0c0
add esp, 8
mov byte [ebp - 4], 0x15
mov eax, dword [eax]
push 0
push 0
push eax
call fcn.004a0dad
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x348]
call fcn.004022b0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x300]
call fcn.00414ed0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x304]
jmp 0x44f88a
push 0x580e44
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x300]
call fcn.00418d70
lea ecx, [ebp - 0x31c]
call fcn.00412410
test al, al
je 0x44f4db
mov ecx, dword [edi]
push edi
mov edx, dword [ecx + 8]
call edx
push 0x8099
lea eax, [ebp - 0x338]
push eax
call fcn.0041d0c0
add esp, 8
mov byte [ebp - 4], 0x16
mov eax, dword [eax]
push 0
push 0
push eax
call fcn.004a0dad
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x338]
jmp 0x44f457
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x21c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x118]
push edx
push 0
push 0x57c95c
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 8
push 1
push 0x1b4
lea ecx, [ebp - 0x118]
push ecx
call fcn.004f92f0
add esp, 0x10
mov edi, eax
mov dword [ebp - 0x318], edi
call fcn.004fa300
push eax
push edi
push 4
call fcn.004fc520
add esp, 0xc
mov ebx, eax
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx + 0xb0]
call eax
mov dword [ebx], eax
push 0
push ebx
push str.TasDocumentVersion
mov ecx, edi
call fcn.004f9650
mov ecx, eax
call fcn.004fc440
push edi
call fcn.00436430
add esp, 4
mov dword [esi + 0x98], eax
push 0x580e44
mov ecx, edi
call fcn.004f9650
push 0
mov ecx, dword [esi + 0x98]
push ecx
mov ecx, eax
call fcn.004fc440
push 0xffffffffffffffff
mov edx, dword [ebp - 0x31c]
push edx
mov eax, dword [esi + 0x98]
push eax
call fcn.0044edc0
add esp, 0xc
lea ecx, [ebp - 0x300]
push ecx
lea edx, [ebp - 0x318]
push edx
lea eax, [ebp - 0x314]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x32c], esp
mov edx, dword [ebp - 0x328]
push edx
call fcn.004087e0
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0x17
call fcn.0044d440
add esp, 0x10
mov dword [esi + 0x5c], eax
mov eax, dword [ebp - 0x318]
mov dword [esi + 0x60], eax
push eax
lea ecx, [ebp - 0x324]
call fcn.004fd700
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x324]
call fcn.004fd810
jmp 0x44f610
lea ecx, [ebp - 0x324]
call fcn.004fd8d0
test eax, eax
je 0x44f65d
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp - 0x318]
push ecx
lea edx, [ebp - 0x328]
push edx
lea ecx, [ebp - 0x324]
call fcn.004fd790
push 0
mov eax, dword [ebp - 0x328]
push eax
call fcn.004f8fc0
add esp, 8
lea ecx, [ebp - 0x324]
call fcn.004fd870
jmp 0x44f610
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x324]
call fcn.004fd940
mov dword [ebp - 4], 0x14
mov ecx, dword [ebp - 0x310]
push ecx
call fcn.00412580
call eax
add esp, 4
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx + 0xb0]
call eax
mov dword [esi + 0x84], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x300]
call fcn.00414ed0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x304]
call fcn.004022b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.00448560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x308]
call fcn.004022b0
mov al, 1
jmp 0x44fc89
mov ecx, dword [esi + 0x60]
call fcn.004f9730
mov edi, eax
mov ecx, dword [esi + 0x60]
call fcn.004f9590
push 0
push 0
push 0
push edi
call fcn.004f9370
add esp, 0x10
mov dword [esi + 0x60], eax
mov ecx, eax
call fcn.004f9730
push eax
lea ecx, [ebp - 0x310]
call fcn.004087e0
mov byte [ebp - 4], 6
push 0x58165c
lea edx, [ebp - 0x310]
push edx
lea eax, [ebp - 0x340]
push eax
call fcn.00426e70
add esp, 0xc
mov byte [ebp - 4], 7
mov eax, dword [eax]
push 1
push 0x1b4
push eax
mov ecx, dword [esi + 0x60]
call fcn.004f93f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x340]
call fcn.004022b0
push 0x60
call fcn.004947e1
add esp, 4
mov dword [ebp - 0x32c], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x44f855
mov ecx, eax
call fcn.00430c00
jmp 0x44f857
xor eax, eax
mov byte [ebp - 4], 6
mov dword [esi + 0x5c], eax
push 3
lea ecx, [ebp - 0x310]
push ecx
mov ecx, eax
call fcn.0042f2e0
push 0
test al, al
jne 0x44f8b7
push 0
push str.Evolve_Failed
call fcn.004a0dad
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x310]
call fcn.004022b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.00448560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x308]
call fcn.004022b0
xor al, al
jmp 0x44fc89
push str.TasDocumentVersion
mov ecx, dword [esi + 0x60]
call fcn.004f96c0
mov ecx, eax
call fcn.004fc3d0
mov dword [eax], 3
lea edx, [ebp - 0x238]
push edx
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x314]
push ecx
call fcn.0041e0f0
add esp, 8
mov byte [ebp - 4], 9
mov bl, 0xa
mov byte [ebp - 4], bl
mov edx, dword [esi + 0x5c]
mov dword [edx + 0x24], 1
push 0x12
push str.database
mov eax, dword [esi + 0x5c]
push eax
mov ecx, dword [esi + 0x60]
call fcn.004f9c30
mov ecx, dword [esi + 0x5c]
mov dword [ecx + 0x24], 2
lea edx, [ebp - 0x314]
push edx
push str.database
lea eax, [ebp - 0x354]
push eax
call fcn.004240b0
add esp, 0xc
mov byte [ebp - 4], 0xb
mov eax, dword [eax]
push 0x12
push eax
mov ecx, dword [esi + 0x5c]
push ecx
mov ecx, dword [esi + 0x60]
call fcn.004f9d00
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x354]
call fcn.004022b0
mov edx, dword [esi + 0x5c]
mov dword [edx + 0x24], 0
mov dword [ebp - 4], 9
movzx eax, byte [esi + 0x64]
push eax
mov ecx, dword [esi + 0x5c]
call fcn.00430df0
mov byte [ebp - 0x309], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x314]
call fcn.004022b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x310]
call fcn.004022b0
jmp 0x44fbff
mov ecx, dword [esi + 0x60]
call fcn.004f9730
mov edi, eax
mov dword [ebp - 0x314], edi
mov ecx, dword [esi + 0x60]
call fcn.004f9590
push 0
push 0
push 0
push edi
call fcn.004f9370
add esp, 0x10
mov dword [esi + 0x60], eax
push ebx
lea ecx, [ebp - 0x308]
call fcn.00408150
push 0x581648
lea ecx, [ebp - 0x308]
push ecx
lea edx, [ebp - 0x330]
push edx
call fcn.00426e70
add esp, 0xc
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x308]
call fcn.004207a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x330]
call fcn.004022b0
push 1
push 0x1b4
mov eax, dword [ebp - 0x308]
push eax
mov ecx, dword [esi + 0x60]
call fcn.004f93f0
push str.CDomain1
push str.CDomain
mov ecx, dword [esi + 0x60]
call fcn.004f9a20
mov ecx, dword [esi + 0x60]
push ecx
lea ecx, [ebp - 0x304]
call fcn.004fd700
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x304]
call fcn.004fd810
lea ecx, [ebp - 0x304]
call fcn.004fd8d0
test eax, eax
je 0x44fb2d
lea edx, [ebp - 0x32c]
push edx
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x31c]
push ecx
lea ecx, [ebp - 0x304]
call fcn.004fd790
mov edi, str.CDomain1
mov ecx, dword [ebp - 0x328]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x44faf4
test cl, cl
je 0x44faf0
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x44faf4
add eax, 2
add edi, 2
test cl, cl
jne 0x44fad4
xor eax, eax
jmp 0x44faf9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x44fb0f
mov ecx, dword [ebp - 0x31c]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00514100
lea ecx, [ebp - 0x304]
call fcn.004fd870
lea ecx, [ebp - 0x304]
call fcn.004fd8d0
test eax, eax
jne 0x44faa2
lea ecx, [ebp - 0x228]
call fcn.00514150
test eax, eax
jne 0x44fbac
mov bl, 5
mov edi, edi
lea ecx, [ebp - 0x228]
call fcn.00514110
mov edi, eax
push sym.TAI.exe_class_db_tas::db_ts_class_CDomain__db_tas::db_ts_class_CDomain_::the_instance
call fcn.004fd5c0
push eax
mov edx, dword [esi + 0x60]
push edx
push 0x1b4
call fcn.004fc520
add esp, 0x10
mov dword [ebp - 0x32c], eax
mov byte [ebp - 4], bl
test eax, eax
je 0x44fb80
push edi
mov ecx, eax
call fcn.00436120
jmp 0x44fb82
xor eax, eax
mov byte [ebp - 4], 4
push 0
push eax
push 0x580e44
mov ecx, dword [esi + 0x60]
call fcn.004f96c0
mov ecx, eax
call fcn.004fc440
lea ecx, [ebp - 0x228]
call fcn.00514150
test eax, eax
je 0x44fb40
lea ecx, [ebp - 0x304]
call fcn.004fd940
push 0
push str.TasDocumentVersion
mov ecx, dword [esi + 0x60]
call fcn.004f96c0
mov ecx, eax
call fcn.004fc3d0
mov dword [eax], 2
push 1
push 0x1b4
mov eax, dword [ebp - 0x314]
push eax
mov ecx, dword [esi + 0x60]
call fcn.004f93f0
mov byte [ebp - 0x309], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x304]
call fcn.004fd940
inc dword [esi + 0x84]
mov ecx, esi
call fcn.0049b31b
mov esi, dword [ebp - 0x318]
test esi, esi
je 0x44fc4b
push 0x8091
lea ecx, [ebp - 0x330]
push ecx
call fcn.0041d0c0
add esp, 8
mov byte [ebp - 4], 0x1d
mov eax, dword [eax]
push eax
lea ecx, [esi + 0x190]
call fcn.0049b76e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x330]
call fcn.004022b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.005147b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x308]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44fc83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [ebp - 0x309]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004cdc91
mov esp, ebp
pop ebp
ret 4