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

Disassembly:
push 0x431bab
jmp 0x41840e
push 0x431bf6
cmp dword [0x432020], 0
je 0x41840e
call fcn.00418df8
jmp 0x41840e
push 0x431c6d
jmp fcn.004188fd
mov edi, 0x43219b
xor al, al
stosb byte es:[edi], al
inc al
jne 0x418e85
mov esi, 0x4321fc
mov edi, 0x4321dc
mov ecx, 0x1a
rep movsb byte es:[edi], byte [esi]
mov edi, 0x43219b
mov esi, 0x42c2e7
movzx ecx, byte [esi - 1]
xor eax, eax
lodsb al, byte [esi]
mov byte [edi + eax], 0
loop 0x418eab
mov edi, 0x432074
mov ax, 0x3001
stosw word es:[edi], ax
mov edi, dword [section..bss]
mov dword [0x432028], edi
mov esi, 0x42c2de
call fcn.00418294
xor al, al
stosb byte es:[edi], al
mov dword [section..bss], edi
mov eax, dword [0x432008]
mov dword [0x43202c], eax
mov eax, dword [0x43200c]
mov dword [0x432088], eax
xor eax, eax
mov dword [0x432030], eax
mov dword [0x4320b8], eax
mov dword [0x432094], eax
mov dword [0x4320b4], eax
mov byte [0x432195], al
mov dword [0x432048], eax
mov esi, dword [0x432014]
test esi, esi
je 0x419071
movzx ecx, byte [esi]
test ecx, ecx
je 0x419071
inc esi
lea eax, [esi + ecx]
push eax
mov ch, 2
call fcn.0041976f
pop esi
mov edi, dword [section..bss]
mov dword [edx + 8], edi
cmp edi, dword [0x432004]
jae 0x4186d8
lodsb al, byte [esi]
or al, al
je 0x419060
cmp al, 0x20
je 0x418f3f
mov ah, al
mov ebx, 0x43219b
xlatb
or al, al
je 0x418f9d
cmp ah, 0x27
je 0x418fba
cmp ah, 0x22
je 0x418fba
mov byte [edi], 0x1a
scasw ax, word es:[edi]
xchg ah, al
stosb byte es:[edi], al
mov ebx, 0x43219b
xor ecx, ecx
lodsb al, byte [esi]
stosb byte es:[edi], al
xlatb
or al, al
loopne 0x418f7d
neg ecx
cmp ecx, 0xff
ja 0x41870e
mov ebx, edi
sub ebx, ecx
mov byte [ebx - 2], cl
dec edi
mov ah, byte [esi - 1]
xchg ah, al
or al, al
je 0x419060
cmp al, 0x20
je 0x418f3f
cmp al, 0x3b
je 0x41870e
cmp al, 0x5c
je 0x418fe1
stosb byte es:[edi], al
jmp 0x418f3f
mov al, 0x22
stosb byte es:[edi], al
scasd eax, dword es:[edi]
mov ebx, edi
lodsb al, byte [esi]
stosb byte es:[edi], al
or al, al
je 0x41870e
cmp al, ah
jne 0x418fc0
lodsb al, byte [esi]
cmp al, ah
je 0x418fc0
dec esi
dec edi
mov eax, edi
sub eax, ebx
mov dword [ebx - 4], eax
jmp 0x418f3f
mov byte [edi], 0
lodsb al, byte [esi]
or al, al
je 0x41870e
cmp al, 0x20
je 0x41870e
cmp al, 0x3b
je 0x41870e
mov al, 0x1a
stosb byte es:[edi], al
mov ecx, edi
mov ax, 0x5c01
stosw word es:[edi], ax
dec esi
lodsb al, byte [esi]
cmp al, 0x5c
jne 0x419013
stosb byte es:[edi], al
inc byte [ecx]
jmp 0x419009
cmp al, 0x20
je 0x41870e
cmp al, 0x22
je 0x41870e
cmp al, 0x27
je 0x41870e
cmp al, 0x3b
je 0x41870e
mov ah, al
mov ebx, 0x43219b
xlatb
or al, al
je 0x419056
mov al, ah
stosb byte es:[edi], al
xlatb
or al, al
je 0x418f99
inc byte [ecx]
je 0x41870e
lodsb al, byte [esi]
jmp 0x419041
mov al, ah
stosb byte es:[edi], al
inc byte [ecx]
jmp 0x418f3f
mov dword [section..bss], edi
sub edi, dword [edx + 8]
mov dword [edx + 0xc], edi
jmp 0x418f1e
mov esi, dword [0x432018]
mov edx, esi
call fcn.004182e1
jb 0x4186ec
mov edi, dword [section..bss]
call fcn.00419109
cmp byte [0x432195], 0
je 0x4190a7
mov eax, dword [0x4320b0]
mov dword [0x432048], eax
jmp 0x418752
mov edx, 0x432094
mov ecx, 0x20
mov edx, dword [edx]
or edx, edx
loopne 0x4190b1
je 0x4190ee
mov eax, dword [edx]
or eax, eax
je 0x4190ee
push edx
mov ebx, edx
mov eax, dword [edx]
or eax, eax
je 0x4190ce
mov ebx, edx
mov edx, eax
jmp 0x4190c2
mov dword [ebx], eax
call fcn.004190f5
pop edx
cmp byte [0x432195], 0
je 0x4190b9
mov eax, dword [0x4320b0]
mov dword [0x432048], eax
jmp 0x418752
mov dword [0x432030], edi
ret