Function at 0x428f40
Capabilities:
Copy file
Delete file
Get common file path
Read .ini file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53704d
mov eax, dword fs:[0]
push eax
sub esp, 0x52c
mov eax, dword [0x5a6a30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edx, ecx
lea ecx, [ebp - 0x52c]
call fcn.00428420
xor eax, eax
mov ecx, 7
xor ebx, ebx
mov dword [ebp - 4], eax
mov edi, 0x100
mov dword [ebp - 0x4a0], ecx
mov dword [ebp - 0x4a4], eax
mov word [ebp - 0x4b4], bx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], eax
mov word [ebp - 0x444], bx
mov dword [ebp - 0x44c], ecx
mov dword [ebp - 0x450], eax
mov word [ebp - 0x460], ax
mov ecx, dword [edx + 8]
lea ebx, [edx + 4]
mov edx, dword [ecx + 4]
push edx
mov ecx, ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x514], ebx
call fcn.00415e70
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [eax], eax
mov eax, dword [ebx + 4]
mov dword [eax + 8], eax
mov eax, esi
mov dword [ebx + 8], 0
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x429000
sub eax, ecx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x460]
call fcn.00401dd0
push 0x20a
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.0051eb70
push 0x20a
lea ecx, [ebp - 0x21c]
push 0
push ecx
call fcn.0051eb70
add esp, 0x18
lea edx, [ebp - 0x428]
push edx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4290e2
lea eax, [ebp - 0x21c]
push eax
push 0
push 0x55c488
lea ecx, [ebp - 0x428]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4290e2
push 0
lea edx, [ebp - 0x21c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4290e2
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x80
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4290c0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x460]
call fcn.00401dd0
cmp dword [ebp - 0x44c], 8
mov eax, dword [ebp - 0x460]
jae 0x4290f7
lea eax, [ebp - 0x460]
push eax
push str.CInfStringTable::GetTable_strTargetInfFile___1_s__IN_n
push 5
call fcn.00403750
push 0x363
push 0x55b87c
push 0x200
call fcn.00422d90
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4291ba
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
jmp 0x429130
cmp dword [ebp - 0x44c], 8
mov eax, dword [ebp - 0x460]
jae 0x429145
lea eax, [ebp - 0x460]
push eax
push 2
lea eax, [ebp - 0x530]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [ebp - 0x44c], 8
mov eax, dword [ebp - 0x460]
jae 0x429170
lea eax, [ebp - 0x460]
push eax
push edi
push esi
push str.Strings
call ebx
lea ecx, [edi - 2]
cmp ecx, eax
jne 0x4291ab
push esi
call fcn.00422db0
push 0x36e
add edi, 0x100
lea edx, [edi + edi]
push 0x55b87c
push edx
call fcn.00422d90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x429130
jmp 0x4291ba
test eax, eax
jne 0x4291ba
push esi
call fcn.00422db0
add esp, 4
xor esi, esi
cmp word [ebp - 0x21c], 0
je 0x4291f9
lea eax, [ebp - 0x21c]
push eax
push str.CInfStringTable::GetTable_Delete_the_temp_file.___1_s___n
push 5
call fcn.00403750
add esp, 0xc
push 0x80
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x52c]
test esi, esi
je 0x429214
push esi
call fcn.00428e50
push esi
call fcn.00422db0
add esp, 4
jmp 0x42921e
push 0x55bc24
call fcn.00428e50
lea ecx, [ebp - 0x52c]
mov dword [ebp - 0x510], 0
call fcn.00426dd0
test eax, eax
je 0x42945c
lea ecx, [ebp - 0x50c]
call fcn.00427300
mov eax, dword [ebp - 0x510]
push eax
lea ecx, [ebp - 0x52c]
mov byte [ebp - 4], 4
call fcn.00427000
push eax
lea ecx, [ebp - 0x50c]
call fcn.00428070
lea ecx, [ebp - 0x50c]
call fcn.00427140
mov ecx, eax
lea esi, [ecx + 2]
jmp 0x429280
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x429280
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x444]
call fcn.00401dd0
mov eax, dword [ebp - 0x430]
mov edx, dword [ebp - 0x444]
mov edi, edx
cmp eax, 8
jae 0x42932b
lea edi, [ebp - 0x444]
mov ebx, edi
mov ecx, dword [ebp - 0x434]
lea ebx, [ebx + ecx*2]
mov esi, edx
cmp eax, 8
jae 0x4292cd
lea esi, [ebp - 0x444]
cmp esi, ebx
je 0x4292f6
sub edi, esi
movzx edx, word [esi]
push edx
call fcn.005200a7
mov word [edi + esi], ax
add esi, 2
add esp, 4
cmp esi, ebx
jne 0x4292d3
mov eax, dword [ebp - 0x430]
mov edx, dword [ebp - 0x444]
mov ecx, edx
cmp eax, 8
jae 0x429303
lea ecx, [ebp - 0x444]
cmp word [ecx], 0x3b
jne 0x42932f
cmp eax, 8
mov eax, edx
jae 0x429316
lea eax, [ebp - 0x444]
push eax
push str.CInfStringTable::GetTable_strKey.data_____1_s__skipped._n
push 5
call fcn.00403750
add esp, 0xc
jmp 0x429431
mov ebx, edx
jmp 0x4292b7
lea ecx, [ebp - 0x50c]
call fcn.00427150
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x444]
mov esi, eax
xor eax, eax
push ecx
mov edi, 7
lea ecx, [ebp - 0x498]
mov dword [ebp - 0x484], edi
mov dword [ebp - 0x488], ebx
mov word [ebp - 0x498], ax
call fcn.00401cd0
xor edx, edx
mov eax, esi
mov word [ebp - 0x47c], dx
mov byte [ebp - 4], 5
mov dword [ebp - 0x468], edi
mov dword [ebp - 0x46c], ebx
lea edx, [eax + 2]
jmp 0x429390
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x429390
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x47c]
call fcn.00401dd0
mov esi, dword [ebp - 0x514]
push ebx
lea eax, [ebp - 0x498]
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00417570
push eax
lea ecx, [ebp - 0x538]
push ecx
mov ecx, esi
call fcn.00415f50
mov esi, 8
cmp dword [ebp - 0x468], esi
jb 0x4293f0
mov edx, dword [ebp - 0x47c]
push edx
call fcn.00429e6f
add esp, 4
xor eax, eax
mov dword [ebp - 0x468], edi
mov dword [ebp - 0x46c], ebx
mov word [ebp - 0x47c], ax
cmp dword [ebp - 0x484], esi
jb 0x42941c
mov ecx, dword [ebp - 0x498]
push ecx
call fcn.00429e6f
add esp, 4
xor edx, edx
mov dword [ebp - 0x484], edi
mov dword [ebp - 0x488], ebx
mov word [ebp - 0x498], dx
lea ecx, [ebp - 0x50c]
call fcn.00427340
mov esi, dword [ebp - 0x510]
inc esi
lea ecx, [ebp - 0x52c]
mov dword [ebp - 0x510], esi
call fcn.00426dd0
cmp esi, eax
jb 0x42923b
mov ebx, 8
cmp dword [ebp - 0x44c], ebx
jb 0x429478
mov eax, dword [ebp - 0x460]
push eax
call fcn.00429e6f
add esp, 4
xor edi, edi
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x44c], esi
mov dword [ebp - 0x450], edi
mov word [ebp - 0x460], cx
cmp dword [ebp - 0x430], ebx
jb 0x4294ab
mov edx, dword [ebp - 0x444]
push edx
call fcn.00429e6f
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x52c]
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x434], edi
mov word [ebp - 0x444], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00428480
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051e701
mov esp, ebp
pop ebp
ret 4