Function at 0x100d6530
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x18c
push ebp
push esi
push str.FREETYPE_PROPERTIES
mov ebp, ecx
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov esi, eax
add esp, 4
test esi, esi
je 0x100d6766
mov al, byte [esi]
test al, al
je 0x100d6766
push ebx
push edi
nop
cmp al, 0x20
je 0x100d6758
cmp al, 9
je 0x100d6758
mov edx, esi
xor eax, eax
mov cl, byte [esi]
test cl, cl
je 0x100d658f
cmp cl, 0x3a
je 0x100d658f
mov byte [esp + eax + 0x118], cl
inc esi
inc eax
cmp eax, 0x80
jl 0x100d6574
mov byte [esp + eax + 0x118], 0
mov al, byte [esi]
test al, al
je 0x100d6764
cmp al, 0x3a
jne 0x100d6764
cmp esi, edx
je 0x100d6764
inc esi
xor eax, eax
mov edx, esi
mov cl, byte [esi]
test cl, cl
je 0x100d6619
cmp cl, 0x3d
je 0x100d6619
inc esi
mov byte [esp + eax + 0x94], cl
mov cl, byte [esi]
test cl, cl
je 0x100d6618
cmp cl, 0x3d
je 0x100d6618
inc esi
mov byte [esp + eax + 0x95], cl
mov cl, byte [esi]
test cl, cl
je 0x100d6613
cmp cl, 0x3d
je 0x100d6613
inc esi
mov byte [esp + eax + 0x96], cl
mov cl, byte [esi]
test cl, cl
je 0x100d660e
cmp cl, 0x3d
je 0x100d660e
mov byte [esp + eax + 0x97], cl
inc esi
add eax, 4
cmp eax, 0x80
jl 0x100d65b6
jmp 0x100d6619
add eax, 3
jmp 0x100d6619
add eax, 2
jmp 0x100d6619
inc eax
mov byte [esp + eax + 0x94], 0
mov al, byte [esi]
test al, al
je 0x100d6764
cmp al, 0x3d
jne 0x100d6764
cmp esi, edx
je 0x100d6764
inc esi
xor eax, eax
mov edx, esi
mov cl, byte [esi]
test cl, cl
je 0x100d66ab
cmp cl, 0x20
je 0x100d66ab
cmp cl, 9
je 0x100d66ab
inc esi
mov byte [esp + eax + 0x10], cl
mov cl, byte [esi]
test cl, cl
je 0x100d66aa
cmp cl, 0x20
je 0x100d66aa
cmp cl, 9
je 0x100d66aa
inc esi
mov byte [esp + eax + 0x11], cl
mov cl, byte [esi]
test cl, cl
je 0x100d66a5
cmp cl, 0x20
je 0x100d66a5
cmp cl, 9
je 0x100d66a5
inc esi
mov byte [esp + eax + 0x12], cl
mov cl, byte [esi]
test cl, cl
je 0x100d66a0
cmp cl, 0x20
je 0x100d66a0
cmp cl, 9
je 0x100d66a0
mov byte [esp + eax + 0x13], cl
inc esi
add eax, 4
cmp eax, 0x80
jl 0x100d6640
jmp 0x100d66ab
add eax, 3
jmp 0x100d66ab
add eax, 2
jmp 0x100d66ab
inc eax
mov byte [esp + eax + 0x10], 0
mov al, byte [esi]
test al, al
je 0x100d66c2
cmp al, 0x20
je 0x100d66c2
cmp al, 9
jne 0x100d6764
cmp esi, edx
je 0x100d6764
test ebp, ebp
je 0x100d6758
mov eax, dword [ebp + 0x10]
lea edi, [ebp + 0x14]
lea ebx, [edi + eax*4]
cmp edi, ebx
jae 0x100d6720
nop
mov eax, dword [edi]
lea ecx, [esp + 0x118]
mov eax, dword [eax]
mov eax, dword [eax + 8]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100d6710
test dl, dl
je 0x100d670c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100d6710
add eax, 2
add ecx, 2
test dl, dl
jne 0x100d66f0
xor eax, eax
jmp 0x100d6715
sbb eax, eax
or eax, 1
test eax, eax
je 0x100d6722
add edi, 4
cmp edi, ebx
jb 0x100d66e0
je 0x100d6758
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x100d6758
push str.properties
push ecx
call eax
add esp, 8
test eax, eax
je 0x100d6758
mov eax, dword [eax]
test eax, eax
je 0x100d6758
push 1
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x9c]
push ecx
push dword [edi]
call eax
add esp, 0x10
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x100d6560
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x18c
ret