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

Disassembly:
push edi
push esi
lodsb al, byte [esi]
cmp al, 0x2d
je 0x41a469
cmp al, 0x2b
je 0x41a469
cmp al, 0x1a
jne 0x41a4b1
lodsb al, byte [esi]
movzx ecx, al
cmp cl, 1
jbe 0x41a4b1
lea edx, [esi + 1]
xor ah, ah
lodsb al, byte [esi]
cmp al, 0x2e
je 0x41a4a3
cmp al, 0x45
je 0x41a4bf
cmp al, 0x65
je 0x41a4bf
cmp al, 0x46
je 0x41a4b5
cmp al, 0x66
je 0x41a4b5
cmp al, 0x30
jb 0x41a4b1
cmp al, 0x39
ja 0x41a4b1
jmp 0x41a4e6
cmp esi, edx
je 0x41a4b1
or ah, ah
jne 0x41a4b1
or ah, 1
lodsb al, byte [esi]
loop 0x41a499
pop esi
pop edi
stc
ret
cmp cl, 1
jne 0x41a4b1
or ah, 4
jmp 0x41a4e6
cmp esi, edx
je 0x41a4b1
cmp ah, 1
ja 0x41a4b1
or ah, 2
cmp ecx, 1
jne 0x41a4e6
cmp byte [esi], 0x2b
je 0x41a4da
cmp byte [esi], 0x2d
jne 0x41a4e6
inc esi
cmp byte [esi], 0x1a
jne 0x41a4b1
inc esi
lodsb al, byte [esi]
movzx ecx, al
inc ecx
dec ecx
jne 0x41a484
or ah, ah
je 0x41a4b1
pop esi
mov byte [0x43118a], 0
lodsb al, byte [esi]
cmp al, 0x1a
je 0x41a507
cmp al, 0x2b
je 0x41a4f5
xor byte [0x43118a], 1
jmp 0x41a4f5
lodsb al, byte [esi]
movzx ecx, al
xor edx, edx
mov edi, 0x4310d0
mov dword [edi], edx
mov dword [edi + 4], edx
mov dword [edi + 0xc], edx
call fcn.0041a823
mov byte [0x43118b], 0
mov al, byte [esi]
lodsb al, byte [esi]
cmp al, 0x2e
je 0x41a588
cmp al, 0x45
je 0x41a61d
cmp al, 0x65
je 0x41a61d
cmp al, 0x46
je 0x41a688
cmp al, 0x66
je 0x41a688
sub al, 0x30
mov edi, 0x4310e0
xor edx, edx
mov dword [edi + 0xc], edx
mov dword [edi], edx
mov dword [edi + 4], edx
mov byte [edi + 7], al
mov dl, 7
mov dword [edi + 8], edx
call fcn.0041a823
mov edi, 0x4310d0
push ecx
mov ecx, 0xa
call fcn.0041a6c4
pop ecx
mov ebx, 0x4310e0
call fcn.0041a791
loop 0x41a528
mov edi, 0x4310e0
xor edx, edx
mov dword [edi], edx
mov dword [edi + 4], edx
mov byte [edi + 7], pe_nt_image_headers32
mov dword [edi + 8], edx
mov dword [edi + 0xc], edx
dec ecx
je 0x41a688
lodsb al, byte [esi]
cmp al, 0x45
je 0x41a61d
cmp al, 0x65
je 0x41a61d
cmp al, 0x46
je 0x41a688
cmp al, 0x66
je 0x41a688
inc byte [0x43118b]
cmp byte [0x43118b], 0x80
jne 0x41a5d4
mov byte [0x43118b], 0x7f
dec esi
mov edi, 0x4310e0
push ecx
mov ecx, 0xa
call fcn.0041a71e
push dword [edi]
push dword [edi + 4]
push dword [edi + 8]
push dword [edi + 0xc]
lodsb al, byte [esi]
sub al, 0x30
movzx ecx, al
call fcn.0041a6c4
mov ebx, edi
mov edi, 0x4310d0
call fcn.0041a791
mov edi, 0x4310e0
pop dword [edi + 0xc]
pop dword [edi + 8]
pop dword [edi + 4]
pop dword [edi]
pop ecx
dec ecx
jne 0x41a5a5
jmp 0x41a688
or byte [0x43118b], 0x80
xor edx, edx
xor ebp, ebp
dec ecx
jne 0x41a63e
cmp byte [esi], 0x2b
je 0x41a637
cmp byte [esi], 0x2d
jne 0x41a688
not ebp
add esi, 2
lodsb al, byte [esi]
movzx ecx, al
movzx eax, byte [esi]
inc esi
sub al, 0x30
cmp al, 0xa
jae 0x41a65b
imul edx, edx, 0xa
cmp edx, 0x8000
jae 0x416b51
add edx, eax
loop 0x41a63e
mov edi, 0x4310d0
or edx, edx
je 0x41a688
mov ecx, edx
or ebp, ebp
jne 0x41a67a
push ecx
mov ecx, 0xa
call fcn.0041a6c4
pop ecx
loop 0x41a66a
jmp 0x41a688
push ecx
mov ecx, 0xa
call fcn.0041a71e
pop ecx
loop 0x41a67a
mov edi, 0x4310d0
mov al, byte [0x43118b]
mov byte [edi + 0xa], al
mov al, byte [0x43118a]
mov byte [edi + 0xb], al
test byte [edi + 0xf], 0x80
je 0x41a6c1
add dword [edi], 1
adc dword [edi + 4], 0
jae 0x41a6c1
mov eax, dword [edi + 4]
shrd dword [edi], eax, 1
shr eax, 1
or eax, 0x80000000
mov dword [edi + 4], eax
inc word [edi + 8]
pop edi
clc
ret