Function at 0x4042b8
Capabilities:
Copy file
Create process on windows
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffc34
mov eax, 0x4d815c
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
call fcn.004c928c
mov word [ebp - 0x34], 8
xor edx, edx
xor ebx, ebx
mov dword [ebp - 4], edx
lea edx, [ebp - 0x8e4]
inc dword [ebp - 0x28]
xor eax, eax
mov word [ebp - 0x34], 0x14
mov dword [ebp - 0x50], eax
push 0x100
push 0
push edx
call fcn.004c8d84
add esp, 0xc
lea ecx, [ebp - 0x9e4]
push 0x100
push 0
push ecx
call fcn.004c8d84
add esp, 0xc
lea eax, [ebp - 0xae4]
push 0x100
push 0
push eax
call fcn.004c8d84
add esp, 0xc
lea edx, [ebp - 0x1e4]
push 0x100
push 0
push edx
call fcn.004c8d84
add esp, 0xc
lea ecx, [ebp - 0x2e4]
push 0x100
push 0
push ecx
call fcn.004c8d84
add esp, 0xc
lea eax, [ebp - 0x3e4]
push 0x100
push 0
push eax
call fcn.004c8d84
add esp, 0xc
lea edx, [ebp - 0x4e4]
push 0x100
push 0
push edx
call fcn.004c8d84
add esp, 0xc
lea ecx, [ebp - 0x6e4]
push 0x100
push 0
push ecx
call fcn.004c8d84
add esp, 0xc
lea eax, [ebp - 0x7e4]
push 0x100
push 0
push eax
call fcn.004c8d84
add esp, 0xc
lea edx, [ebp - 0xbe4]
push 0x100
push 0
push edx
call fcn.004c8d84
add esp, 0xc
push 0x100
lea ecx, [ebp - 0xae4]
push ecx
call sub.KERNEL32.DLL_GetSystemDirectoryA
push str.encrypt.ver
lea eax, [ebp - 0xae4]
push eax
call fcn.004c8e28
add esp, 8
mov edx, dword [esi + 0x634]
mov ecx, dword [edx + 0x22c]
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x58]
call fcn.0048e620
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x404433
dec dword [ebp - 0x28]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004d58a0
mov ecx, dword [ebp - 0x44]
mov dword fs:[0], ecx
jmp 0x404c51
cmp dword [0x4d7140], 0x2710
jne 0x404445
mov byte [ebp - 0x45], 1
jmp 0x404449
mov byte [ebp - 0x45], 0
lea eax, [ebp - 0x5e4]
lea edx, [ebp - 0x3e4]
push eax
push edx
lea ecx, [ebp - 0x4e4]
lea eax, [ebp - 0x2e4]
push ecx
mov ecx, dword [sym.Project1.exe__DlgSetting]
push eax
lea edx, [ebp - 0x1e4]
push edx
mov eax, dword [ecx]
push eax
call fcn.004076c0
add esp, 0x18
lea edx, [ebp - 0x6e4]
lea ecx, [ebp - 0x7e4]
lea eax, [ebp - 0x54]
push edx
push ecx
mov ecx, dword [sym.Project1.exe__DlgSetting]
push eax
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ecx]
push eax
call fcn.004078d4
add esp, 0x14
cmp ebx, dword [ebp - 0x4c]
jge 0x404b99
mov eax, dword [esi + 0x66c]
cmp eax, 1
je 0x4044bd
cmp eax, 2
jne 0x4044dc
dec dword [ebp - 0x28]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004d58a0
mov ecx, dword [ebp - 0x44]
mov dword fs:[0], ecx
jmp 0x404c51
mov word [ebp - 0x34], 0x2c
mov edx, ebx
mov eax, dword [ebp - 0x58]
call fcn.0048e650
mov edx, eax
lea eax, [ebp - 8]
add edx, 0x24
call fcn.004d5778
inc dword [ebp - 0x28]
mov edx, ebx
mov word [ebp - 0x34], 0x20
mov eax, dword [ebp - 0x58]
call fcn.0048e650
mov eax, dword [eax + 8]
xor edx, edx
mov word [ebp - 0x34], 0x38
mov dword [ebp - 0xc], edx
mov edx, 3
inc dword [ebp - 0x28]
lea ecx, [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov word [ebp - 0x34], 0x20
cmp dword [ebp - 0xc], 0
je 0x40453b
mov eax, dword [ebp - 0xc]
jmp 0x404540
mov eax, 0x4d7513
mov edi, eax
xor eax, eax
push esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [ebp - 0x8e4]
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp - 8], 0
pop esi
je 0x404572
mov eax, dword [ebp - 8]
jmp 0x404577
mov eax, 0x4d7514
push eax
lea edx, [ebp - 0x8e4]
push edx
call fcn.004c8e28
add esp, 8
mov ecx, dword [sym.Project1.exe__DlgSetting]
mov eax, dword [ecx]
mov edx, dword [eax + 0x5ac]
sub edx, 1
jb 0x404606
sub edx, 2
jb 0x4045aa
je 0x4047ff
jmp 0x404909
cmp dword [ebp - 0xc], 0
je 0x4045b5
mov ecx, dword [ebp - 0xc]
jmp 0x4045ba
mov ecx, 0x4d7515
mov edi, ecx
xor eax, eax
push esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [ebp - 0x9e4]
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp - 8], 0
pop esi
je 0x4045ec
mov eax, dword [ebp - 8]
jmp 0x4045f1
mov eax, 0x4d7516
push eax
lea edx, [ebp - 0x9e4]
push edx
call fcn.004c8e28
add esp, 8
jmp 0x404909
mov ecx, dword [esi + 0x634]
mov eax, dword [ecx + 0x22c]
call fcn.0048e620
dec eax
jne 0x4046e0
mov eax, dword [esi + 0x56c]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
je 0x4046a1
mov word [ebp - 0x34], 0x50
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x10]
inc dword [ebp - 0x28]
mov eax, dword [esi + 0x56c]
call fcn.0046ae38
mov word [ebp - 0x34], 0x44
cmp dword [ebp - 0x10], 0
je 0x40465a
mov ecx, dword [ebp - 0x10]
jmp 0x40465f
mov ecx, 0x4d7517
mov edi, ecx
xor eax, eax
push esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [ebp - 0x9e4]
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
lea eax, [ebp - 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, 2
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
dec dword [ebp - 0x28]
call fcn.004d58a0
mov word [ebp - 0x34], 0x20
jmp 0x40475d
dec dword [ebp - 0x28]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004d58a0
dec dword [ebp - 0x28]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004d58a0
dec dword [ebp - 0x28]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004d58a0
mov ecx, dword [ebp - 0x44]
mov dword fs:[0], ecx
jmp 0x404c51
mov eax, dword [sym.Project1.exe__DlgSetting]
mov edx, dword [eax]
lea eax, [esi + 0x2f0]
add edx, 0x5b0
call fcn.004d58d0
mov edx, dword [sym.Project1.exe__FSelectDir]
mov edi, dword [edx]
add edi, 0x52c
cmp dword [edi], 0
je 0x40470f
mov eax, dword [edi]
jmp 0x404714
mov eax, 0x4d7518
push esi
push edi
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
lea esi, [ebp - 0x9e4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp - 8], 0
pop edi
pop esi
je 0x404748
mov eax, dword [ebp - 8]
jmp 0x40474d
mov eax, 0x4d7519
push eax
lea edx, [ebp - 0x9e4]
push edx
call fcn.004c8e28
add esp, 8
push 0x4000
lea ecx, [ebp - 0xe4]
push ecx
lea eax, [ebp - 0x9e4]
push eax
call sub.KERNEL32.DLL_OpenFile
inc eax
je 0x404909
lea edx, [ebp - 0x9e4]
lea ecx, [ebp - 0xce4]
push edx
push 0x4d751a
push ecx
call fcn.004cc0fc
add esp, 0xc
lea eax, [ebp - 0xce4]
push 0x31
push 0x4d7544
push eax
mov eax, esi
call fcn.00477050
push eax
call sub.USER32.DLL_MessageBoxA
cmp eax, 2
jne 0x404909
dec dword [ebp - 0x28]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004d58a0
dec dword [ebp - 0x28]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004d58a0
dec dword [ebp - 0x28]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004d58a0
mov ecx, dword [ebp - 0x44]
mov dword fs:[0], ecx
jmp 0x404c51
mov eax, dword [sym.Project1.exe__DlgSetting]
mov edx, dword [eax]
lea eax, [esi + 0x2f0]
add edx, 0x5b0
call fcn.004d58d0
lea edi, [esi + 0x2f0]
cmp dword [edi], 0
je 0x404826
mov eax, dword [edi]
jmp 0x40482b
mov eax, 0x4d7556
push esi
push edi
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
lea esi, [ebp - 0x9e4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp - 8], 0
pop edi
pop esi
je 0x40485f
mov eax, dword [ebp - 8]
jmp 0x404864
mov eax, 0x4d7557
push eax
lea edx, [ebp - 0x9e4]
push edx
call fcn.004c8e28
add esp, 8
push 0x4000
lea ecx, [ebp - 0xe4]
push ecx
lea eax, [ebp - 0x9e4]
push eax
call sub.KERNEL32.DLL_OpenFile
inc eax
je 0x404909
lea edx, [ebp - 0x9e4]
lea ecx, [ebp - 0xde4]
push edx
push str._s_existed._nAre_you_sure_to_overwrite_it_
push ecx
call fcn.004cc0fc
add esp, 0xc
lea eax, [ebp - 0xde4]
push 0x31
push 0x4d7582
push eax
mov eax, esi
call fcn.00477050
push eax
call sub.USER32.DLL_MessageBoxA
cmp eax, 2
jne 0x404909
dec dword [ebp - 0x28]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004d58a0
dec dword [ebp - 0x28]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004d58a0
dec dword [ebp - 0x28]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004d58a0
mov ecx, dword [ebp - 0x44]
mov dword fs:[0], ecx
jmp 0x404c51
mov eax, ebx
shl eax, 2
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
add eax, 0x64
cdq
idiv dword [ebp - 0x4c]
push eax
push ebx
lea edx, [ebp - 0x9e4]
lea eax, [ebp - 0x18]
call fcn.004d5740
inc dword [ebp - 0x28]
lea edx, [ebp - 0x8e4]
mov ecx, dword [eax]
lea eax, [ebp - 0x14]
push ecx
mov word [ebp - 0x34], 0x5c
call fcn.004d5740
inc dword [ebp - 0x28]
mov edx, dword [eax]
mov eax, esi
pop ecx
call fcn.00403f50
dec dword [ebp - 0x28]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004d58a0
dec dword [ebp - 0x28]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004d58a0
lea ecx, [ebp - 0x9e4]
push ecx
lea eax, [ebp - 0x8e4]
push eax
call fcn.004c9070
add esp, 8
mov dword [ebp - 0x5c], eax
mov word [ebp - 0x34], 0x20
cmp dword [ebp - 0x5c], 0
jne 0x4049eb
mov dl, byte [ebp - 0x45]
lea ecx, [ebp - 0x5e4]
push edx
push ecx
lea eax, [ebp - 0x4e4]
lea edx, [ebp - 0x1e4]
push eax
push edx
lea ecx, [ebp - 0x2e4]
lea eax, [ebp - 0x3e4]
push ecx
push eax
lea edx, [ebp - 0x7e4]
lea ecx, [ebp - 0x6e4]
push edx
push ecx
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0xae4]
push eax
lea eax, [ebp - 0x8e4]
mov edx, dword [ebp - 0x54]
push edx
push ecx
push eax
call fcn.0040ca54
mov edi, eax
jmp 0x404a3d
mov al, byte [ebp - 0x45]
lea edx, [ebp - 0x5e4]
push eax
push edx
lea ecx, [ebp - 0x4e4]
lea eax, [ebp - 0x1e4]
push ecx
push eax
lea edx, [ebp - 0x2e4]
lea ecx, [ebp - 0x3e4]
push edx
push ecx
lea eax, [ebp - 0x7e4]
lea edx, [ebp - 0x6e4]
push eax
push edx
mov ecx, dword [ebp - 0x50]
lea edx, [ebp - 0x9e4]
push ecx
lea ecx, [ebp - 0x8e4]
mov eax, dword [ebp - 0x54]
push eax
push edx
push ecx
call fcn.0040ca54
mov edi, eax
cmp edi, 1
jne 0x404b03
cmp dword [ebp - 0x5c], 0
jne 0x404ad6
mov eax, dword [sym.Project1.exe__DlgSetting]
mov edx, dword [eax]
cmp dword [edx + 0x5ac], 2
jne 0x404ac1
xor eax, eax
push esi
lea edi, [ebp - 0x8e4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [ebp - 0xee4]
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
lea eax, [ebp - 0xee4]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push str..bak
push eax
call fcn.004c8e28
add esp, 8
lea edx, [ebp - 0xee4]
push edx
call sub.KERNEL32.DLL_DeleteFileA
lea ecx, [ebp - 0xee4]
push ecx
lea eax, [ebp - 0x8e4]
push eax
call fcn.004cbc8c
add esp, 8
push 0
lea edx, [ebp - 0x8e4]
push edx
lea ecx, [ebp - 0xae4]
push ecx
call sub.KERNEL32.DLL_CopyFileA
xor eax, eax
push esi
lea edi, [ebp - 0x9e4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [ebp - 0xbe4]
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x404b69
push 0x3e8
push 0
lea eax, [ebp - 0x12cc]
push eax
call fcn.004c8d84
add esp, 0xc
lea edx, [ebp - 0x9e4]
lea ecx, [ebp - 0x8e4]
lea eax, [ebp - 0x12cc]
push edx
push ecx
push edi
push eax
call fcn.00404194
mov word [ebp - 0x34], 0x68
add esp, 0x10
lea edx, [ebp - 0x12cc]
lea eax, [ebp - 0x1c]
call fcn.004d5740
inc dword [ebp - 0x28]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.004d58e4
dec dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004d58a0
inc ebx
dec dword [ebp - 0x28]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004d58a0
dec dword [ebp - 0x28]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004d58a0
mov word [ebp - 0x34], 0x14
cmp ebx, dword [ebp - 0x4c]
jl 0x4044ad
cmp dword [ebp - 4], 0
je 0x404c04
push str.Error.log
lea ecx, [ebp - 0x13cc]
push ecx
call fcn.00401978
add esp, 8
push 0x4d75a3
lea eax, [ebp - 0x13cc]
push eax
call fcn.004caf34
add esp, 8
mov ebx, eax
test eax, eax
je 0x404c04
cmp dword [ebp - 4], 0
je 0x404bd8
mov edx, dword [ebp - 4]
jmp 0x404bdd
mov edx, 0x4d75a5
push edx
push ebx
call fcn.004caf68
add esp, 8
push ebx
call fcn.004cabc0
pop ecx
push 1
push 0
push 0
lea eax, [ebp - 0x13cc]
push eax
push 0
push 0
call sub.SHELL32.DLL_ShellExecuteA
mov word [ebp - 0x34], 0x74
lea edx, [ebp - 0xbe4]
lea eax, [ebp - 0x20]
call fcn.004d5740
inc dword [ebp - 0x28]
mov ecx, dword [eax]
push ecx
push esi
call fcn.00404c58
add esp, 8
dec dword [ebp - 0x28]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004d58a0
dec dword [ebp - 0x28]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004d58a0
mov ecx, dword [ebp - 0x44]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret