Function at 0x41a5a1
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push dword [0x432195]
or byte [0x432195], 0x10
push dword [0x4320a4]
push dword [0x432050]
push dword [0x432054]
push dword [0x432058]
push dword [0x432064]
push dword [0x432060]
push eax
push dword [0x432048]
lodsb al, byte [esi]
cmp al, 0x7b
je 0x41a607
or al, al
jne 0x41875c
mov dword [0x43204c], esi
add esi, 0x12
lodsb al, byte [esi]
or al, al
je 0x41a5e6
cmp al, 0x7b
je 0x41a607
cmp al, 0x3b
jne 0x41875c
call fcn.0041a8e5
jmp 0x41a5e6
mov ecx, 0x80000000
mov dword [0x432050], esi
mov eax, dword [0x43204c]
mov dword [0x432054], eax
mov dword [0x432058], ecx
xor eax, eax
mov dword [0x4320a4], eax
cmp dword [0x4320a8], eax
je 0x41a637
inc dword [0x4320a4]
lodsb al, byte [esi]
or al, al
je 0x41a918
cmp al, 0x7d
je 0x41a927
dec esi
mov dword [0x432048], edi
lea eax, [edi + 0x10]
cmp eax, dword [0x432004]
jae 0x4186d8
mov eax, dword [esp + 4]
or eax, eax
je 0x41a676
stosd dword es:[edi], eax
mov eax, ecx
stosd dword es:[edi], eax
mov eax, dword [esp]
stosd dword es:[edi], eax
mov eax, dword [0x43204c]
stosd dword es:[edi], eax
jmp 0x41a69f
mov eax, dword [esp]
add eax, 0x10
inc eax
cmp byte [eax - 1], 0x3b
je 0x41a694
cmp byte [eax - 1], 0x1a
jne 0x41a67c
push eax
movzx eax, byte [eax]
inc eax
add dword [esp], eax
pop eax
jmp 0x41a67c
stosd dword es:[edi], eax
mov eax, ecx
stosd dword es:[edi], eax
mov eax, dword [0x43204c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
or byte [0x432195], 0x20
push ebx
push ecx
test byte [0x432195], 0xf
je 0x41a6b7
mov ax, 0x3b
stosw word es:[edi], ax
lea eax, [edi + 0x100]
cmp eax, dword [0x432004]
jae 0x4186d8
lodsb al, byte [esi]
cmp al, 0x7d
je 0x41a907
or al, al
je 0x41a907
cmp al, 0x1a
je 0x41a6fe
cmp al, 0x3b
je 0x41a902
and byte [0x432195], 0xdf
stosb byte es:[edi], al
cmp al, 0x22
jne 0x41a6b7
mov ecx, dword [esi]
add ecx, 4
call fcn.00419c96
jmp 0x41a6b7
push esi
push edi
test byte [0x432195], 0x20
je 0x41a728
movzx ecx, byte [esi]
inc esi
mov edi, 0x42c370
call fcn.004193d1
jae 0x41a71c
dec esi
jmp 0x41a728
mov edx, eax
pop edi
pop eax
mov byte [edi], 0
inc edi
pop ecx
pop ebx
jmp edx
and byte [0x432195], 0xdf
movzx ecx, byte [esi]
inc esi
mov eax, dword [0x4320a4]
call fcn.0041aaff
jae 0x41a774
xor eax, eax
cmp dword [0x4320a4], eax
je 0x41a795
call fcn.0041aaff
jb 0x41a865
pop edi
pop eax
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
or edx, edx
je 0x41a7de
and ecx, 0x7fffffff
xchg edx, esi
call fcn.00419c96
mov esi, edx
jmp 0x41a6b7
xor eax, eax
cmp dword [0x4320a4], eax
je 0x41a754
push esi
push edx
sub esi, ecx
call fcn.0041aaff
mov ebx, edx
pop edx
pop esi
jb 0x41a754
cmp edx, ebx
ja 0x41a754
mov edx, ebx
jmp 0x41a754
inc eax
push eax
call fcn.0041aaff
pop eax
jb 0x41a865
pop edi
push ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
xchg edx, esi
btr ecx, 0x1f
jb 0x41a7b7
rep movsb byte es:[edi], byte [esi]
jmp 0x41a7c1
mov byte [edi], 0x3c
inc edi
rep movsb byte es:[edi], byte [esi]
mov byte [edi], 0x3e
inc edi
cmp eax, dword [0x4320a8]
je 0x41a7d5
mov byte [edi], 0x2c
inc edi
mov esi, edx
pop ecx
push edi
sub esi, ecx
jmp 0x41a795
pop ecx
pop eax
mov esi, edx
jmp 0x41a6b7
mov eax, dword [0x4320a4]
and eax, 0x7fffffff
je 0x41a7f7
add ecx, eax
dec ecx
call fcn.0041a819
jmp 0x41a6b7
mov edx, ecx
xor ecx, ecx
push ecx
push edx
add ecx, edx
call fcn.0041a819
pop edx
pop ecx
inc ecx
cmp ecx, dword [0x4320a8]
je 0x41a6b7
mov byte [edi], 0x2c
inc edi
jmp 0x41a7fb
pop edi
pop esi
mov al, 0x1a
stosb byte es:[edi], al
mov al, byte [esi]
inc esi
stosb byte es:[edi], al
cmp byte [esi], 0x2e
jne 0x41a892
mov ebx, dword [esp + 0x10]
or ebx, ebx
je 0x41a892
cmp al, 1
je 0x41a89c
xchg ebx, esi
movzx ecx, byte [esi - 1]
add byte [edi - 1], cl
jb 0x41889d
rep movsb byte es:[edi], byte [esi]
xchg ebx, esi
movzx ecx, al
rep movsb byte es:[edi], byte [esi]
jmp 0x41a6b7
inc esi
xchg ebx, esi
movzx ecx, byte [esi - 1]
mov byte [edi - 1], cl
rep movsb byte es:[edi], byte [esi]
xchg ebx, esi
mov eax, dword [esp + 0x14]
cmp byte [eax], 0x3b
je 0x41a6b7
cmp byte [eax], 0x1a
jne 0x41a8c4
mov byte [eax], 0x3b
jmp 0x41a6b7
mov ebx, dword [esp + 0x10]
push esi
push edi
lea edi, [ebx - 3]
lea esi, [edi - 2]
lea ecx, [esi + 1]
sub ecx, eax
std
rep movsb byte es:[edi], byte [esi]
cld
mov word [eax], 0x3b
pop edi
pop esi
jmp 0x41a6b7
call fcn.0041a8e5
mov byte [edi], 0
inc edi
push eax
call fcn.00419421
pop eax
pop ecx
pop ebx
cmp al, 0x7d
je 0x41a927
inc ecx
mov dword [0x43204c], esi
add esi, 0x12
jmp 0x41a637
call fcn.0041aaab
jb 0x41a637
pop dword [0x432048]
add esp, 0xc
pop dword [0x432058]
pop dword [0x432054]
pop dword [0x432050]
pop dword [0x4320a4]
pop eax
and al, 0xf0
and byte [0x432195], 0xf
or byte [0x432195], al
ret