Function at 0x403750
Capabilities:
Copy file
Delete file
Get common file path
Read .ini file

Disassembly:
sub esp, 0x3e8
mov eax, dword [0x44bcd0]
xor eax, esp
mov dword [esp + 0x3e4], eax
mov eax, dword [esp + 0x3ec]
push ebx
push ebp
mov ebp, dword [esp + 0x3f8]
push esi
push 0x104
xor ebx, ebx
lea ecx, [esp + 0x28c]
push ebx
push ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ebp
xor esi, esi
call fcn.00420a40
lea edx, [esp + 0x294]
push edx
call fcn.00408940
lea eax, [esp + 0x298]
add esp, 0x10
dec eax
cmp byte [0x44d3c4], 7
jne 0x4037e0
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x4037b5
mov ecx, dword [str.LdxCab.ini]
mov edx, dword [0x43d854]
mov dword [eax], ecx
mov ecx, dword [0x43d858]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
jmp 0x40380d
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x4037e0
mov edx, dword [str.LdCab.ini]
mov ecx, dword [0x43d848]
mov dword [eax], edx
mov dx, word [0x43d84c]
mov dword [eax + 4], ecx
mov cl, byte [0x43d84e]
mov word [eax + 8], dx
mov byte [eax + 0xa], cl
push edi
lea edx, [esp + 0x28c]
push edx
push ebx
push str.FileTotal
push str.CabFile
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, eax
mov dword [esp + 0x18], edi
cmp ebp, ebx
jne 0x403849
mov eax, dword [esp + 0x14]
push 0x43d824
push eax
call fcn.0042065d
add esp, 8
mov dword [esp + 0x10], eax
jmp 0x40384d
mov dword [esp + 0x10], ebp
mov ebp, 1
cmp edi, ebp
jl 0x403a77
lea ebx, [ebx]
push 0x103
lea ecx, [esp + 0x89]
push ebx
push ecx
mov byte [esp + 0x90], bl
call fcn.00420a40
push 0x103
lea edx, [esp + 0x199]
push ebx
push edx
mov byte [esp + 0x1a0], bl
call fcn.00420a40
push ebp
lea eax, [esp + 0x3ac]
push str.File__d
push eax
call fcn.00420ba5
add esp, 0x24
lea ecx, [esp + 0x28c]
push ecx
push 0x64
lea edx, [esp + 0x28]
push edx
push 0x43d840
push str.SrcFilePath
lea eax, [esp + 0x3a4]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x84]
push ecx
call fcn.00408940
lea edi, [esp + 0x88]
add esp, 4
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x4038f0
mov dx, word [0x43d584]
lea eax, [esp + 0x20]
mov word [edi], dx
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403908
lea edi, [esp + 0x84]
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x403920
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x20]
and ecx, 3
push str.LdWaterMarkHook
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0041f260
add esp, 8
test eax, eax
jne 0x403968
lea ecx, [esp + 0x20]
push str.LdPrintMonitor
push ecx
call fcn.0041f260
add esp, 8
test eax, eax
je 0x403a13
lea edx, [esp + 0x188]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edi, [esp + 0x188]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x403983
mov ax, word [0x43d584]
mov word [edi], ax
lea eax, [esp + 0x20]
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4039a0
lea edi, [esp + 0x188]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x4039b1
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
lea ecx, [esp + 0x18c]
push ecx
lea edx, [esp + 0x8c]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x104
lea eax, [esp + 0x88]
push ebx
push eax
call fcn.00420a40
add esp, 0xc
xor eax, eax
jmp 0x403a00
mov cl, byte [esp + eax + 0x188]
mov byte [esp + eax + 0x84], cl
inc eax
cmp cl, bl
jne 0x403a00
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push ecx
push 1
lea edx, [esp + 0x8c]
push edx
push eax
call fcn.00402e00
lea ecx, [esp + 0x30]
push str.LdWaterMarkHook
push ecx
mov esi, eax
call fcn.0041f260
add esp, 0x18
test eax, eax
jne 0x403a5a
lea edx, [esp + 0x20]
push str.LdPrintMonitor
push edx
call fcn.0041f260
add esp, 8
test eax, eax
je 0x403a68
lea eax, [esp + 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, ebx
jne 0x403a77
inc ebp
cmp ebp, dword [esp + 0x18]
jle 0x403860
pop edi
cmp dword [esp + 0x18], ebx
jne 0x403a8f
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x403a8f
push eax
call fcn.00420014
add esp, 4
mov ecx, dword [esp + 0x3f0]
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041eff4
add esp, 0x3e8
ret