Function at 0x40dd49
Capabilities:
Copy file
Delete file
Read .ini file
Write file on windows

Disassembly:
push ebp
sub esp, 0x8e4
lea ebp, [esp - 4]
mov eax, dword [0x4528a0]
xor eax, ebp
mov dword [ebp + 0x8e4], eax
push 0x9c
mov eax, 0x43c450
call fcn.00422277
mov eax, dword [ebp + 0x8f0]
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov dword [esi + 0xc8], ebx
call fcn.0040a7ca
mov ecx, esi
call fcn.0040b352
mov edi, 0x103
push edi
lea eax, [ebp + 0x6dd]
push ebx
push eax
mov byte [ebp + 0x6dc], bl
call fcn.00420210
push edi
lea eax, [ebp + 0x7e1]
push ebx
push eax
mov byte [ebp + 0x7e0], bl
call fcn.00420210
push edi
lea eax, [ebp + 0x5d9]
push ebx
push eax
mov byte [ebp + 0x5d8], bl
call fcn.00420210
mov eax, dword [esi + 0xcc]
mov ecx, dword [eax - 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetACP]
add esp, 0x24
push ebx
push ebx
push 0x104
lea edx, [ebp + 0x6dc]
push edx
push ecx
push eax
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp + 0x6dc]
push eax
lea eax, [ebp + 0x7e0]
push eax
call fcn.00423d60
lea eax, [ebp + 0x7e0]
push str..zip
push eax
call fcn.00423d70
mov eax, dword [esi + 0xd0]
mov ecx, dword [eax - 0xc]
add esp, 0x10
push ebx
push ebx
push 0x104
lea edx, [ebp + 0x5d8]
push edx
push ecx
push eax
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp + 0x5d8]
push str..log
push eax
call fcn.00423d70
mov edi, dword [ebp - 0x14]
pop ecx
pop ecx
cmp edi, ebx
je 0x40dec0
cmp word [edi], bx
je 0x40dec0
push ebx
push 0x80
push 4
push ebx
push 1
push 0x40000000
lea eax, [ebp + 0x5d8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x40dec0
push edi
mov dword [ebp - 0x1c], ebx
call fcn.0042265c
pop ecx
push 2
push ebx
push ebx
push dword [ebp - 0x18]
mov edi, eax
add edi, edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0x1c]
push eax
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp]
call fcn.00413eeb
push ebx
lea eax, [ebp + 0x7e0]
push eax
lea ecx, [ebp]
mov dword [ebp - 4], ebx
call fcn.00414453
lea eax, [ebp + 0x6dc]
push 0x5c
push eax
call fcn.00423780
pop ecx
pop ecx
inc eax
push eax
lea eax, [ebp + 0x6dc]
push eax
lea eax, [ebp + 0x7e0]
push eax
lea ecx, [ebp]
call fcn.00414501
push str.log.txt
lea eax, [ebp + 0x5d8]
push eax
lea eax, [ebp + 0x7e0]
push eax
lea ecx, [ebp]
call fcn.00414501
push dword [esi + 0xcc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0x5d8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, 0xff
push edi
lea eax, [ebp + 0x4d9]
push ebx
push eax
mov dword [esi + 0xc8], 1
mov byte [ebp + 0x4d8], bl
call fcn.00420210
lea eax, [esi + 0x3e4]
add esp, 0xc
mov dword [ebp - 0x14], ebx
cmp byte [eax], bl
je 0x40dfa7
lea ecx, [esi + 0x2e4]
push ecx
push edi
lea ecx, [ebp + 0x4d8]
push ecx
push str.feedback.sd.360.cn
push 0x445188
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esi + 0x2e4]
push eax
push ebx
push str.backup
lea eax, [esi + 0x3e4]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x14], eax
push 0x1ff
lea eax, [ebp + 0x2d9]
push ebx
push eax
mov byte [ebp + 0x2d8], bl
call fcn.00420210
lea eax, [esi + 0x1e4]
push eax
lea eax, [esi + 0xe4]
push eax
lea eax, [ebp + 0x2d8]
push str._upload_dump.php_mid_sver_s
push eax
call fcn.00422dfe
add esp, 0x1c
lea ecx, [ebp - 0x70]
call fcn.0040d91c
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.0041a661
lea eax, [ebp + 0x4d8]
push eax
lea ecx, [ebp - 0x38]
call fcn.00402461
lea ecx, [ebp + 0x2d8]
push ecx
push eax
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 2
call fcn.0040ca58
push ebx
push eax
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 3
call fcn.0041b643
add esp, 0x18
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 4
jb 0x40e040
mov eax, dword [eax + 4]
jmp 0x40e043
add eax, 4
push eax
lea ecx, [ebp - 0x70]
call fcn.0041a1b2
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x8c]
call fcn.0040b003
push ebx
push edi
lea ecx, [ebp - 0xa8]
call fcn.00401f6a
push ebx
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00401f6a
push ebx
lea eax, [ebp + 0x7e0]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0041b5db
add esp, 0xc
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 5
jb 0x40e09a
mov eax, dword [eax + 4]
jmp 0x40e09d
add eax, 4
push eax
push 0x44515c
lea ecx, [ebp - 0x70]
call fcn.0041a7fd
push ebx
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.0040b003
push 0xffffffffffffffff
lea ecx, [ebp - 0x70]
mov dword [esi + 0xc4], ebx
call fcn.00419ca5
test eax, eax
lea ecx, [ebp - 0x70]
setne byte [ebp - 0xd]
call fcn.00419922
cmp byte [ebp - 0xd], bl
je 0x40e14d
cmp dword [ebp - 0x14], ebx
je 0x40e140
lea eax, [ebp + 0x7e0]
push eax
lea eax, [ebp + 0x6dc]
push eax
call fcn.00423d60
lea eax, [ebp + 0x6dc]
push 0x5c
push eax
call fcn.00423780
add esp, 0x10
cmp eax, ebx
je 0x40e140
lea ecx, [esi + 0x3e4]
push ecx
inc eax
push eax
call fcn.00423d60
lea eax, [ebp + 0x6dc]
push str..zip
push eax
call fcn.00423d70
add esp, 0x10
push ebx
lea eax, [ebp + 0x6dc]
push eax
lea eax, [ebp + 0x7e0]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp + 0x7e0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x70]
mov dword [esi + 0xc4], edi
call fcn.0040d94e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00413f3e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8e4]
xor ecx, ebp
call fcn.004201f5
add ebp, 0x8e8
leave
ret 4