Function at 0x594470
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x62b370]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x210]
mov ecx, dword [ecx + 0x18]
call fcn.004315f0
jmp 0x5944c8
push 0
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x21c]
call fcn.00434e60
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x210]
mov ecx, dword [ecx + 0x18]
call fcn.00430bf0
push eax
lea ecx, [ebp - 0x21c]
call fcn.00430ae0
movzx edx, al
test edx, edx
je 0x594599
lea ecx, [ebp - 0x21c]
call fcn.00430ac0
mov eax, dword [eax + 4]
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x228], edx
mov eax, dword [ebp - 0x228]
movzx ecx, byte [eax]
push ecx
push 0x606424
lea edx, [ebp - 0x20c]
push edx
call fcn.00430670
add esp, 0xc
mov eax, dword [ebp - 0x214]
add eax, 8
push eax
call fcn.004d915b
add esp, 4
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jle 0x594594
mov ecx, dword [ebp - 0x210]
add ecx, 0x8c
call fcn.004275c0
push eax
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x214]
add edx, 8
push edx
push 0x606448
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x240], 0
jmp 0x5944b4
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x210]
mov ecx, dword [ecx + 0x1c]
call fcn.004315f0
jmp 0x5945c4
push 0
lea edx, [ebp - 0x244]
push edx
lea ecx, [ebp - 0x220]
call fcn.00434e60
lea eax, [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x210]
mov ecx, dword [ecx + 0x1c]
call fcn.00430bf0
push eax
lea ecx, [ebp - 0x220]
call fcn.00430ae0
movzx edx, al
test edx, edx
je 0x594684
lea ecx, [ebp - 0x220]
call fcn.00430ac0
mov eax, dword [eax + 4]
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x22c], edx
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax]
push ecx
push 0x606440
lea edx, [ebp - 0x20c]
push edx
call fcn.00430670
add esp, 0xc
mov eax, dword [ebp - 0x214]
add eax, 8
push eax
call fcn.004d915b
add esp, 4
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jle 0x59467f
mov ecx, dword [ebp - 0x210]
add ecx, 0x8c
call fcn.004275c0
push eax
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x214]
add edx, 8
push edx
push 0x606460
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x5945b0
lea eax, [ebp - 0x224]
push eax
mov ecx, dword [ebp - 0x210]
mov ecx, dword [ecx + 0x20]
call fcn.004315f0
jmp 0x5946af
push 0
lea edx, [ebp - 0x24c]
push edx
lea ecx, [ebp - 0x224]
call fcn.00434e60
lea eax, [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0x210]
mov ecx, dword [ecx + 0x20]
call fcn.00430bf0
push eax
lea ecx, [ebp - 0x224]
call fcn.00430ae0
movzx edx, al
test edx, edx
je 0x59476d
lea ecx, [ebp - 0x224]
call fcn.00430ac0
mov eax, dword [eax + 4]
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x230], edx
mov eax, dword [ebp - 0x230]
push eax
push 0x606458
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00430670
add esp, 0xc
mov edx, dword [ebp - 0x214]
add edx, 8
push edx
call fcn.004d915b
add esp, 4
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jle 0x594768
mov ecx, dword [ebp - 0x210]
add ecx, 0x8c
call fcn.004275c0
push eax
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 8
push ecx
push 0x606474
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x59469b
mov ecx, dword [ebp - 0x210]
add ecx, 0xbc
call fcn.004275c0
push eax
push 0x606470
push str.ModifySetConfig
push 0x606484
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x210]
add ecx, 0xbc
call fcn.004275c0
push eax
push 0x6064dc
push str.ModifySetConfig64
push 0x6064e4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x210]
add ecx, 0xbc
call fcn.004275c0
push eax
push 0x6064e0
push str.TempModifySetConfig
push 0x6064f8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x210]
add ecx, 0xbc
call fcn.004275c0
push eax
push 0x606560
push str.TempModifySetConfig64
push 0x606570
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0
mov ecx, dword [ebp - 0x210]
add ecx, 0xa4
call fcn.004275c0
push eax
mov ecx, dword [ebp - 0x210]
add ecx, 0x8c
call fcn.004275c0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00484636
mov esp, ebp
pop ebp
ret