Function at 0x638e90
Capabilities:
Check if file exists
Copy file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x488
mov eax, dword [0x7030b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x418], ecx
xor eax, eax
mov word [ebp - 0x414], ax
push 0x206
push 0
lea ecx, [ebp - 0x412]
push ecx
call fcn.004a08c0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x20c], dx
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call fcn.004a08c0
add esp, 0xc
mov ecx, dword [ebp - 0x418]
add ecx, 0x90
call fcn.0041d4a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x638f4b
mov ecx, dword [ebp - 0x418]
add ecx, 0xa8
call fcn.0041d4a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x638f4b
push 0
mov ecx, dword [ebp - 0x418]
add ecx, 0x90
call fcn.0041d4a0
push eax
mov ecx, dword [ebp - 0x418]
add ecx, 0xa8
call fcn.0041d4a0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x41c], 0
lea ecx, [ebp - 0x434]
push ecx
mov edx, dword [ebp - 0x418]
mov ecx, dword [edx + 0x20]
call fcn.00422430
jmp 0x638f8a
push 0
lea eax, [ebp - 0x460]
push eax
lea ecx, [ebp - 0x434]
call fcn.0042a0a0
lea ecx, [ebp - 0x464]
push ecx
mov edx, dword [ebp - 0x418]
mov ecx, dword [edx + 0x20]
call fcn.00421d90
push eax
lea ecx, [ebp - 0x434]
call fcn.00421cb0
movzx eax, al
test eax, eax
je 0x639076
lea ecx, [ebp - 0x434]
call fcn.00421e90
mov ecx, dword [eax + 4]
mov dword [ebp - 0x41c], ecx
mov edx, dword [ebp - 0x41c]
add edx, 0xc
push edx
call fcn.004a1f02
add esp, 4
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jle 0x639071
mov ecx, dword [ebp - 0x418]
add ecx, 0x90
call fcn.0041d4a0
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x6dff04
mov ecx, dword [ebp - 0x41c]
add ecx, 0xc
push ecx
push 0x6dff0c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x6dfef4
lea edx, [ebp - 0x20c]
push edx
call fcn.004a1ba7
add esp, 8
test eax, eax
je 0x639071
lea eax, [ebp - 0x20c]
push eax
call fcn.004a610f
add esp, 4
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x41c]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x440], edx
mov eax, dword [ebp - 0x440]
mov ecx, dword [ebp - 0x444]
mov dword [eax], ecx
jmp 0x638f76
lea edx, [ebp - 0x438]
push edx
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax + 0x1c]
call fcn.00422430
jmp 0x6390a1
push 0
lea ecx, [ebp - 0x468]
push ecx
lea ecx, [ebp - 0x438]
call fcn.0042a0a0
lea edx, [ebp - 0x46c]
push edx
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax + 0x1c]
call fcn.00421d90
push eax
lea ecx, [ebp - 0x438]
call fcn.00421cb0
movzx ecx, al
test ecx, ecx
je 0x63918d
lea ecx, [ebp - 0x438]
call fcn.00421e90
mov edx, dword [eax + 4]
mov dword [ebp - 0x41c], edx
mov eax, dword [ebp - 0x41c]
add eax, 0xc
push eax
call fcn.004a1f02
add esp, 4
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jle 0x639188
mov ecx, dword [ebp - 0x418]
add ecx, 0x90
call fcn.0041d4a0
push eax
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0x6dfefc
mov edx, dword [ebp - 0x41c]
add edx, 0xc
push edx
push 0x6dff3c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x6dff4c
lea eax, [ebp - 0x20c]
push eax
call fcn.004a1ba7
add esp, 8
test eax, eax
je 0x639188
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004a610f
add esp, 4
mov byte [ebp - 0x41d], al
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx + 8]
mov dword [ebp - 0x448], eax
mov ecx, dword [ebp - 0x448]
mov dl, byte [ebp - 0x41d]
mov byte [ecx], dl
jmp 0x63908d
lea eax, [ebp - 0x43c]
push eax
mov ecx, dword [ebp - 0x418]
mov ecx, dword [ecx + 0x24]
call fcn.00422430
jmp 0x6391b8
push 0
lea edx, [ebp - 0x470]
push edx
lea ecx, [ebp - 0x43c]
call fcn.0042a0a0
lea eax, [ebp - 0x474]
push eax
mov ecx, dword [ebp - 0x418]
mov ecx, dword [ecx + 0x24]
call fcn.00421d90
push eax
lea ecx, [ebp - 0x43c]
call fcn.00421cb0
movzx edx, al
test edx, edx
je 0x639293
lea ecx, [ebp - 0x43c]
call fcn.00421e90
mov eax, dword [eax + 4]
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x41c]
add ecx, 0xc
push ecx
call fcn.004a1f02
add esp, 4
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jle 0x63928e
mov ecx, dword [ebp - 0x418]
add ecx, 0x90
call fcn.0041d4a0
push eax
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0x6dff1c
mov eax, dword [ebp - 0x41c]
add eax, 0xc
push eax
push 0x6dff2c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x6dff84
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004a1ba7
add esp, 8
test eax, eax
je 0x63928e
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx + 8]
mov dword [ebp - 0x44c], eax
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x44c]
push edx
call fcn.004a53e9
add esp, 8
jmp 0x6391a4
mov ecx, dword [ebp - 0x418]
call fcn.00635d70
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x478], 0
lea eax, [ebp - 0x428]
push eax
mov ecx, dword [ebp - 0x418]
mov ecx, dword [ecx + 0x5c]
call fcn.00422430
jmp 0x6392dd
push 0
lea edx, [ebp - 0x47c]
push edx
lea ecx, [ebp - 0x428]
call fcn.0042a0a0
lea eax, [ebp - 0x480]
push eax
mov ecx, dword [ebp - 0x418]
mov ecx, dword [ecx + 0x5c]
call fcn.00421d90
push eax
lea ecx, [ebp - 0x428]
call fcn.00421cb0
movzx edx, al
test edx, edx
je 0x639374
lea ecx, [ebp - 0x428]
call fcn.00421e90
mov eax, dword [eax + 4]
mov dword [ebp - 0x430], eax
lea ecx, [ebp - 0x428]
call fcn.00421e90
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x418]
call fcn.006385a0
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
je 0x63936f
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx + 8]
mov dword [ebp - 0x454], eax
mov ecx, dword [ebp - 0x430]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x450], edx
mov eax, dword [ebp - 0x450]
mov ecx, dword [ebp - 0x454]
mov edx, dword [ecx]
mov dword [eax], edx
jmp 0x6392c9
lea eax, [ebp - 0x42c]
push eax
mov ecx, dword [ebp - 0x418]
mov ecx, dword [ecx + 0x58]
call fcn.00422430
jmp 0x63939f
push 0
lea edx, [ebp - 0x484]
push edx
lea ecx, [ebp - 0x42c]
call fcn.0042a0a0
lea eax, [ebp - 0x488]
push eax
mov ecx, dword [ebp - 0x418]
mov ecx, dword [ecx + 0x58]
call fcn.00421d90
push eax
lea ecx, [ebp - 0x42c]
call fcn.00421cb0
movzx edx, al
test edx, edx
je 0x639436
lea ecx, [ebp - 0x42c]
call fcn.00421e90
mov eax, dword [eax + 4]
mov dword [ebp - 0x430], eax
lea ecx, [ebp - 0x42c]
call fcn.00421e90
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x418]
call fcn.006385a0
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
je 0x639431
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx + 8]
mov dword [ebp - 0x45c], eax
mov ecx, dword [ebp - 0x430]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x458], edx
mov eax, dword [ebp - 0x458]
mov ecx, dword [ebp - 0x45c]
mov dl, byte [ecx]
mov byte [eax], dl
jmp 0x63938b
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004421e5
mov esp, ebp
pop ebp
ret