Function at 0x403cf0
Capabilities:
Delete file
Move file
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov dword [esp], str.COMPILER_PATH
call fcn.00440340
mov dword [esp], eax
call sub.msvcrt.dll__putenv
mov dword [esp], str.LIBRARY_PATH
call fcn.00440340
mov dword [esp], eax
call sub.msvcrt.dll__putenv
mov eax, dword [0x483100]
test eax, eax
je 0x4041a7
lea esi, [esi]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
cmp dword [0x483124], eax
mov dword [esp + 0x18], ecx
mov dword [0x483100], edx
jae 0x404240
cmp dword [0x483130], eax
jbe 0x404240
mov dword [0x483128], eax
mov dword [0x48312c], eax
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
mov dword [edi + 0x10], 0
mov dword [esp + 4], 0x470ec0
mov dword [esp], eax
call sub.msvcrt.dll_fopen
mov edx, str..rnw
mov ebx, eax
mov eax, dword [edi]
call fcn.004031c0
mov dword [esp + 4], 0x47109f
mov dword [esp], eax
mov edi, eax
call sub.msvcrt.dll_fopen
mov esi, eax
jmp 0x403dba
cmp al, 0x4f
je 0x403dcf
mov dword [esp + 8], ebp
mov dword [esp + 4], 0x47100f
mov dword [esp], esi
call fcn.00464320
mov eax, ebx
call fcn.004034e0
test eax, eax
mov ebp, eax
je 0x403e11
movzx eax, byte [ebp]
cmp al, 0x43
jne 0x403da2
xor edx, edx
lea eax, [ebp + 2]
call fcn.00403310
mov ecx, dword [esp + 0x18]
cmp dword [eax + 4], ecx
je 0x404270
cmp byte [ebp], 0x43
jne 0x403da6
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 1
cmp byte [ebp], 0x4f
je 0x404307
mov byte [ebp], 0x4f
mov dword [eax + 8], 0
jmp 0x403da6
mov dword [esp], ebx
call sub.msvcrt.dll_fclose
mov dword [esp], esi
call sub.msvcrt.dll_fclose
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_remove
cmp eax, 0xffffffff
je 0x404356
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_rename
cmp eax, 0xffffffff
je 0x404341
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 4]
test edx, edx
je 0x40432a
lea eax, [esp + 0x24]
mov dword [esp + 0x10], 0x40ad60
mov dword [esp + 0xc], 0x40ad20
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0043e050
mov edx, dword [0x48304c]
mov eax, dword [0x483050]
sub eax, edx
cmp eax, 3
jbe 0x4042c0
mov eax, dword [0x483070]
mov dword [edx], eax
mov eax, dword [esp + 0x18]
mov esi, dword [0x48304c]
mov eax, dword [eax + 4]
lea edx, [esi + 4]
mov dword [0x48304c], edx
mov esi, edx
cmp byte [eax], 0
je 0x404050
mov dword [esp + 4], 0x27
mov dword [esp], eax
call sub.msvcrt.dll_strchr
test eax, eax
je 0x404323
lea ebx, [eax + 1]
mov dword [esp + 4], 0x27
mov dword [esp], ebx
call sub.msvcrt.dll_strchr
test eax, eax
mov edi, eax
je 0x404323
mov esi, eax
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
sub esi, ebx
sub eax, edx
cmp esi, eax
ja 0x4041b4
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], edx
call sub.msvcrt.dll_memcpy
add esi, dword [esp + 0x30]
mov dword [esp + 0x30], esi
mov ebp, esi
cmp byte [edi + 1], 0x5c
jne 0x403fc2
cmp byte [edi + 2], 0x27
jne 0x403fc2
cmp byte [edi + 3], 0x27
je 0x403f7e
jmp 0x403fc2
mov dword [esp + 8], esi
mov dword [esp], ebp
mov dword [esp + 4], edi
call sub.msvcrt.dll_memcpy
add esi, dword [esp + 0x30]
mov dword [esp + 0x30], esi
mov ebp, esi
cmp byte [ebx + 1], 0x5c
jne 0x403fc4
cmp byte [ebx + 2], 0x27
jne 0x403fc4
cmp byte [ebx + 3], 0x27
jne 0x403fc4
mov edi, ebx
lea eax, [edi + 4]
mov dword [esp + 4], 0x27
mov dword [esp], eax
call sub.msvcrt.dll_strchr
test eax, eax
mov ebx, eax
je 0x4041d0
mov esi, eax
mov eax, dword [esp + 0x34]
add edi, 3
sub esi, edi
sub eax, ebp
cmp esi, eax
jbe 0x403f50
lea eax, [esp + 0x24]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0043e0b0
mov ebp, dword [esp + 0x30]
jmp 0x403f50
mov ebx, edi
cmp dword [esp + 0x34], esi
je 0x404285
lea eax, [esi + 1]
mov dword [esp + 0x30], eax
mov byte [esi], 0
mov edx, dword [0x48304c]
mov eax, dword [0x483050]
sub eax, edx
cmp eax, 3
jbe 0x404205
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp eax, ecx
je 0x40422f
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
add eax, esi
not esi
and eax, esi
mov esi, dword [esp + 0x34]
mov ebp, eax
sub ebp, edi
mov dword [esp + 0x1c], ebp
mov ebp, esi
sub ebp, edi
cmp dword [esp + 0x1c], ebp
mov dword [esp + 0x30], eax
jbe 0x40402c
mov dword [esp + 0x30], esi
mov eax, esi
mov dword [esp + 0x2c], eax
lea eax, [ebx + 1]
mov dword [edx], ecx
mov esi, dword [0x48304c]
lea edx, [esi + 4]
mov dword [0x48304c], edx
mov esi, edx
cmp byte [ebx + 1], 0
jne 0x403ecc
mov eax, dword [0x483050]
sub eax, edx
cmp eax, 3
jbe 0x4041e6
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
mov dword [edx], eax
mov eax, dword [0x48304c]
mov edx, dword [0x483050]
add eax, 4
sub edx, eax
cmp edx, 3
mov dword [0x48304c], eax
jbe 0x4042a2
mov dword [eax], 0
mov eax, dword [0x48304c]
mov ebx, dword [0x483048]
add eax, 4
cmp eax, ebx
je 0x404317
mov edx, dword [0x483058]
mov ecx, dword [0x483050]
add eax, edx
not edx
and eax, edx
mov edx, dword [0x483044]
mov edi, ecx
mov esi, eax
mov dword [0x48304c], eax
sub esi, edx
sub edi, edx
cmp esi, edi
jbe 0x4040d4
mov dword [0x48304c], ecx
mov eax, ecx
mov dword [0x483048], eax
mov eax, dword [0x48319c]
test eax, eax
jne 0x4042df
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sub.msvcrt.dll__chdir
test eax, eax
jne 0x40413b
mov esi, dword [0x483070]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.004059a0
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00405880
test eax, eax
je 0x404145
add esp, 0x5c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x483198]
mov dword [esp], eax
call sub.msvcrt.dll__chdir
test eax, eax
jne 0x40413b
mov eax, dword [esp + 0x18]
call fcn.00403750
lea eax, [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043e1c0
mov eax, dword [0x483024]
cmp eax, dword [0x483044]
jbe 0x404255
cmp eax, dword [0x483050]
jae 0x404255
mov dword [0x483048], eax
mov dword [0x48304c], eax
mov eax, dword [0x483100]
test eax, eax
jne 0x403d30
add esp, 0x5c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x24]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0043e0b0
mov edx, dword [esp + 0x30]
jmp 0x403f17
mov edx, dword [0x48304c]
mov eax, dword [0x483050]
sub eax, edx
cmp eax, 3
ja 0x404060
mov dword [esp + 4], 4
mov dword [esp], 0x483040
call fcn.0043e0b0
mov edx, dword [0x48304c]
jmp 0x404060
mov dword [esp + 4], 4
mov dword [esp], 0x483040
call fcn.0043e0b0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edx, dword [0x48304c]
cmp eax, ecx
jne 0x403ffe
or byte [esp + 0x4c], 2
jmp 0x403ffe
mov dword [esp + 4], eax
mov dword [esp], 0x483120
call fcn.0043e1c0
jmp 0x403d61
mov dword [esp + 4], eax
mov dword [esp], 0x483040
call fcn.0043e1c0
jmp 0x40419a
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x403dec
nop
lea esi, [esi]
jmp 0x403da6
lea eax, [esp + 0x24]
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.0043e0b0
mov esi, dword [esp + 0x30]
jmp 0x403fce
mov dword [esp + 4], 4
mov dword [esp], 0x483040
call fcn.0043e0b0
mov eax, dword [0x48304c]
jmp 0x404087
mov dword [esp + 4], 4
mov dword [esp], 0x483040
call fcn.0043e0b0
mov edx, dword [0x48304c]
jmp 0x403ea4
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], str.collect:_recompiling__s_n
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.00464320
jmp 0x4040e6
mov byte [ebp], 0x43
mov dword [eax + 8], 1
jmp 0x403da6
or byte [0x483068], 2
jmp 0x4040a3
mov edx, esi
jmp 0x404050
mov eax, dword [eax]
mov dword [esp], str.repository_file__s_does_not_contain_command_line_arguments
mov dword [esp + 4], eax
call fcn.0040a830
jmp 0x40413b
mov eax, dword [0x483228]
mov dword [esp + 4], str.renaming_.rpo_file:__m
mov dword [esp], eax
call fcn.0040ac00
mov eax, dword [0x483228]
mov dword [esp + 4], str.removing_.rpo_file:__m
mov dword [esp], eax
call fcn.0040ac00
nop
lea esi, [esi]