Function at 0x430a40
Capabilities:
Copy file

Disassembly:
mov eax, 0x47b0
call fcn.00431220
push ebx
push ebp
push esi
push edi
push 0x2800
mov dword [esp + 0x1c], 0x2800
mov dword [esp + 0x14], 0x400
call sub.MFC42.DLL_operatornew
mov ebp, eax
mov ecx, 0xa00
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x47c8]
xor ebx, ebx
add esp, 4
mov dword [esp + 0x14], ebp
mov ecx, dword [eax + 0x1f44]
mov dword [esp + 0x24], ebx
cmp ecx, ebx
jle 0x430d04
mov dword [esp + 0x20], ebx
jmp 0x430a9f
xor ebx, ebx
mov ecx, dword [esp + 0x47c4]
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x18e0]
push 0xf9f
mov edi, dword [ecx + 0x1f40]
push edx
add esi, edi
push esi
call fcn.004109e0
add esp, 0xc
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x18e0]
push eax
push ecx
call fcn.00424930
mov ecx, eax
call fcn.00425970
mov ecx, 0x7d0
xor eax, eax
lea edi, [esp + 0x2880]
lea edx, [esp + 0x2880]
rep stosd dword es:[edi], eax
push 0x1f40
lea eax, [esp + 0x70]
push edx
push eax
call fcn.004109b0
lea ecx, [esp + 0x1504]
push 0x3e8
push ecx
lea edi, [esp + 0x80]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x80]
push ecx
push edx
call fcn.00410ae0
lea eax, [esp + 0x289c]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__waccess]
add esp, 0x24
test eax, eax
jne 0x430ba3
lea ecx, [esp + 0x54]
lea edx, [esp + 0x5c]
push ecx
lea eax, [esp + 0x68]
push edx
lea ecx, [esp + 0x54]
push eax
lea edx, [esp + 0x288c]
push ecx
push edx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
call fcn.00423d70
add esp, 0x14
test eax, eax
je 0x430bb3
mov eax, dword [esi + 0x3e90]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
ja 0x430b98
jne 0x430bb3
mov eax, dword [esi + 0x3e8c]
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
jbe 0x430bb3
lea ecx, [esp + 0x2880]
push ebx
push ecx
jmp 0x430bac
lea edx, [esp + 0x2880]
push ebx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea edi, [esi + 0x3e8c]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov eax, dword [esi + 0x3e80]
lea ecx, [esp + 0x18e0]
lea edx, [esp + 0x14f8]
push ecx
mov ecx, dword [esi + 0x3e88]
push edx
mov edx, dword [esi + 0x3e84]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x46]
push edx
mov edx, dword [esp + 0x48]
and eax, 0xffff
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x4a]
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x4a]
push edx
mov edx, dword [esp + 0x4c]
and eax, 0xffff
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
lea eax, [esp + 0x584]
push str._04d_02d_02d_02d_02d_02d_t_I64d_t_d_t_s_t_s_r_n
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
mov ebx, eax
add esp, 0x34
lea ebp, [ebx + ecx]
cmp ebp, esi
jl 0x430cae
lea eax, [esi + 0x2800]
push eax
mov dword [esp + 0x20], eax
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x18]
mov ecx, esi
mov dword [esp + 0x2c], eax
mov edi, eax
mov eax, ecx
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
add esp, 8
mov ecx, 0xa00
xor eax, eax
lea edi, [edx + esi]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, ebx
lea esi, [esp + 0x558]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x24]
mov ecx, edx
and ecx, 3
inc eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x47c4]
mov esi, dword [esp + 0x20]
add esi, 0x3ea4
mov dword [esp + 0x10], ebp
mov edx, dword [ecx + 0x1f44]
mov dword [esp + 0x24], eax
cmp eax, edx
mov dword [esp + 0x20], esi
jl 0x430a9d
mov ebp, dword [esp + 0x14]
lea edx, [esp + 0x3c]
push edx
call fcn.00419150
mov ecx, eax
call fcn.0041b100
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [esp + 0x558]
push str.fffb7d44:_7ecd63d9_r_n
push eax
call esi
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4e]
add esp, 8
mov ebx, eax
mov eax, dword [esp + 0x44]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x46]
and eax, 0xffff
push edx
mov edx, dword [esp + 0x46]
push eax
mov eax, dword [esp + 0x48]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
push eax
lea ecx, [esp + ebx + 0x570]
push str.6922c42b:__04d_02d_02d_02d_02d_02d_r_n
push ecx
call esi
mov edx, dword [esp + 0x30]
add esp, 0x20
add ebx, eax
add edx, 0xfffffc00
push edx
push str.0a7172db:__d_r_n
lea eax, [esp + ebx + 0x560]
push eax
call esi
add ebx, eax
add esp, 0xc
lea ecx, [esp + ebx + 0x558]
push str.fd1f3fca:_7ecd63d9_r_n
push ecx
call esi
add ebx, eax
add esp, 8
lea edx, [esp + ebx + 0x558]
push str.1f62c707:_d0d62e2c_r_n_r_n
push edx
call esi
add ebx, eax
mov eax, ebp
sub eax, ebx
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x560]
lea edi, [eax + 0x400]
add esp, 8
shr ecx, 2
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x170]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
push str.7ecd63d9
rep movsb byte es:[edi], byte [esi]
call fcn.00424930
mov ecx, eax
call fcn.00425f50
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
lea edx, [ebx + ecx - 0x400]
lea ecx, [esp + 0x170]
push edx
push eax
push ecx
call fcn.004112f0
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x47b0
ret