Function at 0x434960
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9b3c
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x50545c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c0], ecx
push 0x4d33a8
lea ecx, [ebp - 0x34]
call fcn.00412370
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xa8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x2d], al
mov eax, dword [ebp - 0x38]
sub eax, 0x10
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
call fcn.004029d0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
sub ecx, 0x10
mov dword [ebp - 0xb0], ecx
mov ecx, dword [ebp - 0xb0]
call fcn.004029d0
movzx edx, byte [ebp - 0x2d]
test edx, edx
je 0x434af3
call fcn.0044fb81
push eax
lea ecx, [ebp - 0x14]
call fcn.00412940
mov dword [ebp - 4], 1
push 0x4d33a8
lea ecx, [ebp - 0x3c]
call fcn.00412370
mov byte [ebp - 4], 2
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c8], eax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x1c8]
mov edx, dword [ecx]
push edx
push str._INFO__DeleteFile__s_fail___0x_x_
lea eax, [ebp - 0x14]
push eax
call fcn.00413630
add esp, 0x10
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x40]
sub ecx, 0x10
mov dword [ebp - 0xb8], ecx
mov ecx, dword [ebp - 0xb8]
call fcn.004029d0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x3c]
sub edx, 0x10
mov dword [ebp - 0xbc], edx
mov ecx, dword [ebp - 0xbc]
call fcn.004029d0
mov eax, dword [ebp - 0x14]
push eax
call fcn.00442d80
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
sub ecx, 0x10
mov dword [ebp - 0xc0], ecx
mov ecx, dword [ebp - 0xc0]
call fcn.004029d0
push 0x4d33a8
lea ecx, [ebp - 0x44]
call fcn.00412370
mov dword [ebp - 4], 4
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xd0]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x48]
sub edx, 0x10
mov dword [ebp - 0xd4], edx
mov ecx, dword [ebp - 0xd4]
call fcn.004029d0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
sub eax, 0x10
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
call fcn.004029d0
cmp dword [ebp - 0x10], 0
je 0x434c40
call fcn.0044fb81
push eax
lea ecx, [ebp - 0x18]
call fcn.00412940
mov dword [ebp - 4], 5
push 0x4da884
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x4c]
push edx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d0], eax
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x1d0]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
push str._ERROR__Rename__s_____s_fail__nRenameRet___d___0x_x_
lea eax, [ebp - 0x18]
push eax
call fcn.00413630
add esp, 0x18
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x4c]
sub ecx, 0x10
mov dword [ebp - 0xdc], ecx
mov ecx, dword [ebp - 0xdc]
call fcn.004029d0
mov edx, dword [ebp - 0x18]
push edx
call fcn.00442d80
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
sub eax, 0x10
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
call fcn.004029d0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0xe8], ecx
push 0
mov edx, dword [ebp - 0xe4]
push edx
mov eax, dword [ebp - 0xe8]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x435001
call fcn.0044fb81
push eax
lea ecx, [ebp - 0x1c]
call fcn.00412940
mov dword [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push str._ERROR__CopyFile__s_____s_fail___0x_x_
lea edx, [ebp - 0x1c]
push edx
call fcn.00413630
add esp, 0x14
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00442d80
add esp, 4
push 0
push str.EstSysSet.ini
mov ecx, dword [ebp + 0xc]
call fcn.0040ee60
cmp eax, 0xffffffff
je 0x434ff2
push str..new
lea ecx, [ebp - 0x54]
call fcn.00412370
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
mov edx, dword [ecx]
mov dword [ebp - 0x104], edx
mov eax, dword [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x4d], al
mov ecx, dword [ebp - 0x58]
sub ecx, 0x10
mov dword [ebp - 0x108], ecx
mov ecx, dword [ebp - 0x108]
call fcn.004029d0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x54]
sub edx, 0x10
mov dword [ebp - 0x10c], edx
mov ecx, dword [ebp - 0x10c]
call fcn.004029d0
movzx eax, byte [ebp - 0x4d]
test eax, eax
je 0x434e2a
call fcn.0044fb81
push eax
lea ecx, [ebp - 0x20]
call fcn.00412940
mov byte [ebp - 4], 9
push str..new
lea ecx, [ebp - 0x5c]
call fcn.00412370
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x5c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x60]
push eax
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x1d4], eax
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0x1d8], ecx
mov byte [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x1d8]
mov eax, dword [edx]
push eax
push str._ERROR__DeleteFile__s_fail___0x_x_
lea ecx, [ebp - 0x20]
push ecx
call fcn.00413630
add esp, 0x10
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x60]
sub edx, 0x10
mov dword [ebp - 0x114], edx
mov ecx, dword [ebp - 0x114]
call fcn.004029d0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x5c]
sub eax, 0x10
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
call fcn.004029d0
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00442d80
add esp, 4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x20]
sub edx, 0x10
mov dword [ebp - 0x11c], edx
mov ecx, dword [ebp - 0x11c]
call fcn.004029d0
push str..new
lea ecx, [ebp - 0x68]
call fcn.00412370
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax]
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x12c], eax
push 0
mov ecx, dword [ebp - 0x128]
push ecx
mov edx, dword [ebp - 0x12c]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x6c]
call fcn.004129d0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x68]
call fcn.004129d0
cmp dword [ebp - 0x64], 0
je 0x434f4e
call fcn.0044fb81
push eax
lea ecx, [ebp - 0x24]
call fcn.00412940
mov byte [ebp - 4], 0xd
push str..new
lea ecx, [ebp - 0x70]
call fcn.00412370
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x74]
push edx
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x1e0], eax
mov byte [ebp - 4], 0xf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x1e0]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push str._INFO__CopyFile__s_____s_OK.__0x_x_
lea edx, [ebp - 0x24]
push edx
call fcn.00413630
add esp, 0x14
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x74]
call fcn.004129d0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x70]
call fcn.004129d0
mov eax, dword [ebp - 0x24]
push eax
call fcn.00442d80
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.004129d0
jmp 0x434ff2
call fcn.0044fb81
push eax
lea ecx, [ebp - 0x28]
call fcn.00412940
mov byte [ebp - 4], 0x10
push str..new
lea ecx, [ebp - 0x78]
call fcn.00412370
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x78]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x7c]
push eax
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x1e4], eax
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1e8], ecx
mov byte [ebp - 4], 0x12
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x1e8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push str._ERROR__CopyFile__s_____s_fail___0x_x_
lea eax, [ebp - 0x28]
push eax
call fcn.00413630
add esp, 0x14
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x7c]
call fcn.004129d0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x78]
call fcn.004129d0
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00442d80
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.004129d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004129d0
push 0x4d33a8
lea ecx, [ebp - 0x84]
call fcn.00412370
mov dword [ebp - 4], 0x13
lea edx, [ebp - 0x84]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 0x168]
mov eax, dword [edx]
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x16c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x7d], al
lea ecx, [ebp - 0x88]
call fcn.004129d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.004129d0
movzx edx, byte [ebp - 0x7d]
test edx, edx
je 0x4351c2
push 0x4d33a8
lea ecx, [ebp - 0x90]
call fcn.00412370
mov dword [ebp - 4], 0x14
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x94]
push edx
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
mov ecx, dword [eax]
mov dword [ebp - 0x188], ecx
push 4
push 0
mov edx, dword [ebp - 0x188]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x89], al
lea ecx, [ebp - 0x94]
call fcn.004129d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.004129d0
movzx eax, byte [ebp - 0x89]
test eax, eax
je 0x4351c2
lea ecx, [ebp - 0x2c]
call fcn.00412230
mov dword [ebp - 4], 0x15
push 0x4d33a8
lea ecx, [ebp - 0x98]
call fcn.00412370
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x98]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x9c]
push eax
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x1ec], eax
mov ecx, dword [ebp - 0x1ec]
mov dword [ebp - 0x1f0], ecx
mov byte [ebp - 4], 0x17
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x1f0]
mov eax, dword [edx]
push eax
push str._ERROR__MoveFileEx__s_fail___0x_x_
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00413630
add esp, 0x10
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x9c]
call fcn.004129d0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x98]
call fcn.004129d0
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00442d80
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004129d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8