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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b2fd
mov eax, dword fs:[0]
push eax
sub esp, 0x52c
mov eax, dword [0x5c5b9c]
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.0043a090
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.00416670
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 0x43a950
sub eax, ecx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x460]
call fcn.004026d0
push 0x20a
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.00531b10
push 0x20a
lea ecx, [ebp - 0x21c]
push 0
push ecx
call fcn.00531b10
add esp, 0x18
lea edx, [ebp - 0x428]
push edx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x43aa32
lea eax, [ebp - 0x21c]
push eax
push 0
push 0x5792e0
lea ecx, [ebp - 0x428]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x43aa32
push 0
lea edx, [ebp - 0x21c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x43aa32
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 0x43aa10
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x460]
call fcn.004026d0
cmp dword [ebp - 0x44c], 8
mov eax, dword [ebp - 0x460]
jae 0x43aa47
lea eax, [ebp - 0x460]
push eax
push str.CInfStringTable::GetTable_strTargetInfFile___1_s__IN_n
push 5
call fcn.00411380
push 0x363
push 0x578a40
push 0x200
call fcn.0042d8c0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x43ab0a
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
jmp 0x43aa80
cmp dword [ebp - 0x44c], 8
mov eax, dword [ebp - 0x460]
jae 0x43aa95
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 0x43aac0
lea eax, [ebp - 0x460]
push eax
push edi
push esi
push str.Strings
call ebx
lea ecx, [edi - 2]
cmp ecx, eax
jne 0x43aafb
push esi
call fcn.0042d8e0
push 0x36e
add edi, 0x100
lea edx, [edi + edi]
push 0x578a40
push edx
call fcn.0042d8c0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x43aa80
jmp 0x43ab0a
test eax, eax
jne 0x43ab0a
push esi
call fcn.0042d8e0
add esp, 4
xor esi, esi
cmp word [ebp - 0x21c], 0
je 0x43ab49
lea eax, [ebp - 0x21c]
push eax
push str.CInfStringTable::GetTable_Delete_the_temp_file.___1_s___n
push 5
call fcn.00411380
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 0x43ab64
push esi
call fcn.0043a7a0
push esi
call fcn.0042d8e0
add esp, 4
jmp 0x43ab6e
push 0x578dec
call fcn.0043a7a0
lea ecx, [ebp - 0x52c]
mov dword [ebp - 0x510], 0
call fcn.00438c50
test eax, eax
je 0x43adac
lea ecx, [ebp - 0x50c]
call fcn.004390e0
mov eax, dword [ebp - 0x510]
push eax
lea ecx, [ebp - 0x52c]
mov byte [ebp - 4], 4
call fcn.00438e80
push eax
lea ecx, [ebp - 0x50c]
call fcn.00439e10
lea ecx, [ebp - 0x50c]
call fcn.00438f20
mov ecx, eax
lea esi, [ecx + 2]
jmp 0x43abd0
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x43abd0
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x444]
call fcn.004026d0
mov eax, dword [ebp - 0x430]
mov edx, dword [ebp - 0x444]
mov edi, edx
cmp eax, 8
jae 0x43ac7b
lea edi, [ebp - 0x444]
mov ebx, edi
mov ecx, dword [ebp - 0x434]
lea ebx, [ebx + ecx*2]
mov esi, edx
cmp eax, 8
jae 0x43ac1d
lea esi, [ebp - 0x444]
cmp esi, ebx
je 0x43ac46
sub edi, esi
movzx edx, word [esi]
push edx
call fcn.00531913
mov word [edi + esi], ax
add esi, 2
add esp, 4
cmp esi, ebx
jne 0x43ac23
mov eax, dword [ebp - 0x430]
mov edx, dword [ebp - 0x444]
mov ecx, edx
cmp eax, 8
jae 0x43ac53
lea ecx, [ebp - 0x444]
cmp word [ecx], 0x3b
jne 0x43ac7f
cmp eax, 8
mov eax, edx
jae 0x43ac66
lea eax, [ebp - 0x444]
push eax
push str.CInfStringTable::GetTable_strKey.data_____1_s__skipped._n
push 5
call fcn.00411380
add esp, 0xc
jmp 0x43ad81
mov ebx, edx
jmp 0x43ac07
lea ecx, [ebp - 0x50c]
call fcn.00438f30
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.004025d0
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 0x43ace0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43ace0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x47c]
call fcn.004026d0
mov esi, dword [ebp - 0x514]
push ebx
lea eax, [ebp - 0x498]
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00417d70
push eax
lea ecx, [ebp - 0x538]
push ecx
mov ecx, esi
call fcn.00416750
mov esi, 8
cmp dword [ebp - 0x468], esi
jb 0x43ad40
mov edx, dword [ebp - 0x47c]
push edx
call fcn.0043c798
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 0x43ad6c
mov ecx, dword [ebp - 0x498]
push ecx
call fcn.0043c798
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.00439120
mov esi, dword [ebp - 0x510]
inc esi
lea ecx, [ebp - 0x52c]
mov dword [ebp - 0x510], esi
call fcn.00438c50
cmp esi, eax
jb 0x43ab8b
mov ebx, 8
cmp dword [ebp - 0x44c], ebx
jb 0x43adc8
mov eax, dword [ebp - 0x460]
push eax
call fcn.0043c798
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 0x43adfb
mov edx, dword [ebp - 0x444]
push edx
call fcn.0043c798
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.0043a0f0
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.00530f8d
mov esp, ebp
pop ebp
ret 4