Function at 0x4057e0
Capabilities:
Copy file

Disassembly:
sub esp, 0x104
mov eax, dword [0x4250e0]
xor eax, esp
mov dword [esp + 0x100], eax
push esi
push edi
call fcn.00403d40
push 0x439640
push 0x439020
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x405821
push 0x439640
push 0x439020
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.chenback.chz
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push 0x41c5ac
push 0x43c100
call esi
push 0x43c100
call fcn.0040a5b1
add esp, 0x14
cmp dword [0x439110], 1
push 0x439020
jne 0x4058b7
push str._schenpyck.chh
push 0x43c860
call esi
push 0x439020
lea eax, [esp + 0x18]
push str._schenpyck.bak
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
add esp, 0x18
push 0
lea ecx, [esp + 0xc]
push ecx
push 0x43c860
call edi
lea edx, [esp + 8]
push edx
push 0x43c100
call fcn.00405530
add esp, 8
test eax, eax
jne 0x405918
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0040a10d
add esp, 0x104
ret
push str._schencyzk.chh
push 0x43c860
call esi
push 0x439020
lea eax, [esp + 0x18]
push str._schencyzk.bak
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
add esp, 0x18
push 0
lea ecx, [esp + 0xc]
push ecx
push 0x43c860
call edi
lea edx, [esp + 8]
push edx
push 0x43c100
call fcn.00405530
add esp, 8
test eax, eax
jne 0x405918
pop edi
pop esi
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0040a10d
add esp, 0x104
ret
push 0x439020
push str._schszsj43.chh
push 0x43c860
call esi
push 0x439020
lea eax, [esp + 0x18]
push str._schszsj43.bak
push eax
call esi
add esp, 0x18
push 0
lea ecx, [esp + 0xc]
push ecx
push 0x43c860
call edi
lea edx, [esp + 8]
push edx
push 0x43c100
call fcn.00405530
add esp, 8
test eax, eax
je 0x40589e
push 0x439020
push str._scfontset.chh
push 0x43c860
call esi
push 0x439020
lea eax, [esp + 0x18]
push str._scfontset.bak
push eax
call esi
add esp, 0x18
push 0
lea ecx, [esp + 0xc]
push ecx
push 0x43c860
call edi
lea edx, [esp + 8]
push edx
push 0x43c100
call fcn.00405530
add esp, 8
test eax, eax
je 0x40589e
push 0x439020
push str._scwbzlcz1.chh
push 0x43c860
call esi
push 0x439020
lea eax, [esp + 0x18]
push str._scwbzlcz1.bak
push eax
call esi
add esp, 0x18
push 0
lea ecx, [esp + 0xc]
push ecx
push 0x43c860
call edi
lea edx, [esp + 8]
push edx
push 0x43c100
call fcn.00405530
add esp, 8
test eax, eax
je 0x40589e
push 0x439020
push str._schwbcmxz.chh
push 0x43c860
call esi
push 0x439020
lea eax, [esp + 0x18]
push str._schwbcmxz.bak
push eax
call esi
add esp, 0x18
push 0
lea ecx, [esp + 0xc]
push ecx
push 0x43c860
call edi
lea edx, [esp + 8]
push edx
push 0x43c100
call fcn.00405530
add esp, 8
test eax, eax
je 0x40589e
push 0x439020
push str._schdhzcm.chh
push 0x43c860
call esi
push 0x439020
lea eax, [esp + 0x18]
push str._schdhzcm.bak
push eax
call esi
add esp, 0x18
push 0
lea ecx, [esp + 0xc]
push ecx
push 0x43c860
call edi
lea edx, [esp + 8]
push edx
push 0x43c100
call fcn.00405530
add esp, 8
test eax, eax
je 0x40589e
push 0x439020
push str._schendhz.chh
push 0x43c860
call esi
push 0x439020
lea eax, [esp + 0x18]
push str._schendhz.bak
push eax
call esi
add esp, 0x18
push 0
lea ecx, [esp + 0xc]
push ecx
push 0x43c860
call edi
lea edx, [esp + 8]
push edx
push 0x43c100
call fcn.00405530
add esp, 8
test eax, eax
je 0x40589e
push 0x439020
push str._schgbkhz.chh
push 0x43c860
call esi
push 0x439020
lea eax, [esp + 0x18]
push str._schgbkhz.bak
push eax
call esi
add esp, 0x18
push 0
lea ecx, [esp + 0xc]
push ecx
push 0x43c860
call edi
lea edx, [esp + 8]
push edx
push 0x43c100
call fcn.00405530
add esp, 8
test eax, eax
je 0x40589e
push 0x439020
lea eax, [esp + 0xc]
push str._schszsj43.chh
push eax
call esi
lea ecx, [esp + 0x14]
push ecx
push 0x43c100
call fcn.00405530
add esp, 0x14
test eax, eax
je 0x40589e
push 0x439020
lea edx, [esp + 0xc]
push str._schendwdw.txt
push edx
call esi
lea eax, [esp + 0x14]
push eax
push 0x43c100
call fcn.00405530
add esp, 0x14
test eax, eax
je 0x40589e
push 0x439020
lea ecx, [esp + 0xc]
push str._schenzdym.chh
push ecx
call esi
lea edx, [esp + 0x14]
push edx
push 0x43c100
call fcn.00405530
add esp, 0x14
test eax, eax
je 0x40589e
push 0x439020
lea eax, [esp + 0xc]
push str._schpyzdym.chh
push eax
call esi
lea ecx, [esp + 0x14]
push ecx
push 0x43c100
call fcn.00405530
add esp, 0x14
test eax, eax
je 0x40589e
push 0x439020
lea edx, [esp + 0xc]
push str._schwbpy.txt
push edx
call esi
lea eax, [esp + 0x14]
push eax
push 0x43c100
call fcn.00405530
add esp, 0x14
test eax, eax
je 0x40589e
push 0x439020
lea ecx, [esp + 0xc]
push str._schenynhz.txt
push ecx
call esi
lea edx, [esp + 0x14]
push edx
push 0x43c100
call fcn.00405530
add esp, 0x14
test eax, eax
je 0x40589e
push 0x439020
lea eax, [esp + 0xc]
push str._schenzdfh.chh
push eax
call esi
lea ecx, [esp + 0x14]
push ecx
push 0x43c100
call fcn.00405530
add esp, 0x14
test eax, eax
je 0x40589e
push 0x439020
lea edx, [esp + 0xc]
push str._suserck.txt
push edx
call esi
lea eax, [esp + 0x14]
push eax
push 0x43c100
call fcn.00405530
push 0x439020
lea ecx, [esp + 0x20]
push str._sdelck.txt
push ecx
call esi
lea edx, [esp + 0x28]
push edx
push 0x43c100
call fcn.00405530
push 0x439020
lea eax, [esp + 0x34]
push str._sftchzdym.txt
push eax
call esi
lea ecx, [esp + 0x3c]
push ecx
push 0x43c100
call fcn.00405530
push 0x439020
lea edx, [esp + 0x48]
push str._sftpyzdym.txt
push edx
call esi
add esp, 0x48
lea eax, [esp + 8]
push eax
push 0x43c100
call fcn.00405530
add esp, 8
cmp dword [0x439110], 1
je 0x405d12
push 0x439020
lea ecx, [esp + 0xc]
push str._scwb.ov1
push ecx
call esi
lea edx, [esp + 0x14]
push edx
push 0x43c100
call fcn.00405530
add esp, 0x14
push 0x439020
lea eax, [esp + 0xc]
push str._schenpymb.ov1
push eax
call esi
lea ecx, [esp + 0x14]
push ecx
push 0x43c100
call fcn.00405530
push 0x439020
lea edx, [esp + 0x20]
push str._schgbkbh.chh
push edx
call esi
lea eax, [esp + 0x28]
push eax
push 0x43c100
call fcn.00405530
push 0x439020
lea ecx, [esp + 0x34]
push str._schszsj05.chh
push ecx
call esi
lea edx, [esp + 0x3c]
push edx
push 0x43c100
call fcn.00405530
push 0x439020
lea eax, [esp + 0x48]
push str._schszsj06.chh
push eax
call esi
add esp, 0x48
lea ecx, [esp + 8]
push ecx
push 0x43c100
call fcn.00405530
mov ecx, dword [esp + 0x110]
add esp, 8
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.0040a10d
add esp, 0x104
ret