Function at 0x401c38
Capabilities:
Copy file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe34
push ebx
mov eax, 0x452c8c
call fcn.0044691c
push 0xff
lea edx, [ebp - 0x1cc]
push edx
push str.ProgramFiles
call sub.KERNEL32.DLL_GetEnvironmentVariableA
mov word [ebp - 0xac], 0x14
lea eax, [ebp - 0x18]
call fcn.00401b98
push eax
inc dword [ebp - 0xa0]
mov edx, 0x452450
lea eax, [ebp - 0x14]
call fcn.004509a0
inc dword [ebp - 0xa0]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x1cc]
lea eax, [ebp - 0x10]
call fcn.004509a0
inc dword [ebp - 0xa0]
pop edx
pop ecx
call fcn.00450acc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
call fcn.00401b98
push eax
inc dword [ebp - 0xa0]
mov edx, 0x452452
lea eax, [ebp - 0x1c]
call fcn.004509a0
inc dword [ebp - 0xa0]
lea edx, [ebp - 0x1c]
pop ecx
pop eax
call fcn.00450acc
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00450a88
mov word [ebp - 0xac], 8
mov word [ebp - 0xac], 0x20
lea eax, [ebp - 0x28]
call fcn.00401b98
push eax
inc dword [ebp - 0xa0]
mov edx, 0x452457
lea eax, [ebp - 0x24]
call fcn.004509a0
inc dword [ebp - 0xa0]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x1cc]
lea eax, [ebp - 0x20]
call fcn.004509a0
inc dword [ebp - 0xa0]
pop edx
pop ecx
call fcn.00450acc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
call fcn.00401b98
push eax
inc dword [ebp - 0xa0]
mov edx, 0x452459
lea eax, [ebp - 0x2c]
call fcn.004509a0
inc dword [ebp - 0xa0]
lea edx, [ebp - 0x2c]
pop ecx
pop eax
call fcn.00450acc
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x38]
call fcn.00401b98
push eax
inc dword [ebp - 0xa0]
mov edx, 0x45245e
lea eax, [ebp - 0x34]
call fcn.004509a0
inc dword [ebp - 0xa0]
lea edx, [ebp - 0x34]
pop ecx
pop eax
call fcn.00450acc
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x40]
call fcn.00401b98
push eax
inc dword [ebp - 0xa0]
mov edx, 0x452460
lea eax, [ebp - 0x3c]
call fcn.004509a0
inc dword [ebp - 0xa0]
lea edx, [ebp - 0x3c]
pop ecx
pop eax
call fcn.00450acc
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x48]
call fcn.00401b98
push eax
inc dword [ebp - 0xa0]
mov edx, 0x452465
lea eax, [ebp - 0x44]
call fcn.004509a0
inc dword [ebp - 0xa0]
lea edx, [ebp - 0x44]
pop ecx
pop eax
call fcn.00450acc
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 8]
call fcn.00401b98
mov ecx, eax
inc dword [ebp - 0xa0]
mov edx, 0x45232c
pop eax
call fcn.00450acc
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00450a88
mov word [ebp - 0xac], 8
lea eax, [ebp - 8]
call fcn.00401bc8
push eax
push str.InstallPath_is__s_n
call fcn.00448250
add esp, 8
mov word [ebp - 0xac], 0x2c
lea eax, [ebp - 0x4c]
call fcn.00401b98
mov edx, eax
inc dword [ebp - 0xa0]
mov ecx, dword [0x45700c]
mov eax, dword [ecx]
call fcn.004207f4
lea edx, [ebp - 0x4c]
push dword [edx]
lea eax, [ebp - 0xc]
call fcn.00401b98
push eax
inc dword [ebp - 0xa0]
mov edx, 0x45247a
lea eax, [ebp - 0x50]
call fcn.004509a0
inc dword [ebp - 0xa0]
mov edx, dword [eax]
pop ecx
pop eax
call fcn.0043c640
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00450a88
mov word [ebp - 0xac], 8
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x40cce4]
call fcn.004025ec
mov dword [ebp - 0xc0], eax
mov dl, 1
mov eax, dword [0x431274]
call fcn.00402698
mov dword [ebp - 0xc4], eax
mov word [ebp - 0xac], 0x38
mov edx, str.Files
lea eax, [ebp - 0x54]
call fcn.004509a0
inc dword [ebp - 0xa0]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xc0]
mov ebx, dword [eax]
call dword [ebx + 0x38]
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.00450a88
xor ecx, ecx
mov dword [ebp - 0xc8], ecx
mov word [ebp - 0xac], 8
jmp 0x4021c1
mov word [ebp - 0xac], 0x50
lea eax, [ebp - 0x64]
call fcn.00401b98
mov ecx, eax
inc dword [ebp - 0xa0]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xc4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
call fcn.00401b98
push eax
inc dword [ebp - 0xa0]
mov edx, 0x452485
lea eax, [ebp - 0x5c]
call fcn.004509a0
inc dword [ebp - 0xa0]
lea edx, [ebp - 0x5c]
lea eax, [ebp - 8]
pop ecx
call fcn.00450acc
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x58]
call fcn.00401b98
mov ecx, eax
inc dword [ebp - 0xa0]
pop eax
pop edx
call fcn.00450acc
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00450a88
mov word [ebp - 0xac], 0x44
mov eax, dword [ebp - 0x58]
call fcn.0043c5b0
test al, al
je 0x40219f
push dword [ebp - 0x58]
call fcn.00402fe8
pop ecx
dec eax
jne 0x40219f
lea eax, [ebp - 0x58]
call fcn.00401bc8
push eax
push str.file__s_is_excuting_cant_be_overwritten._n
call fcn.00448250
add esp, 8
mov eax, dword [ebp - 0xc8]
push eax
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00450a88
pop eax
mov edx, dword [ebp - 0xbc]
mov dword fs:[0], edx
jmp 0x4025e7
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.00450a88
mov word [ebp - 0xac], 8
inc dword [ebp - 0xc8]
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0xc8]
jg 0x40204e
mov eax, dword [ebp - 4]
call fcn.0043c7b4
mov word [ebp - 0xac], 0x5c
lea eax, [ebp - 0x68]
call fcn.00401b98
mov edx, eax
inc dword [ebp - 0xa0]
mov eax, dword [ebp - 8]
call fcn.0043c6d4
lea eax, [ebp - 0x68]
mov eax, dword [eax]
call fcn.0043c7b4
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.00450a88
mov eax, dword [ebp - 8]
call fcn.0043c7b4
lea eax, [ebp - 8]
call fcn.00401bc8
push eax
push str.CreateDir:__s_n
call fcn.00448250
add esp, 8
xor edx, edx
mov dword [ebp - 0xcc], edx
mov word [ebp - 0xac], 8
jmp 0x4024e3
mov word [ebp - 0xac], 0x74
lea eax, [ebp - 0x7c]
call fcn.00401b98
mov ecx, eax
inc dword [ebp - 0xa0]
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xc4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
call fcn.00401b98
push eax
inc dword [ebp - 0xa0]
mov edx, 0x4524c1
lea eax, [ebp - 0x74]
call fcn.004509a0
inc dword [ebp - 0xa0]
lea edx, [ebp - 0x74]
lea eax, [ebp - 8]
pop ecx
call fcn.00450acc
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x6c]
call fcn.00401b98
mov ecx, eax
inc dword [ebp - 0xa0]
pop eax
pop edx
call fcn.00450acc
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00450a88
mov word [ebp - 0xac], 0x68
mov word [ebp - 0xac], 0x80
lea eax, [ebp - 0x88]
call fcn.00401b98
mov ecx, eax
inc dword [ebp - 0xa0]
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xc4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x80]
call fcn.00401b98
mov edx, eax
inc dword [ebp - 0xa0]
mov ecx, dword [0x45700c]
mov eax, dword [ecx]
call fcn.004207f4
lea edx, [ebp - 0x80]
push dword [edx]
lea eax, [ebp - 0x84]
call fcn.00401b98
mov edx, eax
inc dword [ebp - 0xa0]
pop eax
call fcn.0043c6d4
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x70]
call fcn.00401b98
mov ecx, eax
inc dword [ebp - 0xa0]
pop eax
pop edx
call fcn.00450acc
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x88]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.00450a88
mov word [ebp - 0xac], 0x68
mov eax, dword [ebp - 0x70]
call fcn.0043c5b0
test al, al
jne 0x40247f
lea eax, [ebp - 0x70]
call fcn.00401bc8
push eax
push str.No_file:__s_for_copying._n
call fcn.00448250
add esp, 8
mov eax, dword [ebp - 0xcc]
push eax
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00450a88
pop eax
mov edx, dword [ebp - 0xbc]
mov dword fs:[0], edx
jmp 0x4025e7
push 0
lea eax, [ebp - 0x6c]
call fcn.00401bc8
push eax
lea eax, [ebp - 0x70]
call fcn.00401bc8
push eax
call sub.KERNEL32.DLL_CopyFileA
lea eax, [ebp - 0x70]
call fcn.00401bc8
push eax
push str.CopyFile:__s_n
call fcn.00448250
add esp, 8
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.00450a88
mov word [ebp - 0xac], 8
inc dword [ebp - 0xcc]
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0xcc]
jg 0x402252
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax]
call dword [edx + 0x14]
push eax
push str.copy_completed___d_file_s__has_been_copied_n
call fcn.00448250
add esp, 8
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x90], ecx
cmp dword [ebp - 0x90], 0
je 0x402558
mov eax, dword [ebp - 0x90]
mov edx, dword [eax]
mov dword [ebp - 0x8c], edx
mov word [ebp - 0xac], 0x98
mov edx, 3
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0xac], 0x8c
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x40259d
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx]
mov dword [ebp - 0x94], ecx
mov word [ebp - 0xac], 0xb0
mov edx, 3
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0xac], 0xa4
xor eax, eax
push eax
dec dword [ebp - 0xa0]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00450a88
dec dword [ebp - 0xa0]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00450a88
pop eax
mov edx, dword [ebp - 0xbc]
mov dword fs:[0], edx
pop ebx
mov esp, ebp
pop ebp
ret