Function at 0x432710
Capabilities:
Check if file exists
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x676314]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
push 0x208
mov dword [ebp - 0x620], eax
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004830b0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004830b0
add esp, 0x18
call fcn.004732ad
test al, al
je 0x43277a
leave
push ecx
clc
xor dword [esi], eax
jecxz 0x432783
salc
test al, 0xb6
sbb dl, al
ror dword [ebp + ecx*4 + 0xd], cl
outsb dx, byte [esi]
jge 0x4327b7
ret
call fcn.00473742
test al, al
je 0x43279a
cwde
pop edx
jge 0x4327af
jl 0x432769
insd dword es:[edi], dx
cmp ebx, dword [edi]
test al, 0x96
fnstenv [bp + di]
cld
dec ebp
cli
pop edi
mov al, byte ss:[0xe8e81527]
push cs
or eax, dword [eax + eax]
call fcn.004732ad
test al, al
je 0x4327ba
lea edx, [esp + ebp*2 - 0x30805049]
lcall 0xc4af, 0xb9b5a339
sar byte [esi - 0x75f4afb6], 0x62
test al, 0xbb
scasd eax, dword es:[edi]
invalid
bound ebp, qword [eax + 0x84d8bbb]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 8
jb 0x4327c5
mov ecx, dword [ecx]
lea edx, [ebp - 0x414]
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x4327d0
mov edx, dword [ebp - 0x620]
cmp dword [edx + 0x14], 8
jb 0x4327f1
mov ebx, dword [edx]
jmp 0x4327f3
mov ebx, edx
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x4327f5
lea edi, [ebp - 0x414]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x432810
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
jb 0x432835
mov ecx, dword [ecx]
lea esi, [ebp - 0x20c]
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x432840
cmp dword [edx + 0x14], 8
jb 0x432859
mov edx, dword [edx]
mov esi, edx
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x432860
lea edi, [ebp - 0x20c]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x432876
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0047362e
test al, al
je 0x4328b9
inc ecx
scasd eax, dword es:[edi]
je 0x43284f
lahf
wait
xlatb
sbb dword [ecx + ebp + 0x48], esi
int 0x6c
inc eax
lahf
push eax
mov ch, 0x73
pop ecx
in eax, dx
or al, 0xb1
dec edx
push 0x7a
loope 0x4328df
cmp edx, edi
call fcn.0047351a
test al, al
je 0x4328d9
lock or ah, byte [edx]
cmp cl, byte [eax + 0x6acc5d65]
aam 0x57
dec ebx
invalid
call fcn.004733c1
test al, al
je 0x4328f9
sal byte [edi + edx - 0x74], 0x7a
pop edi
inc ebp
jnp 0x432963
invalid
ret 0x8138
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4329df
nop dword [eax + eax]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4329df
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0045520a
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.004830b0
push edi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push str._s.bak_d
push eax
call fcn.00407e70
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0048fa36
add esp, 0x2c
lea eax, [ebp - 0x61c]
push 5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp edi, 0xa
jge 0x4329df
call fcn.0047337c
test al, al
je 0x4329c0
into
jbe 0x432935
invalid
push 0
lea eax, [ebp - 0x20c]
inc edi
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x432920
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046ce06
mov esp, ebp
pop ebp
ret 0xc